Two Way Analysis comparisons

Standard figures from the SimThyr calculation.

Case No. 2 from Kubota et al. showing overt hypothyroidism

Case No. 5 from Kubota et al. showing overt hypothyroidism

Create and Use Scenarios in SimThyr

Create And Use Scenarios in SimThyr

We start by opening SimTHyr v. 4.0.6

Next in File choose Open Scenario

I have downloaded the scenarios as xml files and choose Kubota nr 5

Now the relevant parameters are changed in the model and we can run the scenario

After doing so we can save the results – but before that – a little detour to the Preferences settings.

Overview of the Preferences panel – and my choices.

Running the Scenario for 730 days gives this opening image

Then I save it as .tsv and prepare for importing the file into R.

Continues in a Markdown file to be found here: LINK

Using SimThyr

SimThyr Standard file(s)

This is a .csv file used for many manipulations in R.

The file covers two years but I have used only the last year. Maybe you will be able to understand why later on.

NA_1i_NAt_day.h.m.sdateyearmonthdaytimehourminutesecondTRH_ng.lpTSH_mU.lTSH_mU.lTT4_nmol.lFT4_pmol.lTT3_nmol.lFT3_pmol.lcT3_pmol.lX_NAratioTSH_SumTSH_TSH_SumSPINA_GTSPINA_GDTSHITRH_TSHTT4_FT4TT3_FT3sqrtTSHsqrtTRHsqrtFT4sqrtFT3sqrtTT4
1321900-01-01 00:01:401900-01-011900010100:01:400001403181.757941.8138121.937917.66963.21585.350711693.749NA0.30281953185131513.5234880.1341222027926523.3749600563222428.00014925908312.971985292031331754.194453633266.900999456693980.6010054759190391.3467739231214756.40707313803834.203522332520672.3131580144901511.0425495244531
2431900-01-01 00:03:201900-01-011900010100:03:200003204029.994841.8011121.937917.66963.21585.350711693.749NA0.30281953185131513.5234880.1331830959586763.3892997746855628.00014925908312.964958789360872237.518627505416.900999456693980.6010054759190391.3420506696842763.4822400360924.203522332520672.3131580144901511.0425495244531
3541900-01-01 00:05:001900-01-011900010100:05:000005003443.941541.7948121.937917.66963.21585.350711693.749NA0.30281953185131513.5234880.1327172398126873.3964884817533328.00014925908312.961454795119691918.844160909296.900999456693980.6010054759190391.3397014592811358.68510458370164.203522332520672.3131580144901511.0425495244531
4651900-01-01 00:06:401900-01-011900010100:06:400006401199.191941.7845121.937917.66963.21585.350711693.749NA0.30281953185131513.5234880.1319556019867063.4083507771886828.00014925908312.95569946394808672.0044270103676.900999456693980.6010054759190391.335851788186134.62935026823354.203522332520672.3131580144901511.0425495244531
5761900-01-01 00:08:201900-01-011900010100:08:200008203763.407941.7558121.937917.66963.21585.350711693.749NA0.30281953185131513.5234880.1298333684327593.4421381500355828.00014925908312.939485793509972143.414910582076.900999456693980.6010054759190391.3250660360902861.34662093383794.203522332520672.3131580144901511.0425495244531
6871900-01-01 00:10:001900-01-011900010100:10:000010005208.54841.7487121.937817.66963.21585.350711693.749NA0.30281953185131513.5234880.1293083559507723.4506678178605428.00014925908312.935433854737482978.525761994626.900993797256310.6010054759190391.3223842104320572.17027088767234.203522332520672.3131580144901511.0425449965124
Head() of the Standard file – to get an impression of what to find.

R – script

To be used after you have installed R and R-Studio

How hypothyroid can it be

I would like to know how hypothyroid the model can get when the different parameters from fig. 6. A in Principles, Hoermann et al 2022.

Recap text from fig. 6. A: FT4 levels (blue curve) decline, but the mechanisms in system (sys. 10) protect FT3 levels (green curve), keeping them in a range close to the original level, as the percentage of the estimate of FT4 production rate constant (k32 = 0.4 to 1.1) decreases – as typical at the onset of hypothyroidism in patients suffering from autoimmune thyroiditis and progressive thyroid destruction. Other parameters are chosen within ranges, k423 = 0.2-0.3, k43 = 0.7-0.8 and k42 = 0.1-0.2, to approximate the relative contributions to FT3 production according to (32).

The figures shows the most hypothyroid state the model can achieve under the given conditions.

Trying to change the k42 parameter which results in a slight decrease of TSH

Adding drug4 = 0.8 to the most hypothyroid state. We see FT3 is not returning to the level in the perfect homeostasis. See sys1 below. Apart from that FT3 drops with lower k32.

Here I have tried to show the pattern following perfect homeostasis plus drug4. Mimicing the situation where a patient gets unnecessary LT-4 treatment. Will it be possible to identify the pattern and use it to get the patient off LT-4? Is the pattern disguised by the transformation to real hormone values?

