Reads a bam file through RSamtools, and converts it into a data frame of class
Character string of bam file location
Bam tags to import into the data frame. By default it only takes the standard values if none are given.
This function formalizes what had been described in the RSamtools documentation and makes it easier to compute the downstream functions in this package.
Returns the bam file contents in a readable dataframe format.
Diana H.P. Low