View source: R/hclustWrapper.R
hclustWrapper | R Documentation |
This fuction is a wrapper for the hclust, dist, and cutree functions. It outputs a string of a concatenated vector of 1's and 2's indexed by column. This function is not meant to be run individually, but as a 'clustFunc' argument for running K2tax().
hclustWrapper(labels, features, K2res)
labels |
Vector of cohort values |
features |
List of features (genes) to include |
K2res |
A K2 class object. |
A character string of concatenated 1's and 2's pertaining to the cohort assignments.
reed_2020K2Taxonomer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.