Plot the ASVs distribution in each topic.

plotASVCircular(
  ps,
  K,
  beta_aligned,
  varnames = c("iterations", "topic", "rsv_ix"),
  value_name = "beta_h",
  taxonomylevel = "Class",
  thresholdASVprop = 0.008
)

Arguments

ps

phyloseq object.

K

integer. number of topics.

beta_aligned

List. returned object of betaAligned().

varnames

Character vector. Use to name column of long formatted data frame of ASVs distribution. An example is c("iterations", "topic", "rsv_ix")

value_name

Character. Use to name the summary of posterior samples of ASVs proportions.

taxonomylevel

Character. Use to label ASVs.

thresholdASVprop

Numberic. Use to select ASVs for circular plot.

Value

A ggplot2 object. A circular plot annotated with phylogenetic tree.