| Title: | Find the best Caret model for your data and generate plots for papers |
|---|---|
| Description: | Is an R library that uses shiny to assists in finding relationships between columns of a data matrix in three ways: 1. With heatmap and distribution graphics. 2. With Pearson correlation graphics. 3. By conducting prediction tests using models from the Caret library. |
| Authors: | Thiago Benazzi Maia, Francesco Reggiani, Ulrich Pfeffer |
| Maintainer: | Thiago Benazzi Maia <[email protected]> |
| License: | GPL-3 |
| Version: | 20260531.1 |
| Built: | 2026-06-03 08:38:22 UTC |
| Source: | https://github.com/a00s/ugplot |
The ugplot package provides an interactive Shiny application to inspect data, create visual summaries, and evaluate predictive models.
Starts the ugplot Shiny interface used to explore data relationships with heatmaps, 2D plots and predictive modeling workflows.
ugPlot(dataset = data.frame())ugPlot(dataset = data.frame())
dataset |
A data frame to pre-load in the app. If empty, the app starts without a dataset. |
A shiny.appobj that runs the ugplot interface.
if (interactive()) { ugPlot() }if (interactive()) { ugPlot() }
Lists caret models whose required R packages are not installed in the current R library.
ugPlotCheckModelDeps(models = NULL, exclude_models = character())ugPlotCheckModelDeps(models = NULL, exclude_models = character())
models |
Optional character vector of caret model names. Defaults to all caret models. |
exclude_models |
Optional character vector of caret model names to skip. |
Invisibly returns dependency status tables and package names.
Installs the R packages required by missing caret models in the current R library. Run this on the machine that will execute the jobs, including the ugPlot server host.
ugPlotInstallModelDeps( models = NULL, install = TRUE, dependencies = TRUE, exclude_models = character() )ugPlotInstallModelDeps( models = NULL, install = TRUE, dependencies = TRUE, exclude_models = character() )
models |
Optional character vector of caret model names. Defaults to all caret models. |
install |
Whether to install missing packages. |
dependencies |
Passed to |
exclude_models |
Optional character vector of caret model names to skip. |
Invisibly returns dependency status after the attempted installation.
Checks system dependencies required by the remote job server and installs
the optional R packages used by ugPlotServer().
ugPlotInstallServerDeps( install = TRUE, dependencies = TRUE, install_model_deps = FALSE, install_geo_deps = TRUE )ugPlotInstallServerDeps( install = TRUE, dependencies = TRUE, install_model_deps = FALSE, install_geo_deps = TRUE )
install |
Whether to install missing R packages. |
dependencies |
Passed to |
install_model_deps |
Whether to install packages required by missing
caret models too. Defaults to |
install_geo_deps |
Whether to install optional Bioconductor packages required for GEO methylation annotation and raw IDAT/sesame workflows. |
Invisibly returns a list with system and R dependency status.
Starts an HTTP server that can receive datasets, run jobs in background R processes, report progress, and return completed results.
ugPlotServer( host = "0.0.0.0", port = 8080, jobs_dir = ugplot_default_jobs_dir(), token = "", name = "default", register = TRUE )ugPlotServer( host = "0.0.0.0", port = 8080, jobs_dir = ugplot_default_jobs_dir(), token = "", name = "default", register = TRUE )
host |
Interface to bind. Use |
port |
Port to listen on. |
jobs_dir |
Directory used to persist datasets, status and results. |
token |
Optional bearer token. Defaults to no authentication. |
name |
Local server handle name used by status/stop when the server is started directly. |
register |
Whether to write a local state file for status/stop. |
The plumber server result.
Starts ugPlotServer() in a detached R process and immediately returns
control to the console.
ugPlotServerStart( host = "0.0.0.0", port = 8080, jobs_dir = ugplot_default_jobs_dir(), token = "", name = "default" )ugPlotServerStart( host = "0.0.0.0", port = 8080, jobs_dir = ugplot_default_jobs_dir(), token = "", name = "default" )
host |
Interface to bind. |
port |
Port to listen on. |
jobs_dir |
Directory used to persist datasets, status and results. |
token |
Optional bearer token. Defaults to no authentication. |
name |
Local server handle name used by status/stop. |
Invisibly returns the server state.
Get background ugplot job server status.
ugPlotServerStatus(name = "default", port = NULL)ugPlotServerStatus(name = "default", port = NULL)
name |
Local server handle name. |
port |
Optional port used to discover a server when no live state file is available. Defaults to the saved state port, or 8080 when there is no state. |
A list with server metadata and running state.
Stop a background ugplot job server.
ugPlotServerStop(name = "default", port = NULL)ugPlotServerStop(name = "default", port = NULL)
name |
Local server handle name. |
port |
Optional port used to discover and stop a server when no live state file is available. Defaults to the saved state port, or 8080 when there is no state. |
Invisibly returns TRUE when a process was stopped.