OGC {MoBPS}R Documentation

Optimal genetic contribution

Description

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

Usage

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


[Package MoBPS version 1.6.64 Index]