This function deletes an existing annotation layer, including all annotation data associated with it.

deleteLayer(labbcat.url, layer.id)

Arguments

labbcat.url

URL to the LaBB-CAT instance

layer.id

The ID of the layer to delete.

Value

NULL, or an error message if deletion failed.

Details

You must have administration privileges in LaBB-CAT in order to be able to use this function.

See also

Examples

if (FALSE) {
## Delete the phonemes layer
deleteLayer(labbcat.url, "phonemes")
}