Skip to content

Commit

Permalink
fix vignette errors
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-marsh committed Dec 5, 2024
1 parent f200499 commit 0255683
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions vignettes/articles/LIGER_Functions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -261,14 +261,14 @@ By default this will query all datasets in the object to create unified gene lis
```{r}
gene_input_list <- c("P2ry12", "Fcrls", "Aif1")
genes_present <- Feature_Present(data = marsh_liger, gene_list = gene_input_list)
genes_present <- Feature_Present(data = marsh_liger, features = gene_input_list)
```

However you can check individual datasets within object by supplying those matrices to the `data` parameter.
```{r}
gene_input_list <- c("P2ry12", "Fcrls", "Aif1")
genes_present <- Feature_Present(data = marsh_liger@raw.data[[1]], gene_list = gene_input_list)
genes_present <- Feature_Present(data = marsh_liger@datasets[[1]], features = gene_input_list)
```


2 changes: 1 addition & 1 deletion vignettes/articles/Object_Conversion.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Load Seurat Object & Add QC Data
pbmc <- pbmc3k.SeuratData::pbmc3k.final
pbmc <- UpdateSeuratObject(pbmc)
pbmc <- Add_Cell_QC_Metrics(seurat_object = pbmc, species = "human")
pbmc <- Add_Cell_QC_Metrics(object = pbmc, species = "human")
```

We'll also add some random meta data variables to pbmc data form use in this vignette
Expand Down

0 comments on commit 0255683

Please sign in to comment.