fit_binding_model: Fit a binding model equation to the experimental binding data

Description Usage Arguments Value

View source: R/fit_binding_model.R

Description

This function fits a binding model equation (hyperbolic model, Hill model, or quadratic model) to experimental binding data.

Usage

1
2
fit_binding_model(data, binding_model, probe_concentration = NULL,
  output_directory = NULL)

Arguments

data

A dataframe containing the binding signal. It must contain at least two columns: concentration (the ligand concentration) and signal (the observed binding signal). The output of the fret_correct_signal and fp_use_signal functions can be used directly as input here.

binding_model

A binding model equation to fit to the experimental data. Possible values are "hyperbolic", "hill" or "quadratic".

probe_concentration

The fixed concentration of probe molecule (required to use the quadratic binding model, ignored by other models).

output_directory

An optional directory name where to write fit results. This directory will be created if it does not already exist.

Value

A named list where each element is named after the corresponding experiment and holds an nls object containing the results of the fit. Only succesful fits will be returned. This list can be directly used as input for make_figure.


Guilz/rfret documentation built on Oct. 18, 2021, 2:14 p.m.