clust_samp_func: Performs clustering of samples.

View source: R/clust.R

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


trang1618/treeheatr documentation built on July 30, 2023, 1:20 a.m.