Skip to contents

Remove phenotypes from database

Usage

deletePhenotype(conn_handler = NULL, phenotype, verbose = TRUE)

Arguments

conn_handler

An R object obtained from SigRepo::newConnhandler() (required)

phenotype

A list of phenotypes to be removed (required)

verbose

Logical; whether to print diagnostic messages. Defaults to 'TRUE'.

Examples


if (FALSE) { # \dontrun{

# Create a connection handler
conn_handler <- SigRepo::newConnHandler(
  dbname = "sigrepo", 
  host = "sigrepo.org", 
  port = 3306, 
  user = "your_username", 
  password = "your_password"
)

# Delete a list of phenotypes from database
SigRepo::deletePhenotype(
  conn_handler = conn_handler,
  phenotype = "aging",
  verbose = TRUE
)

} # }