Description Usage Arguments Value References Examples
Fits a viscoelastic exponential decay in a Force-Relaxation or Creep experiments as described in Nanotechnology 2010 (see references).
1 2 |
afmdata |
An object of |
model |
Type of model to be fitted. Could be either "power" for a power law model or "exp" for an exponential decay model. |
nexp |
Number of expontials in the Prony series to be fitted if |
tmax |
Maximum time considered in the relaxation curve. It defaults to |
type |
Type of the experiment. Can be either "CH" (Constant Height) for a
force-relaxation experiment or "CF" (Constant Force) for a creep experiment. Default
is |
plt |
Logical. If TRUE (default) then a plot of the pause segment with the overlay of the fit is shown. |
... |
Options passed to the |
An afmdata
class variable which will consist on the original input
afmdata
variable plus a new list named RelaxFit
with the following
fields:
model
: The model used in the fit.
relaxModel
: A nls object returned from nlsM()
function.
relaxFit
: The values predicted by the fit, returned from the
predict()
function.
Susana Moreno-Flores, Rafael Benitez, Maria dM Vivanco and Jose Luis Toca-Herrera (2010). "Stress relaxation and creep on living cells with the atomic force microscope: a means to calculate elastic moduli and viscosities of cell components". Nanotechnology, 21 (44), pp. 445101.
1 2 3 4 5 6 7 8 | data <- afmReadJPK("force-save-JPK-3h.txt.gz", path = path.package("afmToolkit"))
width <- 20
mul1 <- 1
mul2 <- 10
data <- afmContactPoint(data, width = width, mul1 = mul1, mul2 = mul2)
data <- afmDetachPoint(data, width = width, mul1 = mul1, mul2 = mul2)
data <- afmBaselineCorrection(data)
data <- afmRelax(data, model = "exp", nexp = 2, type = "CH")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.