Skip to contents

ScatterPlot Module

dittoViz-based interactive scatter plot module.

dittoViz_scatterPlotApp()
Create an example Modular scatterPlot Shiny Application
dittoViz_scatterPlotInputsUI()
Input UI components for the scatterPlot module
dittoViz_scatterPlotOutputUI()
Output UI components for the scatterPlot module
dittoViz_scatterPlotServer()
Server logic for scatterPlot module

yPlot Module

dittoViz-based Y-axis plot module (box, violin, ridgeplot, etc.).

dittoViz_yPlotApp()
Create an example Modular yPlot Shiny Application
dittoViz_yPlotInputsUI()
Input UI components for the yPlot module
dittoViz_yPlotOutputUI()
Output UI components for the yPlot module
dittoViz_yPlotServer()
Server logic for yPlot module

linePlot Module

Interactive line plot module.

linePlot()
Create an Interactive Line Plot with plotly
linePlotApp()
Create an example Modular linePlot Shiny Application
linePlotInputsUI()
Input UI components for the linePlot module
linePlotOutputUI()
Output UI components for the linePlot module
linePlotServer()
Server logic for linePlot module

dumbbellPlot Module

Interactive dumbbell plot module.

dumbbellPlot()
Create an Interactive Dumbbell Plot with plotly
dumbbellPlotApp()
Create a Shiny App for Dumbbell Plots
dumbbellPlotInputsUI()
Input UI components for the dumbbellPlot module
dumbbellPlotOutputUI()
Output UI components for the dumbbellPlot module
dumbbellPlotServer()
Server logic for dumbbellPlot module

piePlot Module

Interactive pie/donut chart module.

piePlot()
Create a plotly pie chart
piePlotApp()
Create an example Modular piePlot Shiny Application
piePlotInputsUI()
Input UI components for the piePlot module
piePlotOutputUI()
Output UI components for the piePlot module
piePlotServer()
Server logic for piePlot module

radarPlot Module

Interactive radar/spider chart module.

radarPlot()
Create a plotly radar chart
radarPlotApp()
Create an example Modular radarPlot Shiny Application
radarPlotInputsUI()
Input UI components for the radarPlot module
radarPlotOutputUI()
Output UI components for the radarPlot module
radarPlotServer()
Server logic for radarPlot module

parallelCoordinatesPlot Module

Interactive parallel coordinates plot module.

parallelCoordinatesPlot()
Create an Interactive Parallel Coordinates Plot with plotly
parallelCoordinatesPlotApp()
Create an example Modular parallelCoordinatesPlot Shiny Application
parallelCoordinatesPlotInputsUI()
Input UI components for the parallelCoordinatesPlot module
parallelCoordinatesPlotOutputUI()
Output UI components for the parallelCoordinatesPlot module
parallelCoordinatesPlotServer()
Server logic for parallelCoordinatesPlot module

AreaPlot Module

plotthis-based interactive area plot module.

plotthis_AreaPlotApp()
Create an example Modular AreaPlot Shiny Application
plotthis_AreaPlotInputsUI()
Input UI components for the AreaPlot module
plotthis_AreaPlotOutputUI()
Output UI components for the AreaPlot module
plotthis_AreaPlotServer()
Server logic for AreaPlot module

BarPlot Module

plotthis-based interactive bar plot module.

plotthis_BarPlotApp()
Create an example Modular BarPlot Shiny Application
plotthis_BarPlotInputsUI()
Input UI components for the BarPlot module
plotthis_BarPlotOutputUI()
Output UI components for the BarPlot module
plotthis_BarPlotServer()
Server logic for BarPlot module

SplitBarPlot Module

plotthis-based interactive split/stacked bar plot module.

plotthis_SplitBarPlotApp()
Create an example Modular SplitBarPlot Shiny Application
plotthis_SplitBarPlotInputsUI()
Input UI components for the SplitBarPlot module
plotthis_SplitBarPlotOutputUI()
Output UI components for the SplitBarPlot module
plotthis_SplitBarPlotServer()
Server logic for SplitBarPlot module

