get_direction_cols
gets the names of the columns with the
effect sizes for each DA method. The output is suitable for
enrichment analyses with benchdamic.
get_direction_cols(x, conditions_col, conditions)
Output of run_DA
.
Character string indicating the name of the column containing the conditions of the samples in sample_metadata/colData.
A named character vector. The names must be
"condB" and "condA". condB indicates the reference/numerator/control
and condA indicates the target/denominator/treatment. For example:
c(condB = 'control', condA = 'treatment')
A named vector ready to be used with the
createEnrichment
and
createPositives
functions.