betaDiversity {microbiomeExplorer} | R Documentation

## Beta Diversity module - server

### Description

Beta Diversity module - server

### Usage

    betaDiversity(
      input,
      output,
      session,
      aggDat,
      aggLevel,
      colorOptions,
      shapeOptions,
      betadistance,
      betaSettings,
      reset
    )

### Arguments

`input` | shiny input
`output` | shiny output
`session` | shiny session
`aggDat` | MRExperiment storing data
`aggLevel` | aggregation level
`colorOptions` | phenotype selection options for color
`shapeOptions` | phenotype selection options for shape
`betadistance` | distance measured used for beta diversity analysis
`betaSettings` | input choices for beta diversity
`reset` | boolean reactive which resets the module if TRUE

### Value

R code needed to generate the beta diversity plot

### Author(s)

Janina Reeder

[Package microbiomeExplorer version 1.4.0 Index]