Get a specific phenotype in the current project.

get_phenotype(name, conn)

Arguments

name

Unique (lowercase) phenotype name in the project

conn

gor connection structure, create it using platform_connect

Value

a list with the phenotype object

Examples

if (FALSE) {
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)
}