get_germplasm_data | R Documentation |
This function will retrieve all the observations data available for a given germplasm in the current crop database regardless of the programs/trials nested structure.
get_germplasm_data(germplasm_name = "")
germplasm_name |
the name of the germplasm |
a data frame of the germplasm observations data aggregate from all trials
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
login_bms
, set_crop
, get_germplasm_attributes
if(interactive()) {
# config your BMS connection
set_qbms_config("https://bmsdev-brapi.ibp.services/ibpworkbench")
# login using your BMS account (interactive mode)
# you can pass BMS username and password as parameters (batch mode)
login_bms()
set_crop("maize")
# select a breeding program by name
set_program("MC Maize")
# retrive observations data of a given germplasm aggregated from all trials
germplasm_observations <- get_germplasm_data("BASFCORN-2-1")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.