Description Usage Arguments Value Examples

Build the H-matrix from G-inverse-matrix and pedigree-full and pedigree-genotype, It calculate alpha and bera based the function of the matrix G_22 and A_22

1 | ```
cv_cal(dat.csv, h2 = 1)
``` |

`M012` |
It is the matrix which has rownames(ID), the first column is SNP infor, the SNP is 012 format. |

`ped_full` |
It contains the full pedigree, it has three columns:ID,Sire,Dam |

The H-matrix form the formula

1 2 | ```
library(MASS)
animal <- 13:26
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.