getWidths: Helper function to account for issues plotly has with very...

Description Usage Arguments Value

View source: R/functions.R

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

1
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


microbiomeExplorer documentation built on Nov. 8, 2020, 8:16 p.m.