clust_feat_func {treeheatr} | R Documentation |
Performs clustering or features.
Description
Performs clustering or features.
Usage
clust_feat_func(dat, clust_vec, clust_feats = TRUE)
Arguments
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_feats |
if TRUE clusters displayed features (passed through 'clust_vec') using the the Gower metric based on the values of all samples and returns the ordered features. When 'clust_samps = FALSE' and 'clust_feats = FALSE', no clustering is performed. |
Value
Character vector of reordered features when 'clust_feats == TRUE'.
[Package treeheatr version 0.2.1 Index]