Get SNP genetic map
Retrieves the genetic map for a given SNP chip.
getSnpMap(snpChip = 1, sex = "A", simParam = NULL)
snpChip |
an integer. Indicates which SNP chip's map to retrieve. |
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. |
simParam |
an object of |
Returns a data.frame with:
Unique identifier for the SNP
Chromosome containing the SNP
Segregating site on the chromosome
Genetic map position
#Create founder haplotypes founderPop = quickHaplo(nInd=10, nChr=1, segSites=10) #Set simulation parameters SP = SimParam$new(founderPop) SP$addSnpChip(5) #Pull SNP map getSnpMap(snpChip=1, simParam=SP)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.