Usage
group.top.number(data, top=10, ranks=c("p","c","o","f","g"), drop.unclassified=FALSE, cex.x=NULL, main=NULL,file=NULL, ext=NULL, height=8, width=16, bw=FALSE, ggplot2=TRUE)
group.top.percent(data, top=10, ranks=c("p","c","o","f","g"), drop.unclassified=FALSE, cex.x=NULL, main=NULL, file=NULL, ext=NULL, height=8, width=16, bw=FALSE, ggplot2=TRUE)
Arguments
data
a list of OTU tables.
top
the number of OTUs to select (for top.number
), or the
minimum relative abundance threshold to use for selecting OTUs
(for top.percent
).
drop.unclassified
logical. Should OTUs labelled "unclassified" or missing
classification at the given taxonomic rank be excluded?
cex.x
optional. The size of the x axis names.
main
the title of the plot
file
the file path where the image should be created
(see ?RAM.plotting).
ext
the file type to be used; one of "pdf"
, "png"
,
"tiff"
, "bmp"
, "jpg"
, or "svg"
.
height
the height of the image to be created (in inches).
width
the width of the image to be created (in inches).
bw
logical. Should the image be created in black and white?
ggplot2
logical. Should the ggplot2
package be used to produce
the plot, or should the base graphics be used?
(see ?RAM.plotting).