Giter Club home page Giter Club logo

methybayes's Introduction

Introduction

DNA methylation is methylation cytosine residues at CpG dinucleotides in a DNA sequence and affects 70-80% of all CpG dinucleotides in mammals. It is the most widely studied epigenetic modification and is known to have profound effects on gene expression. Given the influence of methylation on the gene expression and various type of cancer, there are a lot of studies aiming to identify differentially methylation loci in diseased tissue samples compared to their respective normal samples. DNA methylation change in cancer tissue compared to normal tissue can be increased called hyper-methylation and decreased called hypo-methylation. Since they have very different biological meanings, it is important to differentiate hypo- and hyper-methylation.

Although there are several statistical methods applied to test differential methylated loci, all of them only provide binary outcome of a locus being methylated or not. A common practice to further identify hypo- and hyper-methylated loci is based on the sign of the test statistics, which is an ad-hoc approach and ignores the uncertainty associated with the test statistics. ## Implementation

In this MethyBayes package, we implement our new proposed full Bayesian partition model to identify hypo- and hyper-methylated loci simultaneously without further post-hoc analysis. Our proposed Bayesian model has been proved based on the simulation study and real data analysis that it is a both powerful and reliable procedure. The main bayesian routine is implemented in Fortran for efficiency.

Installation

install.packages("MethyBayes")

Example

Here's an example using the included demo datasets:

library(MethyBayes)
data("case1", "case2", "control1", "control2")
read_counts <- seqdata(list(case1, case2), list(control1, control2))
ident <- MethyBayes(read_counts, 2, 2)

methybayes's People

Watchers

James Cloos avatar CRAN robot avatar  avatar

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.