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