Learn R Programming

SeuratObject (version 4.0.1)

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 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

Arguments

object

An object

...

Arguments passed to other methods

value

Data to add

slot

Name of specific bit of meta data to pull

Value

Miscellaneous data

An object with miscellaneous data added

Examples

Run this code
# NOT RUN {
# 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