Skip to content

Commit

Permalink
Merge pull request #31 from galaxyproteomics/newpal
Browse files Browse the repository at this point in the history
switch to scico pallette
  • Loading branch information
Caleb Easterly authored Apr 10, 2019
2 parents ec40470 + 9e5f8a4 commit 722cf30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions dev_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ dependencies:
- r-gplots==3.0.*
- r-ggplot2==3.0.*
- r-base==3.5.1
- r-scico=1.1.0
- r-jsonlite=1.5.*
- libiconv 1.15.*
5 changes: 2 additions & 3 deletions metaquantome/modules/viz.R
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,8 @@ hclust.ward <- function(x) {
}


# from brewer.pal(name = 'PuBu', n = 9)
heatmap_colors <- c("#FFF7FB", "#ECE7F2", "#D0D1E6", "#A6BDDB", "#74A9CF",
"#3690C0", "#0570B0", "#045A8D", "#023858")
library(scico)
heatmap_colors <- scico(30, palette = 'berlin')

mq_heatmap <- function(img, df, all_intcols, colSideColors, filter_to_sig, alpha, width, height, strip){
# df is the output from either expand, stat, or filter
Expand Down

0 comments on commit 722cf30

Please sign in to comment.