getMatingSubpopulation: Use the fitness loci to choose the submating population out...

Description Usage Arguments

View source: R/bulkPopSim.R

Description

Use the fitness loci to choose the submating population out of the pool of males or females.

Usage

1
2
getMatingSubpopulation(genome, pop, matingFrac, fitnessLoci = NULL,
  sex = c("male", "female"))

Arguments

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?


eyalbenda/bulkPop documentation built on May 17, 2019, 11:14 p.m.