Hi, I am trying to get differentially methylated regions between cancer and normal using DMRcate, and my question is that I have a design matrix.
mod_our <- model.matrix(~as.factor(Status), data=meta)
This returns two columns where the first is the intercept (1 for all) and the second is as.factor(Status)normal which is 0 for cancer and 1 for normal samples.
Then I am running the following code:
Our_Data_DMRcate_M <- cpg.annotate("array", Our_Data_M_without_X, what="M" ,arraytype = "450K", analysis.type="differential", design=mod_our, coef=2)
Our_Data_DMRcate_M_dmrcate <- dmrcate(Our_Data_DMRcate_M, lambda=500, C=5)
Cancer_VS_NORMAL <- data.frame(extractRanges(Our_Data_DMRcate_M_dmrcate, genome = "hg19"))
My question is whether in this situation a positive mean diff value indicates more methylated in cancer or less methylated in cancer?