Rethinking Hypothyroidism + Principles of Endocrine Regulation

These plots are based on a theoretical model developed by Hoerman et al 2022. The changes in the figures are mine and not discussed with the creators – so I and not the authors are to blame for any error. I would like to show two citations from Rethinking Hypothyroidism, written by A. Bianco.

1.a
1.b

These two plots illustrate perfect homeostasis

2.a
2.b

Here I have added L-T4 to the perfect homeostasis illustrating the hormone pattern in a situation where there is no need for L-T4. The gap between TSH/FT4 widens. (~1/3 is getting unnecessary L-T4 treatment. From Rethinking Hypothyroidism, A. Bianco 2022)

  • TSH decreases
  • FT4 increases
  • FT3 increases
3.a
3.b

Introducing a hypothyroid pattern – TSH increases

4.a
4.b

L-T4 is added to the hypothyroid pattern and we see that L-T4 treatment is not restoring FT3 although TSH is normalized. ( “Once TSH had normalized, the metabolic rate had not,” from Rethinking Hypothyroidism, A. Bianco 2022)

Is it possible to identify those patients who are not hypothyroid but is treated with L-T4 by the changed hormone pattern? In the perfect homeostasis scenario, the ratio FT4/TSH is close to one whereas in the perfect homeostasis with added LT4 the ratio looks close to 1.5. In the L-T4-treated hypothyroid pattern, the ratio is a little above one.

Will converting the hormone figures to standard values obscure the pattern?

Perfect homeostasis

In the article: “Principles of Endocrine Regulation: Reconciling Tensions Between Robustness in Performance and Adaptation to Change.” (Ref.1) the authors describe how their mathematical model can describe perfect homeostasis. The patterns of TRH, TSH, FT3 and FT4 are plotted. The FT3 value is preserved whatever changes in the other hormones.

k32* = 1

In the next two plots, the K32* is changed to 0.3 and 3. Changes in the patterns between the three hormones TSH, FT4 and TRH.

k32* = 0.3
k32* = 3.0

Redefinition of FT3 reference ranges?

k32

The FT4 production rate parameter k32 is the proportionality constant,
positive feedforward of TSH onto FT4 (downstream, activating (short red arrow)).
FT4 increases as k32 increases and TRH-TSH decreases (due to the negative feedback k134 and k234 (green and blue bars)
Thyroid follicular cell (F), deiodinases (D), hypothalamus (H), pituitary (P), thyroid gland (T).
  1. Hoermann R, Pekker MJ, Midgley JEM, Larisch R and Dietrich JW (2022) Principles of Endocrine Regulation: Reconciling Tensions Between Robustness in Performance and Adaptation to Change. Front. Endocrinol. 13:825107. doi: 10.3389/fendo.2022.825107 https://www.frontiersin.org/articles/10.3389/fendo.2022.825107/full

Introducing drugs – 1

All comments here are all theoretical and based on a complicated mathematical model.
Proceeding from page 10 in the supplementary material for:
Hoermann R, Pekker MJ, Midgley JEM, Larisch R and Dietrich JW (2022)
Principles of Endocrine Regulation: Reconciling Tensions Between Robustness in Performance and Adaptation to Change.
Front. Endocrinol. 13:825107. doi: 10.3389/fendo.2022.825107 – I look at the two equations for sys1 and multiple systems.

The two parameters k43, k42, drug4 and drug3 are set to zero in the multiple systems equation. Making the result of the two equations the same. This equals fig. 4a in the article.

In sys. 9 k43 is changed to 1. (k43 increases the FT3 production rate // the FT3 production rate constant of peripheral organs account for non-thyroidal peripheral FT3 production (by adding the term k43*[FT4]) which physiologically depends on FT4, but not on TSH). See fig. 4b in the article.

Changing k42 to one increases FT3 further. (The TSH feedforward on FT3 is switched on (k42 = 1)). The other hormones decreases. The TSH FT4 values follow each other closely. See fig. 4c in the article.

Now a drug is introduced (drug3=0.5) in the equation which gives the following result:

See fig. 4d in the article and the comments.

In the next plot drug3=0.5 (LT3) is replaced by drug4=0.8 (LT4) in the equation, which affects the TSH and FT4 values:

The distance between FT4 and TSH is increased. In the earlier plots, FT4 and TSH were almost in the same line with no spread.

Next, I will reproduce fig. 4 from the article as a test of the R-script:

Fig. 4 from “Principles of Endocrine Regulation: ..”

The FT4 production rate parameter k32, is the proportionality constant positive feedforward of TSH onto FT4 (downstream, activating)

FT3 – 2.55
FT4 – 0.50
TSH – 1.28
TRH – 0.62
FT3 – 2.86
FT4 – 0.48
TSH -1.18
TRH – 0.59
FT3 right skewed?
FT3 left skewed? (LT3 ~ k43)