Gmatrix | R Documentation |
Function to generate the G matrix from marker data.
Gmatrix(X = NULL, method = "cross.product.average")
X |
Is a Marker matrix with marker Ids are in columns and Individuals are in rows |
method |
One of "cross.product", "cross.product.average" or "VanRaden". The default methods is "cross.product.average". "cross.product is simply XX'. "cross.product.average" is X centered and scaled and then XX' divided the number of markers "VanRaden" is X centered and scaled by the allele frequency as in VanRaden 2007. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.