Parallel PopGen Package
|
Namespace for site frequency spectrum data structure and functions. (in prototype-phase) More...
Classes | |
struct | SFS |
site frequency spectrum data structure (at the moment, functions only generate SFS for a single population at a single time point) More... | |
Functions | |
void | population_frequency_histogram (SFS &mySFS, const GO_Fish::allele_trajectories &all_results, const int sample_index, const int population_index, int cuda_device=-1) |
create a frequency histogram of mutations at a single time point sample_index in a single population population_index store in mySFS | |
void | site_frequency_spectrum (SFS &mySFS, const GO_Fish::allele_trajectories &all_results, const int sample_index, const int population_index, const int sample_size, int cuda_device=-1) |
create a single-population SFS of size sample_size from a single time point sample_index in a single population population_index from allele trajectory all_results , store in mySFS | |
Namespace for site frequency spectrum data structure and functions. (in prototype-phase)
To use Spectrum functions and objects, include header file: spectrum.h