tx_plot_staEndCov: Transcript coverage plot highlighting read-starts and...

View source: R/tx_plots.R

tx_plot_staEndCovR Documentation

Transcript coverage plot highlighting read-starts and read-ends counts

Description

Transcript coverage plot highlighting read-starts and read-ends counts

Usage

tx_plot_staEndCov(
  DT,
  gene,
  txRange = 1:nrow(DT),
  removeCov = FALSE,
  show_yLabels = TRUE,
  bar_border = TRUE,
  showLegend = TRUE
)

Arguments

DT

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

gene

character. Name of the gene in DT which wants to be plotted.

txRange

integer. Range in data to be used, 'txcoor' column is used to delimit this range in the data.table.

removeCov

logical. If set to TRUE remove coverage counts.

show_yLabels

logical. If set to FALSE hides the y axis labels.

bar_border

logical. If set to FALSE removes the border of the bars.

showLegend

logical. If set to FALSE does not renger a legend.

Value

ggplot


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