Learn R Programming

simer (version 1.0.0)

simer.Data.SELIND: Selection index construction

Description

The function of General Selection Index.

Usage

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

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.

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.

Author

Dong Yin

Details

Build date: Aug 26, 2021 Last update: Apr 28, 2022

References

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

Examples

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

if (FALSE) {
# It needs "hiblup" software
jsonList <- simer.Data.SELIND(jsonList = jsonList)
}

Run the code above in your browser using DataLab