add_umap_embedding: Add UMAP embedding in Seurat object

View source: R/utils.R

add_umap_embeddingR Documentation

Add UMAP embedding in Seurat object

Description

Add UMAP embedding in existing Seurat object. This is the case when running the pipeline and then you want to attach the stored UMAP embedding, stored as CSV file, instead of recomputing the UMAP.

Usage

add_umap_embedding(seu, embedding)

Arguments

seu

Seurat object

embedding

UMAP embedding. If a character, the function will assume a filename is given and will read the corresponding UMAP embedding. Otherwise, it assumes a UMAP embedding matrix is provided as input containing only the embeddings as columns.


andreaskapou/SeuratPipe documentation built on Nov. 22, 2022, 4:16 p.m.