pullRegion | R Documentation |
Pull counts from a bam file for target region
pullRegion( reg, files, bam2depthBinary = "./bam2depth", fillMissingZeros = TRUE )
reg |
region in the format "chrX:123545-123324" |
files |
bam files to pull the counts from |
bam2depthBinary |
bam2depth executable file |
fillMissingZeros |
if TRUE fill in uncovered positions with zeros otherwise may be left out of output by bam2depth |
data.frame with columns chr, pos and counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.