[BioC] solution of boot.phylo()'s problem

Nora Muda noramuda at yahoo.com
Thu Mar 22 03:15:46 CET 2007


Thank you to Martin and Earl for their response and
answered.

I got answered from Emmanuel Paradis. Below are the
solutions: 

'boot.phylo(phy,x,FUN,B=100,block=1)'

x is a character matrix (not the distance matrix) that
will be resampled for the bootstrap. 

My mistake is not to store the tree which is needed by
boot.phylo; so
 tr <- nj(distallbacteria)

Therefore;

boot.phylo(tr,allbacteria,FUN=function(xx)nj(dist.dna(xx,pairwise.deletion=TRUE)

We also can refer to the book on using R for
phylogenetic analyses, written by Emmanuel Paradis :

http://www.springer.com/west/home/statistics/stats+life+sci?SGWID=4-10134-22-156993712-0



--Nora.




 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.



More information about the Bioconductor mailing list