merge_seurat | R Documentation |
Seurat
objectsMerge a list of Seurat objects efficiently.
merge_seurat(obj_list, chunk_size = 5, verbose = TRUE)
obj_list |
A named list of Seurat objects, or paths to Seurat objects saved to disk as .rds files. |
chunk_size |
An integer indicating number of cells to include per chunk.
This can be a more memory efficient and scalable way of aggregating on-disk
data formats like AnnData,
rather than reading in the entire matrix into memory at once
(default: |
verbose |
Print messages. |
A merged Seurat object.
obj <- example_obj("seurat")
obj_list <- Seurat::SplitObject(obj,split.by = "groups")
obj2 <- merge_seurat(obj_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.