[R] Convert filogenetic tree to binary matrix

Ben Bolker
2011-04-28T14:34:56Z

vanderlei52 <vanderleidebastianimach <at> yahoo.com.br> writes:

>
> I need to create a binary matrix with all node of a phylogenetic tree and
the
> presence of each taxo in their respective node.
>

  I would suggest that you try this question on the r-sig-phylo mailing
list instead.  The phylobase package has an ancestors() functions that
could help you put together a solution, but there may well be a quicker,
easier way.

   Ben Bolker