rbv | R Documentation |
Random Generation of MVN Breeding Values and Phylogenetic Effects
rbv(pedigree, G, nodes="ALL", scale=TRUE, ggroups=NULL, gmeans=NULL)
pedigree |
ordered pedigree with 3 columns id, dam and sire or a
|
G |
(co)variance matrix |
nodes |
effects for pedigree/phylogeny nodes to be returned. The default,
|
scale |
logical: should a phylogeny (needs to be ultrametric) be scaled to unit length (distance from root to tip)? |
ggroups |
optional; vector of genetic groups |
gmeans |
matrix of mean breeding value for genetic groups (rows) by traits (columns) |
matrix of breeding values/phylogenetic effects
Jarrod Hadfield j.hadfield@ed.ac.uk
data(bird.families)
bv<-rbv(bird.families, diag(2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.