-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edmr does not display neither the correct number of CpGs inside region nor the correct methylation status (hyper/hypo) #8
Comments
The mode = 2 means you are using the CpGs with methylation change in the same direction to call DMRs, which take the last column “meth.diff” value into account. The reason you see fewer CpGs in the DMRs output is because:
I updated edmr code to pass the fuzzypval value to the eDMR.sub() so that your analysis will not filter CpGs by pvalue < 0.1. Could you give a try again? Thanks! |
Hello, I updated the edmr package and confirmed that both hyper.myDMR() and hypo.myDMR() variables have the
I get the following:
Then if I search for the 3rd dmr:
I get the following:
As you see I still get more CpGs and they are still not the same type of differentially methylated (hyper or hypo) as I had requested with the "mode=2" argument. What am I missing here? Thank you in advance. |
Hello, I am using edmr right after MethylKit but the DMRs I get, correspond to a region where there are more CpGs than displayed in "num.CpGs" column. The code I run is the following:
From the first few row of the table I get this:
but when I check the original dmp_rrbs object for the region in chromosome 11 I get more CpGs:
and they are not the same type of differentially methylated (hyper or hypo) as I had requested with the "type=2" argument. Shouldn't there be only 4 CpGs one of which being differentially methylated in that region (i.e. the meth.diff should be either negative or positive for all)?
Can you help me out please? Am I missing something or is it a bug of the tool? I am using R 3.6.0 and hg38 genome for RRBS samples.
Thank you in advance
The text was updated successfully, but these errors were encountered: