validate_annotation: Validate the annotations template (annotations.txt)

View source: R/validate_templates.R

validate_annotationR Documentation

Validate the annotations template (annotations.txt)

Description

Validate the annotations template (annotations.txt)

Usage

validate_annotation(x)

Arguments

x

(named list) The data and metadata object returned by template_arguments().

Details

Checks performed on each data tables attribute metadata:

  • Template column names are correct

  • Each annotation has a subject, predicate, and object, with corresponding labels and URIs

  • URIs are resolvable

Checks on annotation presence are only a reminder that it is possible to annotate these elements.

Value

issues

(character) Descriptions of issues found in the template grouped by "required" and "optional" criteria.

x

(named list) If "required" issues are found, then the template is removed along with the corresponding data table.


EDIorg/emlAssemblyLine documentation built on Nov. 4, 2022, 11:59 p.m.