.isWideForm {twoddpcr}R Documentation

Checks a data frame is a wide-form table.

Description

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.

Usage

.isWideForm(df, ch1Label = "Mt", ch2Label = "Wt")

Arguments

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

Value

TRUE if df is considered to be of the correct format and FALSE otherwise.

Author(s)

Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk


[Package twoddpcr version 1.16.0 Index]