validate_ontol_nw {eHDPrep}R Documentation

Validate ontology network for semantic enrichment

Description

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

Usage

validate_ontol_nw(graph)

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)?

Value

input graph or validation errors


[Package eHDPrep version 1.2.1 Index]