Description Usage Arguments Value Author(s) Examples
View source: R/plot_sensitive_synergy.R
This function will generate a scatter plot for all the combinations in the input data. The x-axis is the Combination Sensitive score (CSS).
1 2 3 4 5 6 7 8 9 10 11 | PlotSensitiveSynergy(
data,
plot_synergy,
point_color = "#2D72AD",
point_size = 1,
point_label_color = "#2D72AD",
show_labels = FALSE,
plot_title = NULL,
dynamic = FALSE,
label_size = 10
)
|
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_color |
An R color value. It indicates the color for the points. |
point_size |
A numeric value. It indicates the size of points. The unit is "mm" |
point_label_color |
An R color value. It indicates the color for the label of data points. |
show_labels |
A logic value. It indicates whether to show the labels along with points or not. |
plot_title |
A character value. It specifies the plot title. If it is
|
dynamic |
A logical value. If it is |
label_size |
A numeric value. It controls the size of the labels in "pt" |
A ggplot object, while dynamic = FALSE
. A plotly object,
while dynamic = TRUE
.
Shuyu Zheng shuyu.zheng@helsinki.fi
Jing Tang jing.tang@helsinki.fi
1 2 3 4 5 | data("mathews_screening_data")
data <- ReshapeData(mathews_screening_data)
data <- CalculateSynergy(data, method = c("ZIP"))
data <- CalculateSensitivity(data)
PlotSensitiveSynergy(data, plot_synergy = "ZIP")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.