countBamListInGRanges | R Documentation |
Get read counts for a list of BAM files and given count windows
countBamListInGRanges(bam.files, countWindows, read.width = 150, ...)
bam.files |
list with absolute or relative paths to BAM files |
countWindows |
data.frame with contents of a BED file as returned by getWindows |
read.width |
read.width parameter for countBamInGRanges or FALSE if actual read width should be extracted from BAM file |
... |
additional parameters |
a GRanges object over the countWindows with read counts for each sample as elementMetadata
bed <- system.file("extdata/Genes_part.bed", package = "panelcn.mops") countWindows <- getWindows(bed) ## Not run: testbam <- "SAMPLE1.bam" test <- countBamListInGRanges(countWindows = countWindows, bam.files = testbam, read.width = 150) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.