[[<-,Seurat | R Documentation |
Add subobjects containing expression, dimensional reduction, or other
containerized data to a Seurat
object. Subobjects can be
accessed with [[
and manipulated directly within
the Seurat
object or used independently
## S4 replacement method for signature 'Seurat,character,missing,Assay'
x[[i, j, ...]] <- value
## S4 replacement method for signature 'Seurat,character,missing,Assay5'
x[[i, j, ...]] <- value
## S4 replacement method for signature 'Seurat,character,missing,DimReduc'
x[[i, j, ...]] <- value
## S4 replacement method for signature 'Seurat,character,missing,Graph'
x[[i, j, ...]] <- value
## S4 replacement method for signature 'Seurat,character,missing,Neighbor'
x[[i, j, ...]] <- value
## S4 replacement method for signature 'Seurat,character,missing,SeuratCommand'
x[[i, j, ...]] <- value
## S4 replacement method for signature 'Seurat,character,missing,SpatialImage'
x[[i, j, ...]] <- value
x |
A |
i |
Name to add subobject as |
j |
Ignored |
... |
Ignored |
value |
A valid subobject (eg. a v3 or v5 assay, or a dimensional reduction) |
x
with value
added as i
See here for pulling subobjects using [[
,
here for adding metadata with [[<-
, and
here for removing subobjects and cell-level meta
data with [[<-
Seurat object, validity, and interaction methods
$.Seurat()
,
Seurat-class
,
Seurat-validity
,
[[.Seurat()
,
[[<-,Seurat,NULL
,
dim.Seurat()
,
dimnames.Seurat()
,
merge.Seurat()
,
names.Seurat()
,
subset.Seurat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.