radviz: Radial Coordinates Plots

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/radviz.R

Description

Creates radial coordinates plots, with m variables (rows) and n samples (columns). Each variable is mapped onto a circle, using data points as spring constants. Each column is re-scaled to have numeric values between 0 and 1.

Usage

1
2
radviz(dat, group = NULL, color = NULL, hjust = 0, vjust = 0,
  alpha = 1)

Arguments

dat

A matrix with m rows and n columns, where columns represent dimensions.

group

A vector of length m, specifying groups (e.g., phenotypes or conditions for m samples).

color

A vector of hex color codes to represent groups.

hjust

A parameter to horizontally adjust axis names around the circle; hjust arguments for geom_text

vjust

A parameter to vertically adjust axis names around the circle; vjust arguments for geom_text

alpha

A numeric value for transparency.

Value

svd.radial creates and draws a figure, which is a ggplot object.

Author(s)

Neo Christopher Chung [email protected]

References

Ankerst M., Keim D. A., Kriegel H.-P. Circle Segments: A Technique for Visually Exploring Large Multidimensional Data Sets, IEEE Visualization, 1996.

K.A. Olsen, R.R. Korfhage, K.M. Sochats, M.B. Spring and J.G. Williams. Visualisation of a Document Collection: The VIBE System, Information Processing and Management, Vol. 29, No. 1, pp. 69-81, Pergamon Press Ltd, 1993.

See Also

svd.radial

Examples

1
2
3
set.seed(1234)
dat = matrix(rnorm(9*4), 9, 4, dimnames=list(paste(1:9),letters[1:4]))
radviz(dat, group=c(rep("Group 1",3),rep("Group 2",3),rep("Group 3",3)))

ncchung/svdvis documentation built on May 23, 2019, 1:05 p.m.