Generalized Association Plots
Compute the Anti-Robinson (AR) score
Compute Proximity Matrix
Internal function to compute Anti-Robinson or GAR/ RGAR score
Ellipse Sort
Color palette: GAP_Blue_White_Red
Color palette: GAP_d
Color palette: GAP_Rainbow
Generalized Association Plots (GAP)
Compute the Generalized Anti-Robinson (GAR) score
Color palette: grayscale_palette
HCTree Sort
Compute the Relative Generalized Anti-Robinson (RGAR) score
Provides a comprehensive framework for visualizing associations and interaction structures in matrix-formatted data using Generalized Association Plots (GAP). The package implements multiple proximity computation methods (e.g., correlation, distance metrics), ordering techniques including hierarchical clustering (HCT) and Rank-2-Ellipse (R2E) seriation, and optional flipping strategies to enhance visual symmetry. It supports a variety of covariate-based color annotations, allows flexible customization of layout and output, and is suitable for analyzing multivariate data across domains such as social sciences, genomics, and medical research. The method is based on Generalized Association Plots introduced by Chen (2002) <https://www3.stat.sinica.edu.tw/statistica/J12N1/J12N11/J12N11.html> and further extended by Wu, Tien, and Chen (2010) <doi:10.1016/j.csda.2008.09.029>.