Usage Arguments Value Examples
View source: R/genotype.index.multilocus.R
1 | pop.loci(Proba,List_gene,loci,N)
|
Proba |
Matrix with the names of all the genotypes. This array is calculated with the function create.probability.matrix |
List_gene |
List with the number of alleles for each loci |
loci |
number giving the place in List_gene of the loci to concider |
N |
Array of 2 dimension giving the size of the population for each genotype for each deme, first dimension is the genotypes and second the deme. |
A square matrix with the size of the popultion for each genotype of the concidered loci in each deme.
1 2 3 4 5 6 7 8 9 | The index with two loci each with two allele
List_gene<-c(2,2)
genotype.index.multilocus(List_gene)
A1B1 A2B1 A1B2 A2B2
A1B1 1 2 3 4
A2B1 2 5 6 7
A1B2 3 6 8 9
A2B2 4 7 9 10
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.