count_reads,GRanges,character,BSgenome-method | R Documentation |
Count how many reads fall into a specific fragment size range
## S4 method for signature 'GRanges,character,BSgenome'
count_reads(x, filenames, genome, fragment_size_range = c(0L, 320))
x |
a GRanges object defining the peaks; the width must be the same for all peaks. |
filenames |
BAM file name(s). |
genome |
a BS genome object such as BSgenome.Mmusculus.UCSC.mm10 |
fragment_size_range |
fragment size ranges (default: c(80, 320)) |
read counts
Wuming Gong (gongx030@umn.edu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.