Learn R Programming

RefFreeEWAS (version 2.2)

PairsBootOneRefFreeEwasModel: One Bootstrap Sample for Reference-Free EWAS Model, Accounting for Paired Data

Description

Bootstrap generation procedure for reference-free method for conducting EWAS while deconvoluting DNA methylation arising as mixtures of cell types. This version accounts for paired data (e.g. twin data)

Usage

PairsBootOneRefFreeEwasModel(mod, pairID)

Arguments

mod

model object of class RefFreeEwasModel (generated with smallOutput=FALSE).

pairID

Pair IDs (one unique value per pair).

Value

A matrix representing a bootstrap sample of an DNA methylation assay matrix.

Details

Generates one bootstrapped data set for the reference-free method for conducting EWAS while deconvoluting DNA methylation arising as mixtures of cell types. This version facilitates the estimation of robust standard errors to account for paired data (e.g. twin data) using a strategy similar to that employed by Generalized Estimating Equations (GEEs). Specifically, in bootstrapping the errors, the pairs are sampled rather than individual arrays. Typically not run by user.

References

Houseman EA, Molitor J, and Marsit CJ (Bioinformatics,2014), Reference-Free Cell Mixture Adjustments in Analysis of DNA Methylation Data. Bioinformatics, doi: 10.1093/bioinformatics/btu029.

See Also

BootRefFreeEwasModel,BootOneRefFreeEwasModel