getGenMap {AlphaSimR} | R Documentation |
Retrieves the genetic map for all loci.
getGenMap(object = NULL, sex = "A")
object |
where to retrieve the genetic map.
Can be an object of |
sex |
determines which sex specific map is returned. Options are "A" for average map, "F" for female map, and "M" for male map. All options are equivalent if not using sex specific maps or using pulling from a MapPop. |
Returns a data.frame with:
Unique identifier for locus
Chromosome containing the locus
Genetic map position
#Create founder haplotypes
founderPop = quickHaplo(nInd=10, nChr=1, segSites=10)
#Set simulation parameters
getGenMap(founderPop)