run_umap: Run UMAP

View source: R/run_umap.R

run_umapR Documentation

Run UMAP

Description

UMAP on the PCA results.

Usage

run_umap(pca_o, nb_pcs = 10, nb_neighbors = 5)

Arguments

pca_o

the output of run_pca

nb_pcs

the number of PCs to use. Default 10.

nb_neighbors

the number of neighbors. Default 5.

Details

This functions depends on Python and UMAP being installed. Make sure umap-mearn, sklearn, numpy, scipy and pandas are installed. For example with something like: 'pip install sklearn numpy scipy pandas umap-learn'.

Value

a data.frame with columns: cell, umap1, umap2

Author(s)

Jean Monlong


jmonlong/scCNAutils documentation built on May 3, 2022, 4:34 a.m.