View source: R/Object_Conversion.R
Split_Layers | R Documentation |
Split Assay5 of Seurat object into layers by variable in meta.data
Split_Layers(seurat_object, assay = "RNA", split.by)
seurat_object |
Seurat object name. |
assay |
name(s) of assays to convert. Defaults to current active assay. |
split.by |
Variable in meta.data to use for splitting layers. |
## Not run:
# Split object by "treatment"
obj <- Split_Layers(object = obj, assay = "RNA", split.by = "treatment")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.