MergeMultipleSeuratObjects: Read multiple 10x run into Seurat objects and merge into a...

Description Usage Arguments Value Examples

View source: R/mergemultipleseuratobjects.R

Description

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.

Usage

1
MergeMultipleSeuratObjects(input_folders, do.normalize = FALSE, ...)

Arguments

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

Value

A single merged Seurat object from mulitple 10x runs.

Examples

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)

crazyhottommy/scclusteval documentation built on Aug. 5, 2021, 3:20 p.m.