validate_ontol_nw: Validate ontology network for semantic enrichment

View source: R/semantic_enrich.R

validate_ontol_nwR 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


eHDPrep documentation built on June 7, 2023, 6:09 p.m.