Add_embed: Add embeddings for a Seurat object

View source: R/SetClass.R

Add_embedR Documentation

Add embeddings for a Seurat object

Description

Add embeddings for a Seurat object.

Usage

  Add_embed(embed, seu, embed_name='tSNE' , assay = "RNA")

Arguments

embed

an embedding matrix.

seu

a Seurat object.

embed_name

an optional string, the name of embeddings.

assay

Name of assay that that embed is being put

Details

Nothing

Value

Return a revised Seurat object by adding a embedding matrix to the Reduc slot in Seurat object.

Note

nothing

Author(s)

Wei Liu

See Also

None


PRECAST documentation built on May 29, 2024, 3 a.m.