simHapMap: Generate a data.frame with a hapmap data in it to test...

Description Usage Arguments Value

View source: R/importData.R

Description

Generate a data.frame with a hapmap data in it to test phasedHapMap2mat

Usage

1
2
3
simHapMap(nInd = 200, nMrk = 1050, nChr = 7, lenChr = 150,
  maf = stats::runif(nMrk), nCharCode = 2, nQTL = NULL,
  propDomi = NULL, interactionMean = NULL, varEffects = NULL)

Arguments

nInd

The number of individuals with marker data

nMrk

The number of markers

nChr

The number of chromosomes the species has

lenChr

The length of the chromosomes (all equal) in cM

maf

The desired minor allele frequency of each marker

nCharCode

Whether the genotype codes should be one or two characters

nQTL

If you want to put QTL information in the hapmap

propDomi

proportion of QTL that act dominantly

interactionMean

average number of loci interacting with QTL: Poisson

varEffects

variance of the QTL effects

Value

A data.frame with hapmap data in it


BreedingSchemeLanguage documentation built on May 2, 2019, 10:17 a.m.