Skip to contents

This function subtracts the values at timepoint T0 from all other timepoints and removes it from the data.

Usage

subtract_T0(
  input_data,
  grouping = c("Group", "Experiment", "Position"),
  value = "Value",
  timepoint = "Timepoint",
  validity = "Validity"
)

Arguments

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".

Value

A modified data frame with timepoint T0 subtracted and removed.

Details

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.