plot.cophylogeny | R Documentation |
This function plots a host-parasite cophylogenetic tree.
## S3 method for class 'cophylogeny'
plot(x, hostCol = "Black", parasiteCol = "Red", ...)
x |
a cophylogeny of class 'cophylogeny', containing a host tree and a parasite tree. |
hostCol |
specifies the colour to use when ploting host lineages. Defaults to "Black". |
parasiteCol |
specifies the colour to use when ploting parasite lineages. Defaults to "Red". |
... |
other parameters to be passed to plotting functions. |
coph<-rcophylo(tmax=5)
plot(coph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.