get_trial_obs_ontology: Get the Traits Ontology/Metadata of the Current Active Trial

View source: R/qbms.R

get_trial_obs_ontologyR Documentation

Get the Traits Ontology/Metadata of the Current Active Trial

Description

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.

Author(s)

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

See Also

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

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()
}


icarda-git/QBMS documentation built on Sept. 25, 2024, 10:45 p.m.