| Type: | Package |
| Title: | Clonal Selection Indices Based on Predicted Genotypic Effects |
| Version: | 1.0.0 |
| Description: | Provides functions to compute selection indices for clonal selection based on predicted genotypic effects. It enables the evaluation and ranking of clones, supporting decision-making in clonal selection processes. |
| License: | GPL (≥ 3) |
| Encoding: | UTF-8 |
| RoxygenNote: | 7.3.2 |
| BugReports: | https://github.com/soniasurgy/ClonalIndices/issues |
| Imports: | stats |
| Suggests: | knitr, rmarkdown, roxygen2, devtools, usethis |
| Depends: | R (≥ 3.5.0) |
| LazyData: | true |
| NeedsCompilation: | no |
| Packaged: | 2026-11-07 22:27:22 UTC; Asus |
| Author: | Sónia Surgy [aut, cre], Jorge Cadima [aut], Elsa Gonçalves [aut] |
| Maintainer: | Sónia Surgy <soniasurgy@isa.ulisboa.pt> |
| Repository: | CRAN |
| Date/Publication: | 2026-11-29 10:20:02 UTC |
ClonalIndices: Clonal Selection Indices Based on Predicted Genotypic Effects
Description
Tools for computing selection indices based on predicted genotypic effects, with emphasis on clonal selection.
Details
The package implements one newly developed index and several adaptations of existing selection indices for use with genotypic data. The indices are a newly Balanced selection index (BSI), a newly Multiplicative Balanced selection index (MBSI)an Adapted Smith selection index (SSI), an Adapted Mulamba & Mock selection index (MSI), and an Adapted Elston selection index (ESI). For more information about these indices see 'README' file.
#' @references Elston, R., 1963. A weight-free index for the purpose of ranking or selection with respect to several traits at a time. Biometrics, Volume 19, pp. 85-97.
Mulamba, N. N. and Mock, J., 1978. Improvement of yield potential of the ETO blanco maize (Zea mays L.) population by breeding for plant traits. Egyptian Journal of Genetics and Cytology, Volume 7, pp. 40-57.
Smith, H., 1936. A discriminant function for plant selection. Ann. Eugen, Volume 7, pp. 240-250.
Author(s)
Maintainer: S<U+00F3>nia Surgy soniasurgy@isa.ulisboa.pt
Authors:
Jorge Cadima jcadima@isa.ulisboa.pt
Elsa Gon<U+00E7>alves elsagoncalves@isa.ulisboa.pt
See Also
Useful links:
Report bugs at https://github.com/soniasurgy/ClonalIndices/issues
Arinto variety dataset
Description
A dataset containing genotypic information for a set of grapevine clones of the Arinto variety, obtained from selection field trials. The dataset comprises Empirical Best Linear Unbiased Predictors (EBLUPs) of genotypic effects and predicted values obtained from linear mixed models fitted to the trial observations.
Usage
Arinto
Format
An object of class data.frame with 164 rows and 11 columns.
Details
The dataset is provided as an example for the application of the selection indices implemented in the ClonalIndices package. It contains the genotypic EBLUPs and predicted values for five traits: yield, total soluble solids, total acidity, berry weight and pH.
The following list describes the names and nature of the columns included in the data frame:
- Clone
Genotype label identifying each clone.
- ydblup
EBLUP of the genotypic effect for yield.
- tssblup
EBLUP of the genotypic effect for total soluble solids.
- tablup
EBLUP of the genotypic effect for total acidity.
- bwblup
EBLUP of the genotypic effect for berry weight.
- phblup
EBLUP of the genotypic effect for pH.
- ydpred
Predicted value for yield.
- tsspred
Predicted value for total soluble solids.
- tapred
Predicted value for total acidity.
- bwpred
Predicted value for berry weight.
- phpred
Predicted value for pH.
Source
Data obtained from grapevine selection field trials involving the Arinto variety.
Indices Calculation
Description
This function implements the following genotypic selection indices: Balanced selection index (BSI), Multiplicative Balanced Selection Index (MBSI), Adapted Smith Selection Index (SSI), Adapted Elston Selection Index (ESI) and Adapted Mulamba & Mock Selection Index (MSI).
Usage
clonind(
blups = NULL,
preds = NULL,
ref = NULL,
clnum = NULL,
meanvec = NULL,
criteria = NULL,
indextype = c("bsi", "mbsi", "ssi", "esi", "msi"),
data
)
Arguments
blups |
A vector with the names of the columns in the data corresponding to the predictors of the target traits. Needed for 'indextype' 'bsi', 'mbsi', 'ssi' and 'msi'. |
preds |
A vector with the names of the columns in the data corresponding to the predicted values of the target traits. Needed for 'indextype' 'esi'. |
ref |
Name of the reference column used to identify individual clones (e.g., clone ID). Defaults to the first column. |
clnum |
An integer specifying the number of top clones to be seen in the output. If omitted, equal to the total number of clones. |
meanvec |
A named numeric vector of trait means; if omitted, data are assumed to be already normalized by the mean. Not used for 'esi'. |
criteria |
A named numeric vector indicating the selection criterion for each trait: 1 for traits to be increased, -1 for traits to be decreased. If omitted, all traits are assumed to be selected for increase. |
indextype |
A string indicating the selection index to be calculated. 'bsi' for Balanced selection index, 'mbsi' for Multiplicative Balanced Selection Index, 'ssi' for the Adapted Smith selection index, 'msi' for the Adapted Mulamba & Mock selection index, or 'esi' for the Adapted Elston selection index . If omitted, 'bsi' is calculated. |
data |
A data frame comprising the input data consisting of the EBLUPs of genotypic effects and/or the predicted values obtained by the fitting of the mixed models, which serve as the basis for the selection procedure. |
Details
Two indices, BSI and MBSI, were newly developed for clonal selection, while SSI, ESI and MSI are adaptations of existing selection indices for use with genotypic data.
For more information about these indices see 'README' file.
The BSI and MBSI are original indices developed for the selection of superior clones based on genotypic values. The SSI, ESI and MSI are adaptations of previously established selection indices to accommodate genotypic data obtained from mixed models.
The function allows the calculation of individual indices, as well as the comparison of clone rankings across all implemented indices.
Value
A list with the following objects:
-
rankingwith the top 'clnum' clones in the index mentioned in 'indextype' and the corresponding index value -
rankallwith the top 'clnum' clones in all indices and the corresponding index value -
rankglobalwith index value and rank position for each clone in all indices
References
Smith, H., 1936. A discriminant function for plant selection. Ann. Eugen, Volume 7, pp. 240-250.
Elston, R., 1963. A weight-free index for the purpose of ranking or selection with respect to several traits at a time. Biometrics, Volume 19, pp. 85-97.
Mulamba, N. N. and Mock, J., 1978. Improvement of yield potential of the ETO blanco maize (Zea mays L.) population by breeding for plant traits. Egyptian Journal of Genetics and Cytology, Volume 7, pp. 40-57.
Smith, H., 1936. A discriminant function for plant selection. Ann. Eugen, Volume 7, pp. 240-250.
Examples
myeblups <- c("ydblup","tssblup", "tablup", "bwblup", "phblup" )
mypreds <- c("ydpred","tsspred", "tapred", "bwpred", "phpred" )
mymeanvec <- c(ydblup = 4.841, tssblup = 23.16, tablup = 5.589, bwblup = 1.342, phblup = 3.682)
mycriteria <- c(ydblup = 1, tssblup = 1, tablup = 1, bwblup = -1, phblup = -1, ydpred = 1,
tsspred = 1, tapred = 1, bwpred = -1, phpred = -1)
exemp <- clonind(
blups = myeblups,
preds = mypreds,
clnum = 25,
meanvec = mymeanvec,
criteria = mycriteria,
indextype = "esi",
data = Arinto
)
exemp
exemp$rankall
exemp$rankglobal
Print method for index objects
Description
Prints the predicted genetic gains and selected genotypes.
Usage
## S3 method for class 'index'
print(x, ...)
Arguments
x |
An object of class |
... |
Additional arguments passed to methods (currently unused) |
Value
Invisibly returns the input object x