Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/ba_traits_details.R
Retrieve the details and associated variables of specific trait identifier.
1 2 | ba_traits_details(con = NULL, traitDbId = "", rclass = c("tibble",
"data.frame", "list", "json"))
|
con |
list, brapi connection object |
traitDbId |
character, the internal database identifier for a trait of which the details and associated variables are to be retrieved e.g. "1"; REQUIRED ARGUMENT with default: "" |
rclass |
character, class of the object to be returned; default: "tibble" , possible other values: "data.frame"/"list"/"json" |
An object of class as defined by rclass containing the details and associated variables of the requested trait identifier.
Tested against: sweetpotatobase, testserver
BrAPI Version: 1.1, 1.2
BrAPI Status: active
Reinhard Simon, Maikel Verouden
Other traits: ba_traits
Other brapicore: ba_calls
,
ba_commoncropnames
, ba_crops
,
ba_germplasm_details_study
,
ba_germplasm_details
,
ba_germplasm_pedigree
,
ba_germplasm_progeny
,
ba_germplasm_search_post
,
ba_germplasm_search
,
ba_observationvariables_datatypes
,
ba_observationvariables_details
,
ba_observationvariables_ontologies
,
ba_observationvariables
,
ba_phenotypes_search_post
,
ba_programs_search_post
,
ba_programs
,
ba_studies_germplasm_details
,
ba_traits
1 2 3 4 5 6 7 | if (interactive()) {
library(brapi)
con <- ba_db()$testserver
ba_traits_details(con, traitDbId = "1")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.