Function libprosic::utils::collect_prob_dist
source · pub fn collect_prob_dist<E: Event>(
calls: &mut Reader,
events: &[E],
vartype: &VariantType
) -> Result<Vec<NotNan<f64>>, Box<dyn Error>>
Expand description
Collect distribution of posterior probabilities from a VCF file that has been written by libprosic.
Arguments
calls
- BCF reader with libprosic callsevents
- the set of events to sum up for a particular sitevartype
- the variant type to consider