18 #include "../3P/go_fish_data_struct.h" float * frequency_spectrum
site frequency spectrum data structure
control and output data structure for GO_Fish simulation
int sampled_generation
number of generations in the simulation at time of sampling
site frequency spectrum data structure (at the moment, functions only generate SFS for a single popul...
int * sample_size
number of samples taken for each population
int * populations
which populations are in SFS
Namespace for site frequency spectrum data structure and functions. (in prototype-phase) ...
float num_sites
number of sites in SFS
float num_mutations
number of segregating mutations in SFS
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 ...
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 ...
int num_populations
number of populations in SFS