emba (version 0.1.1)

get_observed_synergies: Load the observed synergies data

Description

Use this function to read a file that has the observed synergies data and output it to a character vector. If drug.combinations.tested is NULL (the default), no data validation is done, otherwise we check that the observed synergies are indeed a subset of the tested drug combinations.

Usage

get_observed_synergies(file, drug.combinations.tested = NULL)

Arguments

file

string. The name of the file, can be a full path. See example below for the format of an observed synergies file.

drug.combinations.tested

a character vector with drug combinations as elements. Default value: NULL.

Value

a character vector with elements the names of the drug combinations that were found as synergistic

Examples

Run this code
# NOT RUN {
observed.synergies.file = system.file("extdata", "observed_synergies",
  package = "emba", mustWork = TRUE)
observed.synergies = get_observed_synergies(observed.synergies.file)

# }

Run the code above in your browser using DataLab