Open JobLeonard opened 8 years ago
Working on a simple way to group sparklines, but it has some warts to work out:
OK, we have three different but overlapping features that interact in a way that makes them very confusing at the moment:
These all have different interactions. Legend and sorting for example:
Original order:
Louvain-Jacard:
Louvain-Jacard, Cdk1:
Louvain-Jacard, Top2a:
Louvain-Jacard, Top2a, Cdk1
Louvain-Jacard, Cdk1, Top2a:
(this used to be a bigger issue when we only had heatmap plots)
Clearly grouping and sorting are related: we first group, then we sort within the groups.
Grouping and legend can become confusing if we group by one attribute, but use a different one for the legend. There may be situations where this is useful (say, group by cluster, but use tissue as the legend to see how the clustering worked out), but I think it makes more sense to tie grouping and legend to the same attribute.
Another issue is that sometimes we have a lot more groups than twenty. The OligosAll set has 266 clusters. Below is the result of gouping the first 100, and putting the rest in an "other" group:
One quick fix is to combine every group after the first twenty groups into one "other" group:
It doesn't really feel satisfactory though, especially since we currently only show the twenty biggest groups. So this needs to be reworked.