Skip to content

bio-tooltips


Functions

fetchMyChemAnnotationBatch()

fetchMyChemAnnotationBatch(ids, throwOnError?): Promise<Map<string, MyChemInfoResult>>

Defined in: providers/mychem/client.ts:134

Parameters

ids

string[]

throwOnError?

boolean = false

Returns

Promise<Map<string, MyChemInfoResult>>


fetchMyChemBatch()

fetchMyChemBatch(queries, scope?, throwOnError?): Promise<Map<string, MyChemInfoResult>>

Defined in: providers/mychem/client.ts:90

Parameters

queries

string[]

scope?

MyChemScope = 'name'

throwOnError?

boolean = false

Returns

Promise<Map<string, MyChemInfoResult>>


fetchMyChemBestGuessBatch()

fetchMyChemBestGuessBatch(queries, throwOnError?): Promise<Map<string, MyChemInfoResult>>

Defined in: providers/mychem/client.ts:177

Parameters

queries

string[]

throwOnError?

boolean = false

Returns

Promise<Map<string, MyChemInfoResult>>


fetchMyChemRefs()

fetchMyChemRefs(refs): Promise<Map<string, MyChemInfoResult>>

Defined in: providers/mychem/client.ts:201

Parameters

refs

EntityRef[]

Returns

Promise<Map<string, MyChemInfoResult>>


getMyChemCacheKey()

getMyChemCacheKey(query, scope?, lookup?): string

Defined in: providers/mychem/client.ts:235

Parameters

query

string

scope?

MyChemScope = 'name'

lookup?

MyChemLookupMode = ...

Returns

string


normalizeMyChemLookupMode()

normalizeMyChemLookupMode(lookup, scope?): MyChemLookupMode

Defined in: providers/mychem/client.ts:273

Parameters

lookup

unknown

scope?

MyChemScope = 'name'

Returns

MyChemLookupMode


normalizeMyChemScope()

normalizeMyChemScope(scope): MyChemScope

Defined in: providers/mychem/client.ts:243

Parameters

scope

unknown

Returns

MyChemScope