sub-subset-Seurat-character-missing-StdAssay-method: Add Subobjects

[[<-,Seurat,character,missing,StdAssay-methodR 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,StdAssay'
x[[i, j, ...]] <- value

Arguments

x

A Seurat object

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()


SeuratObject documentation built on Nov. 18, 2023, 1:06 a.m.