dimReduce: Get lower dimension embedding

Description Usage Arguments Value

View source: R/dimReduce.R

Description

Get lower dimension embedding

Usage

1
2
3
4
5
6
7
dimReduce(
  x,
  flavor = c("pca", "tsne", "umap"),
  k = 2,
  is.counts = TRUE,
  ntop = 500
)

Arguments

x

gene expresison matrix [GENES x SAMPLES]

flavor

the algorithm to use to obtain the dimensionality reduction must be in c('pca', 'tsne', 'umap')

k

the number of dimensions in the reduced dimension representation

is.counts

logical: is 'x' counts data

ntop

number of most variable genes to use for dimensionality reduction

Value

reduced dimensionality representation


netSmooth documentation built on Nov. 8, 2020, 5:33 p.m.