You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You instructed me in a previous answer how to change the default color scale of iheatmapr using RColorBrewer palettes. Is there a way to to use the color palettes in the R package "virids" (https://github.com/sjmgarnier/viridis)?
The text was updated successfully, but these errors were encountered:
The colors argument can take a vector of colors. That vector can be generated using functions from viridis package. I chose n = 12 as number of colors above, but it gives pretty similar results with various n values of 5+ (there may be a right answer as to the number of colors based on how the viridis scales are constructed, but don't know at the moment).
You instructed me in a previous answer how to change the default color scale of iheatmapr using RColorBrewer palettes. Is there a way to to use the color palettes in the R package "virids" (https://github.com/sjmgarnier/viridis)?
The text was updated successfully, but these errors were encountered: