plotmRECIST | R Documentation |
plotmRECIST
plots the mRECIST matrix obtained from summarizeResponse
.
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
)
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 |
mRECIST plot.
data(brca)
brca.mr <- summarizeResponse(brca, response.measure = "mRECIST", group.by="patient.id")
plotmRECIST(as.matrix(brca.mr), control.name = "untreated")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.