View source: R/plot_bar_composition.R
plot_bar_composition | R Documentation |
Plots data as bar plot with ggplot2
plot_bar_composition( data_, TERMS = "mitochondrion", type = "Fraction", color, xlab = "Fraction of Proteins", ylab = "", legend.name = "", legend.position = "right", aspect.ratio = 1, custom.theme = theme_phosprot_half_open, ..., view = T, input = "data_annotation_composition", output = "plot_annotation_composition" )
data_ |
data_ |
TERMS |
TERMS to plot |
type |
type of data to represent ("Fraction" or "Count") |
color |
names vector of colors |
xlab |
labels of x-axis |
ylab |
label of y-axis |
legend.name |
name of legend |
legend.position |
position of legend ("none", "right", "bottom", "top", "left") |
aspect.ratio |
aspect ratio of x- and y-axis |
custom.theme |
predefined theme for plot |
... |
arguments for custom.theme |
view |
view plot after generation |
input |
name of input data |
output |
name of output data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.