Description Usage Arguments Value Author(s) Examples
This function takes a GRanges-class
object of aligned short reads
and removes pockets of reads that are stacked on top of each other based on the
maximum number of reads allowed to pileup in 'max.pileup' parameter.
1 | removeReadPileupSpikes(gr = NULL, max.pileup = 30)
|
gr |
A |
max.pileup |
A maximum number of reads overlapping each other to be kept. |
A GRanges-class
object.
David Porubsky
1 2 3 4 5 6 7 8 | ## Get some files that you want to load
exampleFolder <- system.file("extdata", "example_results", package="breakpointRdata")
infile <- list.files(exampleFolder, full.names=TRUE)[1]
## Read in the reads
breakP.obj <- get(load(infile))
frags <- breakP.obj$fragments
## Remove read spikes
frags <- removeReadPileupSpikes(gr=frags)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.