Create an area plot for longitudinal samples
with ggplot2
package.
plot_area(
x,
xvar = NULL,
level = NULL,
facet.by = NULL,
fill.colors = brewer.pal(6, "Paired"),
abund.thres = 0.001,
prev.thres = 0.5,
ncol = 5,
nrow = 5
)
phyloseq-class
object.
Column name to plot on x-axis.
Taxonomic level. OTU/ASV level not supported.
Column with variable that has multiple measurements.
brewer.pal(6,"Paired"). Specify colors.
= 0.001 check microbiome
package aggregate_rare function.
= 0.1 check microbiome
package aggregate_rare function.
wrap, specify number of columns.
wrap, specify number of rows.
ggplot
object.