calculateParamDist: calculateParamDist 'calculateParamDist' calculates the...

Description Usage Arguments Value Examples

Description

calculateParamDist

calculateParamDist calculates the quality parameters of one iteration. This function samples nregions rows from the stat matrix and fits the linear model lm(d ~ 0 + u + w)

Usage

1
calculateParamDist(i, stats, nregions)

Arguments

i

a numeric value indicating the current iteration.

stats

a data.table object with the response and covariates for the model

nregions

a numeric value indicating the number of regions sampled.

Value

a data.table with both parameters and some extra info

Examples

1
2
3
data("exoExample")
DT <- formatRegions(exoExample)
calculateParamDist(1,DT,100)

welch16/ChIPexoQual documentation built on May 4, 2019, 4:18 a.m.