get_germplasm_attributes: Get germplasm attributes for a given germplasm in a crop

View source: R/qbms.R

get_germplasm_attributesR Documentation

Get germplasm attributes for a given germplasm in a crop

Description

Get germplasm attributes for a given germplasm in a crop

Usage

get_germplasm_attributes(germplasm_name = "")

Arguments

germplasm_name

the name of the germplasm

Value

a data frame of the germplasm attributes

Author(s)

Johan Steven Aparicio, j.aparicio@cgiar.org

See Also

login_bms, set_crop, get_germplasm_data

Examples

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 attributes data of a given germplasm in a crop
germplasm_attributes <- get_germplasm_attributes("BASFCORN-2-1")
}

khaled-alshamaa/QBMS documentation built on Jan. 27, 2024, 6:40 a.m.