read_coverage: Read output from my 'coverage.py' script

View source: R/io.R

read_coverageR Documentation

Read output from my coverage.py script

Description

Read output from my coverage.py script

Usage

read_coverage(path, scrub = TRUE, as.ranges = FALSE, has.MQ0 = FALSE, ...)

Arguments

path

name of file to read

scrub

if TRUE, remove trailing suffixes (*.sorted, *.merged etc) from individual IDs

as.ranges

if TRUE, convert to a GRanges object

Details

Expected input is a BED-like file with columns *chr*, *start*, *end*, *iid*, *raw read count*, *normalized read count* and optionally *count of MQ0 reads*, *proportion of total reads which are MQ0*.

Value

a dataframe


andrewparkermorgan/popcorn documentation built on July 8, 2023, 12:42 p.m.