Learn R Programming

coala (version 0.7.2)

calc_jsfs: Calculates the Joint Site Frequency Spectrum

Description

Calculates the Joint Site Frequency Spectrum

Usage

calc_jsfs(segsites_list, ind_per_pop)

Value

The Joint Site Frequency Spectrum, as a matrix.

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.

Author

Paul Staab & Dirk Metzler