plotYearMatrix: Returns the image object to show the heat map of years...

Description Usage Arguments Examples

Description

Returns the image object to show the heat map of years between the inputted set of vertices

Usage

1
2
plotYearMatrix(varieties, tree, xLab = "Variety", yLab = "Variety",
  legendLab = "Difference in years")

Arguments

varieties

subset of varieties used to generate the heat map

tree

the data tree (in data frame format)

xLab

string label on the x axis (default is "Variety")

yLab

string label on the y axis (default is "Variety")

legendLab

string label on the legend (default is "Degree")

Examples

1
2
3
4
data(sbTree)
varieties=c("Bedford", "Calland", "Narow", "Pella", "Tokyo", "Young", "Zane")
p = plotYearMatrix(varieties,sbTree,"Variety", "Variety", "Degree")
p + ggplot2::scale_fill_continuous(low="white", high="darkgreen")

dicook/phyViz documentation built on May 15, 2019, 8:24 a.m.