## Preprocess the data
prep <- preprocessCoverage(genomeData, cutoff=0, scalefac=32, chunksize=1e3,
colsubset=NULL)
## Get the F statistics
fstats <- genomeFstats
## Find the regions
regs <- findRegions(prep$position, fstats, 'chr21', verbose=TRUE)
regs
## Not run:
# ## Once you have the regions you can proceed to annotate them
# library('bumphunter')
# library('TxDb.Hsapiens.UCSC.hg19.knownGene')
# genes <- annotateTranscripts(TxDb.Hsapiens.UCSC.hg19.knownGene)
# annotation <- matchGenes(regs, genes)
# annotation
# ## End(Not run)
Run the code above in your browser using DataLab