## 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
# annotation <- bumphunter::annotateNearest(regs, 'hg19')
# annotation
# ## End(Not run)
Run the code above in your browser using DataLab