Description Usage Arguments Details Value Examples
View source: R/summ_response_Function.R
This function summarizes the drug response information of PDXs.
1 2 3 | summarizeResponse(object, response.measure = "mRECIST",
model.id = NULL, batch.id = NULL, group.by = "patient.id",
summary.stat = c(";", "mean", "median"), tissue = NULL)
|
object |
The |
response.measure |
|
model.id |
The |
batch.id |
A |
group.by |
Default |
summary.stat |
Dictates which summary method to use if multiple IDs are found. |
tissue |
Name of the tissue. Default |
There can be two types of drug response measure.
Per model response: One response value for each Model, eg. mRECIST_recomputed
for each model.
Per batch response: One response value for each Batch, eg. angle
between treatment and control groups.
For the per model response
output, columns will be model.id
(or group.by
).
For the per batch response
output, the group.by
value can be "batch.name"
.
A matrix
with rows as drug names, column as group.by
. Each cell contains response.measure
for the pair.
1 2 | data(brca)
brca.mR <- summarizeResponse(brca, response.measure = "mRECIST", group.by="patient.id")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.