Description Usage Arguments Value See Also Examples
kinsim generates a sensorgram data according to the input parameters, kon, koff, rmax, concs, t2, time and the chosen model.
1 |
par |
A list of parametes, including kon, koff, rmax, concs, t2, time |
model |
The binding model, "simple1to1" or dimerization model : "dimer" |
noise |
The noise level added to the simulated data |
kinsim returns an data frame. The first column of the data frame is "Time", which is the same the input variable time, and it is followed by the calculated responses corresponding to each concentration of the concs variable
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Simulation ----------------------------------------------------------
# Prepare the parameters for simulation
par = list(kon = 2e2,
koff = 1e-2,
rmax = 1,
concs = 1e-5 * (2^(0:5)),
time = seq(0, 300, length.out = 1501),
t2 = 150)
# Simulating
model = "simple1to1"
xySimulated <- kinsim(par = par, model = model, noise = 0.01)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.