scverse / pertpy

Perturbation Analysis in the scverse ecosystem.
https://pertpy.readthedocs.io/en/latest/
MIT License
91 stars 19 forks source link

Expand metadata support for enrichment #483

Closed Zethson closed 2 months ago

Zethson commented 6 months ago

Description of feature

We added lots of support to fetch metadata and the ability to enrich for Drugs (https://pertpy.readthedocs.io/en/latest/tutorials/notebooks/enrichment.html). However, for the general enrichment (currently only implemented for drugs), the metadata need to be in a specific format and stored in a specific slot (I assume).

The goal of this issue is to

Zethson commented 6 months ago

If this works well, we should also decouple the metadata call and how it's used in the scoring function. Currently, it implicitly uses the chembl metadata

Zethson commented 2 months ago

@wxicu we need at least a mention of this in the tutorials!