Learn R Programming

Seurat (version 4.3.0.1)

SCTResults: Get SCT results from an Assay

Description

Pull the SCTResults information from an SCTAssay object.

Usage

SCTResults(object, ...)

SCTResults(object, ...) <- value

# S3 method for SCTModel SCTResults(object, slot, ...)

# S3 method for SCTModel SCTResults(object, slot, ...) <- value

# S3 method for SCTAssay SCTResults(object, slot, model = NULL, ...)

# S3 method for SCTAssay SCTResults(object, slot, model = NULL, ...) <- value

# S3 method for Seurat SCTResults(object, assay = "SCT", slot, model = NULL, ...)

Value

Returns the value present in the requested slot for the requested group. If group is not specified, returns a list of slot results for each group unless there is only one group present (in which case it just returns the slot directly).

Arguments

object

An object

...

Arguments passed to other methods (not used)

value

new data to set

slot

Which slot to pull the SCT results from

model

Name of SCModel to pull result from. Available names can be retrieved with levels.

assay

Assay in the Seurat object to pull from