Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated *_mthds.R and invitrodb to reflect new method desc #103

Merged
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Authors@R: c(
person("Lori","Kolaczkowski",role = "ctb",email = "[email protected]"),
person("Kurt", "Dunham", role = "ctb", email = "[email protected]"),
person("Carter", "Thunes", role = "ctb", email = "[email protected]"),
person("Ashley", "Ko", role = "ctb", email = "[email protected]"),
person("Todd", "Zurlinden", role="ctb"),
person("Parth", "Kothiya", role = "ctb"),
person("Woodrow R", "Setzer", role = "ctb"),
Expand Down
32 changes: 21 additions & 11 deletions R/mc2_mthds.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,27 @@
#' available in the package vignette, "Pipeline_Overview."
#'
#' \describe{
#' \item{log2}{Take the logarithm of cval with the base 2.}
#' \item{log10}{Take the logarithm of cval with the base 10.}
#' \item{rmneg}{Remove entries where cval is less than 0.}
#' \item{rmzero}{Remove entries where cval is 0.}
#' \item{mult25}{Multiply cval by 25.}
#' \item{mult100}{Multiply cval by 100.}
#' \item{negshift}{Shift cval by subtracting out the minimum of cval and
#' adding 1, such that the new minimum of cval is 1.}
#' \item{mult25}{Multiply cval by 2.5.}
#' \item{mult3}{Multiply cval by 3.}
#' \item{mult6}{Multiply cval by 6.}
#' \item{log2}{Transform the corrected response value (cval) to log-scale (base 2).}
#' \item{log10}{Transform the corrected response value (cval) to log-scale (base 10).}
#' \item{rmneg}{Exclude wells with negative corrected response values (cval) and downgrading
#' their well quality (wllq); if cval < 0, wllq = 0.}
#' \item{rmzero}{Exclude wells with corrected response values (cval) equal to zero and
#' downgrading their well quality (wllq); if cval = 0, wllq = 0.}
#' \item{mult25}{Multiply corrected response value (cval) by 25; 25*cval.}
#' \item{mult100}{Multiply corrected response value (cval) by 100; 100*cval.}
#' \item{negshift}{Shift corrected response values (cval) by subtracting the minimum cval and
#' adding 1, such that the new minimum is 1; cval - min + 1.}
#' \item{mult2.5}{Multiply corrected response value (cval) by 2.5; 2.5*cval.}
#' \item{mult3}{Multiply corrected response value (cval) by 3; 3*cval.}
#' \item{mult6}{Multiply corrected response value (cval) by 6; 6*cval.}
#' \item{sub100}{Center data around zero by subtracting the corrected response value (cval) from
#' 100; 100 - cval. Typically used if data was pre-normalized around 100 with responses
#' decreasing to 0.}
#' \item{zscore.npwlls}{Convert the corrected response value (cval) to an absolute Z-Score based
#' on the neutral and positive control wells (wllts = n and p), by assay plate ID (apid);
#' cval = |(cval - (mean cval for wllt = n and p)) / (sd cval for wllt = n and p)|.}
#' \item{sub1}{Center data around zero by subtracting the corrected response value (cval) from 1;
#' 1 - cval. Typically used if data was pre-normalized around 1 with responses decreasing to 0.}
#' }
#'
#' @note
Expand Down
215 changes: 131 additions & 84 deletions R/mc3_mthds.R

Large diffs are not rendered by default.

Loading