| plot_exclusive_junctions_event | R Documentation |
Sibling of plot_exclusive_junctions() that restricts drawn arcs to
junctions present in a splikit eventdata table. Exon structure and
exclusivity are still derived from the GTF, so a black arc means the
junction is both transcript-exclusive in the annotation and observed in
the data.
plot_exclusive_junctions_event(
target_gene,
GTF,
eventdata,
show_exclusive = TRUE,
transcript = NULL,
curvature = -0.2
)
target_gene |
Gene symbol to plot. |
GTF |
Either a GTF path or a pre-loaded |
eventdata |
A |
show_exclusive, transcript, curvature |
See |
Works with both Ensembl-style and RefSeq-style GTFs. If eventdata
lacks a gene_name column the function runs make_eventdata_plus()
internally (requires GTF to be a path in that case). Observed
junctions not matching any annotated intron are dropped with a message
and their count is reported as novel_junction_count.
An S3 object of class "splikit_junction_plot" with the same
structure as in plot_exclusive_junctions(), plus
novel_junction_count for the unannotated observed junctions. The
info$observed_in_eventdata column is TRUE for all rows, and
row_names_mtx / is_annot are populated from eventdata when
available.
Requires the ggplot2 package (declared in Suggests).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.