Description Usage Arguments Details Value Author(s) References Examples
View source: R/AllNewickNumbersByPartition.R
Generates all unlabelled rooted multifurcating trees of N tips.
1 |
N |
The required number of tips. |
Function works using notion in Felsenstein (2004) of applying partitions (combinatorics) to generate all possible sets of splits.
Note that currently this function fails to generate all possible trees past N = 7 so it is not recommended for use.
A list of Newick number strings partitioned by number of internal nodes (1 to N - 1).
Graeme T. Lloyd graemetlloyd@gmail.com
Felsenstein 2004
1 2 | # Generate all trees of five tips:
AllNewickNumbersByPartition(N = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.