Struct libprosic::model::likelihood::LatentVariableModel
[−]
[src]
pub struct LatentVariableModel {
// some fields omitted
}Variant calling model, taking purity and allele frequencies into account.
Methods
impl LatentVariableModel[src]
fn new(purity: f64) -> Self
Create new model.
fn likelihood_pileup(&self, pileup: &[Observation], allele_freq_case: f64, allele_freq_control: f64) -> LogProb
Likelihood to observe a pileup given allele frequencies for case and control.
Trait Implementations
impl Debug for LatentVariableModel[src]
impl Copy for LatentVariableModel[src]
impl Clone for LatentVariableModel[src]
fn clone(&self) -> LatentVariableModel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more