Vector of sample names to be used as colums names instead of bam filepaths
gr
Genomic Range object as created by BedToGenomicRanges
ampliconNames
List of amplicon defining names
removeDup
Boolean value to remove duplicates. For reads with the same start site, end site
and orientation only one is kept. For IonTorrent data this can be used to
as an additional quality control. For Illumina data too many reads are being removed.
Value
A matrix with read counts where the rows represents the Amplicons
and the columns represents the samples.