avgAbundance {microbiomeExplorer} | R Documentation

## Relative abundance plot module - server

### Description

Relative abundance plot module - server

### Usage

    avgAbundance(
      input,
      output,
      session,
      aggDat,
      featLevel,
      featureSettings,
      normalizedData,
      reset
    )

### Arguments

`input` | shiny input
`output` | shiny output
`session` | shiny session
`aggDat` | aggregated MRExperiment
`featLevel` | chosen feature level (aggregation level)
`featureSettings` | analysis input settings passed over to this module
`normalizedData` | boolean indicating whether data has been normalized
`reset` | boolean reactive which resets the module if TRUE

### Value

list storing plot clicks and number of features displayed (passed to feature plot module) as well as the R code to make plot

[Package microbiomeExplorer version 1.4.0 Index]