This helper function identifies pairs of (set, subset) for each synergy (implicitly given through the synergy.subset.stats object) where each respective subset misses just one synergy from the larger set.

get_synergy_comparison_sets(synergy.subset.stats)

Arguments

synergy.subset.stats

integer vector with values the amount of models that predicted each synergy subset, defined as a comma-separated string of drug combinations in the names attribute of the vector. It can be the result of using the function get_synergy_subset_stats.

Value

data.frame object with 3 columns. For each row, the 1st column defines a single synergy of interest (e.g. drug combination "A-B"), the 2nd a synergy set that includes the single one (e.g. the set "F-G,A-B,C-D") and the 3rd the synergy subset of the set that does not include the single synergy of the first column (e.g. "F-G,C-D").