Description Usage Arguments Details Value Author(s) Examples
Read a tree from a file
1 | read.newick.tree(filename)
|
filename |
The file containing the tree. |
Reads a tree in newick format
a character string representing the tree in newick format
Melissa J. Hubisz and Adam Siepel
1 2 3 4 5 | cat(c("((hg18:0.142679,(mm9:0.083220,rn4:0.090564):0.269385):0.020666,canFam2:0.193569);",
"(human, (mouse, rat));",
sep="\n"), file="test.nh")
read.newick.tree("test.nh")
unlink("test.nh")
|
[1] "((hg18:0.142679,(mm9:0.083220,rn4:0.090564):0.269385):0.020666,canFam2:0.193569);"
[2] "(human,(mouse,rat));"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.