Add phenotypes to database
Examples
if (FALSE) { # \dontrun{
# Create phenotypes table
phenotype_tbl <- base::data.frame(
phenotype = c("phenotype_1", "phenotype_2")
)
# Create a connection handler
conn_handler <- SigRepo::newConnHandler(
dbname = "sigrepo",
host = "sigrepo.org",
port = 3306,
user = "your_username",
password = "your_password"
)
# Add phenotypes to database
SigRepo::addPhenotype(
conn_handler = conn_handler,
phenotype_tbl = phenotype_tbl,
verbose = TRUE
)
} # }
