Description Usage Arguments Value Author(s) Examples
Given the output of runMSPC, we obtained set of peak which comply with combined stringency test by Fisher method, and classified as confirmed peaks. However, we need to further evaluate set of confirmed peaks with multiple testing corrections procedure, and produce final output set.
1 |
peakList |
set of confirmed peaks through combined stringency test. |
pAdjustMethod |
pvalue adjustment method |
fdr |
parameter for false discovery rate |
asPlot |
logical whether produce graphical plot or not |
set of enriched regions in BED format file
Jurat Shahidin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # set up
library(GenomicRanges)
library(rtracklayer)
# load peak files
files <- getPeakFile()[1:3]
grs <- readPeakFiles(files, pvalueBase=1L)
## Exclude background noise
total.ERs <- denoise_ERs(peakGRs = grs, tau.w = 1.0E-04,
overwrite = TRUE)
## explore set of confirmed, discarde peaks
confirmedERs <- runMSPC(peakset = total.ERs, whichType = "max",
cmbStrgThreshold = 1.0E-08, isConfirmed = TRUE)
# multiple testing correction
FDR_stats(peakList = confirmedERs,
pAdjustMethod = "BH",
fdr = 0.05, asPlot =FALSE )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.