View source: R/response_matrices.R
setResponse | R Documentation |
setResponse
sets response of all PDXs in an Xeva object.
setResponse(
object,
res.measure = c("mRECIST", "slope", "AUC", "angle", "abc", "TGI", "lmm"),
min.time = 10,
treatment.only = FALSE,
max.time = NULL,
vol.normal = FALSE,
impute.value = TRUE,
concurrent.time = TRUE,
log.volume = FALSE,
verbose = TRUE
)
object |
Xeva object. |
res.measure |
Response measure, multiple measures are allowed. See |
min.time |
Minimum number of days for mRECIST computation. Default 10 days. |
treatment.only |
Default |
max.time |
Maximum number of days to consider for analysis. Data byond this will be discarded. Default |
vol.normal |
If TRUE it will will normalize the volume. Default |
impute.value |
Default |
concurrent.time |
Default |
log.volume |
If TRUE log of the volume will be used for response calculation. Default |
verbose |
Default |
At present fellowing response measure are implemented
mRECIST Computes mRECIST for indivial PDX model
slope Computes slope of the fitted indivial PDX curve
AUC Computes area under a PDX curve for indivial PDX model
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 updated Xeva object.
data(brca)
brca <- setResponse(brca, res.measure = c("mRECIST"), verbose=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.