tableFromIdxstats: Table form idxstats

View source: R/getStats.R

tableFromIdxstatsR Documentation

Table form idxstats

Description

Given a bam file, returns samtools idxstats output as a data.frame.

Usage

tableFromIdxstats(log)

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

## Not run: 
df <- tableFromIdxstats("path/to/file.bam")

## End(Not run)

mireia-bioinfo/pipelineNGS documentation built on Jan. 2, 2023, 11:18 a.m.