meanDiff | R Documentation |
This function calculates raw mean methylation differences for the covariate of interest over a set of DMRs (or regions of interest), assuming a simple two-group comparison.
meanDiff(bs, dmrs, testCovariate)
bs |
a |
dmrs |
a data.frame with one row per DMR. This can be in the format
of |
testCovariate |
a character indicating the covariate of interest in
the |
numeric vector of raw mean methylation differences.
data(BS.chr21)
data(dmrs.ex)
rawDiff <- meanDiff(BS.chr21, dmrs=dmrs.ex, testCovariate="CellType")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.