Shift column in txDT
tx_shift_geneWise.Rd
Shift column in txDT
Arguments
- DT
data.table. A table as output by the
tx_makeDT_coverage
(),tx_makeDT_nucFreq
() ortx_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.