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.
get_observed_synergies(file, drug.combinations.tested = NULL)
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. |
a character vector with elements the names of the drug combinations that were found as synergistic
observed.synergies.file = system.file("extdata", "observed_synergies", package = "emba", mustWork = TRUE) observed.synergies = get_observed_synergies(observed.synergies.file)