plotHostGenes: Plot circRNA host genes

View source: R/getPlots.R

plotHostGenesR Documentation

Plot circRNA host genes

Description

The function plotHostGenes() generates a bar chart showing the no. of circRNAs produced from each the circRNA host gene.

Usage

plotHostGenes(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 <- plotHostGenes(annotatedBSJs, title = "")
p


Aufiero/circRNAprofiler documentation built on Nov. 3, 2024, 10:12 a.m.