Synthetic example data shipped with OptiDesign for illustrating and
testing the main design constructors, relationship-matrix workflows,
optional dispersion optimisation, and efficiency evaluation across both
design families.
Format
A named list with the following components:
OptiDesign_linesA data frame with columns
TreatmentandFamilyrepresenting a synthetic pool of line identifiers and their family labels. Used as a starting point for constructing bothprep_famoptg()andalpha_rc_stream()treatment vectors.OptiDesign_id_mapA data frame with columns
TreatmentandLineIDused to map treatment labels to the rownames and colnames of relationship matrices when those names differ from the treatment identifiers. Relevant forcluster_source %in% c("GRM", "A")and forprediction_type %in% c("GBLUP", "PBLUP").OptiDesign_GRMA synthetic genomic relationship matrix with rownames and colnames corresponding to line IDs. Can be used for matrix-based grouping (
cluster_source = "GRM"), dispersion optimisation (dispersion_source = "GRM"), or as aKmatrix for GBLUP efficiency evaluation.OptiDesign_AA synthetic pedigree-style relationship matrix with rownames and colnames corresponding to line IDs. Can be used for pedigree-based grouping (
cluster_source = "A"), dispersion optimisation (dispersion_source = "A"), or as aKmatrix for PBLUP efficiency evaluation.OptiDesign_KA synthetic genomic kernel matrix with rownames and colnames corresponding to line IDs. Intended for workflows that supply a
Kmatrix directly, such asprediction_type = "GBLUP"inevaluate_famoptg_efficiency()orevaluate_alpha_efficiency(), CDmean computation inoptimize_famoptg()oroptimize_alpha_rc(), and dispersion optimisation withdispersion_source = "K".OptiDesign_famoptg_exampleA named list containing the core treatment vectors and field dimensions needed to call
prep_famoptg(). Includes check treatments, p-rep treatments with replication counts, unreplicated treatments, family labels for all treatment classes, number of blocks, and field dimensions (n_rows,n_cols). Combine with one ofOptiDesign_famoptg_args_familyorOptiDesign_famoptg_args_grmto form a complete argument list.OptiDesign_alpha_exampleA named list containing the core treatment vectors and field dimensions needed to call
alpha_rc_stream(). Includes check treatments, entry treatments, family labels, number of replicates, and field dimensions (n_rows,n_cols). Combine with one ofOptiDesign_alpha_args_familyorOptiDesign_alpha_args_grmto form a complete argument list.OptiDesign_famoptg_args_familyA named list of supplementary arguments for a family-based call to
prep_famoptg(). Specifiescluster_source = "Family", field traversal settings, block placement options, and does not include efficiency evaluation arguments (those are now passed toevaluate_famoptg_efficiency()separately).OptiDesign_famoptg_args_grmA named list of supplementary arguments for a GRM-based call to
prep_famoptg(). Specifiescluster_source = "GRM", includesGRMandid_mapreferences, and illustrates matrix-based grouping and optional dispersion settings. Efficiency evaluation arguments are passed toevaluate_famoptg_efficiency()separately.OptiDesign_alpha_args_familyA named list of supplementary arguments for a family-based call to
alpha_rc_stream(). Specifiescluster_source = "Family", field traversal settings, and block size constraints. Efficiency evaluation arguments are passed toevaluate_alpha_efficiency()separately.OptiDesign_alpha_args_grmA named list of supplementary arguments for a GRM-based call to
alpha_rc_stream(). Specifiescluster_source = "GRM", includesGRMandid_mapreferences, and illustrates matrix-based grouping and optional dispersion settings. Efficiency evaluation arguments are passed toevaluate_alpha_efficiency()separately.
Details
The objects in this dataset are fully synthetic and are intended for:
package examples and vignettes,
unit tests,
workflow demonstrations,
and user exploration of argument combinations.
The dataset covers both design families in the package and is structured
so that OptiDesign_famoptg_example and OptiDesign_alpha_example
provide the treatment and field inputs, while the *_args_* lists provide
the algorithmic and model settings. This separation mirrors the
construct-then-evaluate architecture of the package.
Illustrative workflows
Repeated-check block design (family-based):
x <- OptiDesign_example_data
design <- do.call(prep_famoptg,
c(x$OptiDesign_famoptg_example, x$OptiDesign_famoptg_args_family)
)
eff <- evaluate_famoptg_efficiency(
field_book = design$field_book,
n_rows = x$OptiDesign_famoptg_example$n_rows,
n_cols = x$OptiDesign_famoptg_example$n_cols,
check_treatments = x$OptiDesign_famoptg_example$check_treatments,
treatment_effect = "fixed"
)Alpha row-column stream design (GRM-based):
x <- OptiDesign_example_data
design <- do.call(alpha_rc_stream,
c(x$OptiDesign_alpha_example, x$OptiDesign_alpha_args_grm)
)
eff <- evaluate_alpha_efficiency(
field_book = design$field_book,
n_rows = x$OptiDesign_alpha_example$n_rows,
n_cols = x$OptiDesign_alpha_example$n_cols,
check_treatments = x$OptiDesign_alpha_example$check_treatments,
treatment_effect = "fixed"
)Optimised repeated-check block design:
x <- OptiDesign_example_data
opt <- do.call(optimize_famoptg,
c(
x$OptiDesign_famoptg_example,
x$OptiDesign_famoptg_args_family,
list(
treatment_effect = "fixed",
criterion = "A",
n_restarts = 20
)
)
)
opt$optimization$best_scoreOptimised alpha row-column stream design: