A_mat | R Documentation |
Additive relationship matrix from pedigree
A_mat(ped, ploidy, order.ped = TRUE)
ped |
Pedigree in three column format: id, mother, father |
ploidy |
2 or 4 |
order.ped |
TRUE/FALSE does the pedigree need to be ordered so that progeny follow parents |
This is a wrapper that prepares the pedigree in the format required for R package AGHmatrix
by Amadeu et al. (2016) (cite them if you use this function). A random bivalents model for tetraploid meiosis is assumed.
Additive relationship matrix (dim: indiv x indiv)
Amadeu et al. (2016) Plant Genome 9, doi:10.3835/plantgenome2016.01.0009
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.