Struct libprosic::model::likelihood::LatentVariableModel
source · pub struct LatentVariableModel { /* private fields */ }
Expand description
Variant calling model, taking purity and allele frequencies into account.
Implementations
sourceimpl LatentVariableModel
impl LatentVariableModel
pub fn with_single_sample() -> Self
sourcepub fn likelihood_pileup(
&self,
pileup: &[Observation],
allele_freq_case: AlleleFreq,
allele_freq_control: Option<AlleleFreq>
) -> LogProb
pub fn likelihood_pileup(
&self,
pileup: &[Observation],
allele_freq_case: AlleleFreq,
allele_freq_control: Option<AlleleFreq>
) -> LogProb
Likelihood to observe a pileup given allele frequencies for case and control.
Trait Implementations
sourceimpl Clone for LatentVariableModel
impl Clone for LatentVariableModel
sourcefn clone(&self) -> LatentVariableModel
fn clone(&self) -> LatentVariableModel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LatentVariableModel
impl Debug for LatentVariableModel
impl Copy for LatentVariableModel
Auto Trait Implementations
impl RefUnwindSafe for LatentVariableModel
impl Send for LatentVariableModel
impl Sync for LatentVariableModel
impl Unpin for LatentVariableModel
impl UnwindSafe for LatentVariableModel
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