DRP2files: Deregressing estimated breeding values - Two long format file

Description Usage Arguments Value References Examples

Description

This package is easy to use and can be helpful to calculate deregressed proofs, and their reliabilities and weights.

Usage

1
2
DRP2files(animalData, parentData, animalCol, sireCol, damCol, parentCol,
  ebvName, r2Name, c = 0.5, h2)

Arguments

animalData

It is animal data file

parentData

It is parents data file

animalCol

It is the name of the animal's column

sireCol

It is the name of the animal's dam column

damCol

It is the name of the animal's dam column

parentCol

It the name of the parents' column in the parents data file

ebvName

It is the name of the EBV column

r2Name

It is the name of the accuracy column

c

It is the fraction of genetic variance not explained by markers

h2

It the heritability of the trait

Value

A data frame with deregressed proofs, reliability and weights.

References

Garrick, D. J., J. F. Taylor, and R. L. Fernando. 2009. Deregressing estimated breeding values and weighting information for genomic regression analyses. Genet. Sel. Evol. 41:55.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not to run ##

## Example from Garrick et al., (2009)

animalData=data.frame(ID="Animal", sire="Sire", dam="Dam", EBV=15, r2=0.68)
parentData=data.frame(ID=c("Sire", "Dam"), EBV=c(10, 2), r2=c(0.97, 0.36))

DRP2files(animalData=animalData,
          parentData=parentData,
          animalCol = "ID",
          sireCol   = "sire",
          damCol    = "dam",
          parentCol = "ID",
          ebvName   = "EBV",
          r2Name   = "r2",
          c         = 0.5,
          h2        = 0.25)

## End(Not run)

camult/DRP documentation built on May 6, 2019, 3:30 p.m.