mm_ColorLeaves {moRphomenses} | R Documentation |
Color leves of a dendrogram
Description
Specify color order approriately for a dendrogram
Usage
mm_ColorLeaves(dendro, cols)
Arguments
dendro |
A dendrogram or hclust class object |
cols |
a vector of colors |
Details
Leaves of a dendrogram will be re-ordered compared to most input classifiers. This function takes the study-ordered colors and correctly applies them to the dendrogram using dendextend
Value
A dendrogram class object with leaves colored as specified.
[Package moRphomenses version 1.0.2 Index]