phydata of phyreg. If node heights are specified, these are also provided in the value returned.
phyfromnewick(file = "", str,datatype="Branch_lengths")
phyfromphylo(phylo)phyfromnewick only)
phyfromnewick only)ape package The phylo object must have edge.length values if heights are to be provided by phyfromphylo. (phyfromphylo only).jj==phy[[ii]], then jj is the parent-node of ii. It is a requirement for the internal format that jj>ii in every case (it is not true of "phylo" objects that a parent's ID has to be greater than its offspring's). Suitable for supplying as the phydata argument of phyreg$phy. Suitable for supplying as the heightsdata argument of phyreg. NOTE: this will be returned only if the information is available in the inputs.
newick object may have higher nodes with only one daughter. firstphy contains the corresponding internally formatted phylogeny. phy itself has all singletons removed, and the numbers of the higher nodes are therefore altered. (phylofromnewick only)newick object. It contains a name (Species_1 etc if none are supplied), the ID number, and the additional data that, if numeric and provided for all relevant nodes, will be interpreted as branch lengths or heights. This may be useful if numerical data is not getting through for some reason (phylofromnewick only)newick object. This contains the higher node names (Higher_Node_1 etc by default), their ID numbers in firstphy not in phy, and the additional data. Again, perhaps useful for checking. (phylofromnewick only)phyreg.Both standards can be constructed to contain singleton higher nodes i.e. a higher node with only one daughter. phyfromphylo leaves the singletons in. phyfromnewick strips them out. phyreg will use either.
ape package (http://cran.r-project.org/web/packages/ape/).
phyreg