read_idxstats: Read samtools idxstats output

View source: R/read_idxstats.R

read_idxstatsR Documentation

Read samtools idxstats output

Description

Read mapped reads by sequence in samtools idxstats output

Usage

read_idxstats(path = ".", pattern, reshape = FALSE, fragment = FALSE)

Arguments

path

the path to idxstats output files, the default corresponds to the working directory.

pattern

regular expression for file name matching, default .idxstats

reshape

reshape mapped reads into wide format with samples in rows

fragment

keep sequence names like GL000008.2 with 8 or more characters

Value

A tibble

Author(s)

Chris Stubben

Examples

## Not run: 
   read_idxstats( pattern = "idxstats.txt$")

## End(Not run)

HuntsmanCancerInstitute/hciR documentation built on Aug. 20, 2024, 12:22 a.m.