shiny_lasso_test_reactval: Shiny Lasso Test w/ Reactive Values

View source: R/module_lasso.R

shiny_lasso_test_reactvalR Documentation

Shiny Lasso Test w/ Reactive Values

Description

Tests the shiny lasso module as a stand-alone application when the tomic is a reativeVal.

Usage

shiny_lasso_test_reactval(tomic, tomic_table)

Arguments

tomic

Either a tidy_omic or triple_omic object

tomic_table

A table taken from a tidy (i.e., augmented measurements) or triple omic dataset

Value

A shiny app

Examples

if (interactive()) {
  tomic <- brauer_2008_triple
  tomic_table <- tomic[["samples"]] %>% dplyr::filter(nutrient == "G")
  shiny_lasso_test_reactval(tomic, tomic_table)

  tomic_table <- tomic[["measurements"]] %>% dplyr::filter(expression < -3)
  shiny_lasso_test_reactval(tomic, tomic_table)
}

romic documentation built on Sept. 21, 2023, 9:06 a.m.