tx_shift_geneWise: Shift column in txDT

View source: R/tx_core.R

tx_shift_geneWiseR Documentation

Shift column in txDT

Description

Shift column in txDT

Usage

tx_shift_geneWise(DT, colToShift, direction, bp, nCores = 1)

Arguments

DT

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

colToShift

character. Name of column to be shifted

direction

character. Direction of shift, either 'downstream' or 'upstream'.

bp

integer. Number of nucleotides to shift data to

nCores

integer. Number of cores to run the function with. Multicore capability not available in Windows OS.

Value

data.table


AngelCampos/tx_tools documentation built on Sept. 17, 2024, 1:27 a.m.