Package: VizModules 0.2.0

VizModules: Flexible, Interactive 'shiny' Modules for Almost Any Plot

Offers a core selection of interactivity-first 'shiny' modules for many plot types meant to serve as flexible building blocks for applications and as the base for more complex modules. These modules allow for the rapid and convenient construction of 'shiny' apps with very few lines of code and decouple plotting from the underlying data. These modules allow for full plot aesthetic customization by the end user through UI inputs. Utility functions for simple UI organization, automated UI tooltips, and additional plot enhancements are also provided. Includes a multi-panel figure builder app for arranging multiple modules together in a free-form layout.

Authors:Jared Andrews [aut, cre], Jacob Martin [aut]

VizModules_0.2.0.tar.gz
VizModules_0.2.0.zip(r-4.7)VizModules_0.2.0.zip(r-4.6)VizModules_0.2.0.zip(r-4.5)
VizModules_0.2.0.tgz(r-4.6-any)VizModules_0.2.0.tgz(r-4.5-any)
VizModules_0.2.0.tar.gz(r-4.7-any)VizModules_0.2.0.tar.gz(r-4.6-any)
VizModules_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
VizModules/json (API)
NEWS

# Install 'VizModules' in R:
install.packages('VizModules', repos = c('https://j-andrews7.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/j-andrews7/vizmodules/issues

Pkgdown/docs site:https://j-andrews7.github.io

Datasets:

On CRAN:

Conda:

data-visualizationmodulesshinyvisualization

7.03 score 2 stars 95 scripts 408 downloads 94 exports 117 dependencies

Last updated from:c7d4fafb0e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK220
source / vignettesOK230
linux-release-x86_64OK213
macos-release-arm64OK127
macos-oldrel-arm64OK166
windows-develOK145
windows-releaseOK158
windows-oldrelOK171
wasm-releaseOK140

Exports:adjust_column_valuesapply_stat_annotationscollect_source_datacompute_pairwise_statscreate_source_download_handlercreate_stat_annotationscreateModuleAppdataFilterServerdataFilterUIdefault_palettesdittoViz_scatterPlotAppdittoViz_scatterPlotInputsUIdittoViz_scatterPlotOutputUIdittoViz_scatterPlotServerdittoViz_yPlotAppdittoViz_yPlotInputsUIdittoViz_yPlotOutputUIdittoViz_yPlotServerdumbbellPlotdumbbellPlotAppdumbbellPlotInputsUIdumbbellPlotOutputUIdumbbellPlotServerempty_plotgenerate_pair_stringsget_documentationis_pure_typelinePlotlinePlotApplinePlotInputsUIlinePlotOutputUIlinePlotServermodule_tack_uimultiColorPickerorganize_inputsparallelCoordinatesPlotparallelCoordinatesPlotAppparallelCoordinatesPlotInputsUIparallelCoordinatesPlotOutputUIparallelCoordinatesPlotServerparse_pair_stringspiePlotpiePlotApppiePlotInputsUIpiePlotOutputUIpiePlotServerplotthis_AreaPlotAppplotthis_AreaPlotInputsUIplotthis_AreaPlotOutputUIplotthis_AreaPlotServerplotthis_BarPlotAppplotthis_BarPlotInputsUIplotthis_BarPlotOutputUIplotthis_BarPlotServerplotthis_BoxPlotAppplotthis_BoxPlotInputsUIplotthis_BoxPlotOutputUIplotthis_BoxPlotServerplotthis_DensityPlotAppplotthis_DensityPlotInputsUIplotthis_DensityPlotOutputUIplotthis_DensityPlotServerplotthis_DotPlotAppplotthis_DotPlotInputsUIplotthis_DotPlotOutputUIplotthis_DotPlotServerplotthis_HistogramAppplotthis_HistogramInputsUIplotthis_HistogramOutputUIplotthis_HistogramServerplotthis_SplitBarPlotAppplotthis_SplitBarPlotInputsUIplotthis_SplitBarPlotOutputUIplotthis_SplitBarPlotServerplotthis_ViolinPlotAppplotthis_ViolinPlotInputsUIplotthis_ViolinPlotOutputUIplotthis_ViolinPlotServerradarPlotradarPlotAppradarPlotInputsUIradarPlotOutputUIradarPlotServerresolve_palettesafe_eval_filtersafe_resolve_adj_fxnsetup_auto_update_logicternaryPlotternaryPlotAppternaryPlotInputsUIternaryPlotOutputUIternaryPlotServerupdateMultiColorPickervalidate_expression

Dependencies:askpassbase64encbrewbslibcachemcallrcellrangercirclizeclicolorspacecolourpickercommonmarkcowplotcpp11crayoncrosstalkcurldata.tabledescdigestdittoVizdplyrDTevaluatefarverfastmapfontawesomeforcatsfsgenericsggnewscaleggplot2ggrepelggridgesGlobalOptionsgluegridtextgtablehighrhmshtmltoolshtmlwidgetshttpuvhttrisobandjpegjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclelitedownmagrittrmarkdownmemoisemimeminiUIopensslotelpatchworkpillarpkgbuildpkgconfigpkgloadplotlyplotthisplyrpngprettyunitsprocessxprogresspromisespspurrrR6rappdirsRColorBrewerRcppreadxlrematchreshape2rexrlangrmarkdownroclangroxygen2rprojrootS7sassscalesshapeshinyshinyBSshinyjquishinyjsshinyWidgetssourcetoolsstringistringrsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunxml2xtableyamlzipzoo

Adding a New Module

Rendered fromadding-a-new-module.Rmdusingknitr::rmarkdownon Jun 17 2026.

Last update: 2026-06-11
Started: 2026-01-16

Building Custom Modules

Rendered fromcustom-modules.Rmdusingknitr::rmarkdownon Jun 17 2026.

Last update: 2026-03-24
Started: 2025-12-30

Quick Start with VizModules

Rendered fromquick-start.Rmdusingknitr::rmarkdownon Jun 17 2026.

Last update: 2026-06-12
Started: 2026-01-16

Readme and manuals

Help Manual

Help pageTopics
Adjust numeric column values in a data frame using mathematical transformationsadjust_column_values
Apply statistical annotation shapes and annotations to a plotly figureapply_stat_annotations
Collect plot and source data for downloadcollect_source_data
Compute pairwise statistical tests between groupscompute_pairwise_stats
Create download handler for plot with source datacreate_source_download_handler
Create plotly shapes and annotations for statistical test resultscreate_stat_annotations
Create an Example Module App from Any Module TriocreateModuleApp
Server logic for the dataFilter moduledataFilterServer
UI component for the dataFilter moduledataFilterUI
Color palette options for palettePickerdefault_palettes
Create an example Modular scatterPlot Shiny ApplicationdittoViz_scatterPlotApp
Input UI components for the scatterPlot moduledittoViz_scatterPlotInputsUI
Output UI components for the scatterPlot moduledittoViz_scatterPlotOutputUI
Server logic for scatterPlot moduledittoViz_scatterPlotServer
Create an example Modular yPlot Shiny ApplicationdittoViz_yPlotApp
Input UI components for the yPlot moduledittoViz_yPlotInputsUI
Output UI components for the yPlot moduledittoViz_yPlotOutputUI
Server logic for yPlot moduledittoViz_yPlotServer
Create an Interactive Dumbbell Plot with plotlydumbbellPlot
Create a Shiny App for Dumbbell PlotsdumbbellPlotApp
Input UI components for the dumbbellPlot moduledumbbellPlotInputsUI
Output UI components for the dumbbellPlot moduledumbbellPlotOutputUI
Server logic for dumbbellPlot moduledumbbellPlotServer
Create an empty ggplot2 plot or plotly plot with input textempty_plot
Bar dataset for bar and split bar plot examplesexample_bar
Example demographics datasetexample_demographics
Example grouped iris datasetexample_iris
Example single-cell marker gene dataset for dot plotsexample_markers
Example mtcars dataset with factorsexample_mtcars
Example population dataset A simulated population dataset with 400 rows covering 50 years and 8 age groups. Designed for line, area, and stacked bar plot examples.example_population
Example RNA-seq dataset for the RNA-seq showcase appexample_rnaseq
Example roles dataset for ternary plotsexample_roles
Example sales datasetexample_sales
Example school earnings dataset for dumbbell plotsexample_school_earnings
Example multi-player skills dataset for radar plotsexample_skills
Generate comparison pair strings from data columnsgenerate_pair_strings
Extract parameter documentation from an R function help pageget_documentation
Check if column inputs contain mixed data typesis_pure_type
Create an Interactive Line Plot with plotlylinePlot
Create an example Modular linePlot Shiny ApplicationlinePlotApp
Input UI components for the linePlot modulelinePlotInputsUI
Output UI components for the linePlot modulelinePlotOutputUI
Server logic for linePlot modulelinePlotServer
Create standard tack UI for module inputsmodule_tack_ui
Compact multi-group color picker inputmultiColorPicker
Organize arbitrary Shiny inputs into a grid layoutorganize_inputs
Create an Interactive Parallel Coordinates Plot with plotlyparallelCoordinatesPlot
Create an example Modular parallelCoordinatesPlot Shiny ApplicationparallelCoordinatesPlotApp
Input UI components for the parallelCoordinatesPlot moduleparallelCoordinatesPlotInputsUI
Output UI components for the parallelCoordinatesPlot moduleparallelCoordinatesPlotOutputUI
Server logic for parallelCoordinatesPlot moduleparallelCoordinatesPlotServer
Parse pair strings from UI into list of length-2 vectorsparse_pair_strings
Create a plotly pie chartpiePlot
Create an example Modular piePlot Shiny ApplicationpiePlotApp
Input UI components for the piePlot modulepiePlotInputsUI
Output UI components for the piePlot modulepiePlotOutputUI
Server logic for piePlot modulepiePlotServer
Create an example Modular AreaPlot Shiny Applicationplotthis_AreaPlotApp
Input UI components for the AreaPlot moduleplotthis_AreaPlotInputsUI
Output UI components for the AreaPlot moduleplotthis_AreaPlotOutputUI
Server logic for AreaPlot moduleplotthis_AreaPlotServer
Create an example Modular BarPlot Shiny Applicationplotthis_BarPlotApp
Input UI components for the BarPlot moduleplotthis_BarPlotInputsUI
Output UI components for the BarPlot moduleplotthis_BarPlotOutputUI
Server logic for BarPlot moduleplotthis_BarPlotServer
Create an example Modular BoxPlot Shiny Applicationplotthis_BoxPlotApp
Input UI components for the BoxPlot moduleplotthis_BoxPlotInputsUI
Output UI components for the BoxPlot moduleplotthis_BoxPlotOutputUI
Server logic for BoxPlot moduleplotthis_BoxPlotServer
Create an example Modular DensityPlot Shiny Applicationplotthis_DensityPlotApp
Input UI components for the DensityPlot moduleplotthis_DensityPlotInputsUI
Output UI components for the DensityPlot moduleplotthis_DensityPlotOutputUI
Density Plot Server Moduleplotthis_DensityPlotServer
Create an example Modular DotPlot Shiny Applicationplotthis_DotPlotApp
Input UI components for the DotPlot moduleplotthis_DotPlotInputsUI
Output UI components for the DotPlot moduleplotthis_DotPlotOutputUI
Server logic for DotPlot moduleplotthis_DotPlotServer
Create an example Modular Histogram Shiny Applicationplotthis_HistogramApp
Input UI components for the Histogram moduleplotthis_HistogramInputsUI
Output UI components for the histogramPlot moduleplotthis_HistogramOutputUI
Histogram Plot Server Moduleplotthis_HistogramServer
Create an example Modular SplitBarPlot Shiny Applicationplotthis_SplitBarPlotApp
Input UI components for the SplitBarPlot moduleplotthis_SplitBarPlotInputsUI
Output UI components for the SplitBarPlot moduleplotthis_SplitBarPlotOutputUI
Server logic for SplitBarPlot moduleplotthis_SplitBarPlotServer
Create an example Modular ViolinPlot Shiny Applicationplotthis_ViolinPlotApp
Input UI components for the ViolinPlot moduleplotthis_ViolinPlotInputsUI
Output UI components for the ViolinPlot moduleplotthis_ViolinPlotOutputUI
Server logic for ViolinPlot moduleplotthis_ViolinPlotServer
Create a plotly radar chartradarPlot
Create an example Modular radarPlot Shiny ApplicationradarPlotApp
Input UI components for the radarPlot moduleradarPlotInputsUI
Output UI components for the radarPlot moduleradarPlotOutputUI
Server logic for radarPlot moduleradarPlotServer
Resolve a color palette for plot groupsresolve_palette
Safely evaluate a user-provided filter expression against a data framesafe_eval_filter
Safely resolve an adjustment function name to an actual functionsafe_resolve_adj_fxn
Set up auto-update/isolate logic for reactive contextssetup_auto_update_logic
Create a plotly ternary plotternaryPlot
Create an example Modular ternaryPlot Shiny ApplicationternaryPlotApp
Input UI components for the ternaryPlot moduleternaryPlotInputsUI
Output UI components for the ternaryPlot moduleternaryPlotOutputUI
Server logic for ternaryPlot moduleternaryPlotServer
Update a multiColorPicker input on the clientupdateMultiColorPicker
Validate a user-provided expression string for safetyvalidate_expression