A library for working with phylogenetic data.
v0.25.0
afs_estimate.cpp File Reference
#include "genesis/population/functions/afs_estimate.hpp"
#include "genesis/sequence/functions/quality.hpp"
#include <cassert>
#include <cmath>
#include <cstdint>
#include <numeric>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::population
 

Functions

AfsPileupRecord convert_to_afs_pileup_record (SimplePileupReader::Record const &record)
 
std::vector< double > prob_cond_true_freq (size_t n, std::vector< bool > const &alleles, std::vector< unsigned char > const &phred_scores, bool unfolded)
 
std::vector< double > prob_cond_true_freq_unfolded (size_t n, std::vector< bool > const &alleles, std::vector< unsigned char > const &phred_scores, bool invert_alleles)