Learn R Programming

SeuratObject (version 5.0.2)

IsGlobal: Is an object global/persistent?

Description

Typically, when removing Assay objects from an Seurat object, all associated objects (eg. DimReduc, Graph, and SeuratCommand objects) are removed as well. If an associated object is marked as global/persistent, the associated object will remain even if its original assay was deleted

Usage

IsGlobal(object, ...)

# S3 method for default IsGlobal(object, ...)

# S3 method for DimReduc IsGlobal(object, ...)

Value

TRUE if the object is global/persistent otherwise FALSE

Arguments

object

An object

...

Arguments passed to other methods

Examples

Run this code
IsGlobal(pbmc_small[['pca']])

Run the code above in your browser using DataLab