getWidths {microbiomeExplorer}R Documentation

Helper function to account for issues plotly has with very small widths (these end up being 1 and cover the entire plotting area)

Description

Helper function to account for issues plotly has with very small widths (these end up being 1 and cover the entire plotting area)

Usage

getWidths(df2, facets, x_var, drop = TRUE)

Arguments

df2

dataframe storing plotting data

facets

column facets

x_var

x variable

drop

passed on as .drop to dplyr::group_by

Value

widths for each facet


[Package microbiomeExplorer version 1.3.0 Index]