mm_ColorLeaves: Color leves of a dendrogram

View source: R/plotting.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 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 Aug. 6, 2022, 2:32 a.m.