barplot: barplot

Description Usage Arguments Details Value Author(s) Examples

Description

barplot with errorbar

Usage

1
2
barplot(data, title = "", xlab = "", ylab = "", barIndex = NULL,
  label = "*")

Arguments

data

data.frame

title

plot title

xlab

xlab

ylab

ylab

barIndex

index of bar to add annotation of statistical significance

label

statistical significant label, eg. *, **

Details

barplot

Value

ggplot2 object

Author(s)

Guangchuang Yu

Examples

1
2
df <- data.frame(Normal=c(0.83,0.79,0.99,0.69), Cancer=c(0.56,0.56,0.64,0.52))
barplot(df, barIndex=c(1,2), label="*")

aarongowins/yplot documentation built on May 10, 2019, 3:20 a.m.