ba_germplasm_attributes: ba_germplasm_attributes

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

View source: R/ba_germplasm_attributes.R

Description

Retrieve germplasm attibute values by a specified gerplasm database identifier.

Usage

1
2
3
ba_germplasm_attributes(con = NULL, germplasmDbId = "",
  attributeList = NULL, attributeDbIds = "", pageSize = 1000,
  page = 0, rclass = c("tibble", "data.frame", "list", "json"))

Arguments

con

list, brapi connection object

germplasmDbId

character, the internal database identifier for a germplasm of which the germplasm attribute values are to be retrieved e.g. "9932"; REQUIRED ARGUMENT with default: ""

attributeList

character vector; DEPRECATED ARGUMENT with default: NULL

attributeDbIds

character vector, restrict the response to only the listed internal attribute database identifiers, supplied as a character vector, e.g. c("123", "234", "345"); default: ""

pageSize

integer, items per page to be returned; default: 1000

page

integer, the requested page to be returned; default: 0 (1st page)

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 germplasm attribute values.

Note

Tested against: test-server

BrAPI Version: 1.1, 1.2

BrAPI Status: active

Author(s)

Reinhard Simon, Maikel Verouden

References

github

See Also

Other germplasmattributes: ba_germplasmattributes_attributes, ba_germplasmattributes_categories, ba_germplasmattributes_details

Other genotyping: ba_genomemaps_data_range, ba_genomemaps_data, ba_genomemaps_details, ba_genomemaps, ba_germplasm_markerprofiles, ba_germplasm_search_post, ba_germplasm_search, ba_germplasmattributes_attributes, ba_germplasmattributes_categories, ba_germplasmattributes_details, ba_markerprofiles_allelematrices_details, ba_markerprofiles_allelematrices_search_post, ba_markerprofiles_allelematrices_search, ba_markerprofiles_allelematrix_search, ba_markerprofiles_details, ba_markerprofiles_search, ba_markers_details, ba_markers_search_post, ba_markers_search

Examples

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

  con <- ba_db()$testserver

  ba_germplasm_attributes(con, germplasmDbId = "1")

}

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