Description Usage Arguments Details Value Examples
deleteStudy
completely removes all data for a study from the
database.
1 | deleteStudy(asid, db = NULL)
|
asid |
The assay source/study ID |
db |
(optional) the databse to delete from, defaults to the current database settings |
Cannot be undone. Please use carefully. Not exported, as this is intended for development and should not be used with real data.
None
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
## Load sample data
load(system.file("extdata", "data_for_vignette.rda", package="GladiaTOX"))
## Build assay table
assay <- buildAssayTab(plate, chnmap)
## Set study parameters
std.nm <- "SampleStudy" # study name
phs.nm <- "PhaseII" # study phase
## Load annotation in gtoxDB
loadAnnot(plate, assay, NULL)
## Delete previously loaded study data
asid = gtoxLoadAsid(fld=c("asnm", "asph"), val=list(std.nm, phs.nm))$asid
if(length(asid)>0){ deleteStudy(asid=asid) }
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.