plotmRECIST: To plot mRECIST values

Description Usage Arguments Value Examples

View source: R/plot_mRECIST.R

Description

plotmRECIST plots the mRECIST matrix obtained from summarizeResponse.

Usage

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

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

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