BoxPlot Module

plotthis-based interactive box plot module.

plotthis_BoxPlotApp()
Create an example Modular BoxPlot Shiny Application
plotthis_BoxPlotInputsUI()
Input UI components for the BoxPlot module
plotthis_BoxPlotOutputUI()
Output UI components for the BoxPlot module
plotthis_BoxPlotServer()
Server logic for BoxPlot module

ViolinPlot Module

plotthis-based interactive violin plot module.

plotthis_ViolinPlotApp()
Create an example Modular ViolinPlot Shiny Application
plotthis_ViolinPlotInputsUI()
Input UI components for the ViolinPlot module
plotthis_ViolinPlotOutputUI()
Output UI components for the ViolinPlot module
plotthis_ViolinPlotServer()
Server logic for ViolinPlot module

DensityPlot Module

plotthis-based interactive density plot module.

plotthis_DensityPlotApp()
Create an example Modular DensityPlot Shiny Application
plotthis_DensityPlotInputsUI()
Input UI components for the DensityPlot module
plotthis_DensityPlotOutputUI()
Output UI components for the DensityPlot module
plotthis_DensityPlotServer()
Density Plot Server Module

DotPlot Module

plotthis-based interactive dot plot module.

plotthis_DotPlotApp()
Create an example Modular DotPlot Shiny Application
plotthis_DotPlotInputsUI()
Input UI components for the DotPlot module
plotthis_DotPlotOutputUI()
Output UI components for the DotPlot module
plotthis_DotPlotServer()
Server logic for DotPlot module

Histogram Module

plotthis-based interactive histogram module.

plotthis_HistogramApp()
Create an example Modular Histogram Shiny Application
plotthis_HistogramInputsUI()
Input UI components for the Histogram module
plotthis_HistogramOutputUI()
Output UI components for the histogramPlot module
plotthis_HistogramServer()
Histogram Plot Server Module

dataFilter Module

Reusable data filtering module for use with plot modules.

dataFilterServer()
Server logic for the dataFilter module
dataFilterUI()
UI component for the dataFilter module

Figure Builder Module

Multi-panel figure builder module.

figureBuilderApp()
Create a VizModules Figure Builder Application
figureBuilderServer()
Server logic for the Figure Builder module
figureBuilderUI()
UI component for the Figure Builder module

Custom Inputs & Widgets

Reusable custom Shiny inputs for use in module UIs.

multiColorPicker()
Compact multi-group color picker input
multiDynamicInput()
Dynamic multi-row input for repeating groups of inputs
updateMultiColorPicker()
Update a multiColorPicker input on the client
updateMultiDynamicInput()
Update a multiDynamicInput input on the client

UI Helpers

Utility functions for building and organising module UIs.

createModuleApp()
Create an Example Module App from Any Module Trio
empty_plot()
Create an empty ggplot2 plot or plotly plot with input text
module_tack_ui()
Create standard tack UI for module inputs
organize_inputs()
Organize arbitrary Shiny inputs into a grid layout
setup_auto_update_logic()
Set up auto-update/isolate logic for reactive contexts

Uniform UI Inputs

Standardised input builders and reset functions shared across modules.

uniform_axes_inputs_ui()
Generate uniform Axes input UI
uniform_legend_inputs_ui()
Generate uniform Legend input UI
uniform_lines_inputs_ui()
Generate uniform Lines input UI
uniform_plotly_inputs_ui()
Generate uniform Plotly input UI
reset_axes_inputs()
Reset uniform axes inputs to defaults
reset_legend_inputs()
Reset uniform Legend inputs to defaults
reset_lines_inputs()
Reset uniform lines inputs to defaults
reset_plotly_inputs()
Reset uniform Plotly inputs to defaults
get_default()
Resolve a default value from a named list

Facet & Subplot Utilities

Functions for faceted/multi-panel subplot layout and styling.

apply_facet_subplot_spacing()
Apply custom subplot spacing to a faceted ggplotly figure
build_facet_annotations()
Build facet subplot annotations
build_facet_panel_borders()
Build paper-anchored panel border shapes for a faceted plotly figure
clean_facet_dim()
Clean and validate facet dimension value for lineplot module
resolve_facet_layout()
Resolve number of rows for a faceted subplot grid
resolve_facet_sharing()
Resolve facet axis sharing from facet.scales

Axes, Layout & Plotly Config

Functions for axis styling, layout, reference lines, and plotly configuration.

add_ablines()
Build diagonal (abline) line shapes for a plotly figure
add_hlines()
Build horizontal line shapes for a plotly figure
add_plot_config()
Create default Plotly configuration
add_reference_lines()
Add reference lines to a plotly figure from Shiny inputs
add_vlines()
Build vertical line shapes for a plotly figure
adjusted_axis_label()
Build an adjustment-aware axis label
apply_axis_title_to_annotations()
Apply axis title font styling to shared facet axis annotations
apply_legend_styling()
Apply uniform legend font styling to a plotly figure
apply_plotly_newshape()
Apply Plotly newshape styling from uniform Plotly inputs
apply_render_margins()
Apply standard render-time margin layout to a plotly figure
apply_subplot_axis_styling()
Apply axis styling to all subplot axes in a plotly figure
apply_title_layout()
Apply plot title styling to a plotly figure
axis_titles_as_annotations()
Convert native cartesian axis titles to draggable annotations
create_axis_styles()
Create Plotly axis style list
create_ggplot_axis_style()
Create ggplot axis styling theme arguments
linetype_to_dash()
Convert linetype name to plotly dash style
recycle_line_style()
Recycle style vector to match line count
string_to_linetypes()
Parse and validate linetype string to a vector

Manual Plot Edits

Functions for applying user-drawn shapes and annotations to plotly figures.

finalize_manual_edits()
Render persistent manual plot layout edits across re-renders
setup_manual_edits()
Set up persistent manual plot layout edits across re-renders

Model Backends

Pluggable model fitting registry for custom model line overlays. Register new backends to support any modelling package (drc, mgcv, brms, etc.).

build_model_row_spec()
Build a dynamic row_spec from registered backends
get_model_backend()
Get a registered model backend
list_model_backends()
List registered model backends
register_model_backend()
Register a model backend

Statistical Utilities

Functions for computing and displaying pairwise statistical test annotations.

apply_stat_annotations()
Apply statistical annotation shapes and annotations to a plotly figure
compute_pairwise_stats()
Compute pairwise statistical tests between groups
create_stat_annotations()
Create plotly shapes and annotations for statistical test results
generate_pair_strings()
Generate comparison pair strings from data columns
parse_pair_strings()
Parse pair strings from UI into list of length-2 vectors

Palette & Color Utilities

Functions for managing color palettes.

default_palettes()
Color palette options for palettePicker
resolve_palette()
Resolve a color palette for plot groups

Data Download Utilities

Functions for preparing plot and source data for download.

collect_source_data()
Collect plot and source data for download
create_source_download_handler()
Create download handler for plot with source data

Utility Functions

General-purpose helper functions for data handling and validation.

adjust_column_values()
Adjust numeric column values in a data frame using mathematical transformations
get_documentation()
Extract parameter documentation from an R function help page
is_pure_type()
Check if column inputs contain mixed data types
parse_numeric_list()
Parse comma-separated numeric string to vector
safe_eval_filter()
Safely evaluate a user-provided filter expression against a data frame
safe_resolve_adj_fxn()
Safely resolve an adjustment function name to an actual function
validate_expression()
Validate a user-provided expression string for safety

Example Data

Built-in datasets for demos and testing.

example_bar
Bar dataset for bar and split bar plot examples
example_demographics
Example demographics dataset
example_iris
Example grouped iris dataset
example_markers
Example single-cell marker gene dataset for dot plots
example_mtcars
Example mtcars dataset with factors
example_population
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_rnaseq
Example RNA-seq dataset for the RNA-seq showcase app
example_sales
Example sales dataset
example_school_earnings
Example school earnings dataset for dumbbell plots
example_skills
Example multi-player skills dataset for radar plots