Hi all,

I've search quite around for methods of converting from a edgelist (from
igraph) to a phylo class


taken from the 2006: Analysis of Phylogenetics and Evolution with R

the instructions for building an object of the "phylo" class seems to have
been changed. Please correct me if I'm mistaken.

An object of class "phylo" is a list with the following components.
> edge
> a two-column matrix where each row represents a branch (or edge) of the
> tree; the nodes and the tips are symbolized with numbers; the nodes are
> represented with negative numbers (the root being "-1"), and the tips are
> represented with positive numbers. For each row, the first column gives the
> ancestor. This representation allows an easy manipulation of the tree.


-- 
Regards
Wesley

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Reply via email to