Description Usage Arguments Value Author(s) See Also Examples
The function returns a consensus tree from multiple gene trees.
1 |
treestr |
a vector of tree strings |
name |
the species names |
type |
if type="freq", the frequency of each clade in the consensus tree is presented at the node of the clade. if type="prop", the proportion of each clade is presented at the node of the clade" |
The function returns the consensus tree and species names.
Liang Liu lliu@uga.edu
1 2 3 4 5 6 7 8 9 10 11 | treestr<-c("((((H:0.00402,C:0.00402):0.00304,G:0.00707):0.00929,O:0.01635):0.1,W:0.12);",
"((((H:0.00402,G:0.00402):0.00304,C:0.00707):0.00929,O:0.01635):0.1,W:0.12);",
"((((H:0.00402,C:0.00402):0.00304,G:0.00707):0.00929,O:0.01635):0.1,W:0.12);")
name<-species.name(treestr[1])
consense(treestr,name)
###unrooted trees
data(unrooted.tree)
name<-paste("S",1:29,sep="")
consense(unrooted.tree,name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.