drcLabels: Overwrite lowest value label with "0" for dose response...

Description Usage Arguments Value Examples

Description

A helper function to be used in ggplot() + scale_x_continuous(..., labels = drcLabels) for relabeling the lowest compound concentration from its log-approximate value. This function is the correction for newZeros().

Usage

1
drcLabels(breaks)

Arguments

limits

Default ggplot2 numeric object of length 2, defining upper and lower bounds for a scale.

Value

A numeric vector with the the lowest value set to 0.

Examples

1
2
3
ggplot(data = ph_drc, aes(tx_conc, conc_incell_uM) +
geom_curve() +
scale_x_continuous(breaks = drcBreaks, labels = drcLabels)

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