cophylogeny: Creates a cophylogeny object

View source: R/convert.R

cophylogenyR Documentation

Creates a cophylogeny object

Description

This function creates an object of class 'cophylogeny', which can be passed to plot.cophylogeny. This object must contain at least one host and one parasite tree.

Usage

cophylogeny(HP.tree)

Arguments

HP.tree

a list of a pre-built host phylogenetic tree and a parasite phylogenetic tree of class 'cophylogeny' or 'data.frame'

Value

this function returns an object of class 'cophylogeny' which can be for plotting and printing.


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