clust_samp_func {treeheatr} | R Documentation |
Performs clustering of samples.
Description
Performs clustering of samples.
Usage
clust_samp_func(leaf_node = NULL, dat, clust_vec, clust_samps = TRUE)
Arguments
leaf_node |
Integer value indicating terminal node id. |
dat |
Dataframe of the original dataset. Samples may be reordered. |
clust_vec |
Character vector of variable names to be applied clustering on. Can include class labels. |
clust_samps |
Logical. If TRUE, hierarchical clustering would be performed among samples within each leaf node. |
Value
Dataframe of reordered original dataset when clust_samps == TRUE.
[Package treeheatr version 0.2.1 Index]