Add ends to coverage ratio 1bp down-stream
tx_add_endRatio1bpDS.Rd
Add a column to DT of the read-ends to coverage ratio, shifted 1 base-pair downstream. This means that the last measurement in any gene is always an NA to account that there was no measurement to be shifted.
Arguments
- DT
data.table. A table as output by the
tx_makeDT_coverage
() ortx_makeDT_covNucFreq
() functions.- minCov
numeric. Minimum coverage required to output ratio. If coverage is less then an NA is output in that position.