plotHostGenes {circRNAprofiler} | R 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

[Package circRNAprofiler version 1.6.0 Index]