sparkline.electrophoresis: Sparklines of electrophoresis data

sparkline.electrophoresisR Documentation

Sparklines of electrophoresis data

Description

This function is a shortcut that calls qplot.electrophoresis with customized settings to generate sparklines.

Usage

sparkline.electrophoresis(
  ...,
  facets = sample.index ~ .,
  scales = "free_y",
  geom = "line",
  show.peaks = "none"
)

Arguments

...

Arguments passed to qplot.electrophoresis.

facets

Passed to qplot.electrophoresis but the default is hardcoded for one column of sparklines.

scales, geom, show.peaks

Passed to qplot.electrophoresis but the defaults are hardcoded for sparklines and probably do not make sense to change.

Details

In addition to the hardcoded default arguments for qplot.electrophoresis, the following settings are added with theme:

axis.text.y =       element_blank(),
axis.ticks.y =      element_blank(),
panel.grid =        element_blank(),
panel.background =  element_blank(),
strip.background =  element_blank(),
strip.text.y =      element_text(angle = 0, hjust = 0)

References

Tufte, Edward R. (1983) The Visual Display of Quantitative Information. Cheshire, Conn.: Graphics Press.

See Also

qplot.electrophoresis


jwfoley/bioanalyzeR documentation built on Aug. 1, 2023, 4:46 a.m.