Skip to main content

Function: residueHydropathy()

residueHydropathy(code): number

Defined in: src/mobjects/molecular/residueProperties.ts:87

The Kyte-Doolittle hydropathy of a residue.

Parameters​

code​

string

The 1-letter code or 3-letter name, any case.

Returns​

number

The hydropathy index, or 0 for an unknown residue.