Description Usage Arguments Details Examples
This function returns a name for all gamete present in the population This is useful mainly for plotting result but also to know in which order the gamete are store in genome.
1 | get.gamete.names(genome)
|
genome |
A S4 object of type genome |
Notice that if allele.name is specified, the name will contain this name and is therefore much easier to read that if it's not present, where the name of the allele is just their number.
1 2 3 4 | locus1 = create.locus(allele1=c(1,1),allele2 = c(1,2),sd = c(0,1),allele.name = c("x","y"))
locus2 = create.locus(allele1= c(1,1,2),allele2 = c(1,2,2),fitness.female = c(1,0.9,0.8),fitness.male = c(0.6,0.8,1),allele.name = c("F","M"))
genome = create.genome(locus=list(locus1,locus2))
get.gamete.names(genome)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.