pop_Ne {purgeR}R Documentation

Effective population size

Description

Estimate the effective population size (Ne). This is computed from the increase in individual inbreeding, following the method described by Gutiérrez et al (2008, 2009).

Usage

pop_Ne(ped, Fcol, tcol)

Arguments

ped

A dataframe containing the pedigree. Individual (id), maternal (dam), and paternal (sire) identities are mandatory columns.

Fcol

Name of column with inbreeding coefficient values.

tcol

Name of column with generation numbers.

Value

A list with the effective population size (Ne) and its standard error (se_Ne).

References

See Also

ip_F, pop_t

Examples

data(atlas)
atlas <- ip_F(atlas) # compute inbreeding, appending column "F"
atlas <- pop_t(atlas) # compute generations, appending column "t"
pop_Ne(atlas, Fcol = "Fi", tcol = "t")

[Package purgeR version 1.8.2 Index]