LayerData {SeuratObject} | R Documentation |
Query and Manipulate Assay Layers
Description
Query and Manipulate Assay Layers
Usage
LayerData(object, layer, ...)
LayerData(object, layer, ...) <- value
Layers(object, ...)
## S3 method for class 'Assay'
LayerData(
object,
layer = NULL,
cells = NULL,
features = NULL,
slot = deprecated(),
...
)
## S3 replacement method for class 'Assay'
LayerData(object, layer, ...) <- value
## S3 method for class 'Assay'
Layers(object, search = NA, ...)
## S3 method for class 'Assay5'
LayerData(
object,
layer = NULL,
cells = NULL,
features = NULL,
fast = FALSE,
slot = deprecated(),
...
)
## S3 replacement method for class 'Assay5'
LayerData(object, layer, features = NULL, cells = NULL, ...) <- value
## S3 method for class 'Assay5'
Layers(object, search = NA, ...)
## S3 method for class 'Seurat'
LayerData(object, layer = NULL, assay = NULL, slot = deprecated(), ...)
## S3 replacement method for class 'Seurat'
LayerData(object, layer, assay = NULL, ...) <- value
## S3 method for class 'Seurat'
Layers(object, search = NA, assay = NULL, ...)
Arguments
object |
An object |
layer |
Name of layer to fetch or set |
... |
Arguments passed to other methods |
value |
New two-dimensional data to be added as a layer |
features , cells |
Vectors of features/cells to include |
slot |
|
search |
A pattern to search layer names for; pass one of:
|
fast |
Determine how to return the layer data; choose from:
|
assay |
Name of assay to fetch layer data from or assign layer data to |
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