tx_add_relTxPos: Add relative position in transcript

View source: R/tx_core.R

tx_add_relTxPosR Documentation

Add relative position in transcript

Description

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


AngelCampos/tx_tools documentation built on April 8, 2024, 9:46 p.m.