Plot the variogram given the taxon index.

longVarioSingle(ps, main_factor, time_var, subjectID_var, taxon,
  point = FALSE, 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).

subjectID_var

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

taxon

Numeric, index of taxon to get the correlogram

point

Logical. Whether variogram with observed values.

taxlevel

Character string. The taxonomy level for the plot title

Value

ggplot object of variogram