OGC: Optimal genetic contribution

Description Usage Arguments Value

View source: R/OGC.R

Description

In this function the OGC selection according to Meuwissen 1997 is performed

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
OGC(
  A,
  u,
  Q,
  cAc = NA,
  single = TRUE,
  verbose = FALSE,
  max_male = Inf,
  max_female = Inf
)

Arguments

A

relationship matrix

u

breeding values

Q

sex indicator

cAc

target gain in inbreeding

single

If FALSE multiple individuals can be removed at the same type (this is faster but potentially inaccurate!)

verbose

Set to FALSE to not display any prints

max_male

maximum number of male with positive contributions

max_female

maximum number of females with positive contributions

Value

[[1]] Contributions [[2]] expected inbreeding gain


MoBPS documentation built on Nov. 9, 2021, 5:08 p.m.

Related to OGC in MoBPS...