cv_cal: Build the H-matrix from G-inverse-matrix and pedigree-full...

Description Usage Arguments Value Examples

Description

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

Usage

1
cv_cal(dat.csv, h2 = 1)

Arguments

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

Value

The H-matrix form the formula

Examples

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

dengfei2013/GS documentation built on May 16, 2019, 7:29 a.m.