phenotype_update | R Documentation |
Update phenotype attributes
phenotype_update( phenotype, description = NULL, tags = list(), query = NULL, category = NULL, url = NULL )
phenotype |
phenotype structure, create or get it using |
description |
phenotype description |
tags |
comma separated string of tags eg. "height,weight", list or character vector "c("height", "weight") |
query |
NOR query that defines this phenotype |
category |
category for the phenotype (must be defined in the project - see get_categories) |
url |
reference URL for the phenotype (to dataset or other reference) |
phenotype object
## Not run: api_key <- Sys.getenv("GOR_API_KEY") project <- Sys.getenv("GOR_PROJECT") conn <- platform_connect(api_key, project) name <- "height" phenotype <- get_phenotype(name, conn) description <- "individual height" phenotype <- update_phenotype(phenotype, description=decription) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.