Create a new playlist in the current project.
create_playlist(name, conn, description = NULL, phenotypes = NULL)
Unique (lowercase) playlist name in the project
gor connection structure, create it using platform_connect
Free text description of the playlist (optional)
comma seperated string of phenotypes to add (optional) eg. "pheno1,pheno2" or character vector c("pheno1", "pheno2")
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)
}