Skip to content

bio-tooltips


Functions

fetchMyGeneBatch()

fetchMyGeneBatch(geneSymbols, species, throwOnError?): 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.

throwOnError?

boolean = false

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:66

Parameters

refs

EntityRef[]

Returns

Promise<Map<string, MyGeneInfoResult>>


getMyGeneCacheKey()

getMyGeneCacheKey(symbol, taxid): string

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

Parameters

symbol

string

taxid

number

Returns

string