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

343

Version

1.3.6

License

GPL-2

Maintainer

Catherine Hurley

Last Published

August 12th, 2022

Functions in PairViz (1.3.6)

order_tsp

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

Overview of PairViz package
overlayCI

Function to overlay confidence intervals on the current plot.
knn_graph

Functions to construct graphs.
mk_complete_graph

Constructs a complete graph.
spreadout

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

Multiple comparison plot.
pcp

Enhanced parallel coordinate plots.
path_cor

Measures the tendency of edge weights to increase.
eseq

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

Utility functions to manipulate pairwise information.
table_plot

Plots rectangles on a grid
weighted_hpaths

Constructs weight decreasing hamiltonian paths
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.
desaturate_color

Desaturates colors
cancer

Cancer Survival data
eulerian

~~ Methods for Function eulerian ~~
guided_pcp

Guided parallel coordinate plot.
etour

Constructs eulerian tours on a graph.
best_orientation

Re-orients a path to be weight-decreasing
even_graph

Class of graphs where all nodes have even degree
find_path

Constructs a path from a matrix of edge weights.
hpaths

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