Skip to contents

Takes a matrix, a tree, and optionally some focal clades to plot a heatmap clustered with that tree. Obviously, the tree and the matrix need to be related.

Usage

treeHeatMap(mat, tree = NULL, clades = NULL, ...)

Arguments

mat

a matrix with numerical values.

tree

A ConvenientTblTree object.

clades

A FocalCladeList object.

...

Extra arguments passed to pheatmap::pheatmap()

Value

A pheatmap object.

See also

Other Plotting functions: MRCA_2D_plot(), ellipsePlot(), visualizeTree()

Author

Charles Plessy

Examples

treeHeatMap(Halo_PercentDiff)

treeHeatMap(Halo_PercentDiff, Halo_Tree)

treeHeatMap(Halo_PercentDiff, Halo_Tree, Halo_FocalClades)