getLegendLevel {microbiomeExplorer} | R Documentation

## Function to find a non-empty facet in the last row. This will be the one to be connected to the plot legend to avoid duplicates within

### Description

Function to find a non-empty facet in the last row. This will be the one to be connected to the plot legend to avoid duplicates within

### Usage

    getLegendLevel(df2, facets, facet2s)

### Arguments

`df2` | plotting data frame
`facets` | column facets
`facet2s` | row facets

### Value

the name of the column-based facet which can be used as legend

[Package microbiomeExplorer version 1.4.0 Index]