plotPath: Construct the graphic object of the path

Description Usage Arguments See Also Examples

Description

This function takes the path as input and outputs an ggplot2 object. The image will correctly position the node labels with x-axis representing the node year, and y-axis representing the node path index. Edges between two nodes represent parent-child relationships between those nodes. For visual appeal, there is a grey box that outlines the node label, as well as an underline and overline for each label.

Usage

1
plotPath(path)

Arguments

path

object created from function getPath

See Also

getPath for information on input path building

Examples

1
2
3
4
data(sbTree)
ig <- treeToIG(sbTree)
p <- getPath("Brim","Bedford",ig,sbTree)
plotPath(p)

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