plotTotExons | R Documentation |
The function plotTotExons() generates a bar chart showing the total number of exons (totExon column) in the transcripts selected for the downstream analysis.
plotTotExons(annotatedBSJs, title = "")
annotatedBSJs |
A data frame with the annotated back-spliced junctions.
This data frame can be generated with |
title |
A character string specifying the title of the plot |
A ggplot object.
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.