Learn R Programming

CALIB (version 1.38.0)

adjustP2: Adjust model parameter P2

Description

Adjust the calibration model parameter P2 according to the measured intensities of all clones spotted on the array.

Usage

adjustP2(RG, parameter, arrayindex = arrayindex, colorindex = colorindex)

Arguments

RG
an RGList object.
parameter
a ParameterList object.
arrayindex
integer vector specifying the index of the arrays of whose the parameter P2 needed to be adjusted.
colorindex
integer vector specifying which color needed to be adjusted.

Value

It returns a ParameterList object with a adjusted P2 compared to the input argument parameter.

Details

RG is an RGList_CALIB object which contains all the experimental data. parameter is the return result of function estimateParameter. arrayindex is an integer vector. It gives the index of the arrays whose P2 is needed to be adjusted. colorindex is an integer vector. It gives the color needed to be adjusted. 1 means red P2 and 2 means green P2.

Examples

Run this code
# load data: RG and parameter:
data(RG)
data(parameter)

# adjust P2
parameter_new <- adjustP2(RG,parameter,arrayindex=c(1,2),colorindex=c(2,2))

Run the code above in your browser using DataLab