sjmgarnier / viridis

Colorblind-Friendly Color Maps for R
http://sjmgarnier.github.io/viridis
Other
294 stars 38 forks source link

integration with iheatmapr package #58

Closed alpreyes closed 6 years ago

alpreyes commented 6 years ago

I have seen how to implement the viridis color palettes with ggplot2. But is there a way to integrate viridis with the iheatmapr package (https://github.com/ropensci/iheatmapr)

sjmgarnier commented 6 years ago

@alpreyes It looks like iheatmap as a colors parameter that takes color vectors. You can get such vectors using the viridis function in viridisLite.