[[<-,Seurat {SeuratObject} | R Documentation |
Add Subobjects
Description
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
Usage
## 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
Arguments
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) |
Value
x
with value
added as i
See Also
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()
[Package SeuratObject version 5.0.2 Index]