Skip to content

gene-tooltips


Variables

speciesMap

const speciesMap: Record<number, SpeciesInfo>

Defined in: constants.ts:9

Functions

findSpecies()

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

Defined in: constants.ts:27

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

Parameters

identifier

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

string | number | undefined

Returns

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

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