Skip to content

Commit

Permalink
Merge pull request #252 from evanbiederstedt/feature/d3heatmap_replace
Browse files Browse the repository at this point in the history
Update README to include information how to port d3heatmap functions
  • Loading branch information
talgalili authored Oct 9, 2020
2 parents 3f9bcf8 + 384888a commit b5fc000
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ There are also more complex biological examples of using heatmaply in the R pack
- [Using heatmaply for visualizing glmnet coefficient path](https://cdn.rawgit.com/talgalili/heatmaplyExamples/master/inst/doc/glmnet.html)



### Saving your heatmaply into a file

You can save an interactive version of your heatmaply into an HTML file using the following code:
Expand All @@ -135,6 +136,16 @@ heatmaply(mtcars, file = "folder/heatmaply_plot.png")
browseURL("folder/heatmaply_plot.png")
```

### Replacing d3heatmap with heatmaply

The package [d3heatmap](https://github.com/rstudio/d3heatmap) is no longer actively maintained.

If users are interested in replacing their `d3heatmap` functions, this is easily done with `heatmaply`:

* Function calls `d3heatmap::d3heatmap()` can be replaced with `heatmaply::heatmaply()`
* Users of `d3heatmap` for `shiny` applications can use the following functions:
* `d3heatmap::d3heatmapOutput()` can be replaced with `plotly::plotlyOutput()`
* `d3heatmap::renderD3heatmap()` can be replaced with `plotly::renderPlotly()`


## Acknowledgements
Expand Down

0 comments on commit b5fc000

Please sign in to comment.