dimension_reduction-ConsensusPartition-method {cola} | R Documentation |
Visualize samples (the matrix columns) after dimension reduction
## S4 method for signature 'ConsensusPartition' dimension_reduction(object, k, top_n = NULL, method = c("PCA", "MDS", "t-SNE", "UMAP"), control = list(), internal = FALSE, silhouette_cutoff = 0.5, remove = FALSE, scale_rows = TRUE, verbose = TRUE, ...)
object |
a |
k |
number of partitions. |
top_n |
top n rows to use. By default it uses all rows in the original matrix. |
method |
which method to reduce the dimension of the data. |
control |
|
internal |
internally used. |
silhouette_cutoff |
cutoff of silhouette score. Data points with values less than it will be mapped with cross symbols. |
remove |
whether to remove columns which have less silhouette scores than the cutoff. |
scale_rows |
whether perform scaling on matrix rows. |
verbose |
whether print messages. |
... |
other arguments. |
No value is returned.
Zuguang Gu <z.gu@dkfz.de>
data(cola_rl) dimension_reduction(cola_rl["sd", "kmeans"], k = 3)