R/computeUMAP.R
computeUMAP.Rd
Compute UMAP.
computeUMAP( dat, computPC = TRUE, ncomp = 30, center = TRUE, scale = FALSE, config = NULL )
Input data.
Whether to compute PC first.
Number of PC components
Center or not.
Scale or not.
Configuration of UMAP (see umap package).
umap
UMAP coordinates.
set.seed(1) X <- matrix(rnorm(100 * 10), 100, 10, dimnames = list(paste0("cell", 1:100), NULL)) emb <- computeUMAP(X, ncomp = 5) dim(emb)