R/plots.R
plot_contaminants.Rd
Bar plot of contaminants
plot_contaminants( data, title, x_var = "comp_name", y_var = "EIC_median", y_lab = "Median EIC" )
tbl with the contamination amounts
Plot title
Column name that holds the compound/contaminant names
Column name that holds the compound/contaminant values
Y-axis label
a ggplot object.
ggplot