Given a bam file, returns samtools idxstats output as a data.frame.
Arguments
- bam
Character string with the name and path of a single BAM file. Index should
be in the same folder.
Value
A data.frame with the output of samtools idxstats.
Examples
if (FALSE) {
df <- tableFromIdxstats("path/to/file.bam")
}