Description Usage Arguments Value
Simulate a phenotypic data from genotypic data.
1 | G2P(X = NULL, h2 = 0.5, alpha = 1, NQTN = 10, distribution = "normal", a2 = 0)
|
X |
A genotype matrix (rows = taxa, columns = markers). |
h2 |
The heritability of the simulated trait. |
alpha |
The p parameter in an approximated geometric distribution |
NQTN |
The number markers contributing to the phenotype (if known) |
a2 |
The proportion of non-additive interactive variance |
A list of the marker effects (1*NQTN), the phenotype (n*1), the combined additive effects (n*1), the residual effects (n*1), the additive marker indices (1*m), and the interaction marker positions (1*nint)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.