Usage
Taxa.ord(data, is.OTU=TRUE, meta=meta, factors=NULL, group=NULL, rank="g", taxa=10, data.trans="total", plot.species=TRUE, plot.scaling=-1, biplot.scale=NULL, biplot.sig=NULL, biplot.label= TRUE, mode=c("rda", "cca"), choice=c(1,2), main="", cex.point=3, cex.label=1, cex.leg=12, cex.bp=3, cex.text=3, file=NULL, ext=NULL, width=10, height=10)
Arguments
data
an ecology data set, either an otu table or a taxonomy
abundance matrix.
is.OTU
whether or not the data an otu table
meta
the metadata table to be used.
factors
a named character vector of length 1 or 2 specifying metadata
factors for the samples in the OTU table (see Details).
group
a named character vector of length 1 or 2 specifying metadata
factors for the samples in the OTU table (see Details).
rank
the rank to select the taxon groups at.
taxa
an integer or a character vector of taxa names at the given
rank. if integer
, plot the top most abundant taxa,
otherwise plot the taxa in the vector.
data.trans
a method used to standardize the OTU table. One of
"total
", "max
", "freq
", "normalize
",
"range
", "standardize
", "pa
",
"chi.square
", "hellinger
" or "log
"
(see ?decostand).
plot.species
whether plot sites or taxa, should be reflex to
codeplot.scaling
plot.scaling
one of the following: 1, 2, 3, or -1.
See scaling
in plot.cca
for detail.
See also ordiplot
biplot.scale
a numeric number, length of the biplot arrows
biplot.sig
significance cutoff for biplot to be displayed. Currently
disabled because in the function, ordination model calcuated
cannot be passed to anova test.
biplot.label
whether or not to plot biplot
mode
one of the following: "cca" or "rda".
cex.label
size of taxa lables
cex.leg
size of lengend name
cex.text
size of taxon names if plot.species
is set TRUE
cex.bp
size of biplot labels
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"
.
width
the width of the image to be created (in inches).
height
the height of the image to be created (in inches).