Learn R Programming

BMhyb (version 2.1.5)

CreateHybridlessEvonet: Convert phylo object to evonet

Description

ape::evonet converts a phylo object to evonet, but requires having at least one hybridization event. This lets you convert to evonet without having a hybridization event.

Usage

CreateHybridlessEvonet(phy)

Arguments

phy

A phylo object (ape's basic tree format)

Value

An evonet object, suitable for passing as phy.graph into many of BMhyb's functions