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)

ChIPexoQual documentation built on Nov. 8, 2020, 8:22 p.m.