Git Product home page Git Product logo

Comments (6)

PeteHaitch avatar PeteHaitch commented on August 16, 2024

Can you please explain a bit why you want to remove unmethylated CpGs prior to smoothing?
I don't think that is something we have recommended.

from bsseq.

RRebo avatar RRebo commented on August 16, 2024

Yes of course, I should have said in my original post. I am working with insects so the methylation is highly concentrated in CpG methylated regions, while the whole genome is unmethylated. A few "insect methylomes" are analyzed by removing common unmethylated CpGs (if I understood correctly) in order to increase the detection of DMRs. Here is a paper summarizing it:
https://europepmc.org/article/pmc/pmc6357555

We thus suggest removing globally unmethylated CpGs before proceeding with statistical analyses.[...] We then used Bis-class [31] to identify and discard sites that were globally unmethylated in all 12 samples. We also removed CpG sites that did not have any mapped cytosine reads in any samples.

We recommend using small window sizes for smoothing, removing globally unmethylated CpG sites before DML/DMR analyses and applying a more specific categorical classification method. These considerations should be applicable to a variety of species that share similar methylation characteristics with invertebrate genomes.

I was thinking of removing CpG unmethylated after smoothing, like it was done for the coverage (but maybe that is not what I did!?)

What do you think? (and thank you)

Rita

from bsseq.

kasperdanielhansen avatar kasperdanielhansen commented on August 16, 2024

from bsseq.

kasperdanielhansen avatar kasperdanielhansen commented on August 16, 2024

from bsseq.

RRebo avatar RRebo commented on August 16, 2024

Thank you very much. I'll try both ways (to keep the common un methylated and to remove them) and check the results! For now I am stuck in the tstat because it gives me a "need at least two non-NA values to interpolate" which I read it might be due to small contigs (I have tones of that!). I'm trying to figure out how to remove them :)
So thank you again and I guess we can close the issue.
Rita

from bsseq.

kasperdanielhansen avatar kasperdanielhansen commented on August 16, 2024

from bsseq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.