Learn R Programming

SeuratObject (version 5.0.2)

.FindObject: Find A Subobject

Description

Determine the slot that a subobject is contained in

Usage

.FindObject(object, name, exclude = c("misc", "tools"))

Value

The name of the slot that contains name; returns NULL

if a subobject named name cannot be found

Arguments

object

An S4 object

name

Name of subobject to find

exclude

A character vector of slot names to exclude

See Also

.Collections(), .FilterObjects(), .Subobjects()

Examples

Run this code
.FindObject(pbmc_small, "tsne")

Run the code above in your browser using DataLab