Layers-StdAssay {SeuratObject}R Documentation

Query and Manipulate Assay Layers

Description

Query and Manipulate Assay Layers

Usage

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

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

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

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

[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

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


[Package SeuratObject version 5.1.0 Index]