plot_mybarplot: Plot barplot with data points and error bars

Description Usage Arguments Value

View source: R/plot_mybarplot.R

Description

Plot barplot with data points and error bars

Usage

1
2
3
4
5
6
7
8
9
plot_mybarplot(
  df,
  x_var = "concentration",
  y_var = "expression_FC",
  facet_var = "treatment",
  fill_by = "treatment",
  summary_stat = "mean_se",
  label = FALSE
)

Arguments

df

input data set as tibble

x_var

aesthetic for plotting

y_var

aesthetic for plotting

facet_var

variable for faceting, quoted

fill_by

variable for fill, quoted

summary_stat

summary statistic for geom_errorbar

label

include text label to indicate summary_stat

Value

A barplot with data points and error bars


J9DM/j9lablib documentation built on Dec. 17, 2021, 11:33 p.m.