Learn R Programming

PairViz

The goal of PairViz is to improving graphics by ameliorating order effects, using Eulerian tours and Hamiltonian decompositions of graphs.

Installation

You can install the released version of PairViz from CRAN with:

install.packages("PairViz")

You will also need to install the graph package from Bioconductor.

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("graph")

To get started, check out the PairVizIntroduction vignette.

References

C.B. Hurley and R.W. Oldford, Pairwise display of high dimensional information via Eulerian tours and Hamiltonian decompositions. Journal of Computational and Graphical Statistics. 19(10), pp. 861–886, 2010.

C.B. Hurley and R.W. Oldford, Eulerian tour algorithms for data visualization and the PairViz package. Computational Statistics, 26(4), pp 613–633, 2011.

Copy Link

Version

Install

install.packages('PairViz')

Monthly Downloads

350

Version

1.3.8

License

GPL-2

Maintainer

Catherine Hurley

Last Published

February 18th, 2026

Functions in PairViz (1.3.8)

path_weights

Utility functions to manipulate pairwise information.
order_tsp

Uses tsp to find the best hamiltonian on the complete graph on 1..n
path_cor

Measures the tendency of edge weights to increase.
overlayCI

Function to overlay confidence intervals on the current plot.
table_plot

Plots rectangles on a grid
weighted_hpaths

Constructs weight decreasing hamiltonian paths
pcp

Enhanced parallel coordinate plots.
mk_even_graph

Constructs an even graph
order_best

Uses brute-force enumeration to find the best hamiltonian on the complete graph on 1..n.
cancer

Cancer Survival data
desaturate_color

Desaturates colors
hpaths

Hamiltonian paths on the complete graph on 1..n, using Lucas-Walecki constructions.
knn_graph

Functions to construct graphs.
eulerian

~~ Methods for Function eulerian ~~
eseq

Construct eulerian paths on the complete graph where nodes are integers 1..n.
mk_complete_graph

Constructs a complete graph.
etour

Constructs eulerian tours on a graph.
guided_pcp

Guided parallel coordinate plot.
spreadout

Functions to prepare for categorical parallel coordinates, drawn by catpcp.
overview

Overview of PairViz package
best_orientation

Re-orients a path to be weight-decreasing
mc_plot

Multiple comparison plot.
find_path

Constructs a path from a matrix of edge weights.
even_graph

Class of graphs where all nodes have even degree