Converts an object into class phylo
into class phy_struct
.
phy_struct(tree, partition)
object of class phylo
two-dimensional matrix
of mode numeric
with rows as types (species), columns as subcommunities, and each
element containing the relative abundance of types in each subcommunity
relative to the metacommunity as a whole. In the phylogenetic case, this
corresponds to the proportional abundance of historical species, which is
calculated from the proportional abundance of terminal taxa
phy_struct()
returns a list
containing:
$structure | - each row denotes historical species, columns denote terminal taxa, and elements contain 'branch lengths' |
$tbar - the average distance from root to tip for all terminal
taxa | $parameters |
- information associated with each historical species | $tree |
- object of class phylo |