View source: R/response_matrices.R
response | R Documentation |
response
Computes the drug response of an individual PDX model or batch.
response(
object,
model.id = NULL,
batch = NULL,
res.measure = c("mRECIST", "slope", "AUC", "angle", "abc", "TGI", "lmm"),
treatment.only = FALSE,
max.time = NULL,
impute.value = TRUE,
min.time = 10,
concurrent.time = TRUE,
vol.normal = FALSE,
log.volume = FALSE,
verbose = TRUE
)
object |
Xeva object. |
model.id |
|
batch |
|
res.measure |
Drug response measure. See |
treatment.only |
Default |
max.time |
Maximum time for data. |
impute.value |
Default |
min.time |
Default 10 days. Used for mRECIST computation. |
concurrent.time |
Default |
vol.normal |
If TRUE it will normalize the volume. Default |
log.volume |
If TRUE log of the volume will be used for response calculation. Default |
verbose |
Default |
At present the following response measures are implemented
mRECIST Computes mRECIST for individual PDX models
slope Computes slope of the fitted individual PDX curves
AUC Computes area under a PDX curve for individual PDX models
angle Computes angle between treatment and control PDX curves
abc Computes area between the treatment and control PDX curves
TGI Computes tumor growth inhibition using treatment and control PDX curves
lmm Computes linear mixed model (lmm) statistics for a PDX batch
Returns model or batch drug response object.
data(brca)
response(brca, model.id="X.1004.BG98", res.measure="mRECIST")
response(brca, batch="X-6047.paclitaxel", res.measure="angle")
ed <- list(batch.name="myBatch", treatment=c("X.6047.LJ16","X.6047.LJ16.trab"),
control=c("X.6047.uned"))
response(brca, batch=ed, res.measure="angle")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.