FilterObjects {SeuratObject} | R Documentation |
Find Sub-objects of a Certain Class
Description
Get the names of objects within a Seurat
object that are of a
certain class
Usage
FilterObjects(object, classes.keep = c("Assay", "StdAssay", "DimReduc"))
Arguments
object |
A |
classes.keep |
A vector of names of classes to get |
Value
A vector with the names of objects within the Seurat
object
that are of class classes.keep
Lifecycle
FilterObjects
was deprecated in version 5.0.0; use .FilterObjects
instead
Examples
FilterObjects(pbmc_small)
[Package SeuratObject version 5.0.2 Index]