Gets markers in matrix format. If the format parameter is set to either csv or tsv the returned object is always a tibble object. If the format parameter is 'json' (default) the rclass parameter can be used to as in other functions.

ba_markerprofiles_allelematrix_search(con = NULL, markerprofileDbId = "",
  markerDbId = "", expandHomozygotes = FALSE, unknownString = "-",
  sepPhased = "|", sepUnphased = "/", format = "json", page = 0,
  pageSize = 10000, rclass = "tibble")

Arguments

con

brapi connection object

markerprofileDbId

character vector; default ''

markerDbId

character vector; default ''

expandHomozygotes

logical; default false

unknownString

chaaracter; default: '-'

sepPhased

character; default: '|'

sepUnphased

character; default: '/'

format

character; default: json; other: csv, tsv

page

integer; default: 0

pageSize

integer; default 1000

rclass

character; default: tibble

Value

data.frame

Note

The handling of long-running responses via asynch status messages is not yet implemented.

References

github

See also

Examples

if (interactive()) { library(brapi) # Need to connect to a database with genetic data # con <- ba_db()$xxxxx # ba_markerprofiles_allelematrix_search(con = con, ...) }