Description Usage Arguments Value Examples
View source: R/circRNA_annotation.r
This function takes a table of candidate backspliced reads and finds the closest known junction.
1 | addKnownJunctions(cbs, kj)
|
cbs |
Table of candidate backspliced reads (produced by getCandidateBackspliceSites). |
kj |
GRanges object of known junctions (produced by constructSJDB). |
Table of candidate backspliced reads with information on closest donor and acceptor.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.