tx_get_metageneExons: Get metagene by exons

View source: R/tx_core.R

tx_get_metageneExonsR Documentation

Get metagene by exons

Description

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


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