phy_struct {rdiversity} | R Documentation |
Calculate phylogenetic structure matrix
Description
Converts an object into class phylo
into class phy_struct
.
Usage
phy_struct(tree, partition)
Arguments
tree |
object of class |
partition |
two-dimensional |
Value
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 |
[Package rdiversity version 2.2.0 Index]