Deletes a track.

gtrack.rm(track = NULL, force = FALSE)

Arguments

track

track name

force

if 'TRUE', suppresses user confirmation of a named track removal

Value

None.

Details

This function deletes a track from the Genomic Database. By default 'gtrack.rm' requires the user to interactively confirm the deletion. Set 'force' to 'TRUE' to suppress the user prompt.

Examples

# \dontshow{
options(gmax.processes = 2)
# }

gdb.init_examples()
gtrack.create("new_track", "Test track", "2 * dense_track")
gtrack.exists("new_track")
#> [1] TRUE
gtrack.rm("new_track", force = TRUE)
gtrack.exists("new_track")
#> [1] FALSE