Skip to contents

Get metagene by exons

Usage

tx_get_metageneExons(
  txDT,
  colVars,
  nBins,
  geneAnnot = NULL,
  rm_NArows = TRUE,
  nCores = 1
)

Arguments

txDT

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

colVars

character. Names of columns for which values will be extracted

nBins

integer. Number of bins into which exon data will be allocated.

geneAnnot

GRanges. Gene annotation as loaded by tx_load_bed().

rm_NArows

logical. Remove rows of final matrix which consist of all NA values.

nCores

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

Value

list of matrices for each colVar