Skip to content

bio-tooltips


Functions

fetchMyGeneBatch()

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

Defined in: providers/mygene/client.ts:10

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.


fetchMyGeneRefs()

fetchMyGeneRefs(refs): Promise<Map<string, MyGeneInfoResult>>

Defined in: providers/mygene/client.ts:64

Parameters

refs

EntityRef[]

Returns

Promise<Map<string, MyGeneInfoResult>>


getMyGeneCacheKey()

getMyGeneCacheKey(symbol, taxid): string

Defined in: providers/mygene/client.ts:91

Parameters

symbol

string

taxid

number

Returns

string