phenotype_delete: Delete a phenotype, including all data from a project

View source: R/phenotype.R

phenotype_deleteR Documentation

Delete a phenotype, including all data from a project

Description

Delete a phenotype, including all data from a project

Usage

phenotype_delete(phenotype, conn = NULL)

Arguments

phenotype

phenotype structure, create or get it using create_phenotype or get_phenotype

conn

Deprecated : gor connection structure, create it using platform_connect

Examples

## Not run: 
api_key <- Sys.getenv("GOR_API_KEY")
project <- Sys.getenv("GOR_PROJECT")
conn <- platform_connect(api_key, project)
name <- "height"
phenotype <- get_phenotype(name, conn)
phenotype_delete(phenotype, conn)

## End(Not run)

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