Skip to contents

Adds a column to DT of the read-ends to coverage ratio.

Usage

tx_add_endRatio(DT, minCov = 50)

Arguments

DT

data.table. A table as output by the tx_makeDT_coverage(), tx_makeDT_nucFreq() or tx_makeDT_covNucFreq() functions.

minCov

numeric. Minimum coverage required to output ratio. If coverage is less then an NA is output in that position.

Value

data.table