simer.Data | R Documentation |
Make data quality control for genotype, phenotype, and pedigree.
simer.Data(jsonList = NULL, out = "simer.qc", ncpus = 0, verbose = TRUE)
jsonList |
a list of data quality control parameters. |
out |
the prefix of output files. |
ncpus |
the number of threads used, if NULL, (logical core number - 1) is automatically used. |
verbose |
whether to print detail. |
Build date: May 26, 2021 Last update: Apr 28, 2022
the function returns a list containing
the path of genotype data.
the filename of pedigree data.
the selection index for all traits.
the breeding value index for all traits.
a list of parameters for data quality control.
a list of parameters for genetic evaluation.
Dong Yin
# Read JSON file
jsonFile <- system.file("extdata", "04breeding_plan", "plan1.json", package = "simer")
jsonList <- jsonlite::fromJSON(txt = jsonFile, simplifyVector = FALSE)
## Not run:
# It needs "plink" and "hiblup" software
jsonList <- simer.Data(jsonList = jsonList)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.