R/graph_utils.R
propagate_gene_edges.Rd
Remove non-gene nodes from pathway and reconnect nodes
propagate_gene_edges(graph)
Biological pathway
graph with only genes as nodes
dag <- create_random_DAG(30, 0.2)
propagate_gene_edges(dag)
#> A graphNEL graph with directed edges
#> Number of Nodes = 0
#> Number of Edges = 0