ba_traits_details: ba_traits_details

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/ba_traits_details.R

Description

Retrieve the details and associated variables of specific trait identifier.

Usage

1
2
ba_traits_details(con = NULL, traitDbId = "", rclass = c("tibble",
  "data.frame", "list", "json"))

Arguments

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"

Value

An object of class as defined by rclass containing the details and associated variables of the requested trait identifier.

Note

Tested against: sweetpotatobase, testserver

BrAPI Version: 1.1, 1.2

BrAPI Status: active

Author(s)

Reinhard Simon, Maikel Verouden

References

github

See Also

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

Examples

1
2
3
4
5
6
7
if (interactive()) {
  library(brapi)

  con <- ba_db()$testserver

  ba_traits_details(con, traitDbId = "1")
}

CIP-RIU/brapi documentation built on Oct. 17, 2019, 2 p.m.