getRandomBSJunctions: Retrieve random back-spliced junctions

Description Usage Arguments Value Examples

View source: R/getRandomBSJunctions.R

Description

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

Usage

1
getRandomBSJunctions(gtf, n = 100, f = 10, setSeed = NULL)

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 extracted. 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.

setSeed

An integer which is used for selecting random back-spliced junctions. Default values is set to NULL.

Value

A data frame.

Examples

1
2
3
4
5
# Load short version of the gencode v19 annotation file
data("gtf")

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

circRNAprofiler documentation built on March 6, 2021, 2 a.m.