Struct libprosic::model::PairCaller [] [src]

pub struct PairCaller<A: AlleleFreqs, B: AlleleFreqs, P: PairModel<A, B>> { /* fields omitted */ }

Joint variant calling model, combining two latent variable models.

Methods

impl<A: AlleleFreqs, B: AlleleFreqs, P: PairModel<A, B>> PairCaller<A, B, P>
[src]

Create new PairCaller.

Arguments

  • case_sample - case sample
  • control_sample - control sample
  • prior_model - prior model

Calculate pileup and marginal probability for given variant.

Arguments

  • chrom - the chromosome of the variant
  • start - the starting position of the variant
  • variant - the variant

Returns

The PairPileup, or an error message.