geneontology / wc-ribbon

This repository contains a collection of web components, initially centered on the GO ribbon, a UI tool to visualize a summary of annotations for gene and gene sets.
http://geneontology.org/ribbon.html
2 stars 1 forks source link

Ribbon table : group rows by columns #21

Closed lpalbou closed 4 years ago

lpalbou commented 4 years ago

I am trying to reuse the biolink association data as much as possible, to avoid a rewrite of the API. This could (and maybe should) be done, at least for the compact routes, but in the meantime the idea is to group the rows based on a set of columns.

Pros:

Cons:

lpalbou commented 4 years ago

First pass: https://github.com/geneontology/wc-ribbon/commit/ca0e7fe8eb8b2906300e5e8373dd3ab93a1cbe64

The group rows by columns is working but it's not displayed at the moment as the renderer can only display a single value per cell. I have to alter a model possibly to create a SuperCell able to contains multiple Cells; and a SuperCell will just be a cell (row, column) of the table.

lpalbou commented 4 years ago

Third pass: https://github.com/geneontology/wc-ribbon/commit/6a5b2913d23fab401492a2fddce8a9077a934176

This allows a multi-steps grouping of table rows based on groups of headers

lpalbou commented 4 years ago

Solved here: https://github.com/geneontology/wc-ribbon/commit/68bdf1cc8fb52e1af7b537466edf4913339cbbb8