The results from all correlations are used to help assign direction using correlations that have a significant nominal pvalue
assignRegion2GeneDirection.RdDirectional assignments are categorized into 3 levels:
Most confident: assign direction using FDR significant links and they are all in agreement
Directional disagreement existed, but decision was made by taking the most significant FDR
Directional disagreement existed, but decision was made by taking most significant nominal pvalue that was included in comparison
These are looser directions associated with the gene - neither distal or promoter region is nominally correlated with the gene, so the direction is based on how that peak is associated with distal peaks that are significantly linked to the gene with high confidence. The iteration of identifying a significant correlation between the peak and another distal peak is divided by 1000 and then added to 4. This shows that the peak:gene relationship exists at confidence level #4, and notes how many distal genes it had to try to correlate with before finding a significant (pval < 0.05) connection.