Skip to content

Instantly share code, notes, and snippets.

View JasonCEC's full-sized avatar

Jason Cohen JasonCEC

View GitHub Profile
@ijlyttle
ijlyttle / modalButton.R
Last active January 13, 2016 18:49
Modal button for shiny
library(shiny)
#' modalButton
#'
#' Creates a modal dialog box. \code{header} and \code{content} can
#' include shiny inputs and outputs.
#'
#' @param inputId Specifies the input slot that will be used to access the value.
#' @param label The contents of the button or link–usually a text label, but you could also use any other HTML, like an image.
#' @param icon An optional icon to appear on the button.
@trestletech
trestletech / README.md
Last active October 3, 2018 10:16
Shiny Example #3 for Bioconductor.

Bioconductor Shiny Example #3

Simple app showing the relationship between a gene's expression and survival.

This is an example Shiny app featuring some basic analysis of Ovarian Cancer gene expression data collected on the Affymetrix U133A platform. We filter the available genes and samples down to a much smaller matrix to make reproducibility simpler for a broader audience. The R code involved in sampling the data is available in this Gist as an R-Markdown file, and the sampled data are available in this Gist as Rds files.

To run the application, install shiny (install.packages("shiny")) then run the following command:

library(shiny)