Skip to contents

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