Find Subobjects Of A Certain Class
.FilterObjects(object, classes.keep = c("Assay", "StdAssay", "DimReduc"))
An S4 object
A vector of classes to keep
A vector of object names that are of class classes.keep
.Collections()
,
.FindObject()
,
.Subobjects()
.FilterObjects(pbmc_small)
#> [1] "RNA" "pca" "tsne"
.FilterObjects(pbmc_small, "Graph")
#> [1] "RNA_snn"