As I am working with a reduced-genome and the "p.adj" take in account all the windows in the genome, this filter is eliminating all of my windows with differential methylation profile:
Using this command in MEDIPS package, I can do my differencial methylation analysis including de FDR correction and consequently without significant windows results:
mr.edgeR = MEDIPS.meth(MSet1 = MeDIP_AV, MSet2 = MeDIP_C, CSet = CS, p.adj = "fdr", diff.method = "edgeR", MeDIP = F, CNV = F, minRowSum = 10)
On the other hand, if I do this command without FDR filter, I get a fair number of significant windows at the level of 0.005% (~300 windows):
mr.edgeR = MEDIPS.meth(MSet1 = MeDIP_AV, MSet2 = MeDIP_C, CSet = CS, p.adj = "none", diff.method = "edgeR", MeDIP = F, CNV = F, minRowSum = 10)
Then I eliminate the windows that have no methylation coverage in the mr.edgeR (p.adj="none") using this:
mr.edgeR <- mr.edgeR[mr.edgerR$MSets2.counts.mean != c("0"), ]
and now I wanna do the manual FDR correction in "mr.edgeR" object
But I don´t know how.