Re: [R] one-site competition data // curve fitting

From: Joerg van den Hoff <>
Date: Tue, 08 Jul 2008 13:08:01 +0200

On Mon, Jul 07, 2008 at 11:15:57AM +0200, Thiemo Schreiber wrote:
> Hello everyone,
> I have biological data from a competition experiment where a free ligand is titrated against the binding of a protein.
> Now, I would like to fit a standard on-site binding curve to this data in order to obtain the IC50 and Kd values.
> Unfortunately I have not been able to find a package/function which allows such a fitting and calculates the results.
> Does anyone know if there is a suitable package available and which function to apply?
> Thanks a lot.
> Cheers
> Thiemo Schreiber
> [[alternative HTML version deleted]]

this is probably what you are looking for:


x = vector of free ligand concenctrations y = vector of correspondng spec. protein bindings

be defined in the R workspace.

than use

res <- nls( y ~ (x * Bmax) / (x + Kd), start = list(Bmax=, Kd=))

(providing some sensible start values for the free parameters , of course)

cf. `nls' manpage for details mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 08 Jul 2008 - 11:11:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Jul 2008 - 14:31:12 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive