pop.loci: Genotype frequencies per locus

Usage Arguments Value Author(s)

View source: R/pop.loci.R

Usage

1
    pop.loci(Proba,List_gene,loci,N)

Arguments

Proba

Matrix giving the probability that a given genotype (column) produces a given gamete type (row). It is calculated with the function create.probability.matrix.

List_gene

Vector of numbers of alleles per locus.

loci

Index of the locus for which the genotype frequencies are sought.

N

Array of 2 dimension giving the number of individuals of each genotype in each deme: the first dimension is the genotype and the second dimension is the deme.

Value

A square matrix giving the number of individuals of each genotype (row) in each deme (column).

Author(s)

Christelle Noirot


MarcoAndrello/MetaPopGen_0.0.8 documentation built on May 25, 2019, 12:23 p.m.