Struct libprosic::model::SinglePileup
source · pub struct SinglePileup<'a, A, P>where
A: AlleleFreqs,
P: 'a + Model<A>,{ /* private fields */ }
Expand description
Pileup of observations associated with marginal probability.
Implementations
sourceimpl<'a, A: AlleleFreqs, P: Model<A>> SinglePileup<'a, A, P>
impl<'a, A: AlleleFreqs, P: Model<A>> SinglePileup<'a, A, P>
pub fn joint_prob(&self, af: &A) -> LogProb
sourcepub fn posterior_prob(&self, af: &A) -> LogProb
pub fn posterior_prob(&self, af: &A) -> LogProb
Calculate posterior probability of given allele frequencies.
pub fn map_allele_freqs(&self) -> AlleleFreq
pub fn observations(&self) -> &[Observation]
Auto Trait Implementations
impl<'a, A, P> !RefUnwindSafe for SinglePileup<'a, A, P>
impl<'a, A, P> Send for SinglePileup<'a, A, P>where
A: Send,
P: Sync,
impl<'a, A, P> !Sync for SinglePileup<'a, A, P>
impl<'a, A, P> Unpin for SinglePileup<'a, A, P>where
A: Unpin,
impl<'a, A, P> UnwindSafe for SinglePileup<'a, A, P>where
A: 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