license:artistic-2.0 region:us
---
license: artistic-2.0
---

# Metagenomic curated data
This is a python repack of the curated data from the [Metagenomic Data Repository](https://waldronlab.io/curatedMetagenomicData/).

Please refer to the [study list](https://experimenthub.bioconductor.org/package/curatedMetagenomicData) and [study metadata](https://waldronlab.io/curatedMetagenomicData/articles/available-studies.html) for the list of available datasets.

## Sample usage
```python
ds = datasets.load_dataset("./metagenomic_curated.py", "EH1726")
X = np.array([list(i.values()) for i in ds['train']['features']])
y = np.array([x['study_condition'] for x in ds['train']['metadata']])
```

## Finding a relevant dataset EHID
The easiest way to find an interesting study is via [study metadata](https://waldronlab.io/curatedMetagenomicData/articles/available-studies.html). After that, you can find corresponding EHIDs by referring on the https://experimenthub.bioconductor.org/title/{study_name} page.

Let's say that the ThomasAM_2018a study piqued your curiosity - it means that you will be able to find all relevant datasets on the [https://experimenthub.bioconductor.org/title/ThomasAM_2018a](https://experimenthub.bioconductor.org/title/ThomasAM_2018a) website.