calculateParamDist: calculateParamDist 'calculateParamDist' calculates the...

Description Usage Arguments Value Examples

View source: R/base_summaryStats.R

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 March 21, 2018, 8:02 a.m.