Learn R Programming

emuR (version 2.0.4)

delete_itemsInLevel: Delete new items programmatically

Description

Allows to delete annotation items programmatically.

Usage

delete_itemsInLevel(emuDBhandle, itemsToDelete, rewriteAllAnnots = TRUE,
  verbose = TRUE)

Arguments

emuDBhandle

emuDB handle as returned by load_emuDB

itemsToDelete

A data frame with the columns

  • session,

  • bundle,

  • level, and

  • sequenceIndex.

*None* of the columns should be factors. sequenceIndex must be numeric (natural-valued), all other columns must be of type character.

rewriteAllAnnots

should changes be written to file system (_annot.json files) (intended for expert use only)

verbose

if set to TRUE, more status messages are printed