And howmanytrees() in ape tells you how many trees there are for a given number 
of tips (if it returns Inf, it's because this number is beyond the largest 
representable number on your computer).

Best,

Emmanuel
-----Original Message-----
From: David Bapst <dwba...@uchicago.edu>
Sender: r-sig-phylo-boun...@r-project.org
Date: Thu, 21 Jul 2011 10:26:40 
To: Liutauras Rusaitis<liutauras.rusai...@st-annes.ox.ac.uk>
Cc: r-sig-phylo@r-project.org<r-sig-phylo@r-project.org>
Subject: Re: [R-sig-phylo] Generating all possible phylogenies...

Liutauras-
allTrees() in the phangorn package can calculate all possible trees for up
to 10 tips.
Cheers,
-Dave, UChicago

On Thu, Jul 21, 2011 at 10:20 AM, Liutauras Rusaitis <
liutauras.rusai...@st-annes.ox.ac.uk> wrote:

> Hello,
>
> Is it possible to use Ape Library to generate all possible evolutionary
> tree structures given a fixed number of nodes? We're studying plant leaf
> evolutions and we need to test each evolutionary tree on our models. We
> realize the number of trees would be huge, so we'd chooce only the most
> parsimonious trees once we can generate all of them.
>
> Thanks,
>
> Liutauras
> _______________________________________________
> R-sig-phylo mailing list
> R-sig-phylo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
>



-- 
David Bapst
Dept of Geophysical Sciences
University of Chicago
5734 S. Ellis
Chicago, IL 60637
http://home.uchicago.edu/~dwbapst/

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
_______________________________________________
R-sig-phylo mailing list
R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo

Reply via email to