Description Usage Arguments Details Value Author(s) References Examples
Essentially a wrapper for the accessory function countBamInGRanges which only considers a single BAM file at a time.
1 2 3 4 5 6 7 8 | getBamCounts(bed.frame = NULL,
bed.file = NULL,
bam.files,
index.files = bam.files,
min.mapq = 20,
read.width = 300,
include.chr = FALSE,
referenceFasta = NULL)
|
bed.frame |
|
bed.file |
|
bam.files |
|
index.files |
Optional |
min.mapq |
|
read.width |
|
include.chr |
|
referenceFasta |
|
This function is largely a copy of a similar one available in the exomeCopy package.
A GenomicRanges object that stores the read count data for the BAM files listed as argument.
Vincent Plagnol
exomeCopy R package.
1 2 3 4 5 6 7 8 | ## Not run:
load(exons.hg19)
my.counts <- getBamCounts(bed.frame = exonpos,
bam.files = my.bam,
referenceFasta = 'human_g1k_v37.fasta')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.