
Map the deprecated unlog_foldchanges/--unlog_foldchanges argument onto fold_change_scale, warning if it was used
Source: R/foldchange-scale.R
resolve_deprecated_unlog_foldchanges.RdShared by read_differential, compile_contrast_data,
validate_inputs and the make_app_from_files.R,
differential_plots.R and validate_fom_components.R scripts
under exec/, so the shim only needs to be written once.
Examples
resolve_deprecated_unlog_foldchanges("auto", NULL)
#> [1] "auto"
resolve_deprecated_unlog_foldchanges("auto", TRUE)
#> Warning: `unlog_foldchanges`/`--unlog_foldchanges` is deprecated and will be removed in a future release; use `fold_change_scale`/`--fold_change_scale` = "log2" (to unlog) or "linear" (to leave values as-is) instead.
#> [1] "log2"