Use the fitness loci to choose the submating population out of the pool of males or females.
1 2 | getMatingSubpopulation(genome, pop, matingFrac, fitnessLoci = NULL,
sex = c("male", "female"))
|
genome |
A genome object generated with the package |
pop |
A list of individuals of males and females to pick from |
matingFrac |
the fraction of the relevant sex population which will be chosen. between 0 and 1 (1 is no selection) |
fitnessLoci |
A data frame with the following columns: chrom: chromosome marker: name of the marker to use (see findProxyForPosition for easy way to get marker for locus of interest) direction: (0,1) which allele confers an advantage? effect: the effect size of the locus. How much advantage does it confer? |
sex |
choose a population of males or females? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.