getQtlMap | R Documentation |
Retrieves the genetic map for the QTL of a given trait.
getQtlMap(trait = 1, sex = "A", simParam = NULL)
trait |
an integer for the |
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 QTL
Chromosome containing the QTL
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$addTraitA(5)
#Pull SNP map
getQtlMap(trait=1, simParam=SP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.