Skip to contents

Retrieves the traits ontology or metadata for the current active trial, which includes detailed information about the observation variables used in the trial.

Usage

get_trial_obs_ontology()

Value

A data frame containing the traits ontology or metadata, filtered by the observation variables used in the current trial.

See also

login_bms, set_crop, set_program, set_trial, get_study_data for retrieving study observations.

Author

Khaled Al-Shamaa, k.el-shamaa@cgiar.org

Examples

if (interactive()) {
  set_qbms_config("https://bms.icarda.org/ibpworkbench")
  login_bms()
  set_crop("wheat")
  set_program("Wheat International Nurseries")
  set_trial("IDYT39")
  ontology <- get_trial_obs_ontology()
}