plotMatUMAP: Plot UMAP of data matrix

View source: R/clusterUtils.R

plotMatUMAPR Documentation

Plot UMAP of data matrix

Description

Plot Uniform Manifold Approximation and Projection (UMAP) of the reads and colour by class. If matrix contains more than 2000 reads, the reads will be randomly subsampled to a maximum of 2000 in order to speed up projection.

Usage

plotMatUMAP(dataMatrix, classes, rescale = T)

Arguments

dataMatrix

Matrix for UMAP dimentionality reduction

classes

Vector of classifications for all the rows

rescale

Rescale matrix with 0-1 values to -1 to 1 values where -1 is no methylation, NAs are 0 and 1 is methylation at that position.

Value

umap plots with different distance metrics


jsemple19/EMclassifieR documentation built on Aug. 12, 2022, 2:57 p.m.