tx_cutEnds_DT: Cutting 5' and 3' ends of data.table using txcoors

View source: R/tx_core.R

tx_cutEnds_DTR Documentation

Cutting 5' and 3' ends of data.table using txcoors

Description

This function removes the heading (5'UTR) and trailing (3' UTR) portions of data.tables.

Usage

tx_cutEnds_DT(DT, cut_5p = 0, cut_3p = 0)

Arguments

DT

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

cut_5p

integer Basepairs to me removed from the start of DT for each gene

cut_3p

integer Basepairs to me removed from the end of DT for each gene

Value

data.table


AngelCampos/txtools documentation built on Sept. 16, 2024, 10:25 p.m.