Learn R Programming

SeuratObject (version 5.0.2)

.Subobjects: Get the Subobject Names

Description

Get the Subobject Names

Usage

.Subobjects(object, exclude = c("misc", "tools"), collapse = TRUE, ...)

Value

If collapse = TRUE, then a vector with the names of all subobjects; otherwise, a named list where the names are the names of the collections and the values are the names of subobjects within the collection

Arguments

object

An S4 object

exclude

A character vector of slot names to exclude

collapse

Collapse the list into a vector

...

Arguments passed to IsNamedList

See Also

.Collections(), .FilterObjects(), .FindObject()

Examples

Run this code
.Subobjects(pbmc_small)

Run the code above in your browser using DataLab