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

Viewer: Width of row covariates and height of column covariates differs widely based on mode map is viewed in rather than width set in viewer. #123

Open jmelott opened 3 years ago

jmelott commented 3 years ago

Originally Pivotal Tracker issue: https://www.pivotaltracker.com/story/show/173160712 bug entered by James M. Melott on 06/03/2020

See images below for same map in different views. Largest width taken for row covariates is 1.47 times the space taken for smallest width. Largest height taken for column covariates is 1.37 times the space taken for smallest height. Shouldn't these remain the same between views just like the space for the dendrograms does?

Full view Pasted Image at 2020_06_03_13_06 pm

Horizontal ribbon view Pasted Image at 2020_06_03_13_06 pm (1)

Vertical ribbon view Pasted Image at 2020_06_03_13_06 pm (2)

jmelott commented 3 years ago

@markstucky - Jun 4 2020, 8:48 am This has always been the case because the covariate bars are embedded in the canvas. Note how the data rows/cols differ in height/width. The width set in the viewer does play a role in the height/width, but it is not the only factor. An effort was undertaken a while back to separate the covars from the summary canvas but it was decided to not do so on the detail side.