wideDRP: Deregressing estimated breeding values - One wide 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
wideDRP(Data, animalId, sireId, damId, c = 0.5, h2, traitName = NULL,
  animalEBV, sireEBV, damEBV, animalr2, sirer2, damr2)

Arguments

Data

It is the name of the data file

animalId

It is the name of the animal's column

sireId

It is the name of the sire's column

damId

It is the name of the dam's column

c

It is the fraction of genetic variance not explained by markers

h2

It the heritability of the trait

traitName

It the name of the trait

animalEBV

It is the name of the animal's EBV column

sireEBV

It is the name of the sire's EBV column

damEBV

It is the name of the dam's EBV column

animalr2

It is the name of the animal's accuracy column

sirer2

It is the name of the sire's accuracy column

damr2

It is the name of the dam's accuracy column

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
20
21
22
## Not to run ##

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

Dataset=data.frame(animal="A1000", sire="S10", dam="D100", ebv_anim=15, ebv_sire=10, ebv_dam=2,
                   r2_anim=0.68, r2_sire=0.97, r2_dam=0.36, trait="Trait", c=0.5, h2=0.25)

wideDRP(Data     =  Dataset,
        animalId  = "animal",
        sireId    = "sire",
        damId     = "dam",
        animalEBV = "ebv_anim",
        sireEBV   = "ebv_sire",
        damEBV    = "ebv_dam",
        animalr2  = "r2_anim",
        sirer2    = "r2_sire",
        damr2     = "r2_dam",
        traitName = "trait",
        c         =  0.5,
        h2        =  0.25)

## End(Not run)

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