PlotSynergy: Drug interaction landscape

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
2
3
PlotSynergy(data, type = "2D", save.file = FALSE, len = 3,
  pair.index = NULL, legend.start = NULL, legend.end = NULL,
  row.range = NULL, col.range = NULL)

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.

len

a parameter to specify how many values need to be predicted between two concentrations

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 synergy score visualization of all the drug combinations in the data is returned.

legend.start

a parameter to specify the starting point of the legend. By defualt, it is NULL so the legend starting point is fixed by the data automatically.

legend.end

a parameter to specify the ending point of the legend. By defualt, it is NULL so the legend ending point is fixed by the data automatically.

row.range

a parameter to specify the starting and ending concentration of the drug on y-axis. Use e.g., c(1, 3) to specify that only from 1st to 3rd concentrations of the drug on y-axis are used. By default, it is NULl so all the concentrations are used.

col.range

a parameter to specify the starting and ending concentration of the drug on x-axis. Use e.g., c(1, 3) to specify that only from 1st to 3rd concentrations of the drug on x-axis are used. By default, it is NULl so all the concentrations are used.

Value

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

Author(s)

Liye He liye.he@helsinki.fi

Examples

1
2
3
4
data("mathews_screening_data")
data <- ReshapeData(mathews_screening_data)
scores <- CalculateSynergy(data)
PlotSynergy(scores, "2D")

google/synergyfinderengineered documentation built on May 16, 2019, 2:31 a.m.