fixationBias: Bias Correction

Description Usage Arguments Value Author(s)

Description

fixationBias computes the bias that occurs, when conditioning on fixation of an allele.

Usage

1
fixationBias(traj, t, Ne, N.sim = 10000)

Arguments

traj

numeric matrix of allele frequency trajectories, where rows and columns correspond to individual replicates and time points, respectively.

t

numeric vector indicating the number of generations for each column in traj.

Ne

numeric specifying the effective population size

N.sim

numeric determining the number of simulations that should be performed to correct for bias (by default sim = 10000).

Value

Numeric vector with expected bias at each time point.

Author(s)

Thomas Taus


ThomasTaus/poolSeq documentation built on May 23, 2019, 8:36 a.m.