This function gets an embedding (i.e. UMAP) from a given ArchRProject.

getEmbedding(ArchRProj = NULL, embedding = "UMAP", returnDF = TRUE)

Arguments

ArchRProj

An ArchRProject object.

embedding

The name of the embeddings object (i.e. UMAP, TSNE see embeddingOut of the addEmbeddings() function) to retrieve from the designated ArchRProject.

returnDF

A boolean value indicating whether to return the embedding object as a data.frame. Otherwise, it will return the full embedding object.

Examples


# Get Test ArchR Project
proj <- getTestProject()

# Get UMAP
getEmbedding(proj, embedding = "UMAP")