calc_jsfs: Calculates the Joint Site Frequency Spectrum

View source: R/RcppExports.R

calc_jsfsR Documentation

Calculates the Joint Site Frequency Spectrum

Description

Calculates the Joint Site Frequency Spectrum

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.

Author(s)

Paul Staab & Dirk Metzler


coala documentation built on Jan. 5, 2023, 5:11 p.m.