bootstrapPairs: One Bootstrap Sample for Pairs
Description
Bootstrap generation procedure for sampling paired data (e.g. twin data)
Usage
bootstrapPairs(obs, pairID)
Arguments
obs
Observation ids (numeric vector).
pairID
Pair IDs (one unique value per pair).
Value
A vector of IDs corresponding to bootstrapped pairs
Details
Generates one bootstrapped set of ids corresponding to pairs for the method for conducting EWAS while deconvoluting DNA methylation arising as mixtures of cell types. Typically not run by user.
References
Houseman EA, Molitor J, and Marsit CJ (Bioinformatics, 2014).