Parallel PopGen Package
Spectrum::SFS Struct Reference

site frequency spectrum data structure (at the moment, functions only generate SFS for a single population at a single time point) More...

#include <spectrum.h>

Public Member Functions

 SFS ()
 default constructor
 
 ~SFS ()
 default destructor
 

Public Attributes

float * frequency_spectrum
 site frequency spectrum data structure
 
int * populations
 which populations are in SFS
 
int * sample_size
 number of samples taken for each population
 
int num_populations
 number of populations in SFS
 
float num_sites
 number of sites in SFS
 
float num_mutations
 number of segregating mutations in SFS
 
int sampled_generation
 number of generations in the simulation at time of sampling
 

Detailed Description

site frequency spectrum data structure (at the moment, functions only generate SFS for a single population at a single time point)

Examples:
Example2-DaDi.

Definition at line 24 of file spectrum.h.


The documentation for this struct was generated from the following files: