tx_get_metageneAtCDS: Get metagene at CDS

View source: R/tx_core.R

tx_get_metageneAtCDSR Documentation

Get metagene at CDS

Description

Get metagene at CDS

Usage

tx_get_metageneAtCDS(txDT, geneAnnot, colVars, CDS_align, upFlank, doFlank)

Arguments

txDT

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

geneAnnot

GRanges. Gene annotation as loaded by tx_load_bed().

colVars

character. Names of columns for which values will be extracted

CDS_align

character. Either "start", "end", or "spliceSite" depending on the desired alignment, either to CDS start, CDS end, or splicing sites, respectively.

upFlank

numeric. Up-stream flank length

doFlank

numeric. Down-stream flank length

Value

list of matrices for each colVar


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