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
getLegendLevel(df2, facets, facet2s)
df2 |
plotting data frame |
facets |
column facets |
facet2s |
row facets |
the name of the column-based facet which can be used as legend