gheatmap
append a heatmap of a matrix to right side of phylogenetic tree
gheatmap( p, data, offset = 0, width = 1, low = "green", high = "red", color = "white", colnames = TRUE, colnames_position = "bottom", colnames_angle = 0, colnames_level = NULL, colnames_offset_x = 0, colnames_offset_y = 0, font.size = 4, family = "", hjust = 0.5, legend_title = "value" )
p |
tree view |
data |
matrix or data.frame |
offset |
offset of heatmap to tree |
width |
total width of heatmap, compare to width of tree |
low |
color of lowest value |
high |
color of highest value |
color |
color of heatmap cell border |
colnames |
logical, add matrix colnames or not |
colnames_position |
one of 'bottom' or 'top' |
colnames_angle |
angle of column names |
colnames_level |
levels of colnames |
colnames_offset_x |
x offset for column names |
colnames_offset_y |
y offset for column names |
font.size |
font size of matrix colnames |
family |
font of matrix colnames |
hjust |
hjust for column names (0: align left, 0.5: align center, 1: align righ) |
legend_title |
title of fill legend |
tree view
Guangchuang Yu
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.