Add embeddings for a Seurat object.

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.

Author

Wei Liu

Note

nothing

See also

None