Plots the variogram for multiple taxa given the indices.

longVarioMultiple(pstr, main_factor, time_var, subjectID_var,
  starttaxa = 1, endtaxa = 4, point = FALSE, taxlevel = "Species")

Arguments

pstr

(Required). A phyloseq-class. The arcsinh transformation of the otu table.

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).

starttaxa

Numeric. The first index of taxa ordered by total reads

endtaxa

Numeric. The last index of taxa ordered by total reads

point

Logical. Whether variogram with observed values.

taxlevel

Character string. The taxonomy level for the plot title

Value

ggplot object of variogram for for multiple taxa.