pub struct DiffSpliceResult {
pub exon_log_fc: Vec<f64>,
pub exon_statistic: Vec<f64>,
pub exon_p_value: Vec<f64>,
pub gene_id: Vec<usize>,
pub gene_simes_p: Vec<f64>,
pub gene_f_statistic: Vec<f64>,
pub gene_f_p_value: Vec<f64>,
pub gene_n_exons: Vec<usize>,
}Expand description
Result of a differential exon usage analysis.
Exon-level vectors have one entry per input exon, in input order. Gene-level vectors have one entry per testable gene, in first-appearance order. Single-exon genes have no within-gene contrast and are dropped.
Fields§
§exon_log_fc: Vec<f64>Exon-level log fold change relative to the gene.
The exon’s coefficient minus its gene’s, on the natural log scale as
in edgeR’s coefficients slot. (topSpliceDGE labels this logFC.)
Zero for an exon whose gene was dropped.
exon_statistic: Vec<f64>Exon-level test statistic and p-value.
A likelihood ratio when ql was None, a moderated F otherwise. Exons
of dropped genes get a zero statistic and a p-value of one.
exon_p_value: Vec<f64>Exon-level p-value. See DiffSpliceResult::exon_statistic.
gene_id: Vec<usize>Gene-level identifiers, one per gene, in first-appearance order.
gene_simes_p: Vec<f64>Gene-level Simes and F tests.
The Simes p-value is min over k of (n * p_(k) / k) on the gene’s
sorted exon p-values: does the gene contain any differentially used exon.
gene_f_statistic: Vec<f64>Joint gene-level statistic: the summed exon statistics, tested against a chi-squared (likelihood ratio) or an F (quasi-likelihood).
gene_f_p_value: Vec<f64>P-value for DiffSpliceResult::gene_f_statistic.
gene_n_exons: Vec<usize>Number of exons per gene.
Trait Implementations§
Source§impl Clone for DiffSpliceResult
impl Clone for DiffSpliceResult
Auto Trait Implementations§
impl Freeze for DiffSpliceResult
impl RefUnwindSafe for DiffSpliceResult
impl Send for DiffSpliceResult
impl Sync for DiffSpliceResult
impl Unpin for DiffSpliceResult
impl UnsafeUnpin for DiffSpliceResult
impl UnwindSafe for DiffSpliceResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.