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
Really love the d3heatmap package! Only have one problem when try to control the color representation with set data range.
I have a matrix with rows being different groups, columns being all the variables they answered.
Data range from 1 to 4. But continuous variables, meaning it can be 1.11,1.12,2.15, etc.
And although the min the value can be is 1, max can be is 4. But for each group, usually they would not have the full range of data.
The problem is, I created very interactive d3heatmap with ShinyApp which would allow the user to add or delete one or more groups from the huge matrix. In that way, the min and max value keep changing and causing the color assigned to the same value changing too.
I tried to define the breaks like what we can usually use in heatmap.2. (See below)
I thought since I defined different colors for different data range, the color for a certain value should not change by changing the min, max of the matrix.
However, if I add one more group with extreme low value comparing to other existing groups, the colors are still different for the same value.
By any chance you have any idea about why this is happening or how can i solve this problem?
Any suggestion would be helpful!
Thanks so much!
Ice
The text was updated successfully, but these errors were encountered:
Hello there,
Really love the d3heatmap package! Only have one problem when try to control the color representation with set data range.
I have a matrix with rows being different groups, columns being all the variables they answered.
Data range from 1 to 4. But continuous variables, meaning it can be 1.11,1.12,2.15, etc.
And although the min the value can be is 1, max can be is 4. But for each group, usually they would not have the full range of data.
The problem is, I created very interactive d3heatmap with ShinyApp which would allow the user to add or delete one or more groups from the huge matrix. In that way, the min and max value keep changing and causing the color assigned to the same value changing too.
I tried to define the breaks like what we can usually use in heatmap.2. (See below)
I thought since I defined different colors for different data range, the color for a certain value should not change by changing the min, max of the matrix.
However, if I add one more group with extreme low value comparing to other existing groups, the colors are still different for the same value.
By any chance you have any idea about why this is happening or how can i solve this problem?
Any suggestion would be helpful!
Thanks so much!
Ice
The text was updated successfully, but these errors were encountered: