GAPR: Generalized Association Plots

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>.

Getting started

Package details

AuthorShu-Yu Lin [aut, cre], Chiun-How Kao [aut, ctb], Chun-Houh Chen [aut, ctb]
MaintainerShu-Yu Lin <shuyuuu89@gmail.com>
LicenseMIT + file LICENSE
Version0.1.4
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("GAPR")

Try the GAPR package in your browser

Any scripts or data that you put into this service are public.

GAPR documentation built on June 8, 2025, 1:50 p.m.