Skip to contents

Invoke boxplot module

Usage

hierarchical_count_table_ui(id)

hierarchical_count_table_server(
  id,
  table_dataset,
  pop_dataset,
  subjid_var,
  show_modal_on_click = FALSE,
  default_hierarchy = NULL,
  default_group = NULL
)

mod_hierarchical_count_table(
  module_id,
  table_dataset_name,
  pop_dataset_name,
  subjid_var = "USUBJID",
  show_modal_on_click = FALSE,
  default_hierarchy = NULL,
  default_group = NULL,
  table_dataset_disp,
  pop_dataset_disp,
  receiver_id = NULL,
  server_wrapper_func = identity
)

Arguments

id

character(0) The ID for the event count module instance.

table_dataset

data.frame A reactive dataset containing the event data.

pop_dataset

data.frame A reactive dataset containing the population data.

subjid_var

character(1) A string representing the subject identifier column in both datasets.

show_modal_on_click

logical(1) A flag to indicate whether clicking a table cell should display a modal dialog with the subject IDs.

default_hierarchy

character(1|2)|NULL A default value for the hierarchy variables (optional).

default_group

character(1)|NULL A default value for the group variable (optional).

module_id

[character(1)]

Module Shiny id

table_dataset_name, pop_dataset_name

[character(1)]

Name of the dataset

table_dataset_disp, pop_dataset_disp

[mm_dispatcher(1)]

Dataset dispatcher. This parameter is incompatible with its *_dataset_name counterpart. Only for advanced use.

receiver_id

character(1)

Name of the tab containing the receiver module. This functionality is not ready yet please open an issue or contact the developers if you are interested in using it.

server_wrapper_func

[function()]

A function that will be applied to the server

Value

A shiny::tagList containing the user interface for selecting hierarchy, group, and minimum percentage for event counting.

A reactive value containing the list of subjects in the clicked cell, if applicable.

Functions

  • hierarchical_count_table_ui(): UI UI for the event count module

  • hierarchical_count_table_server(): server Server logic for the event count module