Description Arguments Examples
A genome is a S4 class which define all the properties of a genome, it is basically a list of locus
locus |
A list of locus |
male.recombination |
Optional: A vector containing the recombination rate between the different locus. It should be of length n-1 where n is the number of locus. |
female.recombination |
Optional: A vector containing the recombination rate between the different locus. It should be of length n-1 where n is the number of locus. |
position.modifier |
Optional: indicate a list of link on which the modifier act. If empty (as in default), modifier act on all links. |
1 2 3 | locus1 = create.locus(allele1=c(1,1),allele2 = c(1,2),sd = c(0,1),fitness.male=c(1,1),fitness.female=c(1,1))
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))
genome = create.genome(locus=list(locus1,locus2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.