bdChemo | R Documentation |
Generate posterior estimations (mean and credible intervals) of dose-specific cell birth and death rates, and dose-response curve summary statistics GI_{50}
, TGI
and LC_{50}
.
bdChemo(z, x0, xt, x0c, xtc, bk, curve.plot, sample.return,
N = 5e6, sa2l = .5, sa2m = 1, at = 10, bt = 1, al = 25, bl = 6,
ql = .025, qu = .975)
z |
compound concentrations (in |
x0 |
initial cell population sizes corresponding to concentrations in z; a vector (same length as z) |
xt |
cell population sizes at follow-up time corresponding to concentrations in z; a vector (same length as z) |
x0c |
control group (without compound treatment) initial cell population size; a scaler (if there are replicates, take average); used only for computing GI50 |
xtc |
control group (without compound treatment) cell population size at follow-up time; a scaler (if there are replicates, take average); used only for computing GI50 |
bk |
background noise measurements; a vector |
curve.plot |
whether to produce cell growth, birth and death rates plots |
sample.return |
whether posterior samples of |
N |
number of iterations; |
sa2l |
prior normal distribution variance for |
sa2m |
prior normal distribution variance for |
at |
prior inverse-gamma distribution shape parameter for |
bt |
prior inverse-gamma distribution rate parameter for |
al |
prior gamma distribution shape parameter for |
bl |
prior gamma distribution rate parameter for |
ql |
lower bound of credible interval intended to output |
qu |
upper bound of credible interval intended to output |
A list with the following elements
znew |
points where growth rates (means of Kendall Processes), birth and death rates are estimated |
lambdas |
posterior means and credible intervals of birth rate |
mus |
posterior means and credible intervals of death rate |
kmean |
posterior means and credible intervals of growth rate (Kendal Process mean) |
summary |
posterior means and credible intervals of |
post.lambda |
posterior samples of |
post.mu |
posterior samples of |
If "curve.plot" is T, also return plots of cell growth, birth and death estimations as shown in the main manuscript (curves and shades for mean and credible intervals, respectively)
Yiyi Liu
Liu Y. and Crawford F., Estimating dose-specific cell division and apoptosis rates from chemo-sensitivity experiments, submitted.
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
data(example)
bd.example = bdChemo(example$z, example$x0, example$xt,
example$x0c, example$xtc, example$bk, curve.plot = TRUE,
sample.return = FALSE, N = 1e5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.