View source: R/function_target_trait_comparison.R
target_trait_comparison | R Documentation |
target_trait_comparison contrasts the previous genotype-trait classification of MultispeQ measurements against final yield or any other trait of interest of the evaluated genotypes.
target_trait_comparison(ranks, target.trait.file, target.trait.name, metadata = NULL)
ranks |
The list obtained by MSPQ_ranks. |
target.trait.file |
data.frame in narrow format with the yield component or any other trait to contrast against MultispeQ ranking. An observation per experimental unit is required as well as the row & column coordinates if spats = TRUE in MSPQ_ranks. |
target.trait.name |
Character. name of the yield variable on yield.file to contrast against MultispeQ ranking. |
metadata |
data.frame in narrow format with extra information about the genotypes i.e. gene pool, known biotic/abiotic traits, etc. Optional process. NULL by default. |
A list with the confusion matrices and summary of predictions.
## Not run:
# yield_data: any table containing the same evaluated genotypes and the yield or any target to contrast against MSPQ rankings
target_trait_comparison(ranks = ranks,
target.trait.file = yield_data,
target.trait.name = kg_ha,
metadata = NULL)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.