Plots the correlogram given the taxon index.

longCorreloSingle(ps, main_factor, time_var, taxon, taxlevel = "Species")

Arguments

ps

(Required). A phyloseq-class.

main_factor

Character string. The name of the variable to map main factor in the plot (factor vector).

time_var

Character string. The name of the variable to map time in the plot (integer vector).

taxon

Numeric, index of taxon to get the correlogram

taxlevel

Character string. The taxonomy level for the plot title

Value

ggplot2 object of correlogram for one taxon according to the taxon index.