| caBiExp {CalciOMatic} | R Documentation |
The function caBiExp returns a vector of intracellular
calcium concentration ([Ca^2+]) vs time values t. A dCa jump
occurs at tOn, followed by a biexponential return to baseline
value Ca0. The fast time constant (tau) has a weight
fact (between 0 and 1), the slow time constant
(tau+dtau) has a weight 1-fact.
caBiExp(t = 1, tOn = 1, Ca0 = 0.05, dCa = 0.1, tau = 3, fact = 1, dtau = 2)
t |
a vector of time values at which [Ca^2+] is computed (in s) |
tOn |
the time of the [Ca^2+] jump (in s) |
Ca0 |
the baseline [Ca^2+] (in muM) |
dCa |
the [Ca^2+] jump occuring at tOn (in muM) |
tau |
the fast time constant of the [Ca^2+] biexponential return to baseline (in s) |
fact |
the relative weight of the fast time constant of the
biexponential decay (a real number between 0 and 1). The relative
weight of the slow time constant is given by 1-fact |
dtau |
added to tau, defines the slow time constant of the
[Ca^2+] biexponential return to baseline (in s) |
A vector containing the [Ca^2+] values. The vector has the two following attributes:
Time |
a copy of argument t |
tOn |
a copy of argument tOn |
Sebastien Joucla sebastien.joucla@parisdescartes.fr
## Simulate a biexponential calcium transient
Ca <- caBiExp(t = seq(0,20,0.1),
tOn = 2,
Ca0 = 0.25,
dCa = 1,
tau = 2,
fact = 0.7,
dtau = 8)
## Plot the calcium transient vs. time
plot(attr(Ca,"Time"), Ca, type="l")
## Add a vertical dashed line at tOn
abline(v = attr(Ca,"tOn"), lty = 2)