
Telling inhibition types apart
Source:vignettes/articles/r/example-inhibition.Rmd
example-inhibition.RmdAn inhibitor can lower an enzyme’s rate in different ways, and the
inhibition models describe the common ones. This example fits all four
to one experiment, rates at several substrate and inhibitor
concentrations, and uses AIC to choose between them. It uses the models
"CI" (competitive), "UCI" (uncompetitive),
"NCI" (non-competitive) and "MI" (mixed).
The four models
Each model has a third variable, the inhibitor concentration
I, and one or two inhibition constants:
MODEL_PARAMETERS[c("CI", "UCI", "NCI", "MI")]
#> $CI
#> [1] "Km" "Vmax" "Ki"
#>
#> $UCI
#> [1] "Km" "Vmax" "Ki"
#>
#> $NCI
#> [1] "Km" "Vmax" "Ki"
#>
#> $MI
#> [1] "Km" "Vmax" "Kic" "Kiu"Mixed inhibition is the general case, with a competitive constant
Kic and an uncompetitive constant Kiu. The
other three are special cases of it: competitive inhibition is mixed
inhibition with no uncompetitive part (Kiu infinitely
large), uncompetitive is the reverse, and non-competitive inhibition has
Kic and Kiu equal. The model gallery has the equations.
Read the data
The example file has rates at 6 substrate concentrations and 4 inhibitor concentrations, in duplicate. The substrate is in mM, the inhibitor in µM and the rate in µM/min:
path <- system.file("extdata", "inhibition.csv", package = "enzKinet2")
raw <- read.csv(path)
data <- data.frame(A = raw$substrate_mM, I = raw$inhibitor_uM, V = raw$rate_uM_min)
head(data)
#> A I V
#> 1 0.2 0 2.38
#> 2 0.2 0 2.54
#> 3 0.5 0 4.36
#> 4 0.5 0 4.75
#> 5 1.0 0 7.06
#> 6 1.0 0 6.56
table(data$I)
#>
#> 0 10 25 50
#> 12 12 12 12
make_plot("MI", data.df = data, x.units = "mM", y.units = "µM/min",
legend.label = "Inhibitor (µM)")
The fitted inhibition constants will be in µM, the inhibitor’s units, while Km stays in mM.
Fit all four models
Each model needs starting values for its own parameters:
starts <- list(
CI = list(Km = 1, Vmax = 10, Ki = 10),
UCI = list(Km = 1, Vmax = 10, Ki = 10),
NCI = list(Km = 1, Vmax = 10, Ki = 10),
MI = list(Km = 1, Vmax = 10, Kic = 10, Kiu = 10)
)
fits <- lapply(names(starts), function(m) {
fit_model(m, data, start.params = starts[[m]], get.stats = TRUE)
})
names(fits) <- names(starts)Put the estimates and the information criteria side by side:
summary_table <- do.call(rbind, lapply(names(fits), function(m) {
p <- fits[[m]]$fitted.params
s <- fits[[m]]$statistics
data.frame(model = m, Km = round(p$Km, 3), Vmax = round(p$Vmax, 2),
Ki = if (is.null(p$Ki)) NA else round(p$Ki, 1),
Kic = if (is.null(p$Kic)) NA else round(p$Kic, 1),
Kiu = if (is.null(p$Kiu)) NA else round(p$Kiu, 1),
AIC = round(s$AIC, 1), BIC = round(s$BIC, 1))
}))
summary_table$delta_AIC <- summary_table$AIC - min(summary_table$AIC)
summary_table
#> model Km Vmax Ki Kic Kiu AIC BIC delta_AIC
#> 1 CI 0.557 10.90 7.0 NA NA 99.0 106.5 98.6
#> 2 UCI 1.243 13.46 28.8 NA NA 90.2 97.7 89.8
#> 3 NCI 0.975 12.80 39.0 NA NA 28.7 36.2 28.3
#> 4 MI 0.801 12.21 NA 19.7 53.8 0.4 9.8 0.0Lower AIC and BIC are better, and they favour mixed inhibition by a wide margin. The example data was simulated from mixed inhibition with Km = 0.8 mM, Vmax = 12 µM/min, Kic = 20 µM and Kiu = 60 µM, and the mixed model’s estimates are close to those values. The others fit worse because each one forces a constraint that the data doesn’t follow.
A rule of thumb is that AIC differences under about 2 are weak evidence for either model. With fewer data points, or inhibitor concentrations that don’t reach the inhibition constants, the models can be hard to tell apart, and the simpler one may be the better choice. Always look at the fits as well.
Plot the chosen model
best <- fits$MI$fitted.params
curves <- make_curve("MI", best, x.min = 0, x.max = 8, z.values = c(0, 10, 25, 50))
make_plot("MI", data.df = data, curve.df = curves, x.units = "mM", y.units = "µM/min",
legend.label = "Inhibitor (µM)")
make_residual_plot("MI", best, data, x.units = "mM", y.units = "µM/min",
legend.label = "Inhibitor (µM)")
What each type looks like on a Lineweaver-Burk plot
On a Lineweaver-Burk plot (1/v against 1/a), the intercept on the 1/v axis is 1/Vmax and the slope is Km/Vmax, both as they appear at that inhibitor concentration. Each type of inhibition changes them in its own way:
- Competitive: Vmax is unchanged and the slope increases, so the lines meet on the 1/v axis.
- Uncompetitive: the slope is unchanged, so the lines are parallel.
- Non-competitive: the intercept and slope increase in proportion, so the lines meet on the 1/a axis, at -1/Km.
- Mixed: both change, and the lines meet to the left of the 1/v axis. They meet above the 1/a axis when Kic is smaller than Kiu, as here, and below it when Kic is larger.
These curves show the four patterns, with the same Km and Vmax and inhibitor concentrations of 0, 1 and 2 (in the units of the inhibition constants):
patterns <- list(
CI = list(Km = 1, Vmax = 10, Ki = 1),
UCI = list(Km = 1, Vmax = 10, Ki = 1),
NCI = list(Km = 1, Vmax = 10, Ki = 1),
MI = list(Km = 1, Vmax = 10, Kic = 1, Kiu = 3)
)
for (m in names(patterns)) {
curve <- make_curve(m, patterns[[m]], x.min = 0.5, x.max = 10, z.values = c(0, 1, 2))
print(make_plot(m, curve.df = curve, plot.transformation = "lineweaver",
legend.label = "Inhibitor"))
}



And the example data with the fitted mixed model:
curves <- make_curve("MI", best, x.min = 0.2, x.max = 8, z.values = c(0, 10, 25, 50))
make_plot("MI", data.df = data, curve.df = curves, plot.transformation = "lineweaver",
x.units = "mM", y.units = "µM/min", legend.label = "Inhibitor (µM)")
Linearised plots are good for seeing the pattern, but choose the model by fitting the untransformed data, as above. Plot types explains why.