R: Find Sub-objects of a Certain Class

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

### Arguments

`object` | A `Seurat` object
`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`

### Examples

    FilterObjects(pbmc_small)

[Package SeuratObject version 4.1.0 Index]