Models#
A model is chosen by name when fitting, for example bc.fit(data, "ic50").
This page lists the models and what each needs. The equations and assumptions
are in the theory section.
Available models#
Model |
Experiment |
x axis |
Required fixed values |
Fitted parameters |
|---|---|---|---|---|
|
Any inhibition dose-response |
Inhibitor concentration |
— |
|
|
Direct binding |
Receptor, taken as free |
— |
|
|
Direct binding |
Total receptor |
|
|
|
Direct binding, nonspecific tracer binding |
Total receptor |
|
|
|
Complete competition |
Total competitor |
|
|
|
Complete competition, nonspecific competitor binding |
Total competitor |
|
|
|
Incomplete competition (ternary complex) |
Total competitor |
|
|
|
Incomplete competition, nonspecific competitor binding |
Total competitor |
|
|
The required fixed values are assay constants: total
receptor RT, total tracer LsT, the tracer’s dissociation constant Kds,
the dissociation constant Kd3 of tracer from the competitor-bound receptor,
and the nonspecific-binding factors Ns and N. They must be passed in
fit(..., fixed={...}), in the same unit as the concentrations. The fitted
parameters can also be fixed when there is a reason to; see
Fitting.
Choosing a model#
IC₅₀ only. If you need a potency that is comparable within one assay, and
do not know the receptor and tracer concentrations, fit ic50. An IC₅₀ depends
on the assay conditions, so it is not directly comparable between assays. See
the logistic model.
Tracer affinity. To measure the \(K_d\) of a labeled tracer, titrate receptor into a fixed concentration of tracer and fit a direct-binding model:
dir_simplewhen the tracer concentration is well below its \(K_d\) (\([L_T^*] \ll K_d^*\)). The model then needs no assay constants.dir_specificotherwise. It accounts for receptor bound by tracer and needsLsT.dir_totalwhen part of the tracer also binds nonspecifically, with a known factorNs.
Competitor affinity. To measure the \(K_d\) of an unlabeled compound, titrate
it into fixed receptor and tracer, and fit a competitive model with RT, LsT
and Kds from your assay. Kds usually comes from a direct-binding
experiment with the same tracer.
comp_3st_specificwhen the competitor displaces the tracer completely.comp_4st_specificwhen receptor can bind tracer and competitor at the same time, so that the tracer is not fully displaced at high competitor concentration. It also needsKd3, which can be measured by direct binding of the tracer to receptor saturated with competitor.The
_totalvariants add nonspecific binding of the competitor with a known factorN.
Converting an existing IC₅₀. If an IC₅₀ from a competitive-binding assay is already available, it can be converted to a \(K_d\) without refitting; see Converting an IC₅₀ to Kd.
The equilibrium-binding theory describes the assumptions of each binding model.
Model objects#
Each model name corresponds to a model object, returned by
get_model(). Its parameters list gives the name of each
parameter and whether it must be fixed:
import bindcurve as bc
model = bc.get_model("comp_3st_specific")
for p in model.parameters:
print(p.name, "fixed" if p.fixed else "fitted")
model.evaluate(x, **params) computes the response at concentrations x for
given parameter values, which is useful for simulating a planned experiment.
For binding models, model.species(x, **params) returns the equilibrium
concentrations of all species, such as free receptor R and the bound
fraction Fbs:
model = bc.get_model("dir_specific")
species = model.species(
[1.0, 10.0, 100.0], ymin=0.0, ymax=1.0, LsT=10.0, Kds=15.0
)
species["Fbs"]