dimension_reduction-matrix-method | R Documentation |
Visualize columns after dimension reduction
## S4 method for signature 'matrix'
dimension_reduction(object,
pch = 16, col = "black", cex = 1, main = NULL,
method = c("PCA", "MDS", "t-SNE", "UMAP"),
pc = NULL, control = list(),
scale_rows = FALSE, nr = 5000,
internal = FALSE, verbose = TRUE)
object |
A numeric matrix. |
method |
Which method to reduce the dimension of the data. |
pc |
Which two principle components to visualize |
control |
A list of parameters for |
pch |
Ahape of points. |
col |
Color of points. |
cex |
Aize of points. |
main |
Title of the plot. |
scale_rows |
Whether perform scaling on matrix rows. |
nr |
If number of matrix rows is larger than this value, random |
internal |
Internally used. |
verbose |
Whether print messages. |
Locations of the points.
Zuguang Gu <z.gu@dkfz.de>
# There is no example
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.