Supplementary Data S1
Blythe, T. (2026). From Hawai'i to the mainland: Kavalactone profile and stem
variation in Kali Hiwa, a line of Hawaiian Hiwa propagated in tissue culture and
selected under cold conditions. The Journal of American Kava, 3, 027.
https://doi.org/10.5281/zenodo.24708592
License: CC BY 4.0

CONTENTS

certificate_values.csv  Every Flora Research Laboratories certificate value used
                        in the paper (38 assays, S2-S39; percent w/w as printed).
data.py                 The same values as Python; "python3 data.py" writes
                        certificate_values.csv.
calc.py                 Shared functions: chemotype codes with 10% ties, shares,
                        ratios, Euclidean and Aitchison distances.
analysis.py             Computes every derived number in the paper: codes,
                        K/DHM, ratios to kavain, distances, log-ratio checks,
                        leave-one-out assignment, noise simulation (seed
                        20261201), Fijian island comparisons, flavokavain ratios.
analysis_out.txt        Reference output of analysis.py.
figs2.py                Draws the data figures into ./fig/. fig6_cultivars.png
                        is Figure 4 of the published paper; fig4_rank.png,
                        fig5_comp.png and fig7_fk.png are drawn from the same
                        data for earlier versions of the manuscript.
blocks.json             Table code (Tables 1-11 of version 2.1) executed by the
                        manuscript builders.
content2.py, content3.py, content4.py
                        Manuscript builders for versions 2.1, 2.2 and 2.3. They
                        compute the table values and assemble the Word file.
                        They need the journal's document builder (jak.py, not
                        included) and refer to the author's working paths, so
                        they are provided as the record of how each table was
                        generated rather than to run as-is.

TO REPRODUCE

Python 3 with numpy (tested with Python 3.11, numpy 2.5, matplotlib 3.11).

  python3 analysis.py > out.txt      # compare with analysis_out.txt
  python3 data.py                    # regenerates certificate_values.csv
  mkdir fig && python3 figs2.py      # draws the figures

Abbreviations: M, methysticin; DHM, dihydromethysticin; K, kavain;
DHK, dihydrokavain; Y, yangonin; DMY, desmethoxyyangonin; FKA/FKB/FKC,
flavokavains A, B and C; KL, kavalactones.
