plotTotExons: Plot exons in the circRNA host transcript

View source: R/getPlots.R

plotTotExonsR Documentation

Plot exons in the circRNA host transcript

Description

The function plotTotExons() generates a bar chart showing the total number of exons (totExon column) in the transcripts selected for the downstream analysis.

Usage

plotTotExons(annotatedBSJs, title = "")

Arguments

annotatedBSJs

A data frame with the annotated back-spliced junctions. This data frame can be generated with annotateBSJs.

title

A character string specifying the title of the plot

Value

A ggplot object.

Examples

# Load data frame containing detected back-spliced junctions
data("mergedBSJunctions")

# Load short version of the gencode v19 annotation file
data("gtf")

# Annotate the first 10 back-spliced junctions
annotatedBSJs <- annotateBSJs(mergedBSJunctions[1:10, ], gtf)

# Plot
p <- plotTotExons(annotatedBSJs, title = "")
p



Aufiero/circRNAprofiler documentation built on Oct. 31, 2023, 1:18 a.m.