morinlab / GAMBLR

Set of standardized functions to operate with genomic data
https://morinlab.github.io/GAMBLR/
MIT License
3 stars 2 forks source link

splendidHeatmap mismatches the features between clusters if metadata is not sorted #67

Closed Kdreval closed 2 years ago

Kdreval commented 2 years ago

If the sample metadata provided to the splendidHeatmap is not arranged in the column that will be used for splitting the heatmap, this results in Features being misannotated between different clusters and not shown correctly. This needs to be changed by improving the logic of setting variable comparison_groups within that function.

In addition, the color scheme for the top annotation is reversed comparing to the color scheme of clusters and stacked barplot on the left.

Kdreval commented 2 years ago

This was addressed in PR #68