getRandomBSJunctions {circRNAprofiler} | R Documentation

## Retrieve random back-spliced junctions

### Description

The function getRandomBSJunctions() retrieves random back-spliced junctions from the user genome annotation.

### Usage

    getRandomBSJunctions(gtf, n = 100, f = 10)

### Arguments

`gtf` | A dataframe containing genome annotation information This can be generated with `formatGTF`.
`n` | Integer specifying the number of randomly selected transcripts from which random back-spliced junctions are extrated. Default value = 100.
`f` | An integer specifying the fraction of single exon circRNAs that have to be present in the output data frame. Default value is 10.

### Value

A data frame.

### Examples

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

    # Get 10 random back-spliced junctions
    randomBSJunctions <- getRandomBSJunctions(gtf, n = 10, f = 10)

[Package circRNAprofiler version 1.1.0 Index]