Learn R Programming

pepStat (version 1.6.2)

baseline_correct: Substract baseline intensities

Description

Correct intensities by substracting PRE visit sample intensities.

Usage

baseline_correct(pSet, verbose = FALSE)

Arguments

pSet
A peptideSet with sample PRE and POST visits.
verbose
A logical. If TRUE, information regarding the pairedness of the data will be displayed.

Value

  • A matrix of the baseline corrected intensities, with as many columns as there are samples POST visit

Details

The function will try to pair as many sample as possible. The remaining subjects with a POST and no PRE will use the average expression of all baseline samples. Subjects with baseline only will not be represented in the resulting matrix.