Description Usage Arguments Value
Count reads from a bam file in genomic ranges
1 | countBamInGRanges(bam.file, granges, min.mapq = NULL, read.width = 1)
|
bam.file |
filename of the bam file. The bam file must be sorted and indexed |
granges |
GRanges object in which to count the reads |
min.mapq |
minimal mapping quality. Default is to ignore mapping quality |
read.width |
the length of a read to be used for overlaps. Default is to #' use just the start position of the read. |
count vector of the same length as the GRanges object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.