plotDegMatrix: Returns the image object to show the heat map of degrees...

Description Usage Arguments See Also Examples

Description

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

Usage

1
2
plotDegMatrix(varieties, ig, tree, xLab = "Variety", yLab = "Variety",
  legendLab = "Degree")

Arguments

varieties

subset of varieties used to generate the heat map

ig

the graph representation of the data tree (in igraph format)

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")

See Also

http://www.r-project.org for iGraph information

Examples

1
2
3
4
5
data(sbTree)
ig = treeToIG(sbTree)
varieties=c("Bedford", "Calland", "Narow", "Pella", "Tokyo", "Young", "Zane")
p = plotDegMatrix(varieties, ig, sbTree, "Soybean label", "Soybean label", "Degree")
p + ggplot2::scale_fill_continuous(low="white", high="darkgreen")

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