Skip to contents

Get flanking sequences

Usage

tx_get_flankSequence(DT, logi_col, upFlank, doFlank, addNames = FALSE)

Arguments

DT

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

logi_col

character. Name of column of logical class, which indicates queried sites

upFlank

numeric. Up-stream flank length

doFlank

numeric. Down-stream flank length

addNames

logical. Set to TRUE to add names for each sequence in format "gene:txcoor". Default is FALSE.

Value

character