Type: Package
Title: Deploy 'heatmaply' using 'shiny'
Version: 0.2.0
Date: 2020-04-02
Maintainer: Jonathan Sidi <yonicd@gmail.com>
Description: Access functionality of the 'heatmaply' package through 'Shiny UI'.
Depends: R (≥ 2.3.0), heatmaply (≥ 1.0.0)
Imports: shiny,htmltools,plotly,dplyr,stats,xtable,tools,rmarkdown,utils,readxl
License: GPL-2 | GPL-3
URL: https://github.com/yonicd/shinyHeatmaply
BugReports: https://github.com/yonicd/shinyHeatmaply/issues
LazyData: true
NeedsCompilation: no
Packaged: 2020-04-03 11:10:14 UTC; yonis
RoxygenNote: 7.0.2
Author: Jonathan Sidi [aut, cre], Tal Galili [aut]
Repository: CRAN
Date/Publication: 2020-04-06 16:40:02 UTC

html2tagList

Description

convert raw html to tagList

Usage

html2tagList(x)

Arguments

x

character vector of html

Examples

x<-'<h1>Title</h1>
   <h2>Header text</h2>
   <p>Text here</p>
   <h1>Title</h1>
   <h2>Header text</h2>
   <p>Text here</p>'
   
 html2tagList(x)  

require(xtable)
htmlIn<-print(xtable::xtable(mtcars),type = 'html',print.results = FALSE)
htmlIn
tagL<-html2tagList(htmlIn)
class(tagL)
tagL
if(interactive()) htmltools::browsable(tagL)

importSwitch

Description

utility function to read imported data

Usage

importSwitch(file)

Arguments

file

path to imported file

Value

data.frame


launch_heatmaply

Description

launch shiny app UI for heatmaply from R console

Usage

launch_heatmaply(obj, plotHeight = 800, viewerType = "paneViewer")

Arguments

obj

data.frame or list of data.frames

plotHeight

numeric that sets the height of the plot output (default 800px)

viewerType

character of the viewer to be used to launch the app to c('paneViewer','dialogViewer','browserViewer')

Examples

## Not run: 
if(interactive()){
data(mtcars)
launch_heatmaply(mtcars)

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

## End(Not run)