Struct libprosic::model::PairPileup
source · pub struct PairPileup<'a, A, B, P: ?Sized>where
A: AlleleFreqs,
B: AlleleFreqs,
P: 'a + PairModel<A, B>,{ /* private fields */ }
Expand description
Pileup of observations associated with marginal probability.
Implementations
sourceimpl<'a, A: AlleleFreqs, B: AlleleFreqs, P: PairModel<A, B>> PairPileup<'a, A, B, P>
impl<'a, A: AlleleFreqs, B: AlleleFreqs, P: PairModel<A, B>> PairPileup<'a, A, B, P>
pub fn joint_prob(&mut self, af_case: &A, af_control: &B) -> LogProb
sourcepub fn posterior_prob(&mut self, af_case: &A, af_control: &B) -> LogProb
pub fn posterior_prob(&mut self, af_case: &A, af_control: &B) -> LogProb
Calculate posterior probability of given allele frequencies.
pub fn map_allele_freqs(&mut self) -> (AlleleFreq, AlleleFreq)
pub fn case_observations(&self) -> &[Observation]
pub fn control_observations(&self) -> &[Observation]
Auto Trait Implementations
impl<'a, A, B, P> !RefUnwindSafe for PairPileup<'a, A, B, P>
impl<'a, A, B, P: ?Sized> Send for PairPileup<'a, A, B, P>where
A: Send,
B: Send,
P: Sync,
impl<'a, A, B, P> !Sync for PairPileup<'a, A, B, P>
impl<'a, A, B, P: ?Sized> Unpin for PairPileup<'a, A, B, P>where
A: Unpin,
B: Unpin,
impl<'a, A, B, P: ?Sized> UnwindSafe for PairPileup<'a, A, B, P>where
A: UnwindSafe,
B: UnwindSafe,
P: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more