create_playlist: Create a new playlist in the current project.

create_playlistR Documentation

Create a new playlist in the current project.

Description

Create a new playlist in the current project.

Usage

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

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

wuxi-nextcode/gorr documentation built on Jan. 1, 2023, 7:54 a.m.