Learn R Programming

SeuratObject (version 5.0.2)

Misc: Get and set miscellaneous data

Description

Get and set miscellaneous data

Usage

Misc(object, ...)

Misc(object, ...) <- value

# S3 method for Assay Misc(object, slot = NULL, ...)

# S3 method for Assay Misc(object, slot, ...) <- value

# S3 method for Assay5 Misc(object, slot = NULL, ...)

# S3 method for Assay5 Misc(object, slot, ...) <- value

# S3 method for DimReduc Misc(object, slot = NULL, ...)

# S3 method for DimReduc Misc(object, slot, ...) <- value

# S3 method for Seurat Misc(object, slot = NULL, ...)

# S3 method for Seurat Misc(object, slot, ...) <- value

Value

Miscellaneous data

An object with miscellaneous data added

Arguments

object

An object

...

Arguments passed to other methods

value

Data to add

slot

Name of specific bit of meta data to pull

Examples

Run this code
# Get the misc info
Misc(object = pbmc_small, slot = "example")

# Add misc info
Misc(object = pbmc_small, slot = "example") <- "testing_misc"

Run the code above in your browser using DataLab