tx_plot_metaGeneByBins: Plot metagene by bins

View source: R/experimental.R

tx_plot_metaGeneByBinsR Documentation

Plot metagene by bins

Description

Plot metagene by bins

Usage

tx_plot_metaGeneByBins(
  txDT,
  colName,
  nBins = 100,
  FUN = "mean",
  minTxLength = 300,
  smooth = TRUE,
  na.rm = TRUE
)

Arguments

txDT

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

colName

character. Name of the column of numeric (or logical) class to be plot

nBins

integer. Number of bins to divide each gene on

FUN

character. Function to be used to summarize values across bins and genes.

minTxLength

integer. Minimum transcript length to be included in analysis.

smooth

logical. Set to FALSE for not smoothing line.

na.rm

logical. Remove NA values from computations, by default is TRUE.

Value

ggplot


AngelCampos/tx_tools documentation built on April 8, 2024, 9:46 p.m.