Description Usage Arguments Details Value Examples
View source: R/callMethylation.R
Call methylation status of cytosines (or bins) with a binomial test.
1 2 | binomialTestMethylation(data, conversion.rate, min.coverage = 3,
p.threshold = 0.05)
|
data |
A |
conversion.rate |
A conversion rate between 0 and 1. |
min.coverage |
Minimum coverage to consider for the binomial test. |
p.threshold |
Significance threshold between 0 and 1. |
The function uses a binomial test with the specified conversion.rate
. P-values are then multiple testing corrected with the Benjamini & Yekutieli procedure. Methylated positions are selected with the p.threshold
.
A vector with methylation statuses.
1 2 3 4 | ## Get some toy data
file <- system.file("data","arabidopsis_toydata.RData", package="methimpute")
data <- get(load(file))
data$binomial <- binomialTestMethylation(data, conversion.rate=0.998)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.