showGene: A combined beeswarm / boxplot

View source: R/visualizations.R

showGeneR Documentation

A combined beeswarm / boxplot

Description

A combined beeswarm / boxplot

Usage

showGene(
  data,
  group,
  main = "",
  pch = 19,
  xlab = "",
  ylab = "log2 expression",
  las = 2,
  pwcol = NULL,
  ...
)

Arguments

data

a vector of numeric values to be plotted

group

factor describing the groups

main

title of the plot

pch

character to plot the points

xlab, ylab

x and y axis labels

las

see par()

pwcol

colors of the points (see beeswarm)

...

any additional parameters to be passed to the beeswarm command

Details

This is just a simple wrapper around the beeswarm() and boxplot() commands.

Examples

data(Egambia)
E <- as.matrix(Egambia[,-c(1:3)])
showGene(E["20799",], rep(c("CTRL", "TB"), each=15))

tmod documentation built on March 31, 2023, 9 p.m.