powered by
Split Assay5 of Seurat object into layers by variable in meta.data
Split_Layers(seurat_object, assay = "RNA", split.by)
Seurat object name.
name(s) of assays to convert. Defaults to current active assay.
Variable in meta.data to use for splitting layers.
if (FALSE) { # Split object by "treatment" obj <- Split_Layers(object = obj, assay = "RNA", split.by = "treatment") }
Run the code above in your browser using DataLab