PlotTreeSI: A funtion to visualize QIRP across a tree topology

Description Usage Arguments Value Author(s) References Examples

Description

A funtion to visualize QIRP across a tree topology

Usage

1
PlotTreeSI(tree, ratevector, s)

Arguments

tree

A phylogenetic tree

ratevector

site rate vector, converted to class 'matrix'

s

A number representing the character state space that generated the site rates (e.g., s=2 for binary data)

Value

A graphical representation of QIRP at every node

Author(s)

A. Dornburg

References

Hwang, J., Jonathan, H., Qi, Z., Yang, Z. L., Zheng, W., and Townsend, J. P. “Solving the Ecological Puzzle of Mycorrhizal Associations Using Data from Annotated Collections and Environmental Samples - an Example of Saddle Fungi” Environmental microbiology reports 7, no. 4 (2015): 658–667.

Examples

1
2
3
4
5
library("ape")
as.matrix(rag1)->rr
read.tree(system.file("extdata","polypterus_trees.phy",package="PhyInformR"))->trees
trees[[1]]->tree
PlotTreeSI(tree,rr,3)

PhyInformR documentation built on May 2, 2019, 2:49 p.m.