deleteExperimentFromDB {maDB}R Documentation

Deleting a experiment from a database.

Description

deleteExperimentFromDB deletes an experiment (dataset) from the maDB database.

Usage

deleteExperimentFromDB(con,exp.title,v=TRUE)

Arguments

con The connection to the database (returned by the dbConnect function of the RdbiPgSQL package).
exp.title The name (title) from the experiment in the database that should be deleted (to get a list of available experiments in the database use dbGetExperimentInfo).
v If TRUE additional information will be printed to the console.

Details

Like every function from the pgUtils and maDB packages that writes or updates values in a PostgreSQL database, this function uses transactions. The advantage of tranactions is, that the database status before running the function is automatically recreated if an error occurs during the function execution, or if the user aborts the execution.

Author(s)

Johannes Rainer

See Also

publishToDB dbGetExperimentInfo


[Package maDB version 1.14.1 Index]