Learn R Programming

SeuratObject (version 4.1.4)

FilterObjects: 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", "DimReduc"))

Value

A vector with the names of objects within the Seurat object that are of class classes.keep

Arguments

object

A Seurat object

classes.keep

A vector of names of classes to get

Examples

Run this code
FilterObjects(pbmc_small)

Run the code above in your browser using DataLab