dimension_reduction-HierarchicalPartition-method.Rd
Visualize columns after dimension reduction
# S4 method for HierarchicalPartition
dimension_reduction(object, merge_node = merge_node_param(),
parent_node, top_n = NULL, top_value_method = object@list[[1]]@top_value_method,
method = c("PCA", "MDS", "t-SNE", "UMAP"), color_by = NULL,
scale_rows = object@list[[1]]@scale_rows, verbose = TRUE, ...)
A HierarchicalPartition-class
object.
Parameters to merge sub-dendrograms, see merge_node_param
.
Top n rows to use. By default it uses all rows in the original matrix.
Which top-value method to use.
Parent node. If it is set, the function call is identical to dimension_reduction(object[parent_node])
Which method to reduce the dimension of the data. MDS
uses cmdscale
, PCA
uses prcomp
. t-SNE
uses Rtsne
. UMAP
uses umap
.
If annotation table is set, an annotation name can be set here.
Whether to perform scaling on matrix rows.
Whether print messages.
Other arguments passed to dimension_reduction,ConsensusPartition-method
.
The class IDs are extract at depth
.
No value is returned.
data(golub_cola_rh)
dimension_reduction(golub_cola_rh)
#> use UMAP