For adding multiple phenotypes to playlist see: or playlist_add_phenotypes

playlist_add_phenotype(name, playlist, conn = NULL)

Arguments

name

name of phenotype existing in project

playlist

playlist structure, create or get it using create_playlist or get_playlist

conn

gor connection structure, create it using platform_connect

Value

A playlist object

Examples

if (FALSE) {
api_key <- Sys.getenv("GOR_API_KEY")
project <- Sys.getenv("GOR_PROJECT")
conn <- platform_connect(api_key, project)
name <- "testpl"
playlist <- create_playlist(name = name, conn)
playlist <- playlist_add_phenotype("pheno1", playlist, conn)
}