Multi-table test with env

Plot mant_g object

m_group_env(g_otutab, env)

# S3 method for mant_g
plot(x, ...)

Arguments

g_otutab

multi-otutabs with first column is group

env

environmental factors

x

mant_g object

...

add

Value

a mant_g object

a ggplot

Examples

if (requireNamespace("linkET")) {
  data(otutab, package = "pcutils")
  cbind(group = rep(c("a", "b", "c"), c(200, 100, 185)), otutab) -> g_otutab
  metadata[, 3:8, drop = FALSE] -> env
  m_group_env(g_otutab, env) -> mant_g
  plot(mant_g)
}
#> Loading required namespace: linkET