simer.Data.SELIND {simer}R Documentation

Selection index construction

Description

The function of General Selection Index.

Usage

simer.Data.SELIND(jsonList = NULL, hiblupPath = "", ncpus = 10, verbose = TRUE)

Arguments

jsonList

the list of selection index construction parameters.

hiblupPath

the path of 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: Aug 26, 2021 Last update: Apr 28, 2022

Value

the function returns a list containing

$genotype

the path of genotype data.

$pedigree

the filename of pedigree data.

$selection_index

the selection index for all traits.

$breeding_value_index

the breeding value index for all traits.

$quality_control_plan

a list of parameters for data quality control.

$breeding_plan

a list of parameters for genetic evaluation.

Author(s)

Dong Yin

References

Y. S. Chen, Z. L. Sheng (1988) The Theory of General Selection Index. Genetic Report, 15(3): P185-P190

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
jsonList <- simer.Data.SELIND(jsonList = jsonList)

## End(Not run)

[Package simer version 0.9.0.4 Index]