Learn R Programming

eHDPrep (version 1.3.3)

validate_ontol_nw: Validate ontology network for semantic enrichment

Description

Performs tests on a graph object in preparation for semantic enrichment.

Usage

validate_ontol_nw(graph)

Value

input graph or validation errors

Arguments

graph

graph object to validate.

Details

The tests are:

  1. Is graph coercible to tidygraph format?

  2. Is graph directed?

  3. Does graph contains one component (is one ontology)?