Harmonizome.get_gene_with_associations()

Get gene information with associations using the API.

Usage

Source

Harmonizome.get_gene_with_associations(gene_symbol)

This uses the showAssociations=true parameter to get functional associations directly from the API without downloading files.

Parameters

gene_symbol: str
Gene symbol

Returns

dict[str, Any]
Dictionary with gene info and associations