distributions_plot_server: Distributions Plot Server

View source: R/distributions_plot_server.R

distributions_plot_serverR Documentation

Distributions Plot Server

Description

Distributions Plot Server

Usage

distributions_plot_server(
  id,
  sample_data_function,
  feature_data = shiny::reactive(NULL),
  group_data = shiny::reactive(NULL),
  dataset_data = shiny::reactive(NULL),
  distplot_xlab = shiny::reactive(""),
  distplot_title = shiny::reactive(NULL),
  scale_method_default = shiny::reactive("None"),
  feature_default = shiny::reactive(NULL),
  drilldown = shiny::reactive(F),
  mock_event_data = shiny::reactive(NULL),
  ...
)

Arguments

id

Module ID

sample_data_function

A shiny::reactive that returns a function. The function must take an argument called ".feature" and return a dataframe with columns "sample_name", "feature_name", "group_name", "dataset_name", and "feature_value".

feature_data

A shiny::reactive that returns a dataframe with columns "feature_name", and "feature_display". Any other additional columns will be names of classes to group the features by. Each value in the "feature_name" column should only appear once.

group_data

A shiny::reactive that returns a dataframe with columns "group_name", "group_display", and optionally "group_description" and "group_color". Each value in the "group_name"column should only appear once.

dataset_data

A shiny::reactive that returns a dataframe with columns "dataset_name", and "dataset_display".

distplot_xlab

A shiny::reactive that returns a string

distplot_title

A shiny::reactive that returns a string

scale_method_default

A shiny::reactive that returns a string

feature_default

A shiny::reactive that returns a string

drilldown

A shiny::reactive that returns True or False

mock_event_data

A shiny::reactive that returns a dataframe. For testing purposes only. Must have columns "curveNumber", "pointNumber", "x", "y", and "key". The "x" column corresponds to the group selected, and the "key" column corresponds to dataset selected.

...

arguments sent to plotly_histogram


CRI-iAtlas/iatlas.modules documentation built on Aug. 8, 2024, 12:53 a.m.