API examples
Explore MGnify studies, analyses and results with Python and R.
Find a study, list its analyses, and load a Pfam result into a data frame. Choose an example to get started:
Python with requests and pandas — edit and run in your browser.
R with jsonlite — edit and run in your browser.
Observable JS with D3 — plot Antismash cluster counts for an analysis.
Python with MGnipy — a quick introduction and an interactive demo.
Download analyses as CSV — save a study’s analyses to your computer.
Map AtlantECO samples — explore sample locations in Python.
Pathways Explorer in R — explore module completeness and detected functions.
The introductory Python and R examples start with an Antarctic soil assembly study, but can be used with any public MGnify study.