Closed muschellij2 closed 5 years ago
we had viridis as a package dependency for a long time ( in ANTsR )
colormap advantages: one line to have access to a bunch of different useful common color mapping schemes
disadvantages: dependencies, does not have basic maps like red, blue
anyway, those are my comments. i would suggest a fork that works on the various issues associated wtih plot.antsImage
many of which go beyond this. it should be rewritten, decluttered.
Closed by removing these dependencies.
So
colormap
requiresV8
which requires a 3rd party install ofv8
on machine. Probably going to cause some headaches downstream for installers. Maybe use theviridis
package if wanting that palette? https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html. Or you can usecolorRampPalette
orcolorRamp
.