Description Usage Arguments Value
Plots barplot for all sample in dataframes. If length(sampleNames) == 1, then the bars will also have y-values (or x if horizontal plot) labels on them. Use 'perc' to control if the values are percentages.
1 2 3 |
dataframes |
list type. List of dataframes |
sampleNames |
vector type. 1-1 correspondence to dataframes. |
plotTitle |
string type. |
vert |
boolean type. True if the plot should be vertical |
xlabel |
string type |
ylabel |
string type |
perc |
boolean type. True if data's axis is a percentage proportion (instead of 0-1) only used if length(sampleNames) == 1 |
subs |
string type |
sorted |
boolean type. True if bar plot should be sorted in descending order |
cutoff |
int type. Number of maximum ticks to show (x on vert plots, y on hori plots). |
legendPos |
string type. Where to position legend (see ggplot's theme()) |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.