Package 'kesernetwork'

Title: Visualization of the KESER Network
Description: A shiny app to visualize the knowledge networks for the code concepts. Using co-occurrence matrices of EHR codes from Veterans Affairs (VA) and Massachusetts General Brigham (MGB), the knowledge extraction via sparse embedding regression (KESER) algorithm was used to construct knowledge networks for the code concepts. Background and details about the method can be found at Chuan et al. (2021) <doi:10.1038/s41746-021-00519-z>.
Authors: Su-Chun Cheng [cre, aut], PARSE LTD [aut], VA CIPHER [aut], Verity Research [aut], CELEHS [aut]
Maintainer: Su-Chun Cheng <[email protected]>
License: GPL (>= 3)
Version: 0.1.0
Built: 2024-10-25 03:32:34 UTC
Source: https://github.com/celehs/kesernetwork

Help Index


Run the Shiny Application

Description

Run the Shiny Application

Usage

run_app(
  Rdata_path = NULL,
  onStart = NULL,
  options = list(),
  enableBookmarking = "server",
  uiPattern = "/",
  ...
)

Arguments

Rdata_path

path to Rdata files.

onStart

A function that will be called before the app is actually run. This is only needed for shinyAppObj, since in the shinyAppDir case, a global.R file can be used for this purpose.

options

Named options that should be passed to the runApp call (these can be any of the following: "port", "launch.browser", "host", "quiet", "display.mode" and "test.mode"). You can also specify width and height parameters which provide a hint to the embedding environment about the ideal height/width for the app.

enableBookmarking

Can be one of "url", "server", or "disable". The default value, NULL, will respect the setting from any previous calls to enableBookmarking(). See enableBookmarking() for more information on bookmarking your app.

uiPattern

A regular expression that will be applied to each GET request to determine whether the ui should be used to handle the request. Note that the entire request path must match the regular expression in order for the match to be considered successful.

...

arguments to pass to golem_opts. See '?golem::get_golem_options' for more details.

Value

A shiny application.

Examples

if (interactive()) {
  run_app()
}