dimension_reduction-matrix-method.RdVisualize columns after dimension reduction
# S4 method for 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)A numeric matrix.
Which method to reduce the dimension of the data. MDS uses cmdscale, PCA uses prcomp. t-SNE uses Rtsne. UMAP uses umap.
Which two principle components to visualize
Ahape of points.
Color of points.
Aize of points.
Title of the plot.
Whether perform scaling on matrix rows.
If number of matrix rows is larger than this value, random nr rows are used.
Internally used.
Whether print messages.
Locations of the points.
# There is no example
NULL
#> NULL