IsGlobal: Is an object global/persistent?

View source: R/generics.R

IsGlobalR Documentation

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, ...)

## Default S3 method:
IsGlobal(object, ...)

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

Arguments

object

An object

...

Arguments passed to other methods

Value

TRUE if the object is global/persistent otherwise FALSE

Examples

IsGlobal(pbmc_small[['pca']])


mojaveazure/seurat-object documentation built on Dec. 13, 2024, 9:23 a.m.