Skip to contents

Remove sample types from database

Usage

deleteSampleType(conn_handler = NULL, sample_type, verbose = TRUE)

Arguments

conn_handler

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

sample_type

A list of sample types 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 sample types from database
SigRepo::deleteSampleType(
  conn_handler = conn_handler,
  sample_type = "3T3-L1 cell",
  verbose = TRUE
)

} # }