For adding multiple phenotypes to playlist see: or playlist_add_phenotypes
playlist_add_phenotype(name, playlist, conn = NULL)
name of phenotype existing in project
playlist structure, create or get it using create_playlist
or get_playlist
gor connection structure, create it using platform_connect
A playlist object
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)
}