bplot {otuSummary} | R Documentation |
Generate barplot with custom controls on the x axis labels
Description
barplot with custom controls on the x axis labels, e.g. rotation.
Usage
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
data(otumothur)
summaryInfo <- otuReport(otutab = otumothur, siteInCol = TRUE, taxhead = "taxonomy",
platform = "qiime", percent = FALSE, taxlevel = "phylum", collap = ";")
length(summaryInfo)
names(summaryInfo)
summaryInfo[[1]]
bplot(summaryInfo[["taxaFreqs"]])
[Package otuSummary version 0.1.2 Index]