get_embeddings: get_embeddings

View source: R/loom.R

get_embeddingsR Documentation

get_embeddings

Description

Get embeddings (e.g. t-SNE, UMAP) from the given loom file

Usage

get_embeddings(loom)

Arguments

loom

The loom file handler.

Value

List with the embeddings (each of them as data.frame)

Examples

loomPath <-  file.path(system.file('extdata', package='SCopeLoomR'), "example.loom")
loom <- open_loom(loomPath)

embeddings <- get_embeddings(loom)
names(embeddings)
head(embeddings[[1]])

aertslab/SCopeLoomR documentation built on April 19, 2022, 11:25 a.m.