View source: R/plot_sample_information.R
Add Sample Times to Plot
1 2 3 4 | addSampleTimesToPlot(sampleTimes, ymax,
timeFormat = default_day_time_format(), cex.text = 0.7,
showArrows = FALSE, showTimes = FALSE, showBottleNumbers = FALSE,
legendPosition = "bottom")
|
sampleTimes |
data frame with columns |
ymax |
maximum y value of plot. Used to determine arrow lengths and positions |
timeFormat |
default: "%d.%m %H:%M" |
cex.text |
default: 0.7 |
showArrows |
default: FALSE |
showTimes |
default: FALSE |
showBottleNumbers |
default: FALSE |
legendPosition |
character string specifying the legend position, e.g. "bottom", "[top|bottom]left", "top", "[top|bottom]right" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.