coaPhotoBooth: CoA Bar Plot for Compound Dose Response

Description Usage Arguments Value Examples

Description

Plot each cmpd from a PureHoney tibble separatly in a (n-curve)x1 cowplot::plot_grid() with the standard RNO theme.

Usage

1
2
3
coaPhotoBooth(tib, y_var = "conc_incell_uM", grouping_var = "tx_cmpd",
  output_path = "./", new_folder = TRUE, limits = list(Acetyl = c(0, 55),
  Isobutyryl = c(0, 45), Propionyl = c(0, 65)))

Arguments

tib

A tibble or data.frame with PureHoney data including vars(tx_cmpd, curve_plot).

y_var

A character with the column name to be used for the y-axis.

output_path

A character with valid file path. Default is current working directory.

limits

A named list with the names matching unique(tib$curve_plot) and values of numeric vectors with length of 2, describind the y-axis bound for each 'curve_plot'.

Value

A set of .png images, one for each in unique(tib$tx_cmpd). Default it to make a new directory as a container for the .pngs

Examples

1
2
data(coa) # example CoA data
coaPhotoBooth(coa)

stevehoang/assayr documentation built on May 24, 2019, 7:20 a.m.