%%{init: {
'theme': 'base',
'themeVariables': {
'primaryTextColor': '#1f2937',
'lineColor': '#4b5563',
'clusterBkg': '#f8fafc',
'clusterBorder': '#cbd5e1',
'edgeLabelBackground': '#ffffff00',
'fontFamily': 'Helvetica, Arial, sans-serif'
},
'flowchart': {
'defaultRenderer': 'elk'
},
'themeCSS': '.cluster rect { fill: #f8fafc !important; stroke: #cbd5e1 !important; } .cluster-label text, .cluster-label span { font-weight: 700 !important; font-size: 16px !important; fill: #475569 !important; color: #475569 !important; }'
}}%%
%%{init: {'flowchart': {'defaultRenderer': 'elk'}}}%%
flowchart TB
peak_gene_correlation_hierarchical_results_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_hierarchical_results_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> correlation_histogram_plot.peak_gene_correlation.immune_human_2x(["correlation_histogram_plot.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_diagnostics_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_diagnostics_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> diagnostics_plot.peak_gene_correlation.immune_human_2x(["diagnostics_plot.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_hierarchical_results_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_hierarchical_results_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> distance_correlation_plot.peak_gene_correlation.immune_human_2x(["distance_correlation_plot.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_filter_diagnostics_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_filter_diagnostics_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> filter_retention_plot.peak_gene_correlation.immune_human_2x(["filter_retention_plot.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_donor_state_aggregates_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_donor_state_aggregates_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_aggregate_groups_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_aggregate_groups_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_ATAC_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_ATAC_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_GEX_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_GEX_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_candidate_pairs_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_candidate_pairs_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_ATAC_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_ATAC_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_chromosome_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_chromosome_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_ATAC_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_ATAC_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_donor_state_aggregates_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_donor_state_aggregates_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_ATAC_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_ATAC_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_normalized_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_normalized_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_branch_diagnostics_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_branch_diagnostics_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_filter_records.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_filter_records.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_branch_diagnostics_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_branch_diagnostics_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_gene_TSS_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_gene_TSS_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_candidate_pairs_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_candidate_pairs_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_candidate_pairs_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_candidate_pairs_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_chromosome_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_chromosome_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_branch_diagnostics_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_branch_diagnostics_tibbles.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_diagnostics_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_diagnostics_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_donor_state_diagnostics_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_donor_state_diagnostics_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_diagnostics_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_diagnostics_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_cell_group_diagnostics_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_cell_group_diagnostics_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_diagnostics_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_diagnostics_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_donor_state_records.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_donor_state_records.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_donor_state_aggregates_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_donor_state_aggregates_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_donor_state_records.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_donor_state_records.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_donor_state_diagnostics_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_donor_state_diagnostics_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_cell_groups_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_cell_groups_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_donor_state_records.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_donor_state_records.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_filter_records.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_filter_records.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_filter_diagnostics_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_filter_diagnostics_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_candidate_pairs_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_candidate_pairs_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_filter_records.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_filter_records.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_normalized_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_normalized_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_filter_records.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_filter_records.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_filter_records.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_filter_records.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_finemapped_links_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_finemapped_links_tibbles.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_finemapped_links_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_finemapped_links_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_finemapping_reference.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_finemapping_reference.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_finemapped_links_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_finemapped_links_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_normalized_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_normalized_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_finemapped_links_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_finemapped_links_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_hierarchical_results_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_hierarchical_results_tibbles.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_finemapped_links_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_finemapped_links_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_hierarchical_results_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_hierarchical_results_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_finemapping_reference.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_finemapping_reference.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_candidate_pairs_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_candidate_pairs_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_GEX_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_GEX_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_aggregate_groups_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_aggregate_groups_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_GEX_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_GEX_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_hierarchical_results_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_hierarchical_results_tibbles.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_hierarchical_results_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_hierarchical_results_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_REML_native_source_file.peak_gene_correlation.immune_human_2x(["peak_gene_REML_native_source_file.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_hierarchical_results_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_hierarchical_results_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_filter_records.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_filter_records.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_hierarchical_results_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_hierarchical_results_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_normalized_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_normalized_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_hierarchical_results_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_hierarchical_results_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_ATAC_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_ATAC_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_latent_factor_grams.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_latent_factor_grams.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_donor_state_aggregates_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_donor_state_aggregates_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_latent_factor_grams.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_latent_factor_grams.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_donor_state_aggregates_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_donor_state_aggregates_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_latent_factors.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_latent_factors.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_latent_factor_grams.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_latent_factor_grams.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_latent_factors.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_latent_factors.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_hierarchical_results_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_hierarchical_results_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_links_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_links_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_normalized_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_normalized_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_latent_factors.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_latent_factors.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_normalized_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_normalized_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_top_gene_context_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_gene_context_tibbles.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_top_gene_context_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_gene_context_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_top_links_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_links_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_top_gene_context_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_gene_context_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_hierarchical_results_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_hierarchical_results_tibbles.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_top_gene_context_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_gene_context_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_top_links_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_links_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_top_link_aggregate_scatter_tibble.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_aggregate_scatter_tibble.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_top_link_aggregate_values_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_link_aggregate_values_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_top_link_aggregate_scatter_tibble.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_aggregate_scatter_tibble.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_top_link_aggregate_values_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_aggregate_values_tibbles.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_top_link_aggregate_values_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_link_aggregate_values_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_normalized_aggregate_matrices.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_normalized_aggregate_matrices.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_top_link_aggregate_values_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_aggregate_values_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_top_links_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_links_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_top_link_aggregate_values_tibbles.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_aggregate_values_tibbles.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_top_link_plot_data.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_plot_data.WNN.<module_name>.<aggregation_name>"]:::none --> peak_gene_correlation_top_link_focal_ATAC_coverage_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_link_focal_ATAC_coverage_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_top_links_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_links_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_top_link_plot_data.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_plot_data.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_top_gene_context_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_gene_context_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_top_link_plot_data.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_plot_data.WNN.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_hierarchical_results_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_hierarchical_results_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> peak_gene_correlation_top_links_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_links_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_donor_state_aggregates_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_donor_state_aggregates_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> significant_pairs_technical_features_tibble.WNN.peak_gene_correlation.immune_human_2x(["significant_pairs_technical_features_tibble.WNN.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_hierarchical_results_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_hierarchical_results_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> significant_pairs_technical_features_tibble.WNN.peak_gene_correlation.immune_human_2x(["significant_pairs_technical_features_tibble.WNN.<module_name>.<aggregation_name>"]):::none
significant_pairs_technical_features_tibble.WNN.peak_gene_correlation.immune_human_2x(["significant_pairs_technical_features_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> significant_pairs_vs_technical_features_plot.peak_gene_correlation.immune_human_2x(["significant_pairs_vs_technical_features_plot.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_hierarchical_results_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_hierarchical_results_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> support_counts_plot.peak_gene_correlation.immune_human_2x(["support_counts_plot.<module_name>.<aggregation_name>"]):::none
peak_gene_correlation_top_link_focal_ATAC_coverage_tibble.WNN.peak_gene_correlation.immune_human_2x(["peak_gene_correlation_top_link_focal_ATAC_coverage_tibble.WNN.<module_name>.<aggregation_name>"]):::none --> top_link_aggregate_scatter_plots.peak_gene_correlation.immune_human_2x["top_link_aggregate_scatter_plots.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_top_link_plot_data.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_plot_data.WNN.<module_name>.<aggregation_name>"]:::none --> top_link_aggregate_scatter_plots.peak_gene_correlation.immune_human_2x["top_link_aggregate_scatter_plots.<module_name>.<aggregation_name>"]:::none
peak_gene_correlation_top_link_aggregate_scatter_tibble.WNN.peak_gene_correlation.immune_human_2x["peak_gene_correlation_top_link_aggregate_scatter_tibble.WNN.<module_name>.<aggregation_name>"]:::none --> top_link_aggregate_scatter_plots.peak_gene_correlation.immune_human_2x["top_link_aggregate_scatter_plots.<module_name>.<aggregation_name>"]:::none
Peak–gene correlation methods
This page describes the models of the optional peak–gene correlation module. Peak–gene correlation describes its prerequisites, configuration and outputs, and its settings and defaults are listed in the parameter browser.
Pseudobulks and support filters
The optional peak–gene correlation module runs separately in each assigned WNN annotation class of at least 200 nuclei. It requires donor identifiers and per-nucleus GEX and ATAC depth metadata. Classes without them are skipped, and the reason is recorded. Consensus ATAC peaks are paired with gene transcription start sites (TSSs) on the same chromosome within 250 kb of the peak center. Each pair is classified as self-promoter (−1,500 to +500 bp around the TSS), gene-body, proximal (within 10 kb) or distal. Within each class, nuclei of donors contributing at least 40 nuclei are split into mutually exclusive ATAC-state bins. The bins come from k-means clustering of scaled ATAC LSI dimensions 2–20, Harmony-corrected where configured. The number of bins is the median number of nuclei per donor divided by 20, rounded down and capped at 20. Counts are summed within each donor–state combination to create non-overlapping pseudobulks. Unlike ArchR’s overlapping nearest-neighbor aggregates, which reuse nuclei, disjoint donor–state pseudobulks keep samples independent and donors identifiable (Granja et al. 2021). Pseudobulks of fewer than 20 nuclei are dropped. Donors and states are then removed in repeated rounds until every donor contributes at least two states.
GEX and ATAC pseudobulk counts are separately scaled to counts per million, using the pseudobulk depth from the metadata, and log1p-transformed. Genes and peaks must be detected in at least 5% of pseudobulks. Each chromosome’s analysis requires at least 10 pseudobulks and 5 residual degrees of freedom. A measurement-support filter then removes peak–gene pairs whose gene and peak are not both supported. Like edgeR::filterByExpr(), it drops pairs too sparsely measured for reliable inference, which also cuts runtime and the multiple-testing burden (Chen et al. 2025). Its count thresholds are scaled by each pseudobulk’s depth relative to the class median, but never fall below 2. The gene and the peak must each reach their thresholds in at least the larger of a minimum number and a fraction of the pseudobulks. They must also do so in at least two pseudobulks of each of a minimum number of shared donors. The lenient preset requires RNA and ATAC counts of at least 5 and 3, the larger of 6 pseudobulks and 10% of them, and two shared donors. The default moderate preset raises the counts to 10 and 5. The strict preset also requires the larger of 10 pseudobulks and 20% of them, and three shared donors with three supporting pseudobulks each. Excluded pairs are never tested and do not enter the multiple-testing family.
Models and candidate links
GEX and ATAC values are residualized against donor, scaled log RNA and ATAC depth and the class’s accessibility components described below. The Pearson correlation of the residuals is reported as a descriptive summary. The hierarchical analysis fits donor fixed intercepts, depth covariates, the accessibility components and a donor-varying slope for the within-donor-centered peak value. It uses profiled restricted maximum likelihood, with Kenward–Roger inference for the average slope (Kenward and Roger 1997). The donor-varying slope makes donors rather than pseudobulks the units of inference. Kenward–Roger adjusts its standard error and degrees of freedom for the small number of donors. A peak is tested only when its accessibility varies within at least eight donors. With fewer, the random-slope test has too few degrees of freedom to be informative, so its pairs remain untested. Fits that fail numerical checks keep their estimates but get no P-value. Peaks and genes that both vary along shared chromatin states correlate whether or not they interact. The accessibility components remove the leading states. They are the top ten principal components, or one per ten residual degrees of freedom when fewer. They are computed from all candidate peaks, across chromosomes, that are accessible in at least 5% of the class’s pseudobulks. Each peak enters as its donor- and depth-residualized, standardized log1p CPM. Genes that vary along the remaining states still correlate with many peaks. Each candidate is therefore compared with its own gene’s background, like Signac’s comparison of each peak–gene correlation with matched background peaks (Stuart et al. 2021). This background consists of up to 200 candidate peaks that lie on the same chromosome but more than 10 Mb from the gene’s TSS, scored with the same model. The candidate’s signed normal score is the normal quantile of its P-value, signed by the slope. This score is standardized by the mean and SD of the gene’s background scores, given at least ten of them. It is then rescaled by the class’s background SD within its peak-detection quintile. A candidate’s empirical P-value is the share of the class’s rescaled background scores that are at least as extreme. These P-values are Benjamini–Hochberg-corrected within each annotation class over the complete eligible pair family, counting untested and unreliable pairs. A candidate link requires an estimable positive average slope above the gene’s background mean and an FDR below 0.05, excluding self-promoter peaks. SuSiE fine-mapping prioritizes peaks on the same residualized values for genes with at least one candidate link (Wang et al. 2020). Because neighboring peaks are often co-accessible (Pliner et al. 2018), SuSiE asks which of a gene’s correlated peaks jointly explain its expression. It fits up to ten single effects and reports 95% credible sets whose peaks have a minimum absolute correlation (purity) of at least 0.5. Fine-mapping covers up to the 50 genes with the lowest FDR per class and chromosome, and the 500 peaks per gene with the largest absolute residual correlation. These caps limit its runtime. These model-based associations do not establish causal enhancer–gene regulation. Background peaks more than 10 Mb away also cannot separate a specific enhancer from covariation within a local chromatin domain.
Top-link plots rank estimable positive hierarchical associations by their uncalibrated Kenward–Roger P-value, without a significance cutoff. They exclude self-promoter peaks but keep gene-body peaks. Each plot shows the gene context, the plotted class’s insertion coverage and the donor-residual scatter.
The model fits are compared with lme4, pbkrtest and stats::p.adjust() in Algorithm validation.
Source and target graph
extra_targets/module_peak_gene_correlation/targets.R maps only opted-in aggregations and binds the primary-module inputs they consume. Parameters use the peak_gene_correlation manifest scope, targets end in .peak_gene_correlation.<aggregation>, and plot checkpoint tags use peak_gene_correlation, outside the numbered QC selections.
Source: extra_targets/module_peak_gene_correlation/, R/peak_gene_correlation_helpers.R, R/peak_gene_filter_helpers.R, R/peak_gene_hierarchical_helpers.R, R/peak_gene_finemapping_helpers.R, src/peak_gene_REML.cpp.
This view covers the TSS table, candidate peak–gene pairs, the WNN cell groups, donor–state pseudobulk construction, measurement-support filtering, the per-chromosome analysis branches and the diagnostic and top-link outputs.