dmrFinder(bstat, cutoff = NULL, qcutoff = c(0.025, 0.975), maxGap=300, stat = "tstat.corrected", verbose = TRUE)
BSseqStat
or BSseqTstat
.NULL
, see
qcutoff
.cutoff
is NULL
, compute the
cutoff using these quantiles of the t-statistic.data.frame
with columns
group1.mean
and group2.mean
.column =
"tstat.corrected"
, contains the area of the corrected t-statistics.BSmooth.tstat
which sets up a
t-statistic for a comparison between two groups.Note that post-processing of these DMRs are likely to be necessary, filtering for example for length (or number of loci).
BSmooth.tstat
for the function constructing the input
object, and BSseqTstat
for its class. In the
example below, we use BS.cancer.ex.tstat
as
the actual input object. Also see the package vignette(s) for a
detailed example.
if(require(bsseqData)) {
dmrs0 <- dmrFinder(BS.cancer.ex.tstat, cutoff = c(-4.6, 4.6), verbose = TRUE)
dmrs <- subset(dmrs0, abs(meanDiff) > 0.1 & n >= 3)
}
Run the code above in your browser using DataLab