info_panel: SNP info panel: Server

Description Usage Arguments Value Examples

View source: R/mod_info_panel.R

Description

SNP info panel: Server

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
info_panel(
  input,
  output,
  session,
  snp_name,
  all_individual_data,
  instructions,
  colors,
  current_individual_data
)

Arguments

input

Auto-filled by callModule | ignore

output

Auto-filled by callModule | ignore

session

Auto-filled by callModule | ignore

snp_name

String of the snp name

all_individual_data

Individual level data for all patients inc urrent cohort, needs to contain column snp containing copies of MA.

instructions

HTML tags corresponding to static content to be displayed in bottom half of info panel.

colors

A list of CSS-valid colors to paint interface in. Needs light_grey, med_grey, dark_grey, light_blue.

current_individual_data

Reactive individual level data for the currently viewed subset of the cohort, again needs a snp column.

Value

Server component of info panel module

Examples

1
callModule(info_panel, 'info_panel', snp_name, all_individual_data, current_individual_data)

tbilab/meToolkit documentation built on June 23, 2020, 9:55 a.m.