simple_barchart: Simple barchart

Description Usage Arguments

View source: R/lipidome_comparison_visualization.R

Description

'simple_barchart' returns a ggplot barchart with viridis coloring

Usage

1
2
3
4
5
6
7
8
9
simple_barchart(
  data_frame,
  x,
  y,
  fill = "#35608DFF",
  title = "test",
  xlab = "",
  ylab = ""
)

Arguments

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 = ""


lisaschneider0509/lipidomeComparisonR documentation built on Aug. 12, 2020, 12:52 a.m.