.isWideForm {twoddpcr} | R Documentation |
Our preferred data frame format is to have things in a wide-form data frame, i.e. to have channel 1 and channel 2 data both in the same row.
.isWideForm(df, ch1Label = "Mt", ch2Label = "Wt")
df |
A data frame. |
ch1Label |
The prefix to use for the channel 1 target. Defaults to "Mt". |
ch2Label |
The prefix to use for the channel 2 target. Defaults to "Wt". |
TRUE
if df
is considered to be of the correct format
and FALSE
otherwise.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk