PlotDoseResponse {synergyfinder} | R Documentation |
A function to visualize the drug combination dose-response data
PlotDoseResponse( data, adjusted = TRUE, pair.index = NULL, color.low.response = "green", color.point = "red", color.high.response = "red", color.conc = "red", save.file = FALSE, file.type = "pdf", file.name = NULL, width = 12, height = 6, ... )
data |
a list object generated by function |
adjusted |
a logical value. If it is |
pair.index |
a parameter to specify which drug combination if there are many drug combinations in the data. By default, it is NULL so that the visualization of all the drug combinations in the data is returned. |
color.low.response |
a charactor in R color format. It indicates the color for the response lower than 0. Default setting is "green". |
color.point |
a charactor in R color format. It indicates the color for the data point in the plot. Default setting is "red". |
color.high.response |
a charactor in R color format. It indicates the color for the response higher than 0. Default setting is "red". |
color.conc |
a charactor in R color format. It indicates the color for the concentrations label for axises. Default setting is "red". |
save.file |
a parameter to specify if the visualization results are saved as pdf files in current working directory or not. If it is FALSE, the results are returned as a list of the plots. It is FALSE by default. |
file.type |
a character. It indicates the format of files you want to save as. Default is "pdf". Available values are "jpeg", "bmp", "png", "tiff", "pdf", "svg". |
file.name |
a character vector. It indicates the file names, if user chose to save the plot to local directory.If it is not defined by user, a default name will be assigned. |
width |
a numeric value. It indicates the width of saved file. |
height |
a numeric value. It indicates the height of saved file. |
... |
further graphical parameters from |
NULL. The plot will be saved into a local file if
save.file = TRUE
. If save.file = FALSE
, the plot will be
printed in default graphic device.
Liye He liye.he@helsinki.fi,
Shuyu Zheng shuyu.zheng@helsinki.fi
data("mathews_screening_data") data <- ReshapeData(mathews_screening_data) PlotDoseResponse(data)