subtract_T0 | R Documentation |
This function subtracts the values at timepoint T0 from all other timepoints and removes it from the data.
subtract_T0(
input_data,
grouping = c("Group", "Experiment", "Position"),
value = "Value",
timepoint = "Timepoint",
validity = "Validity"
)
input_data |
A data frame containing columns preferably named as 'Position', 'Value', 'Experiment','Validity', and 'Timepoint'. |
grouping |
A character vector specifying the columns to use for grouping. Defaults to c("Experiment", "Position"). |
value |
The column containing the values to be modified. Defaults to "Value". |
timepoint |
The column containing the timepoint information. Defaults to "Timepoint". |
validity |
The column containing validity information. Defaults to "Validity". |
This function modifies the input data frame by subtracting the value at T0 timepoint from all other timepoints for each plate (i.e. experiment). It then removes the rows with this timepoint from the data frame.
A modified data frame with timepoint T0 subtracted and removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.