Skip to content

yonicd/shinyHeatmaply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRAN_Status_Badge Project Status: Active - The project has reached a stable, usable state and is being actively developed. downloads

shinyHeatmaply

Shiny application and Shiny gadget for the heatmaply pacakge. Functionality of the heatmaply package is accessed through Shiny UI.

We introduce a functionality that saves to disk a self contained copy of the htmlwidget as an html file with your data and specifications you set from the UI, so it can be embedded in webpages, blogposts and online web appendices for academic publications.

Video Introduction:

shinyHeatmaply

Install

  • CRAN:
install.packages('shinyHeatmaply')
  • Dev:
devtools::install_github('yonicd/shinyHeatmaply')

Shiny App or Shiny Gadget?

  • The application has an import interface as part of the application.

    • Currently: csv,txt,tab,xls,xlsx,rd,rda files are supported.
  • The gadget is called from the R console and accepts input arguments. The object defined as the input to the shinyHeatmaply gadget is a data.frame or a list of data.frames.

Launching

Application:

library(shiny)
library(heatmaply)
# If you didn't get shinyHeatmaply yet, you can run it through github:
# runGitHub("yonicd/shinyHeatmaply",subdir = 'inst/shinyapp')
# or just use your locally installed package:
library(shinyHeatmaply)
runApp(system.file("shinyapp", package = "shinyHeatmaply"))

Gadget:

library(shinyHeatmaply)

#single data.frame
data(mtcars)
launch_heatmaply(mtcars)

#list
data(iris)
launch_heatmaply(list('Example1'=mtcars,'Example2'=iris))

Example of saved htmlwidget Output