Description Usage Arguments Value Examples
Write a newick formatted phylogenetic tree.
1 | write.tree(tree = NULL, file = NULL)
|
tree |
A |
file |
Filename or connection to write the newick file to (optional). |
If file is NULL, the newick string as a character vector. Otherwise,
the return value from writeChar
, typically invsible(NULL).
1 2 3 4 5 | library(rbiom)
infile <- system.file("extdata", "newick.tre", package = "rbiom")
tree <- read.tree(infile)
newick <- write.tree(tree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.