Ensures required config keys (e.g. thresholds and db) exist in the chosen environment before running pipelines.
Usage
validate_config(
required = c("db", "ref_genome", "threshold_expr", "threshold_fp_score",
"threshold_fp_tf_corr_r", "link_window_bp", "threshold_rna_gene_corr_r",
"threshold_fp_gene_corr_r"),
numeric_required = c("threshold_expr", "threshold_fp_score", "threshold_fp_tf_corr_r",
"link_window_bp", "threshold_rna_gene_corr_r", "threshold_fp_gene_corr_r"),
env = .craftgrn_state
)