sartorlab / methylSig

R package for DNA methylation analysis
17 stars 5 forks source link

Binomial test function #34

Closed rcavalcante closed 4 years ago

rcavalcante commented 4 years ago

Function call

diff_binomial(bs, group, case, control)

Description

Differential methylation test using a binomial model

This function calculates differential methylation statistics using a binomial-based approach. It is nearly identical to the \code{methylKit::calculateDiffMeth} function in the \code{methylKit} R package except that the likelihood ratio test and \code{p.adjust(..., method = 'BH')} are used to calculate significance levels. It is significantly faster than \code{methylKit::calculateDiffMeth} function.

Arguments

Values

A GRanges corresponding to loci tested with extra mcols:

Tests

Test for correct return forms.