getLegendLevel: Function to find a non-empty facet in the last row. This will...

View source: R/functions.R

getLegendLevelR 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


zoecastillo/microbiomeExplorer documentation built on Sept. 11, 2022, 7:40 a.m.