MD-Anderson-Bioinformatics / NG-CHM

A dynamic, graphical environment for exploration of clustered or non-clustered heat map data in a web browser.
https://bioinformatics.mdanderson.org/main/NG-CHM-V2:Overview
GNU General Public License v2.0
10 stars 9 forks source link

Convert cuts_color to hex if needed #541

Closed marohrdanz closed 2 weeks ago

marohrdanz commented 3 weeks ago

This is bug fix for this issue in the NGCHM R package repo: https://github.com/MD-Anderson-Bioinformatics/NGCHM-R/issues/35

Strictly speaking, this change in ShaidyRMapGen.java is all that is required to address the bug. However, for other color variables, the R code checks that the color name is valid. That check is included in a related PR in the NGCHM R package repo: https://github.com/MD-Anderson-Bioinformatics/NGCHM-R/pull/65