mechgraph: 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) <doi:10.1093/nar/gkac1000> Oughtred et al. (2021) <doi:10.1002/pro.3938>.

Version: 0.0.1
Imports: igraph
Suggests: testthat (≥ 3.0.0)
Published: 2026-09-21
DOI: 10.32614/CRAN.package.mechgraph (may not be active yet)
Author: Guangchuang Yu [aut, cre]
Maintainer: Guangchuang Yu <guangchuangyu at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: NEWS
CRAN checks: mechgraph results

Documentation:

Reference manual: mechgraph.html , mechgraph.pdf

Downloads:

Package source: mechgraph_0.0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): mechgraph_0.0.1.tgz, r-release (x86_64): mechgraph_0.0.1.tgz, r-oldrel (x86_64): mechgraph_0.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mechgraph to link to this page.