PlotData: Create PlotData

View source: R/plotdatas.R

PlotDataR Documentation

Create PlotData

Description

Create a PlotData object that contains phenotype observations for a single plot in a phenotyping trial. The Plot Name and Observations are required.

Usage

PlotData(plot_name = NULL, observations = list(), notes = NA_character_)

Arguments

plot_name

The unique name for the plot (must already exist as a Plot in a Trial)

observations

List of observations where the key is the trait name and the value is the observed trait value

notes

(optional) Additional plot notes

Details

The Observations take the form of a named list where the list item name / key is the full trait name, including the trait ID (ex: "Blade length cm|CO_360:0000240") and the list item value is the observed trait value (in the correct units).

Value

PlotData

See Also

Other Trial: Plot-class, PlotData-class, Plot, Trial-class, Trial, buildPlotDataTemplate(), buildPlotTemplate(), buildTrialTemplate(), createPlots(), getTrialDesignTypes(), getTrialTypes(), printPlots(), setTrialPlots(), writePlotDataTemplate(), writePlotTemplate(), writeTrialTemplate()

Examples

plotdata1 <- PlotData("FARM-2019-UNH_PLOT1", list("Blade length cm|CO_360:0000240" = 24, "Blade width cm|CO_360:0000241" = 5))
plotdata2 <- PlotData("FARM-2019-UNH_PLOT2", list("Blade length cm|CO_360:0000240" = 27, "Blade width cm|CO_360:0000241" = 4))


TriticeaeToolbox/breedbase.R documentation built on March 23, 2024, 10:29 a.m.