simer.Data.cHIBLUP {simer}R Documentation

Genetic evaluation

Description

The function of calling HIBLUP software of C version.

Usage

simer.Data.cHIBLUP(
  jsonList = NULL,
  hiblupPath = "",
  mode = "A",
  vc.method = "AI",
  ncpus = 10,
  verbose = TRUE
)

Arguments

jsonList

the list of genetic evaluation parameters.

hiblupPath

the path of HIBLUP software.

mode

'A' or 'AD', Additive effect model or Additive and Dominance model.

vc.method

default is 'AI', the method of calculating variance components in HIBLUP software.

ncpus

the number of threads used, if NULL, (logical core number - 1) is automatically used.

verbose

whether to print detail.

Details

Build date: June 28, 2021 Last update: Apr 28, 2022

Value

the function returns a list containing

$randList

a list of estimated random effects.

$varList

a list of variance components.

$covA

the genetic covariance matrix for all traits.

$corA

the genetic correlation matrix for all traits.

Author(s)

Dong Yin

Examples

# Read JSON file
jsonFile <- system.file("extdata", "04breeding_plan", "plan1.json", package = "simer")
jsonList <- jsonlite::fromJSON(txt = jsonFile, simplifyVector = FALSE)

## Not run: 
# It needs 'hiblup' software
gebvs <- simer.Data.cHIBLUP(jsonList = jsonList)

## End(Not run)

[Package simer version 0.9.0.4 Index]