Description Usage Arguments Value Examples
View source: R/mergemultipleseuratobjects.R
Read multiple 10x run into Seurat objects and merge into a single Seurat object. The names of the list of paths will be prepended to the cell name.
1 | MergeMultipleSeuratObjects(input_folders, do.normalize = FALSE, ...)
|
input_folders |
A named list of folder path for each run. |
do.normalize |
Whether or not normalize the data after mergeing, default is FALSE |
... |
Other parameters for CreatSeuratObject in the Seurat package |
A single merged Seurat object from mulitple 10x runs.
1 2 3 4 5 6 7 8 9 | ## Not run:
library(fs)
library(here)
library(stringr)
input_folders<- dir_ls( path = here("data"), recursive = T) %>% path_dir() %>%
unique() %>% str_subset("mm10-1.2.0_premrna")
merged_seurat<- MergeMultipleSeuratObjects(input_folders)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.