Description Usage Arguments Value Author(s) Examples

View source: R/NormalizeARRm.R

For each probe type, it returns the coefficients of the linear model used in the ARRm normalization. Since the model is applied to each percentile separately, different coefficients are returned for every percentile. Residuals are returned as well.

1 | ```
getCoefficients(quantiles,designInfo,backgroundInfo,outliers.perc=0.02)
``` |

`quantiles` |
A |

`designInfo` |
matrix returned by |

`backgroundInfo` |
matrix returned by |

`outliers.perc` |
Percentage of outliers to be removed in the regression. By default, set to 0.02 |

Returns a `list`

containing three lists of coefficients for each probe type. (`$green`

to access coefficients for Type I green probes, `$red`

to access coefficients for Type I red probes and `$II`

to access coefficients for Type II probes). Each list of coefficients contains five subfields. `res`

is a matrix of residuals for the linear model across percentiles (a vector of residuals for each percentile), `background.vector`

is a vector containing the regression coefficients for background intensity across percentiles; `dyebias.vector`

is a vector containing the regression coefficients for dye bias across percentiles; `chip.variations`

is a matrix of chip variations estimated by the linear model; rows correspond to percentiles, columns correspond to chips; `position.variations`

is a matrix of position deviation from the chip mean estimated by the linear model; rows correspond to percentiles, columns correspond to positions.

Jean-Philippe Fortin <jfortin@jhsph.edu>

1 2 3 4 5 6 7 8 | ```
data(greenControlMatrix)
data(redControlMatrix)
data(sampleNames)
data(betaMatrix)
backgroundInfo=getBackground(greenControlMatrix,redControlMatrix)
designInfo=getDesignInfo(sampleNames)
quantiles=getQuantiles(betaMatrix)
coefficients=getCoefficients(quantiles,designInfo,backgroundInfo)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.