gglasagna: ggplot() implementation of Lasagna Function

Description Usage Arguments

Description

Ggplot Lasagna plotter

Usage

1
2
3
gglasagna(X, col = rainbow_hcl(length(unique(c(X)))), axes = FALSE,
  main = "(A)  Initial Lasagna Plot", main.adj = 0, cex.axis = 1.75,
  gridlines = TRUE, legend = FALSE, ...)

Arguments

X

a matrix: each row a subject, each column a time/location across subjects; preferably rownames are the ids.

col

colors. See "Escaping RGB Land" and the vignette for the colorspace package for followable advice on colors.

axes

(logical) TRUE invokes the default axes from image(). FALSE invokes best guess (to be better defined later)

main

as in plot(), the text of the title. Defaults to "(A) Initial Lasagna Plot"

main.adj

the value for 'adj' in title(). Defaults to 0, which is left-aligned.

cex.axis

the cex.axis value if 'axes' is FALSE.

gridlines

(logical ) default TRUE.

legend

(logical) defaults FALSE.

...

Additional stuff to be passed to image


swihart/lasagnar documentation built on May 30, 2019, 9:39 p.m.