shinyHeatmaply – a shiny app for creating interactive cluster heatmaps

My friend and I () are pleased to announce the release of  (0.1.0): a new Shiny application (and Shiny gadget) for creating interactive cluster heatmaps. shinyHeatmaply is based on the  R package which strives to make it easy as possible to create interactive cluster .

The app introduces a functionality that 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.

You can see some of ‘s capabilities in the following 40 seconds video:

 

Installing shinyHeatmaply

From :

install.packages('shinyHeatmaply')

From :

devtools::install_github('yonicd/shinyHeatmaply')

Running the app/gadget

The application has an import interface as part of the application which currently supports csv, txt, tab, xls, xlsx, rd, rda. You can start the app using:

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"))

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. You can start it using the following code:

library(shinyHeatmaply)
 
#single data.frame
data(mtcars)
launch_heatmaply(mtcars)
 
#list
data(iris)
launch_heatmaply(list('Example1'=mtcars,'Example2'=iris))

牵手常德棋牌官方下载You can see an example of . Or view the following iframe:

We would love to get your feedback!

For or feature requests, please visit the .

Post post credit:牵手常德棋牌官方下载 shinyHeatmaply was made thanks to the dedication of , and based on recent features added to heatmaply by . I am very grateful to them both. This could also not be made possible by the amazing work of the RStudio’s team on , and of on . And lastly, to my adviser for his support and advices.

8 thoughts on “shinyHeatmaply – a shiny app for creating interactive cluster heatmaps”

    1. Thanks PetitCrapaud,
      The correct link is:

      牵手常德棋牌官方下载 And I’ll fix it in the post now.

      Best,
      Tal

  1. I tried running the code from the post and got errors: > install_packages(‘shinyHeatmaply’)
    Error: could not find function “install_packages”
    > install.packages(“shinyHeatmaply”)
    Installing package into ‘C:/Users/lpohlma/Documents/R/win-library/3.2’
    (as ‘lib’ is unspecified)
    Warning in install.packages :
    package ‘shinyHeatmaply’ is not available (for R version 3.2.3)

    1. Hi Larry,
      Thanks for the comment, I’ve now fixed it in the text to read:
      install.packages(“shinyHeatmaply”)

      牵手常德棋牌官方下载If this does not work for you, please change your CRAN mirror. The package was uploaded only about a day and it may take another day until all CRAN mirrors will have a copy of it properly rendered.

      Cheers,
      Tal

  2. Pingback:
  3. 牵手常德棋牌官方下载Great app! Is there a way to make sure the app closes when you close the window when using viewerType=’browserViewer’? Right now, when I close the browser window running the widget, the console lingers as if the app is still open.

  4. Hi. Thanks for the great app. I love it. I am currently implementing this in an app.
    牵手常德棋牌官方下载 I have a question:

    In my app I have some ggplots that I would like to tie with the heatmap data.
    I would like the user to click on the heatmap, and based on the click, the appropriate sample in ggplot(s) get annotated.

    Is there anyway to add mouse click events to this package? I would like to basically have the “clickOpt” feature on ggplot2 shiny implemented in this app.

    Any suggestion or guidance is well appreciated.

    Thanks.

Leave a Reply

This site uses Akismet to reduce spam. .