File size: 1,244 Bytes
2df789b d17ef4a 25898c3 7f403fc d17ef4a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
---
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("wwydmanski/metagenomic_curated", "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. |