checkLabel | R Documentation |
Checking and correcting character strings, particularly before writing a Newick tree.
checkLabel(x)
x |
a vector of mode character. |
This function deletes the leading and trailing spaces (including tabulations, new lines, and left or right parentheses at the beginning or end of the strings), substitutes the spaces inside the strings by underscores, and substitutes commas, colons, semicolons, and parentheses inside the strings by dashes.
a vector of mode character.
Emmanuel Paradis
makeLabel
, makeNodeLabel
,
mixedFontLabel
, stripLabel
,
updateLabel
checkLabel(" Homo sapiens\t(Primates; World) ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.