View source: R/lipidome_comparison_visualization.R
'simple_barchart' returns a ggplot barchart with viridis coloring
1 2 3 4 5 6 7 8 9 | simple_barchart(
data_frame,
x,
y,
fill = "#35608DFF",
title = "test",
xlab = "",
ylab = ""
)
|
data_frame |
data frame with at least one numeric and one factor column |
x |
vector. Factor column |
y |
vector. Numeric column |
fill |
vector. Factor column to fill bars by. By default all bars are blue. |
title |
string. Main title of the plot. Default = "" |
xlab |
string. Title of x-axis. Default = "" |
ylab |
string. Title of y-axis. Default = "" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.