Description Usage Arguments Value Author(s) Examples
Check if tree string ends in semi-colon and if not add one. This is mostly done for compatibility with ape, which requires them.
1 |
x |
A character string or vector of character strings each representing a tree in Newick format. |
The same value, but with a semi-colon added to the end of any strings which did not already end in semi-colons.
Melissa J. Hubisz
1 2 3 4 5 6 | str <- c("213", "345")
fix.semicolon.tree(str)
str <- c("213;", "345;")
fix.semicolon.tree(str)
str <- c("213", "345;")
fix.semicolon.tree(str)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.