Open mzahm opened 6 years ago
Hi, thank you for using InChlib.
First: Currently, it is not possible to color heatmap by row, however, since there can be metadata in both rows and columns, I think it should be no problem to transpose the data?
Second: Currently, it is not possible, I've been thinking about this feature for some time. I'll try to implement it and let you know when it's done.
Best, Ctibor
Hi, Thank you for your answers.
First: It should be a possibility but if I switch rows and columns, can I cluster by columns only? Second : It would be great to have this!
Hi, so, I finally added the possibility to specify colors for metadata values (both for row/column metadata).
To use this functionality use the dev ver. of InCHlib and in the metadata settings specify the value2color attribute in a form of a {value: color} object, e.g.:
"metadata": { "draw": true, "colors": { "value2color": {"value_1": "#c00000", "value_2": "green"}, "default": "#F5F5F5" } },
You can also specify the default color, in case any key is not found in the value2color attr.
As for the only columns clustering, it will take a little bit more time.
Let me know if everything works OK.
Best, C.
Hi,
Thanks for this fantastic tool. It can do so much! I have some questions though. First : Is there a way to have heatmap coloring by row? I can not transpose the data to have rows in columns and vice versa because I have some metadata. This leads to my second question : Is it possible to specify metadata colours according to their values? For example values a in red, b in blue, c in orange and d in green?
Thanks for your help!