View source: R/plot_sensitivity_synergy.R
PlotSensitivitySynergy | R Documentation |
This function will generate a scatter plot for all the combinations in the input data. The x-axis is the Combination Sensitive score (CSS).
PlotSensitivitySynergy( data, plot_synergy, point_size = 1, point_color = "#2D72AD", show_labels = FALSE, point_label_color = "#2D72AD", label_size = 10, dynamic = FALSE, plot_title = NULL, axis_line = FALSE, text_size_scale = 1 )
data |
A list object has been processed by functions:
|
plot_synergy |
A character value. It indicates the synergy score for visualization. The available values are: "ZIP", "HSA", Bliss", "Leowe". |
point_size |
A numeric value. It indicates the size of points. The unit is "mm" |
point_color |
An R color value. It indicates the color for the points. |
show_labels |
A logic value. It indicates whether to show the labels along with points or not. |
point_label_color |
An R color value. It indicates the color for the label of data points. |
label_size |
A numeric value. It controls the size of the labels in "pt" |
dynamic |
A logical value. If it is |
plot_title |
A character value. It specifies the plot title. If it is
|
axis_line |
A logical value. Whether to show the axis lines and ticks. |
text_size_scale |
A numeric value. It is used to control the size of text for axis in the plot. All the text size will multiply by this scale factor. |
A ggplot object, while dynamic = FALSE
. A plotly object,
while dynamic = TRUE
.
Shuyu Zheng shuyu.zheng@helsinki.fi
Jing Tang jing.tang@helsinki.fi
data("mathews_screening_data") data <- ReshapeData(mathews_screening_data) data <- CalculateSynergy(data, method = c("ZIP")) data <- CalculateSensitivity(data) PlotSensitivitySynergy(data, plot_synergy = "ZIP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.