geneontology / amigo

AmiGO is the public interface for the Gene Ontology.
http://amigo.geneontology.org
BSD 3-Clause "New" or "Revised" License
29 stars 17 forks source link

Matrix tool: please supply maximum number of allowed terms #603

Open ValWood opened 4 years ago

ValWood commented 4 years ago

I got this yesterday (not sure how many terms were here), but initially,

![Uploading Screen Shot 2020-09-21 at 20.40.46.png…]() I thought it was broken.

kltm commented 4 years ago

@ValWood Unfortunately, that link does not seem to work. If you're still able to get the error, could you re-upload?

ValWood commented 4 years ago
Screen Shot 2020-09-21 at 20 40 46

Does this work? It presumably looks like this if you use a super long list. This used the 'slim set' from https://royalsocietypublishing.org/doi/10.1098/rsob.180241 which has 132 terms.

I'm not suggesting that it should necessarily work with such a long term list but it would be good to know what the maximum is....

kltm commented 4 years ago

@ValWood Yeah, wow, geez--I can see that now and can replicate.

There is no strict upper limit; it's more about what one can tolerate. For me, 50 entries was fine, but unpleasant overlap started making it unusable for me around 75. I might be able to find a setting somewhere to allow it to continue to try and scale down, but there will eventually be a limit on font-size and legibility. Using the D3 toolkit was sometime ago and I don't remember the particulars. Otherwise, we could maybe look in to redoing the app with something that allows scaling of some kind. (Naturally, the latter may be hard to pull developers onto as it would take some time.)