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

Indent facets for ontology fields based on lineage #168

Open cmungall opened 9 years ago

cmungall commented 9 years ago

Inspired by:

For class detail pages, for facets like "annotation", rather than a flat list ordered descending by annotation count, it would be good to (1) indent the list of terms according to their inter-relationships and (2) remove terms not in the current lineage ( see GO-688 )

I believe we previously thought this required Solr4 (sorry if this is a dupe)

However, I don't think this is required. Everything should be there in the transitivity graph used to construct the inferred tree view.

cmungall commented 9 years ago

Example:

http://amigo.geneontology.org/amigo/term/GO:0003682

This:

screen shot 2015-01-13 at 8 13 34 pm

Should look like this:

http://amigo.geneontology.org/amigo/term/GO:0003682#display-lineage-tab

screen shot 2015-01-13 at 8 18 31 pm

(or at least have some kind of indentation approximating this; relation symbols not required)

At first this may seem like less useful, as we only pre-compute one level down. But in fact this is fine, users can drill down if they need to

cmungall commented 9 years ago

(without BFO of course)

kltm commented 9 years ago

Actually, mostly a dupe of kltm/bbop-js#30.