Plot metagene by bins
tx_plot_metaGeneByBins.Rd
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
() ortx_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.