View source: R/simer.Selects.r
selects | R Documentation |
Select individuals by combination of selection method and criterion.
selects(SP = NULL, verbose = TRUE)
SP |
a list of all simulation parameters. |
verbose |
whether to print detail. |
Build date: Sep 8, 2018 Last update: Feb 18, 2025
the function returns a list containing
the selected males and females.
if ps <= 1, fraction selected in selection of males and females; if ps > 1, ps is number of selected males and females.
whether the sort order is decreasing.
the selection criteria, it can be "TBV", "TGV", and "pheno".
the single-trait selection method, it can be "ind", "fam", "infam", and "comb".
the multiple-trait selection method, it can be "index", "indcul", and "tmd".
the weight of each trait for multiple-trait selection.
the index of tandem selection for multiple-trait selection.
the percentage of goal more than the mean of scores of individuals.
the percentage of expected excellent individuals.
Dong Yin
# Generate annotation simulation parameters
SP <- param.annot(qtn.num = list(tr1 = 10))
# Generate genotype simulation parameters
SP <- param.geno(SP = SP, pop.marker = 1e4, pop.ind = 1e2)
# Generate phenotype simulation parameters
SP <- param.pheno(SP = SP, pop.ind = 100)
# Generate selection parameters
SP <- param.sel(SP = SP, sel.single = "ind")
# Run annotation simulation
SP <- annotation(SP)
# Run genotype simulation
SP <- genotype(SP)
# Run phenotype simulation
SP <- phenotype(SP)
# Run selection
SP <- selects(SP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.