Description Usage Arguments Value Examples
plot protein degration/synthesis curve with origin data point and fitted curve
1 2 3 |
x |
The data point, ratio, if |
t |
time points (hours) |
tcc |
doubling time of cell lines |
A |
model parameter A (amplitude), see details |
B |
model parameter B (offset), see details. |
k |
model parameter kd (degradation constant) or sd (synthesis constant), see details. |
add |
if the plot should be added on top of another plot |
col |
The color of line |
lineOnly |
logical, whether only draw the fitted line, ie. the input data point is ignored |
curve |
which curve want to draw, should be either "degradation" or "synthesis" |
pch |
passed to |
lty |
passed to |
ylim |
passed to |
err.x |
draw error bar |
err.y |
draw error bar |
err.lwd |
the line width of error bars |
main |
the main title of plot |
no value to be returned
1 2 3 4 5 6 7 | times <- 2^(0:6)
drat <- degCurve(A = 1, B = 0, kd = 0.05, tcc = Inf, times)
drat <- drat + rnorm(length(times), sd = 0.2)
plot(times, drat)
plotCurve(drat, t = times, tcc = Inf, A = 1, B = 0, k = 0.05, add=FALSE, col="red",
lineOnly = FALSE, curve = "degradation", ylim = NULL,
err.x = c(11, 20), err.y = 0.5, main = "toy curve fitting")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.