View source: R/color.tips.by.element.R
color.tips.by.element | R Documentation |
Takes a tree with tip labels structured in a consistent manner, and colors according to unique elements
color.tips.by.element(tr, element = 6, delim = "|", fixed = TRUE, whiteOut = "NA", addLegend = T,
colorIt = FALSE, byLabels = TRUE, tip.cex = 0.1, dot.pch = 1, blank.tips = T, ...)
tr |
a |
element |
which element of the delimited labels to use for coloring |
delim |
label delimters |
fixed |
boolean: should |
whiteOut |
a character vector identifying labels that should be whited out; defaults to |
addLegend |
boolean |
colorIt |
boolean: if |
byLabels |
boolean: if |
tip.cex |
|
dot.pch |
character code for |
blank.tips |
boolean: if |
... |
additional arguments to |
The default assumes tips are pipe-delimited. If tips are species|country|subcountry|collectorNumber, for example,
use element = 2
to color by country.
the plot.phylo
value, returned invisibly
Andrew Hipp
section.coloring
label.elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.