Create the ontology_DAG object from the igraph object

create_ontology_DAG_from_igraph(
  g,
  relations = NULL,
  verbose = simona_opt$verbose
)

Arguments

g

An igraph::igraph object.

relations

A vector of relation types. The length of the vector should be the same as the number of edges in g.

verbose

Whether to print messages.

Value

An ontology_DAG object.