View source: R/section.coloring.R
section.coloring | R Documentation |
Plot a circular tree with tips colored by section to a PDF file. Assumes that section is the sixth pipe-delimited part of a tip label.
section.coloring(tr, tipChar = "-", tiplty = 0,
pdfTitle = paste("trial.", paste(sample(letters, 3), collapse = ""), ".pdf", sep = ""),
dist.cats = rep(1, length(tr$tip.label)), whiteOut = "NA",
xy.multiplier = 1.5, offset.proportion = 0.03, writeLabels = 0.1,
vectorToColorBy = label.elements(tr, "|", returnNum = 6, fixed = T),
...)
tr |
The tree to be plotted, an object of class |
tipChar |
Optional. The character with which to replace the full tip label. |
tiplty |
|
pdfTitle |
|
dist.cats |
|
whiteOut |
|
xy.multiplier |
|
offset.proportion |
|
writeLabels |
|
... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.