Skip to content

bio-tooltips


Variables ​

speciesMap ​

const speciesMap: Record<number, SpeciesInfo>

Defined in: providers/mygene/species.ts:9

Functions ​

findSpecies() ​

findSpecies(identifier): { info: SpeciesInfo; taxid: number; } | null

Defined in: providers/mygene/species.ts:27

Finds species data by either taxid or common name (case-insensitive).

Parameters ​

identifier ​

string | number | undefined

The taxid (number) or common name (string).

Returns ​

{ info: SpeciesInfo; taxid: number; } | null

An object with the taxid and the SpeciesInfo, or null if not found.