dimension_reduction-matrix-method: Visualize columns after dimension reduction

Description Usage Arguments Value Author(s) Examples

Description

Visualize columns after dimension reduction

Usage

1
2
3
4
5
## S4 method for signature 'matrix'
dimension_reduction(object,
    pch = 16, col = "black", cex = 1, main = "",
    method = c("MDS", "PCA", "tsne"),
    tsne_param = list())

Arguments

object

a numeric matrix.

method

which method to reduce the dimension of the data. MDS uses cmdscale, PCA uses prcomp and tsne uses Rtsne.

pch

shape of points.

col

color of points.

cex

size of points.

main

title of the plot.

tsne_param

parameters pass to Rtsne

Value

No value is returned.

Author(s)

Zuguang Gu <[email protected]>

Examples

1
2
# There is no example
NULL

jokergoo/cola documentation built on June 27, 2018, 10:35 a.m.