Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Oct 2;41(10):btaf549.
doi: 10.1093/bioinformatics/btaf549.

monarchr: an R package for querying biomedical knowledge graphs

Affiliations

monarchr: an R package for querying biomedical knowledge graphs

Shawn T O'Neil et al. Bioinformatics. .

Abstract

Summary: Biomedical knowledge graphs (KGs) aggregate and provide a wealth of information, linking genes and their variants, diseases, phenotypes, and much more. While these data are available in raw and API-hosted form, to date, functionality for working with KGs in the R programming language has been limited. We introduce monarchr, a package for querying and manipulating KG data. Support for the expansive Monarch Initiative KG is built in, and monarchr can accommodate any KG in the Knowledge Graph eXchange (KGX) format. This tidy-inspired interface offers researchers an intuitive, iterative approach to querying and visualizing KG data.

Availability and implementation: Source code, documentation, and installation instructions are available at https://github.com/monarch-initiative/monarchr.

PubMed Disclaimer

Figures

Figure 1.
Figure 1.
All genetic variants and genes associated with Noonan syndrome or its subtypes. Nodes are colored by pcategory and visualized with cytoscape() followed by adjustments in the Cytoscape GUI. Noonan syndrome and its subtypes are shown in the central ring, genes in middle, and genetic variants at the periphery.

References

    1. Bastarache L, Denny JC, Roden DM. Phenome-wide association studies. JAMA 2022;327:75–6. - PMC - PubMed
    1. Broscheit S, Ruffinelli D, Kochsiek A et al. LibKGE—A knowledge graph embedding library for reproducible research. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. Stroudsburg, PA, USA: Association for Computational Linguistics, 2020, 165–74.
    1. Butts CT. Network: Classes for Relational Data. CRAN: Contributed Packages, 2005. 10.32614/cran.package.network - DOI
    1. Cappelletti L, Fontana T, Casiraghi E et al. GRAPE FOR fast and scalable graph processing and random-walk-based embedding. Nat Comput Sci 2023;3:552–68. 10.1038/s43588-023-00465-8 - DOI - PMC - PubMed
    1. Caufield JH, Putman T, Schaper K et al. KG-Hub-building and exchanging biological knowledge graphs. Bioinformatics 2023;39:btad418. 10.1093/bioinformatics/btad418 - DOI - PMC - PubMed