Taxon change point ridge plots
plot_taxa_ridges(
titan.out,
z1 = TRUE,
z2 = TRUE,
z1_fill_low = "lightblue",
z1_fill_high = "black",
z2_fill_low = "pink",
z2_fill_high = "red",
xlabel = "Environmental Gradient",
n_ytaxa = 90,
printspp = FALSE,
grid = TRUE,
d_lines = FALSE,
trans = "identity",
xaxis = !grid,
xlim,
breaks = ggplot2::waiver(),
bw,
rel_heights,
...,
axis.text.x,
axis.text.y,
axis.title.x,
axis.title.y
)
A plot of decreasing and/or increasing taxon-specific change points along the environmental gradient.
A TITAN output object.
A logical specifying whether decreasing taxa should be plotted.
A logical specifying whether increasing taxa should be plotted.
Respective fill
colors passed to scale_fill_gradient()
A character string for the x axis label.
The maximum number of taxa to be plotted.
A logical specifying whether the sppmax table should be printed.
The grid
argument of theme_ridges()
. Setting this to
FALSE
removes horizontal lines from the plot, see examples.
Argument to pass to geom_density_ridges()
.
Short for density lines, a logical determining whether the median change
point values from estimated from each taxon's density function, is plotted.
If TRUE
, a dashed, black vertical line will be plotted.
a scale transformation to be applied to the x-axis through
ggplot2. e.g. "log10"
or "sqrt"
.
Logical; should the x-axis be plotted?
x axis limits, e.g. xlim = c(0,10)
.
Argument to pass to geom_density_ridges()
.
Determines values and labels of breaks (ticks) on the x-axis.
The bandwidth of used in the kernel density estimate; see
density()
.
Argument to pass to cowplot::plot_grid()
as an override
for the defaults
Arguments to pass to geom_density_ridges()
Font sizes of respective axis text. Passed as the size argument to the ggplot2 thematic elements of the same name. Defaults to current default ggplot2 theme.
M. Baker, R. King, D. Kahle
Baker, ME and RS King. 2010. A new method for detecting and interpreting biodiversity and ecological community thresholds. Methods in Ecology and Evolution 1(1): 25:37.
King, RS and ME Baker 2010. Considerations for identifying and interpreting ecological community thresholds. Journal of the North American Benthological Association 29(3):998-1008.
plot_sumz()
, plot_cps()