Skip to content
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

How to use methyKit with two platform data with different coverage distribution #260

Open
liuyang2006 opened this issue Jul 7, 2022 · 2 comments
Labels

Comments

@liuyang2006
Copy link

liuyang2006 commented Jul 7, 2022

Dear author,

I have two platform generated methylation data. The coverage of Platform1 is very high >25x, however, Platform2's data coverage is very low ~3-5x.

Each platform I have one sample in ctrl and one sample in test group.

I want to call DMC in each platform ctrl/test group, and compare the called CpGs between the two platform. In this case, can I directly use the Fisher test in methyKit, no matter the coverage difference of the two platform? Thank you for your help!

Best,
Yang

@alexg9010
Copy link
Collaborator

Hi @liuyangzzu,

In general, when processing methylation data, we advise a minimum coverage threshold of 10 reads per base, thus many sites from your second platform's data may already be filtered out. IMHO, given this strong difference in coverage, it would not be reasonable to perform the logistic regression-based tests.

To answer your question, when there is only one sample per sample group, calculateDiffMeth() automatically applies Fisher’s exact test.

Best
Alex

@al2na
Copy link
Owner

al2na commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants