Learn R Programming

SeuratObject (version 5.0.2)

.FilterObjects: Find Subobjects Of A Certain Class

Description

Find Subobjects Of A Certain Class

Usage

.FilterObjects(object, classes.keep = c("Assay", "StdAssay", "DimReduc"))

Value

A vector of object names that are of class classes.keep

Arguments

object

An S4 object

classes.keep

A vector of classes to keep

See Also

.Collections(), .FindObject(), .Subobjects()

Examples

Run this code
.FilterObjects(pbmc_small)
.FilterObjects(pbmc_small, "Graph")

Run the code above in your browser using DataLab