View source: R/Class-SimParam.R
| sampAddEff | R Documentation |
Samples deviates from a normal distribution or gamma distribution with a random sign
sampAddEff(qtlLoci, nTraits, corr, gamma, shape)
qtlLoci |
total number of loci |
nTraits |
number of traits |
corr |
correlation between traits |
gamma |
indicator of trait should use a gamma distribution |
shape |
gamma distribution shape parameter |
a matrix with dimensions qtlLoci by nTraits
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.