Reads in aligned reads from BAM file. Note: no split (non-unique) alignemnts should be reported in the BAM file.
read.bam.tags(filename, read.tag.names = F, fix.chromosome.names = F)
BAM file
Whether the tag names should be read in
Whether to remove ".fa" from the end of the sequence names
A vector of 5' tag coordinates, with negative values corresponding to tags mapped to the negative strand.
Number of mismatches
Tag names, if read.tag.names
was set