Generate a data.frame with a hapmap data in it to test phasedHapMap2mat
simHapMap(nInd = 200, nMrk = 1050, nChr = 7, lenChr = 150,
maf = stats::runif(nMrk), nCharCode = 2, nQTL = NULL,
propDomi = NULL, interactionMean = NULL, varEffects = NULL)The number of individuals with marker data
The number of markers
The number of chromosomes the species has
The length of the chromosomes (all equal) in cM
The desired minor allele frequency of each marker
Whether the genotype codes should be one or two characters
If you want to put QTL information in the hapmap
proportion of QTL that act dominantly
average number of loci interacting with QTL: Poisson
variance of the QTL effects
A data.frame with hapmap data in it