Mechanism Evidence Graph Data Model

Provides a lightweight graph data model for representing, combining, querying, and summarizing evidence-backed biological mechanism graphs. A mechgraph is an S3 list holding a node table, an edge table, and provenance metadata. The package implements builders that convert STRING and BioGRID interaction tables into mechgraph objects, combiners (mg_bind(), mg_combine()) that merge graphs while preserving duplicate evidence records, accessors (mg_nodes(), mg_edges(), mg_metadata()) and mutators (mg_add_*(), mg_drop_*()) for node and edge tables, filters by type, source, identifier, and score, induced-subgraph construction, structural validation (mg_validate()), and quality-control summaries (mg_qc()). Szklarczyk et al. (2023) Oughtred et al. (2021) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mechgraph")

0.0.1 by Guangchuang Yu, 23 days ago


Browse source code at https://github.com/cran/mechgraph


Authors: Guangchuang Yu [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports igraph

Suggests testthat


See at CRAN