target_trait_comparison: Comparisons between raknings and target trait of interest.

View source: R/function_target_trait_comparison.R

target_trait_comparisonR Documentation

Comparisons between raknings and target trait of interest.

Description

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.

Usage

target_trait_comparison(ranks, target.trait.file, target.trait.name, metadata = NULL)

Arguments

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.

Value

A list with the confusion matrices and summary of predictions.

Examples

## 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)

jssotob/RankspeQ documentation built on Jan. 31, 2024, 10:11 a.m.