Changelog
Source:NEWS.md
teal.modules.general 0.3.0
CRAN release: 2024-03-05
Enhancements
- Updated the package docs and vignettes with the new way of specifying data for
teal::init()
. Thedata
argument will accept ateal_data
object
teal.modules.general 0.2.16
Breaking changes
- Replaced
chunks
with simplerqenv
class. - Replaced
datasets
argument containingFilteredData
with the new argumentsdata
(tdata
object) andfilter_panel_api
(FilterPanelAPI
).
Enhancements
- Added
parent_dataname
argument totm_variable_browser
andtm_missing_data
to allow specification of parent dataset for these modules. - Improved
UI
labels and plot panel title intm_g_association
. - Added inputs
tm_variable_browser
module for text size and plot theme. - Forced
ggplot
theme to be always selected in all modules. - Updated encodings input checks to use
shinyvalidate::InputValidator
instead ofshiny::validate
for betterUI
experience.
Bug fixes
- Fixed a bug in
tm_g_scatterplot
when selected x and y facets were the same. - Fixed a bug in
tm_g_distribution
to plot the theoretical distribution with newerggplot2
version. - Fixed a bug in
tm_g_bivariate
when adding lines checkbox was available if one of x or y was deselected. - Fixed a bug in
tm_variable_browser
when changing filters would reset the selected variable to the first on the list.
teal.modules.general 0.2.15
Enhancements
- Added the
teal.reporter
functionality to all modules. - Implemented
nestcolor
in the examples, refactoredtm_a_pca
andtm_missing_data
to allow usingnestcolor
. - Added log transformation options to
tm_g_scatterplot
. - Added
server_rendering
flag totm_data_table
to control whether the table is rendered server or client side.
teal.modules.general 0.2.14
Enhancements
- New
teal
moduletm_front_page
to simplify creating a front page forteal
apps. - Added a slider widget to control the font size of the label in
tm_g_scatterplot
. - Output integers without decimal places when selecting points in
tm_g_scatterplot
. - Improved the names of the code chunks shown in
Debug Info
. - Improved a validation message when the number of regressors is too big in
tm_a_regression.R
.
teal.modules.general 0.2.13
Enhancements
- Rewrote modules to use
moduleServer
and updated call toplot_with_settings_srv
after changes inteal.devel
. - Fixed tracking of the selection order in
data_extract_ui
. All selectors can return ordered selection if one specifiesordered = TRUE
inselect_spec
. - Switched order of
tm_missing_data
combination plot to show data in descending order. - Changed
By variable levels
output intm_missing_data
to allow numerical sorting.
Miscellaneous
- Removed unneeded
n
row intm_t_crosstable
. - Replaced calls to
teal::root_modules
withteal::modules
following deprecation ofteal::root_modules
. - Adjusted package imports to take into account changes to the
teal
framework. - Added the “Getting started with teal.modules.general” vignette.
- Updated
README
file. - Moved the
ggmosaic
package fromDepends
toImports
in theDESCRIPTION
file.
teal.modules.general 0.2.12
Enhancements
- Added support for logging with the
logger
package and added info level logs upon initialization of a module. - Added support for custom arguments for
ggplot2::labs
andggplot2::theme
in plot based modules. - Added support for custom arguments for
rtables::basic_table
intm_t_crosstable
. - Updated
tm_outliers
,tm_g_scatterplotmatrix
,tm_g_association
, andtm_t_crosstable
modules to adopt the newteal.transform::data_merge_srv
andteal.transform::data_extract_multiple_srv
modules. - Distinguished bars representing
NA
in plot depicting counts oftm_variable_browser
with a different color fill. - Modified the summary statistics table for numeric columns in
tm_variable_browser
to reflect the plot afteroutliers
are removed. - Added an option to remove missing values in a
tm_variable_browser
histogram for factor like variables. - Added ability to sort by
Variable
andType
intm_variable_browser
by separating the variable type icons into their own column. - Updated the
Grouped by Subject
tab of thetm_missing_data
module to present data the same way theSummary
tab does. - Added support for
NA
level in grouping variable inBy variable levels
table intm_missing_data
module. - Added informative labels for each level of grouping variable in
By variable levels
table intm_missing_data
module. - Added a checkbox to
tm_g_scatterplot
to toggle the option to free up the x and y axis scales whenever faceting arguments are provided. - Used browser-side processing in
tm_data_table
so thatButtons
extension could download full table. Added example for advanced usage ofDT
in the module.
Bug fixes
- Fixed an error in
tm_variable_browser
when the selected column islogical(1)
. - Fixed bugs in the modules’ vignette examples.
Miscellaneous
- Added R version requirement
R >= 3.6
. - Removed
input_id
argument fromteal.transform::data_merge_module
calls in all modules. - Refactored the defunct
teal.devel::data_extract_input
into its replacementteal.transform::data_extract_ui
. - Updated
teal.transform::data_merge_srv
to usedplyr::inner_join
instead ofdplyr::left_join
intm_outliers
module. - Removed the overlay statistics table in
tm_g_distribution
module. - Removed dependency on
test.nest
package. - Removed dependency on
utils.nest
package and replaced its functions with equivalents from thecheckmate
package.
teal.modules.general 0.2.11
New features
- A new module,
tm_file_viewer
, was added for the visualization of static files. - A new module,
tm_g_distribution
, was added for distribution analysis.
Enhancements
tm_variable_browser
- Added
sparkline
support forDate
/POSIXct
/POSIXlt
variable types. - Fixed histograms to contain at least two bars.
tm_outliers
- Added
filter_spec
support. - Simplified returned R code.
- Support
select_spec
for categorical variables.
teal.modules.general 0.2.10
Enhancements
- Refactored the internal code of all the modules to optimize their performance.
- Refactored
tm_g_scatterplot
to compute trend line statistics usingggpmisc::stat_poly_eq
to simplify code and to have labels for each group on the plot. - Refactored
tm_g_scatterplot
to enable filtering via the Encoding Panel using the newfilter_spec
functionality. - Added support for logical variables in
tm_variable_browser
. - Updated
tm_outliers
to handle non-CDISC
datasets. - Updated
UI
oftm_variable_browser
for factor and character variables with more than 30 levels. - Updated
sparklines
to remove NA values for numeric variables. - Added checkbox to display number of observations on plot to
tm_g_scatterplot
. - Added validation statements to
tm_g_scatterplot
handling users choosing more than one facet variable. - Improved performance of
tm_variable_browser
by a more efficientsparkline
generation. - Added the html code type for all datasets labels inside
tm_missing_data
. - Improved the styling of tool tips in
tm_a_regression
,tm_missing_data
andtm_variable_browser
.
teal.modules.general 0.2.9
Enhancements
- Added download, enlarge and resize graph options to
tm_variable_browser
module. - Added download and expand options to the table in
tm_t_crosstable
. - Enabled selection of custom datasets for
tm_variable_browser
withdatasets_selected
argument. - Allowed all dataset variables to be used as grouping variables in
by variable levels
tab oftm_missing_data
, not just those selected to be displayed as rows in the table. - Enabled the brushing of points in NA categories when facetting in
tm_g_scatterplot
.
teal.modules.general 0.2.8
Enhancements
tm_g_scatterplot
- Added
max_deg
optional argument to scatterplot to allow users to choose the maximum smoothing degree for the trend line. - Added column and row facetting functionality to the scatterplot.
- Added possibility to specify type of join in
tm_t_crosstable
. Incorporate missings resulting from non inner join.
Bug Fixes
- Fixed edge case errors in
tm_missing_data
caused by inputdataset
not having categorical variables or being adata.frame
instead oftibble
. - Fixed
tm_a_pca
biplot plot when coloring with a factor/character/numeric with < 6 values variable. - Fixed typo in outlier definition in
tm_variable_browser
.
Miscellaneous
-
Sparklines
no longer shown for numeric variables with more than 100000 rows. - Colors legend for each plot.
- Replaced
"Show variables other than in ADSL"
checkbox to more general"Show parent dataset variables"
. - Capitalize default module labels.
- Some of the outputs of
tm_missing_data
are conditional to the data being aCDISC
data. - Added
pre_output
andpost_output
arguments totm_data_table
,tm_missing_data
,tm_variable_browser
. - Fixed issue in
tm_data_table
when selecting “show distinct rows” if variable names had non-alphanumeric characters.
teal.modules.general 0.2.7
Enhancements
tm_variable_browser
- Introduced
sparklines
for quick, inline variable summaries. - Added option to remove outliers.
- Histograms and statistics tables are now displayed for variables of type
Date
,POSIXct
andPOSIXlt
. - Character variable summary statistics tables are now displayed in decreasing order of occurrences instead of alphabetical.
- Display number of non-missing rows
n
in statistics table for numeric variables. - Added ability to treat numeric variables as categorical.
-
tm_variable_browser
shows from 30 up to 50 levels divided in 2 columns for character/factor variables with more than 30 unique levels.
tm_a_regression
- Added support for outlier labels to
tm_a_regression
and provided an additional optional argument,default_outlier_label
which can be used to specify the default column used to label outliers.
tm_g_scatterplot
- Implemented trend line.
- Added marginal density plots.
- Added option to display rug plot to both axes.
- Added
shape
andpoint color
arguments. The latter userscolourpicker::colourInput
. - Added
size_by
variable to scatterplot and allowed for point size to be mapped to a numeric variable.
tm_missing_data
- Added bar chart to missing data combination plot.
- Removed keys from missing data combinations plot in when they have not been selected.
teal.modules.general 0.2.6
- Adds additional plot settings such as themes for
tm_g_association
,tm_g_response
, andtm_g_scatterplot
, as well as point size and opacity settings fortm_g_association
andtm_g_scatterplot
. - Replace
pickerInput
withoptionalSelectInput
fortm_data_table
. - Adds new
facet
parameter totm_g_bivariate
to specify whether the facet encodings elements should be visible to the user by default. - Replace
plot_with_height
module with newplot_with_settings
module. - Missing data module now uses chunks to get reproducible R code.
- New theme for missing data module and new label positioning.
-
tm_data_table
: allow developers to pass arguments toDT::dataTable
and usepickerInput
to select variables. -
tm_g_response
a new argumentcount_labels
. Counts might be assessed for the frequency plot too. - Moved missing data module summary plot footer elements to tool tip in encodings panels.
- Replaced
base
plots intm_a_regression
withggplot2
. - Added optional slider to adjust
width
inplot_with_settings
. - Handle
Inf
in data gracefully. -
tm_variable_browser
now outputs the summary table for factors with all missing values.
teal.modules.general 0.2.5
- Adds
ggplot
call inside chunks in modules. - Pass on
dataname
toget_rcode_srv
. - Uses utils function to standardize plot label generation.
- Improved handling of variable labels.
- Removed “Add as filter variable” button from variable browser module.
- Scatterplot matrix module now automatically converts characters to factors with a message.
teal.modules.general 0.2.4
- New PCA module.
- Documentation fix for cross table module.
- Display variable labels in drop-down menu of data table (#393).
- Optional subsetting and ordering datasets for
tm_data_table
. - Use
teal.code::chunks_push_data_merge
to include merge code into reproducibility code. - More consistent coloring behavior between bivariate plots.
- Updates to missing data module.
- Updated graph axis labels for the following modules: bivariate plot, missing data, response plot, regression module, scatterplot, scatterplot matrix.
- Simplify scatterplot matrix to display plot within one dataset only.
teal.modules.general 0.2.3
- Fixed naming in
tm_variable_browser
. - Correlation added to Scatter Plot Matrix.
- Opacity slider added to
tm_bivariate
. - Fixes due to bug in teal.devel#313.
- Performance enhancements to missing data module.
- Fix bug with reactivity in scatterplot matrix module.
teal.modules.general 0.2.2
- New module to summarize missing data.
- Refactor of variable browser module.
- Correct display of density / frequency option in bivariate plot.