Skip to contents

A method for converting evonet objects to treedata objects. Please note: We are currently changing class information to c("phylo", "evonet") even though the other way around is correct. This is because the S4 def. of treedata does not allow for evonet objects in the phylo slot. At some point we will resolve this inconsistency.

Usage

# S3 method for class 'evonet'
as.treedata(tree, ...)

Arguments

tree

An evonet object.

...

Unused, for extensibility.

Value

A treedata object with evonet object in the phylo slot.