response: compute PDX response

Description Usage Arguments Details Value Examples

View source: R/response_matrices.R

Description

response Computes the drug response of an individual PDX model or batch.

Usage

1
2
3
4
5
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)

Arguments

object

Xeva object.

model.id

model.id for which the durg response is to be computed.

batch

batch.id or experiment design for which the drug response is to be computed.

res.measure

Drug response measure. See Details below

treatment.only

Default FALSE. If TRUE, give data for non-zero dose periods only (if dose data are available).

max.time

Maximum time for data.

impute.value

Default FALSE. If TRUE, impute the missing values.

min.time

Default 10 days. Used for mRECIST computation.

concurrent.time

Default FALSE. If TRUE, cut the batch data such that control and treatment will end at same time point.

vol.normal

If TRUE it will normalize the volume. Default FALSE.

log.volume

If TRUE log of the volume will be used for response calculation. Default FALSE

verbose

Default TRUE will print information.

Details

At present the following response measures are implemented

Value

Returns model or batch drug response object.

Examples

1
2
3
4
5
6
7
8
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")

Xeva documentation built on Nov. 8, 2020, 5:56 p.m.