Description Usage Arguments Value
Plots the results of MakeBarchartData as a set of grouped barcharts.
1 2 3 4 5 | PlotBarchart(.data, x.col = "SampleType", fill.col = "taxa",
grouping.col = "SubjectID", x.labs = attributes(.data)$labels,
fill.values = attributes(.data)$fill,
fill.breaks = rev(levels(.data$taxa)), theme = opts$barchart.theme,
guide = opts$barchart.guide)
|
.data |
result from |
x.col |
the mapping for the x-axis |
fill.col |
the mapping for the fill aesthetic |
grouping.col |
the grouping columns specified in MakeBarchartData, if any |
x.labs |
if desired, what to revalue the x-axis labels to |
fill.values |
named vector for fill colors |
fill.breaks |
ordering of the fills (currently a noop) |
theme |
a theme object to add |
a ggplot2::ggplot
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.