Re: [R] Convert filogenetic tree to binary matrix

From: Ben Bolker <bbolker_at_gmail.com>
Date: Thu, 28 Apr 2011 14:34:56 +0000

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



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 28 Apr 2011 - 14:56:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 29 Apr 2011 - 19:40:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive