bplot: Generate barplot with custom controls on the x axis labels

Description Usage Arguments Examples

View source: R/bplot.R

Description

barplot with custom controls on the x axis labels, e.g. rotation.

Usage

1
bplot(data, srt = 45, yoff = 0.05, dataoff = 0.025, barcol = "grey", grid = TRUE, ...)

Arguments

data

Numeric, vector to plot in barplot.

srt

Numeric, rotation degree of the x axis labels.

yoff

Numeric, vertical offset of x axis labels.

dataoff

Numeric, vertical offset of data labels in relation to the bar height.

barcol

Character, color of bar. By default is grey.

grid

Logical, whether show the grids in the plot.

...

arguments to be passed to/from other methods.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(otumothur)

summaryInfo <- otuReport(otutab = otumothur, siteInCol = TRUE, taxhead = "taxonomy",
    platform = "qiime", percent = FALSE, level = "phylum", collap = ";")

length(summaryInfo)
names(summaryInfo)
summaryInfo[[1]]

bplot(summaryInfo[["taxaFreqs"]])

camel315/otuSummary documentation built on May 5, 2019, 12:29 p.m.