clust_samp_func: Performs clustering of samples.

Description Usage Arguments Value

View source: R/clust.R

Description

Performs clustering of samples.

Usage

1
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.


treeheatr documentation built on Nov. 20, 2020, 1:07 a.m.