setResponse {Xeva} | R Documentation

## set PDX response

### Description

`setResponse` sets response of all PDXs in an Xeva object.

### Usage

    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)

### Arguments

`object` | Xeva object.
`res.measure` | Response measure, multiple measures are allowed. See `Details` below
`min.time` | Minimum number of days for mRECIST computation. Default 10 days.
`treatment.only` | Default `FALSE`. If `TRUE`, give data for non-zero dose periods only (if dose data are available).
`max.time` | Maximum number of days to consider for analysis. Data byond this will be discarded. Default `NULL` takes full data.
`vol.normal` | If TRUE it will will normalize the volume. Default `FALSE`
`impute.value` | Default `FALSE`. If `TRUE`, impute the missing volume values.
`concurrent.time` | Default `FALSE`. If `TRUE`, cut the batch data such that control and treatment will end at same time point.
`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 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

### Value

Returns updated Xeva object.

### Examples

    data(brca)
    brca  <- setResponse(brca, res.measure = c("mRECIST"), verbose=FALSE)

[Package Xeva version 1.10.0 Index]