plotmRECIST {Xeva} | R Documentation

## To plot mRECIST values

### Description

`plotmRECIST` plots the mRECIST matrix obtained from `summarizeResponse`.

### Usage

    plotmRECIST(mat, control.name = NA, control.col = "#238b45",
      drug.col = "black", colPalette = NULL, name = "Drug & Models",
      sort = TRUE, row_fontsize = 12, col_fontsize = 12,
      draw_plot = TRUE)

### Arguments

`mat` | The mRECIST matrix where rows are drugs and columns are patients.
`control.name` | Name of the control.
`control.col` | Color of the control.
`drug.col` | Color of the drug names.
`colPalette` | Color palette for mRECIST values.
`name` | Title of the plot.
`sort` | If matrix should be sorted before plotting.
`row_fontsize` | Size of the row name font.
`col_fontsize` | Size of the column name font.
`draw_plot` | Default `TRUE` will plot the figure. If `FALSE`, return an object.

### Value

mRECIST plot.

### Examples

    data(brca)
    brca.mr <- summarizeResponse(brca, response.measure = "mRECIST", group.by="patient.id")
    plotmRECIST(brca.mr, control.name = "untreated")

[Package Xeva version 1.10.0 Index]