Trial-class: Trial Class

Trial-classR Documentation

Trial Class

Description

An S4 Class to represent a breeDBase phenotyping trial

Details

The 'trial_name', 'breeding_program', 'location', 'year', 'design_type', and 'description' are all required, all other fields are optional.

Slots

trial_name

A name for the trial (must be unique across the entire database)

breeding_program

The name of the breeding program that managed the trial (must exist in database)

location

The name of the location where the trial was held (must exist in database)

year

The year the trial was held

design_type

The shorthand for the design type (CRD, RCBD, Alpha, Augmented, MAD, Westcott, Lattice)

description

Additional text with any other relevant information about the trial

trial_type

(optional) The name of the trial type (must exist in the database)

plot_width

(optional) The plot width in meters

plot_length

(optional) The plot length in meters

field_size

(optional) The field size in hectares

planting_date

(optional) The date of planting in YYYY-MM-DD format

harvest_date

(optional) The date of harvest in YYYY-MM-DD format

plots

(optional) A vector of Plots that are used in the trial

See Also

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


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