mm_ColorLeaves: Color leves of a dendrogram

View source: R/helper_functions.R

mm_ColorLeavesR 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


ehrlichd/moRphomenses documentation built on March 10, 2024, 3:06 a.m.