Learn R Programming

synergyfinder (version 0.1)

PlotSynergy: Drug interaction landscape

Description

A function to visualize the synergy scores for drug combinations as 2D or 3D interaction landscape over the dose-response matrix.

Usage

PlotSynergy(data, type = "2D", save.file = FALSE)

Arguments

data
a list object generated by function CalculateSynergy
type
a parameter to specify the type of the interaction landscape, 2D, 3D or both. By default, 2D interaction landscape is returned.
save.file
a logical parameter to specify if the interaction landscape is saved as a pdf file in the current working directory or returned as an R object. By default, it is FALSE.

Value

a pdf file or the interaction landscapes are only displayed depending on the save.file parameter.

Examples

Run this code
data("mathews_screening_data")
data <- ReshapeData(mathews_screening_data)
scores <- CalculateSynergy(data)
PlotSynergy(scores, "all")

Run the code above in your browser using DataLab