Expand description
Differential exon usage. Port of limma’s diffSplice and topSplice
(diffSplice.R, topSplice.R).
diff_splice takes an exon-level MArrayLM fit (one row per exon) plus a
gene-id label per exon, and tests whether each exon’s log-fold-change departs
from its gene’s average — i.e. whether exon usage changes between conditions.
It returns exon-level moderated t-statistics and gene-level F / Simes /
Bonferroni summaries. top_splice collates a single coefficient’s results
into a ranked table, mirroring topSplice.
The annotation-frame plumbing of R’s diffSplice (carrying through arbitrary
genes columns and detecting which are gene-level) is out of scope for this
numeric port: gene and exon identity are carried as plain string labels.
Structs§
- Diff
Splice - Result of
diff_splice. Exon-level fields have one row per kept exon (exons belonging to genes with at least two exons), in gene-sorted order; gene-level fields have one row per kept gene. - TopSplice
Row - One row of a
top_splicetable.
Enums§
- Splice
Sort top_splicerow ordering. MirrorstopSplice’ssort.byargument.- Splice
Test - Which statistic
top_spliceranks on. MirrorstopSplice’stestargument.
Functions§
- diff_
splice diffSplice— test for differential exon usage from an exon-level fit.- top_
splice topSplice— collate one coefficient’sdiffSpliceresults into a ranked table.coefis a 0-based column index.treat_lfc > 0withSpliceTest::Tswitches to the TREAT variant (as R does).