Learn R Programming

RefFreeEWAS (version 2.2)

RefFreeCellMixArrayDevianceBoot: RefFreeCellMixArrayDevianceBoot

Description

Vector of bootstrapped deviances corresponding to an array of reference-free cell-mixture decompositions

Usage

RefFreeCellMixArrayDevianceBoot(rfArray, Y, EPSILON=1E-9, bootstrapIterations=5)

Arguments

rfArray

list of RefFreeCellMix objects (e.g. from RefFreeCellMixArray)

Y

Methylation matrix on which x was based

EPSILON

Minimum value of variance (zero variances will be reset to this value)

bootstrapIterations

Number of RefFreeCellMix iterations to use in bootstrap

Details

Vector of bootstrapped deviances corresponding to an array of reference-free cell-mixture decompositions, used to determine optimal number of cell types. This function returns one bootstrapped vector. See RefFreeCellMixArrayDevianceBoots for more than one bootstrapped vector. The bootstrapped deviance is based on normal distribution applied to errors of Y after accounting for cell mixture effect, Mu Omega^T. See RefFreeCellMixArray for example.