
Plot transcript-exclusive splice junctions observed in eventdata
Source:R/plotting.R
plot_exclusive_junctions_event.RdSibling 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.
Usage
plot_exclusive_junctions_event(
target_gene,
GTF,
eventdata,
show_exclusive = TRUE,
transcript = NULL,
curvature = -0.2
)Arguments
Value
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.
Details
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.