Skip to content

Commit a96f277

Browse files
author
mase5
committed
Add requirements (HDF5 version 1.10.1 at least is needed) to README.md. Update tutorial (removed dgem argument from add_scenic_regulons).
1 parent 234d42c commit a96f277

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
An R package (compatible with SCope) to create generic .loom files and extend them with other data e.g.: SCENIC regulons, Seurat clusters and markers, ... The package can also be used to extract
33
data from .loom files.
44

5+
## Requirements
6+
- HDF5 >= 1.10.1
7+
8+
Version 1.10.1 can be installed with this snippet:
9+
```
10+
wget https://support.hdfgroup.org/ftp/HDF5/current/src/hdf5-1.10.1.tar
11+
cd hdf5-1.10.1
12+
./configure
13+
make -j4
14+
make check
15+
make install
16+
```
17+
518
## Installation
619

720
Installation should take less than one minute.

vignettes/SCopeLoomR_tutorial.Rmd

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ add_col_attr(loom=loom, key = "Cell type", value=cell.info$cellType, as.annotati
9999
add_col_attr(loom=loom, key = "nGene", value=cell.info$nGene, as.metric = T)
100100
```
101101

102-
103102
## Add SCENIC results (Optional)
104103

105104
*(Not run in this example)*
@@ -117,7 +116,6 @@ add_scenic_regulons_auc_matrix(loom=loom, regulons.AUC=getAUC(regulons.AUC))
117116
load(paste0(scenic.dir, "int/3.0_regulons_forAUCell.RData"), verbose=TRUE)
118117
regulon.enrichment.table<-read.table(file = "output/Step2_MotifEnrichment.tsv", header = T, sep = "\t", quote = '', stringsAsFactors = F)
119118
add_scenic_regulons(loom=loom
120-
, dgem=dgem
121119
, regulons=regulons
122120
, regulon.threshold.assignments=...$threshold.assignment # Optional
123121
, regulon.enrichment.table = regulon.enrichment.table # Optional)
@@ -216,7 +214,7 @@ dgem<-get_dgem(loom = loom)
216214

217215
```{r}
218216
loom<-open_loom(loom = "Aerts_Fly_AdultBrain_Filtered_57k.loom")
219-
cluster.10.dgem<-get_cluster_dgem_by_name(loom = loom, cluster.name = "MBON - Cluster 57")
217+
cluster.10.dgem<-get_cluster_dgem_by_name(loom = loom, cluster.name = "Astrocyte-like - Cluster 10")
220218
```
221219

222220

0 commit comments

Comments
 (0)