Rdocumentation
powered by
Learn R Programming
coala (version 0.3.0)
calc_jsfs: Calculates the JSFS
Description
Calculates the JSFS
Usage
calc_jsfs(segsites_list, ind_per_pop)
Arguments
segsites_list
List of segregating sites
ind_per_pop
A list of integer vector, where each entry gives the index of the haploids that belong the corresponding population.
Value
The Joint Site Frequency Spectrum, as a matrix.