Learn R Programming

SeuratObject (version 5.0.2)

Layers-StdAssay: Query and Manipulate Assay Layers

Description

Query and Manipulate Assay Layers

Usage

# S3 method for StdAssay
LayerData(
  object,
  layer = NULL,
  cells = NULL,
  features = NULL,
  fast = FALSE,
  slot = deprecated(),
  ...
)

# S3 method for StdAssay LayerData(object, layer, features = NULL, cells = NULL, ...) <- value

# S3 method for StdAssay Layers(object, search = NA, ...)

Value

LayerData: the layer data for layer from object

Layer<-: object with value added as a layer named layer

Layers: the names of the layers present in object

Arguments

object

An object

layer

Name of layer to fetch or set

features, cells

Vectors of features/cells to include

fast

Determine how to return the layer data; choose from:

FALSE

Apply any transpositions and attempt to add feature/cell names (if supported) back to the layer data

NA

Attempt to add feature/cell names back to the layer data, skip any transpositions

TRUE

Do not apply any transpositions or add feature/cell names to the layer data

slot

lifecycle::badge("deprecated")

...

Arguments passed to other methods

value

New two-dimensional data to be added as a layer

search

A pattern to search layer names for; pass one of:

  • NA” to pull all layers

  • NULL” to pull the default layer(s)

  • a regular expression that matches layer names