Split_Layers {scCustomize}R Documentation

Split Seurat object into layers

Description

Split Assay5 of Seurat object into layers by variable in meta.data

Usage

Split_Layers(seurat_object, assay = "RNA", split.by)

Arguments

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.

Examples

## Not run: 
# Split object by "treatment"
obj <- Split_Layers(object = obj, assay = "RNA", split.by = "treatment")

## End(Not run)


[Package scCustomize version 2.1.2 Index]