addKnownJunctions: Function to add information on annotated junctions and...

Description Usage Arguments Value Examples

View source: R/circRNA_annotation.r

Description

This function takes a table of candidate backspliced reads and finds the closest known junction.

Usage

1

Arguments

cbs

Table of candidate backspliced reads (produced by getCandidateBackspliceSites).

kj

GRanges object of known junctions (produced by constructSJDB).

Value

Table of candidate backspliced reads with information on closest donor and acceptor.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# Build database of known junctions
ah <- AnnotationHub()
ahdb <- query(ah, pattern = c("Homo Sapiens", "EnsDb", 92))[[1]]
sjdb <- constructSJDB(txdb)

df <- readChimFile(file = "~/projects/circulaR/misc/sub.Chimeric.out.junction") ## Replace with 'data(ExampleJunctions)'
df <- addKnownJunctions(cbs = df, kj = sjdb)

## End(Not run)

KasperThystrup/circulaR documentation built on March 14, 2021, 12:44 p.m.