R/phenotype_services.R
phenotype_get_error.Rd
Retrieve latest error from phenotype query run
phenotype_get_error(phenotype)
phenotype structure, create or get it using create_phenotype
or get_phenotype
a formatted error message
if (FALSE) {
api_key <- Sys.getenv("GOR_API_KEY")
project <- Sys.getenv("GOR_PROJECT")
conn <- platform_connect(api_key, project)
phenotype <- get_phenotype(name="height", conn)
phenotype_get_error(phenotype)
}