Learn R Programming

jaatha (version 2.7.0)

calcJsfs: Calculate the JSFS from a list of segregating sites statistics

Description

Calculate the JSFS from a list of segregating sites statistics

Usage

calcJsfs(seg_sites, sample_size)

Arguments

seg_sites
List of segregating sites
sample_size
A numberic vector of size 2, giving the sample sizes of the two population for which the JSFS is calulated

Value

  • The Joint Site Frequency Spectrum, as a matrix.