Last updated: 2026-11-04

Checks: 5 2

Knit directory: coderepo-local/

This reproducible R Markdown analysis was created with workflowr (version 1.7.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown is untracked by Git. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

The global environment had objects present when the code in the R Markdown file was run. These objects can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment. Use wflow_publish or wflow_build to ensure that the code is always run in an empty environment.

The following objects were defined in the global environment when these results were created:

Name Class Size
across_seed_specs list 7 Kb
across_seed_summary data.frame 4.2 Kb
across_seed_summary_table data.frame 4.2 Kb
alpha_summary data.frame 17.5 Kb
appendix_b_class_counts function 11.9 Kb
APPENDIX_B_FASHR_REMOTE_SHA character 152 bytes
APPENDIX_B_FASHR_VERSION character 112 bytes
assert_scalar_number function 29.8 Kb
at005 data.frame 2.9 Kb
bf_below integer 56 bytes
bf_grid data.frame 195.9 Kb
broad_table data.frame 1.7 Kb
build_appendix_b_datasets function 31.5 Kb
build_comparison_data function 105.6 Kb
build_comparison_plot function 207.7 Kb
c1_contract function 13.1 Kb
c1_fit_from_likelihood function 15.1 Kb
c1_fit_models function 10.7 Kb
c1_gaussian_likelihood function 25.8 Kb
c1_gaussian_setup function 15.7 Kb
c1_grid_long function 65.8 Kb
c1_load_display function 8.2 Kb
c1_load_report function 142.6 Kb
c1_plot_alpha function 33.5 Kb
c1_plot_grid function 21.4 Kb
c1_plot_theme function 11.4 Kb
c1_run_seed function 63.8 Kb
c1_sha function 4 Kb
c1_summary function 129 Kb
c1_validate function 163.8 Kb
c1_write function 3.5 Kb
c1j_contract function 3.8 Kb
c1j_load_display function 48.3 Kb
c1j_load_report function 145.2 Kb
c1j_select_examples function 82.4 Kb
c1j_source_paths function 4 Kb
c1j_summarize function 3.7 Kb
c1j_validate function 132.9 Kb
cache_directory character 240 bytes
cache_validation data.frame 1.9 Kb
capture_warnings function 3.8 Kb
category_labels character 720 bytes
category_order character 304 bytes
chosen integer 96 bytes
compact_table data.frame 1.7 Kb
comparison_experiment character 232 bytes
comparison_summary data.frame 6.5 Kb
conditional_jaccard_range numeric 64 bytes
configuration list 8.9 Kb
cumulative_lfdr_calls function 53.4 Kb
current_input_md5 character 672 bytes
design_summary data.frame 2.5 Kb
design_table data.frame 2.7 Kb
discovery_frequency_summary data.frame 2 Kb
discovery_frequency_summary_table data.frame 2 Kb
discovery_plot_data data.frame 6.3 Kb
display list 41 Kb
evaluate_appendix_b_discoveries function 10.7 Kb
ever_discovered integer 56 bytes
ever_discovered_additional integer 56 bytes
ever_discovered_full integer 56 bytes
example_curves data.frame 41.7 Kb
example_data data.frame 9.8 Kb
example_members data.frame 7.3 Kb
example_observed data.frame 9.2 Kb
expected_alpha numeric 56 bytes
expected_cache_id character 152 bytes
expected_comparison_ids character 400 bytes
expected_fashr_provenance list 824 bytes
expected_full_discovered_genes integer 56 bytes
expected_full_discovered_pairs integer 56 bytes
expected_full_genes integer 56 bytes
expected_full_pi0 numeric 56 bytes
expected_full_units integer 56 bytes
expected_gene_counts integer 480 bytes
expected_grid numeric 464 bytes
expected_pair_counts integer 480 bytes
expected_penalty numeric 56 bytes
expected_seeds integer 448 bytes
expected_selected_units integer 56 bytes
expected_setting_ids character 416 bytes
expected_source_hashes character 712 bytes
expected_source_sizes numeric 360 bytes
experiment character 232 bytes
extract_fash_lfdr function 10 Kb
extract_fash_null_weight function 14.9 Kb
fashr_provenance function 7 Kb
fdr_curves data.frame 18 Kb
find_workflowr_root function 2.9 Kb
fit_appendix_b_models function 22.4 Kb
focused_alpha_curve function 22.3 Kb
format_decimal function 5.6 Kb
format_integer function 5.1 Kb
format_metric_five_number function 15 Kb
format_range function 1.9 Kb
full_data_status logical 24.9 Kb
full_discovered_genes data.frame 83.4 Kb
full_discovery_summary data.frame 1.6 Kb
full_pi0 numeric 56 bytes
full_status logical 24.9 Kb
gene_discovery_frequency data.frame 547.9 Kb
grid_comparisons data.frame 4.9 Kb
grid_results data.frame 296.6 Kb
grid_summary data.frame 28 Kb
labels character 336 bytes
lfdr_agreement_plot_data data.frame 5 Kb
lfdr_mae_range numeric 64 bytes
lfdr_spearman_range numeric 64 bytes
location_curves data.frame 71.9 Kb
location_power list 817.6 Kb
maximum_variant_multiplicity integer 56 bytes
mc_2000_vs_3000 data.frame 4.2 Kb
mc_3000_vs_5000 data.frame 4.2 Kb
mechanism_labels character 528 bytes
method_colors character 784 bytes
method_labels character 864 bytes
method_lines character 792 bytes
method_linetypes character 472 bytes
method_linewidths numeric 360 bytes
method_shapes integer 352 bytes
metric_colors character 728 bytes
metric_five_number function 18.3 Kb
null_curves data.frame 29.2 Kb
null_weight_plot_data data.frame 3 Kb
observations data.frame 4.7 Kb
pair_lfsr data.frame 826.1 Kb
panel_ids character 680 bytes
panel_labels character 544 bytes
peak_curves data.frame 29.4 Kb
peak_difference function 36.5 Kb
peak_labels data.frame 622.4 Kb
peak_power list 317.6 Kb
pi0_difference_range numeric 64 bytes
pi0_range numeric 64 bytes
plot_discovery_robustness function 18.6 Kb
plot_null_weight_stability function 11.4 Kb
plot_paired_lfdr_agreement function 12.8 Kb
plot_seed_12345_lfdr function 7.4 Kb
plot_variants_per_gene_histogram function 7.3 Kb
population data.frame 278.5 Kb
population_summary data.frame 1.9 Kb
population_table data.frame 1.8 Kb
power_curves data.frame 18 Kb
predictions data.frame 33 Kb
project_root character 112 bytes
r3c_assert function 7.1 Kb
r3c_base function 180.2 Kb
r3c_context function 17.9 Kb
r3c_contract function 37.8 Kb
r3c_curves function 146.5 Kb
r3c_direct_payload function 3.9 Kb
r3c_direct_scores function 9.3 Kb
r3c_fit_linear function 11.2 Kb
r3c_linear_scores function 7.6 Kb
r3c_load_report function 336.3 Kb
r3c_load_truth_examples function 688.6 Kb
r3c_location_power function 403.4 Kb
r3c_manifest function 57.7 Kb
r3c_peak_power function 608.2 Kb
r3c_plot_stage1 function 366.7 Kb
r3c_scores_from_fdr function 46.2 Kb
r3c_sha function 14.6 Kb
r3c_summarize function 187.8 Kb
r3c_validate_direct function 197.6 Kb
r3c_validate_inputs function 29.1 Kb
r3c_validate_record function 234.7 Kb
r3c_validate_scores function 59.4 Kb
r3c_write function 4.3 Kb
r3ts10_assert function 7.1 Kb
r3ts10_contract function 46.4 Kb
r3ts10_expected_keys function 2 Kb
r3ts10_format_stage2_table function 32.9 Kb
r3ts10_functional_cfsr_table function 10.8 Kb
r3ts10_load_report function 89.5 Kb
r3ts10_migrate_base_record function 10.5 Kb
r3ts10_plot_stage1 function 47.7 Kb
r3ts10_replicate_names function 3 Kb
r3ts10_require_base_environment function 3.8 Kb
r3ts10_serialized_object_md5 function 4.8 Kb
r3ts10_sha256 function 8.1 Kb
r3ts10_show_table function 11.7 Kb
r3ts10_stage1_alpha_by_seed function 12.9 Kb
r3ts10_stage1_at_alpha function 9.7 Kb
r3ts10_stage2_display_values function 67.9 Kb
r3ts10_summarize function 55 Kb
r3ts10_validate_added_inputs function 27.9 Kb
r3ts10_validate_formal_configuration function 17.3 Kb
r3ts10_validate_record function 38.7 Kb
r3ts10_write_rds function 4.9 Kb
r4_sensitivity_cache_dir character 232 bytes
r5_blue character 112 bytes
r5_green character 112 bytes
r5_orange character 112 bytes
r5_theme theme;ggplot2::theme;gg;S7_object 15.3 Mb
raw_zero integer 56 bytes
read_required_csv function 10.9 Kb
read_required_rds function 8.3 Kb
render_scrollable_table function 45.3 Kb
repeated_variant_assignment_range integer 56 bytes
repeated_variant_assignments integer 448 bytes
report list 175.6 Mb
require_appendix_b_fashr function 6.6 Kb
require_reporting_package function 8.5 Kb
required_lfdr_columns character 776 bytes
required_seed_columns character 2.1 Kb
required_seed_files character 952 bytes
runtime data.frame 1.1 Kb
sampling_runtime_seconds numeric 56 bytes
seed integer 56 bytes
seed_12345_display data.frame 2 Kb
seed_12345_lfdr data.frame 1.7 Mb
seed_12345_plot_data data.frame 1.7 Mb
seed_12345_summary data.frame 4.4 Kb
seed_12345_table data.frame 2 Kb
seed_configurations list 889.1 Kb
seed_directories character 19.6 Kb
seed_index integer 56 bytes
seed_selections list 148 Mb
seed_summary data.frame 19.8 Kb
selected_examples data.frame 2.3 Kb
selection data.frame 1.5 Mb
sha256_file function 39.3 Kb
shared_configuration list 8.4 Kb
stage1_alpha005 data.frame 4 Kb
stage1_summary data.frame 42 Kb
stage1_value function 20.9 Kb
stage2_summary data.frame 4.6 Kb
stored_source_hashes character 712 bytes
stored_source_paths character 712 bytes
stored_source_sizes numeric 360 bytes
summarize_appendix_b_grid_fit function 11.7 Kb
summarize_metric function 36 Kb
summary_table data.frame 6.8 Kb
summary_table_html knitr_kable 8.4 Kb
tab data.frame 1.6 Kb
thinned_discovery_range integer 56 bytes
transient_examples data.frame 1.9 Kb
truth data.frame 83.4 Kb
truth_example_pool data.frame 940.7 Kb
value005 function 17.8 Kb
variant_count_by_gene data.frame 473 Kb
variant_count_quantiles numeric 96 bytes
variant_count_summary data.frame 1.6 Kb
variant_count_summary_table data.frame 1.6 Kb
variant_count_values integer 24.9 Kb
variant_histogram_data data.frame 473 Kb
workflowr_root character 168 bytes

The command set.seed(20251109) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version bfc8f00. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    Rplots.pdf
    Ignored:    analysis/.DS_Store
    Ignored:    analysis/.Rhistory
    Ignored:    code/.DS_Store
    Ignored:    code/.Rhistory
    Ignored:    code/revision_simulations/.DS_Store
    Ignored:    data/appendixB/
    Ignored:    data/dynamic_eQTL_real/
    Ignored:    data/revision_simulations/
    Ignored:    data/toy_example/
    Ignored:    output/dynamic_eQTL_real/
    Ignored:    output/pdf/
    Ignored:    output/playwright/
    Ignored:    output/revision_simulations/
    Ignored:    scripts/

Untracked files:
    Untracked:  analysis/balanced_variant_thinning.rmd
    Untracked:  analysis/enhancer_enrichment.rmd
    Untracked:  analysis/evaluation_grid_mc_sensitivity.rmd
    Untracked:  analysis/functional_testing_simulation.rmd
    Untracked:  analysis/matched_fash_linear_real_data.rmd
    Untracked:  code/revision_simulations/internal/appendix_c1_j1000/
    Untracked:  code/revision_simulations/internal/per_unit_enhancer_enrichment/
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/compare_corshrink_versions.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/diagnose_discordant_calls.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/diagnose_smooth_mismatch.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/extract_perunit_lfdr.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_call_venns.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_class_variograms.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_corshrink_result.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_corshrink_versions.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_cs_vs_diagonal.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_day0_day1_distribution.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_mechanism_summary.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_perunit_variogram.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_strober_concordance.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/plot_three_models.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/prepare_reference_sets.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/prototype_corshrink.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/recover_design_factor.R
    Untracked:  code/revision_simulations/internal/per_unit_expression_correlation/test_corshrink_reimplementation.R
    Untracked:  code/revision_simulations/internal/posterior_interval_coverage/
    Untracked:  code/revision_simulations/internal/r3_stage1_method_comparison/plot_pi0_before_after.py

Unstaged changes:
    Modified:   analysis/about.Rmd
    Modified:   analysis/appendixB.rmd
    Modified:   analysis/dynamic_eQTL_real.rmd
    Deleted:    analysis/dynamic_eQTL_real_cl.rmd
    Deleted:    analysis/dynamic_eQTL_real_full.rmd
    Modified:   analysis/index.Rmd
    Modified:   analysis/license.Rmd
    Modified:   analysis/nonlinear_dynamic_eQTL_real.Rmd
    Deleted:    analysis/nonlinear_dynamic_eQTL_real_cl.Rmd
    Deleted:    analysis/nonlinear_dynamic_eQTL_real_full.rmd
    Deleted:    analysis/revision_balanced_variant_thinning.rmd
    Deleted:    analysis/revision_combined_spiky_genotype_simulation.rmd
    Deleted:    analysis/revision_correlated_error_simulation.rmd
    Deleted:    analysis/revision_enhancer_enrichment.rmd
    Deleted:    analysis/revision_enhancer_enrichment_cl.rmd
    Deleted:    analysis/revision_functional_testing_simulation.rmd
    Deleted:    analysis/revision_genotype_level_simulation.rmd
    Deleted:    analysis/revision_internal_baseline_ld_variant_enrichment.rmd
    Deleted:    analysis/revision_internal_correlated_likelihood_sensitivity.rmd
    Deleted:    analysis/revision_internal_correlated_permutation_discoveries.rmd
    Deleted:    analysis/revision_internal_evaluation_grid_mc_sensitivity.rmd
    Deleted:    analysis/revision_internal_evaluation_grid_mc_sensitivity_middle_4_11.rmd
    Deleted:    analysis/revision_internal_fash_cl_manuscript_impact.rmd
    Deleted:    analysis/revision_internal_fash_cl_variant_enrichment_comparison.rmd
    Deleted:    analysis/revision_internal_fash_discovery_variant_count.rmd
    Deleted:    analysis/revision_internal_fash_knockoff.rmd
    Deleted:    analysis/revision_internal_fash_linear_real_data_ablation.rmd
    Deleted:    analysis/revision_internal_fash_temporal_class_enhancer_enrichment.rmd
    Deleted:    analysis/revision_internal_fashr_correlated_observation_model.rmd
    Deleted:    analysis/revision_internal_mashr_mean_z_null_correlation.rmd
    Deleted:    analysis/revision_internal_matched_fash_linear_real_data.rmd
    Deleted:    analysis/revision_internal_matched_fash_linear_real_data_cl.rmd
    Deleted:    analysis/revision_internal_observational_null_set_pilot.rmd
    Deleted:    analysis/revision_internal_one_variant_per_gene_refit.rmd
    Deleted:    analysis/revision_internal_r1_normality_assumption.rmd
    Deleted:    analysis/revision_internal_r3_full_calibration.rmd
    Deleted:    analysis/revision_internal_r3_ideal_gaussian_measurement.rmd
    Deleted:    analysis/revision_internal_r3_truth_specification_pilot.rmd
    Deleted:    analysis/revision_internal_real_genotype_simulation.rmd
    Deleted:    analysis/revision_internal_roadmap_enhancer_exploration.rmd
    Deleted:    analysis/revision_internal_small_m_clean_working_null_sensitivity.rmd
    Deleted:    analysis/revision_internal_small_m_matched_null_eb_sensitivity.rmd
    Deleted:    analysis/revision_internal_targeted_broad_calibration.rmd
    Deleted:    analysis/revision_internal_temporal_class_roadmap_enrichment.rmd
    Deleted:    analysis/revision_internal_three_likelihood_comparison.rmd
    Deleted:    analysis/revision_internal_twenty_variant_per_gene_refit.rmd
    Deleted:    analysis/revision_internal_variant_annotation_enrichment.rmd
    Deleted:    analysis/revision_internal_zero_intercept_correlation.rmd
    Deleted:    analysis/revision_ld_tagging_switch_example.rmd
    Deleted:    analysis/toy_example.rmd
    Modified:   code/figure_exports/pages/export_revision_balanced_variant_thinning.R
    Modified:   code/figure_exports/pages/export_revision_enhancer_enrichment.R
    Modified:   code/figure_exports/pages/export_revision_functional_testing_simulation.R
    Modified:   code/figure_exports/pages/export_revision_internal_evaluation_grid_mc_sensitivity.R
    Modified:   code/figure_exports/pages/export_revision_internal_matched_fash_linear_real_data.R
    Modified:   code/revision_simulations/r5_one_variant_per_gene/reporting.R

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


There are no past versions. Publish this analysis with wflow_publish() to start tracking its development.


Question

Do dynamic eQTLs discovered by FASH show orthogonal evidence of regulatory function? We tested whether one lead variant per discovered gene preferentially overlaps enhancer annotations from biologically relevant Roadmap epigenomes, using the Roadmap 15-state ChromHMM enhancer definition of states 6, 7 and 12 described by He and Wang (2017).

Section 1 compares the FASH and Strober discovery sets. Section 2 examines the FASH lead variants that neither Strober analysis identified.

The analysis is a descriptive, exploratory check, in six steps:

  1. take the published FASH and Strober discovery sets;
  2. keep one lead variant per discovered gene;
  3. define Roadmap enhancers as ChromHMM states 6, 7 and 12;
  4. record whether each variant overlaps each epigenome’s enhancer annotation;
  5. compare the overlap proportion with the remaining tested variants;
  6. estimate uncertainty with a leave-one-autosome-out jackknife.

Roadmap enhancer annotations

We used the Roadmap Epigenomics 15-state ChromHMM annotations (Roadmap Epigenomics Consortium et al. 2015) and defined enhancers as states 6_EnhG, 7_Enh and 12_EnhBiv (He and Wang 2017). Each of the 745,867 tested variants was assigned an overlap indicator for each of the thirteen epigenomes below.

Group Roadmap ID Roadmap tissue / cell type
iPSC E018 iPS-15b Cells
iPSC E019 iPS-18 Cells
iPSC E020 iPS-20b Cells
iPSC E021 iPS DF 6.9 Cells
iPSC E022 iPS DF 19.11 Cells
Germ layer E011 hESC Derived CD184+ Endoderm Cultured Cells
Germ layer E012 hESC Derived CD56+ Ectoderm Cultured Cells
Germ layer E013 hESC Derived CD56+ Mesoderm Cultured Cells
Cardiac E083 Fetal Heart
Cardiac E095 Left Ventricle
Cardiac E104 Right Atrium
Cardiac E105 Right Ventricle
Vascular E065 Aorta

Section 1: FASH versus Strober

plot_method_comparison()
Figure 1. Enhancer enrichment for the FASH, Strober linear, and Strober quadratic/nonlinear lead-per-gene discovery sets across thirteen Roadmap epigenomes. Points are fold enrichment, bars are pointwise leave-one-autosome-out jackknife 95% intervals, and the dashed line marks no enrichment. One cell falls below the ten-variant overlap floor and is absent: E065 (Strober linear).

Figure 1. Enhancer enrichment for the FASH, Strober linear, and Strober quadratic/nonlinear lead-per-gene discovery sets across thirteen Roadmap epigenomes. Points are fold enrichment, bars are pointwise leave-one-autosome-out jackknife 95% intervals, and the dashed line marks no enrichment. One cell falls below the ten-variant overlap floor and is absent: E065 (Strober linear).

FASH’s 1,169 lead variants show modest enrichment across several of the annotations: 7 of the 13 Roadmap annotations had pointwise jackknife intervals entirely above 1 (E021, E022, E011, E012, E013, E095, E105), spanning 1.25-1.51-fold. Both Strober lead sets point in broadly similar directions, with wider intervals that likely reflect in part their smaller discovery sets (548 and 690 lead variants). The pattern is spread across pluripotent, germ-layer and cardiac annotations, so it supports general regulatory enrichment.

Section 2: FASH-specific discoveries

An rsID is counted as FASH-only if neither Strober analysis identified it, regardless of gene pairing. Lead selection happens first and the exclusion is applied afterwards, leaving 1,029 of FASH’s 1,169 lead variants.

plot_fash_only()
Figure 2. Enhancer enrichment for FASH lead variants at rsIDs that neither Strober analysis identified (blue), against all FASH lead variants (grey). Same annotations, estimator and jackknife as Figure 1.

Figure 2. Enhancer enrichment for FASH lead variants at rsIDs that neither Strober analysis identified (blue), against all FASH lead variants (grey). Same annotations, estimator and jackknife as Figure 1.

The enrichment estimates were similar after excluding rsIDs identified by either Strober analysis: 7 of the 13 annotations had pointwise intervals entirely above 1, spanning 1.24-1.61-fold against 1.25-1.51-fold for the unfiltered lead set. This gives orthogonal support for the regulatory relevance of the additional FASH discoveries.

Methods

Discovery sets and lead variants. FASH uses cumulative lfdr at FDR 0.05 after the BF correction; both Strober analyses use their reported eFDR 0.05, with non_linear_dynamic_eqtls_5_pc.txt labelled quadratic/nonlinear. For each discovered gene we selected its strongest discovered variant — lowest lfdr (FASH) or smallest p-value (Strober) — and then evaluated the resulting unique lead variants, so a duplicated rsID counts once. A variant is FASH-only if neither Strober analysis reported that rsID.

Enhancer annotations. Roadmap Epigenomics 15-state ChromHMM segmentations for the thirteen epigenomes above, with enhancers defined as states 6_EnhG, 7_Enh and 12_EnhBiv (Roadmap Epigenomics Consortium et al. 2015; He and Wang 2017). Results were qualitatively similar using the broader enhancer-related definition (EnhG, Enh, EnhBiv and BivFlnk) implemented in the companion code for Strober et al. (2019) (fold enrichments correlated at 0.98 across the 51 cells estimable under both).

Fold enrichment. The proportion of selected variants overlapping the annotation divided by the same proportion among the remaining tested variants, which excludes the selected set from its own comparator. A pair with fewer than 10 overlapping selected variants is reported as not estimable.

Uncertainty. Uncertainty was assessed using a leave-one-autosome-out jackknife to account approximately for local dependence among variants, yielding pointwise 95% confidence intervals.

Reproducibility

code/revision_simulations/internal/fash_strober_enhancer_comparison/run_r6_roadmap_panel.R builds the annotation indicators and every estimate this page displays, reusing the epigenome panel and segmentation reader from roadmap_enhancer_exploration/ and the estimator from enrichment_api.R:

source(
  "code/revision_simulations/internal/fash_strober_enhancer_comparison/enrichment_api.R"
)
source(
  "code/revision_simulations/internal/roadmap_enhancer_exploration/roadmap_enhancer_exploration_helpers.R"
)

background <- load_background() # tested variants
sets <- load_variant_sets()[c( # lead per gene
  "current_lead", "linear_lead", "quadratic_lead", "current_only_lead"
)]

annotations <- build_enhancer_annotation_matrix( # Roadmap indicators
  background[, c("variant_id", "chromosome", "position")],
  definitions = list(EpiCompare = c("6_EnhG", "7_Enh", "12_EnhBiv"))
)

compute_enrichment( # fold enrichment and
  sets, background, annotations, controls = "background" # chromosome jackknife
)

Rebuilding the inputs and then this page’s cache:

Rscript --vanilla \
  code/revision_simulations/internal/variant_annotation_enrichment/download_variant_annotations.R
Rscript --vanilla \
  code/revision_simulations/internal/variant_annotation_enrichment/run_variant_annotation_enrichment.R
Rscript --vanilla \
  code/revision_simulations/internal/fash_strober_enhancer_comparison/run_fash_strober_enhancer_comparison.R
Rscript --vanilla \
  code/revision_simulations/internal/roadmap_enhancer_exploration/run_roadmap_enhancer_exploration.R
Rscript --vanilla \
  code/revision_simulations/internal/fash_strober_enhancer_comparison/run_r6_roadmap_panel.R

Rebuilding this page:

Rscript --vanilla -e \
  'workflowr::wflow_build("analysis/enhancer_enrichment.rmd")'

References

He, Y. and Wang, T. (2017). EpiCompare: an online tool to define and explore genomic regions with tissue or cell type-specific epigenomic features. Bioinformatics 33(20), 3268–3275. https://doi.org/10.1093/bioinformatics/btx371

Roadmap Epigenomics Consortium, Kundaje, A., Meuleman, W., Ernst, J., Bilenky, M., Yen, A., et al. (2015). Integrative analysis of 111 reference human epigenomes. Nature 518, 317–330. https://doi.org/10.1038/nature14248

Strober, B., Elorbany, R., Rhodes, K., Krishnan, N., Tayeb, K., Battle, A., and Gilad, Y. (2019). Dynamic genetic regulation of gene expression during cellular differentiation. Science 364, 1287–1290. https://doi.org/10.1126/science.aaw0040


sessionInfo()
R version 4.5.1 (2025-06-13)
Platform: aarch64-apple-darwin20
Running under: macOS Sequoia 15.6.1

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.1

locale:
[1] en_CA/en_CA/en_CA/C/en_CA/en_CA

time zone: America/Chicago
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggplot2_4.0.3

loaded via a namespace (and not attached):
 [1] gtable_0.3.6       jsonlite_2.0.0     dplyr_1.1.4        compiler_4.5.1    
 [5] promises_1.5.0     tidyselect_1.2.1   Rcpp_1.1.1-1.1     xml2_1.5.1        
 [9] stringr_1.6.0      git2r_0.36.2       dichromat_2.0-0.1  later_1.4.4       
[13] jquerylib_0.1.4    textshaping_1.0.4  systemfonts_1.3.1  scales_1.4.0      
[17] yaml_2.3.12        fastmap_1.2.0      R6_2.6.1           labeling_0.4.3    
[21] generics_0.1.4     workflowr_1.7.2    knitr_1.50         kableExtra_1.4.0  
[25] tibble_3.3.0       rprojroot_2.1.1    svglite_2.2.2      bslib_0.9.0       
[29] pillar_1.11.1      RColorBrewer_1.1-3 rlang_1.2.0        cachem_1.1.0      
[33] stringi_1.8.9      httpuv_1.6.16      xfun_0.55          S7_0.2.2          
[37] fs_1.6.6           sass_0.4.10        otel_0.2.0         viridisLite_0.4.3 
[41] cli_3.6.6          withr_3.0.3        magrittr_2.0.5     digest_0.6.39     
[45] grid_4.5.1         rstudioapi_0.17.1  lifecycle_1.0.5    vctrs_0.7.3       
[49] evaluate_1.0.5     glue_1.8.1         farver_2.1.2       whisker_0.4.1     
[53] rmarkdown_2.30     tools_4.5.1        pkgconfig_2.0.3    htmltools_0.5.9