Skip to content

gene-tooltips


Functions

fetchMyGeneBatch()

fetchMyGeneBatch(geneSymbols, species): Promise<Map<string, MyGeneInfoResult>>

Defined in: api.ts:9

Fetches data for multiple genes in a single batch request from mygene.info.

Parameters

geneSymbols

string[]

An array of gene symbols.

species

string

The species for all genes in this batch.

Returns

Promise<Map<string, MyGeneInfoResult>>

A Map of gene symbols to data.