delta | R Documentation |
This function will calculate the difference in well summary statistics between the experimental condition and the median control condition within a group.
The proper grouping variables are supplied with ...
.
delta(
data,
...,
WF = "filter",
vars = c("median_wormlength_um", "cv_wormlength_um"),
doseR = F
)
data |
A data frame output from any |
... |
<['dynamic-dots'][rlang::dyn-dots]> Variable(s) used to group data. It is recommended to group data to independent bleaches for all strains. Variable names in data are supplied separated by commas and without quotes.
For example, the typical variables for grouping are |
WF |
Select |
vars |
The well summary statistics to perform the delta calculation on. These are supplied in a character vector. For example, the default is set to |
doseR |
Logical, is this dose response data? The default, |
A data frame identical to the input but with control delta variables added, i.e., median_wormlength_um_delta
and cv_wormlength_um_delta
.
The median values for the control conditions are also added as control_median_wormlength_um
and control_cv_wormlength_um
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.