plot.cophylogeny: Cophylogeny plot

View source: R/plot.R

plot.cophylogenyR Documentation

Cophylogeny plot

Description

This function plots a host-parasite cophylogenetic tree.

Usage

## S3 method for class 'cophylogeny'
plot(x, hostCol = "Black", parasiteCol = "Red", ...)

Arguments

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.

Examples

coph<-rcophylo(tmax=5)
plot(coph)

JanEngelstaedter/cophy documentation built on Nov. 7, 2023, 9:37 a.m.