I´m working in R with a data frame of 32 Samples that contains m values from Infinium EPIC . I want to do differential methylation analysis with the command "cpg.annotate()" and therefore need an design matrix.
So far I Followed this Instruction: https://www.bioconductor.org/packages/release/workflows/vignettes/methylationArrayAnalysis/inst/doc/methylationArrayAnalysis.html
Unfortunately its not described in detail how you make a design matrix and a cont.matrix
From the data frame I want to compare 12 Samples (with Exposure) to 8 Samples (without Exposure)
Can anybody help me to make a design matrix or show how it should look?