Add relative position in transcript
tx_add_relTxPos.Rd
Adds a numeric variable which represents the relative position of the nucleotide along the transcript in a scale of 0 (start) to 1 (end).
Arguments
- txDT
data.table. A table as output by the
tx_makeDT_coverage
(),tx_makeDT_nucFreq
() ortx_makeDT_covNucFreq
() functions.- round_dig
integer. Decimal places for output to be round to.