ezSmoothScatter: Does smooth scatter plots

View source: R/plots.R

ezSmoothScatterR Documentation

Does smooth scatter plots

Description

Does smooth scatter plots.

Usage

ezSmoothScatter(
  x = NULL,
  y,
  xlab = NULL,
  ylab = NULL,
  nPlotsPerRow = 6,
  lim = range(x, y, na.rm = TRUE),
  isPresent = NULL,
  types = NULL,
  pch = 16,
  colors = rainbow(ncol(types)),
  legendPos = "bottomright",
  cex.main = 1,
  cex = 1,
  ...
)

Arguments

x

an optional reference vector or matrix.

y

a matrix of values to plot.

xlab

a character for labeling the reference. If x is a matrix, its colnames will be used as labels.

ylab

a character vector for the labels of the plots. If ylab is NULL, the colnames from y will be used as labels.

nPlotsPerRow

an integer specifying the number of plots per row.

lim

integers specifying the x and y limits of the plot.

isPresent

a logical specifying whether the signal is present.

types

a character vector containing the types.

pch

an integer specifying the look of plotted points.

colors

a character vector containing colors.

legendPos

a character vector or integer specifying the position of the legend.

cex.main

a numeric specifying the size of main titles relative to cex.

cex

a numeric specifying the size of text and symbols.

...

additional arguments to be passed further.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

ezSmoothScatter(y=data.frame(a=1:10, b=21:30, c=41:50))

uzh/ezRun documentation built on Dec. 26, 2024, 9:53 a.m.