Create a new playlist in the current project.

create_playlist(name, conn, description = NULL, phenotypes = NULL)

Arguments

name

Unique (lowercase) playlist name in the project

conn

gor connection structure, create it using platform_connect

description

Free text description of the playlist (optional)

phenotypes

comma seperated string of phenotypes to add (optional) eg. "pheno1,pheno2" or character vector c("pheno1", "pheno2")

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