R/constructor.R
create_ontology_DAG_from_igraph.RdCreate the ontology_DAG object from the igraph object
create_ontology_DAG_from_igraph(
g,
relations = NULL,
verbose = simona_opt$verbose
)An igraph::igraph object.
A vector of relation types. The length of the vector should be the same as the number of edges in g.
Whether to print messages.
An ontology_DAG object.