Learn R Programming

SeuratObject (version 5.0.2)

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", "StdAssay", "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

Lifecycle

lifecycle::badge("deprecated")

FilterObjects was deprecated in version 5.0.0; use .FilterObjects instead

Examples

Run this code
FilterObjects(pbmc_small)

Run the code above in your browser using DataLab