Skip to contents

Adds a numeric variable which represents the relative position of the nucleotide along the transcript in a scale of 0 (start) to 1 (end).

Usage

tx_add_relTxPos(txDT, round_dig = 3)

Arguments

txDT

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

round_dig

integer. Decimal places for output to be round to.

Value

data.table