get_phenotype: Get a specific phenotype in the current project.

get_phenotypeR Documentation

Get a specific phenotype in the current project.

Description

Get a specific phenotype in the current project.

Usage

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

## 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)

## End(Not run)

wuxi-nextcode/gorr documentation built on Jan. 1, 2023, 7:54 a.m.