create_playlist | R Documentation |
Create a new playlist in the current project.
create_playlist(name, conn, description = NULL, phenotypes = NULL)
name |
Unique (lowercase) playlist name in the project |
conn |
gor connection structure, create it using |
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") |
A playlist object
## Not run: 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) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.