Description Usage Arguments Value Author(s) Examples
bsjExonStats
determines which circRNAs covers exons of the transcript models provided through the annot
argument,
and calculates overall statistics for the circRNAs in the input circSample
or circExperiment
object.
The circRNA size are calculated from splicing exons, and covered exons are counted. overlapping exons in a given transcript model is merged,
and in case of a circRNA covering multiple transcritp model, the largest size is calculated and selected.
Be patient: It currently take minutes to complete when ncores = 5.
plotExonStats
Plots crude histograms of the overall statistics calculated for exons from transcript models, covered by detected circRNAs.
1 2 3 4 5 6 7 8 9 | bsjExonStats(object, ...)
## S4 method for signature 'circSample'
bsjExonStats(object, annot, ncores = 4, ...)
## S4 method for signature 'circExperiment'
bsjExonStats(object, annot, ...)
plotExonStats(stats, size_limit = NULL, count_limit = NULL, ...)
|
object |
A circSample or circExperiment object |
... |
|
annot |
The annotation object, either as an |
ncores |
The number of threads (must be a whole number) |
stats |
|
size_limit |
|
count_limit |
|
Generates histograms over the exon statistics
Kasper Thystrup Karstensen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Execute with circSample object using default threading (4 cores)
ahdb <- AnnotationHub()[["AH64923"]] # Ensembl Homo sapiens release-94
bsjExonStats(object = circ_smpl, annot = ahdb)
# Exons by transcripts can be used as annotation object
ahdb <- AnnotationHub()[["AH64923"]]
ex_tx <- exonsBy(x = ahdb, by = "tx")
bsjExonStats(object = circ_smpl, annot = ex_tx)
# Execute with circExperiment object using 10 cores
bsjExonStats(object = circ_exp, annot = ahdb, ncores = 10L)
stats <- bsjExonStats(object = circ_exp, annot = ahdb, ncores = 10L)
# Collapse circRNAs with exon sizes > 2000 and exon counts > 10, into a single column.
plotExonStats(stats, size_limit = 2000, count_limit = 10)
# Return a list of ggplot object
p <- plotExonStats(stats)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.