AdrianBZG/InterMine-Data-Browser-Tool

when adding a filter on GO, dataset, pathway, add those columns to the view [doubts solved]

yochannah opened this issue ยท 10 comments

Once a filter has been applied, make sure to select the relevant columns in im-tables.

e.g. if I have sorted on a GO term, I'd like to have that GO term displaying in my im-table in the middle.

@yochannah Please remember to question about removing filters without saving the query itself, and how to do an OR instead of AND.

@yochannah I have already implemented this in local, and the result is that the im-table takes a looot of time to load since it needs to add all the three columns (go term + dataset + pathway name). I've been waiting for 20 minutes and is still not loaded, so in my opinion I think this is not a good approach. We can alleviate this with the "see the filters" issue, since the user will see which filters are active, so it's the 'same'... what do you think?

Yikes. Is it ok with only one filter / extra view at a time?

@yochannah With only one is ok, the problem is that the user may filter by different 'filters' at the same time, so how to decide which one we show?

@AdrianBZG we'll need to have a think...

@rachellyne @julie-sullivan any thoughts here? It seems reasonable to cast a broad eye over the data, given that it's a data browser.... but I'm guessing "show me the first 20 rows of all genes associated with all pathways and all GO terms and all datasets... etc" is still making humanmine choke for good reason ๐Ÿ˜†

Worst case is that we only show one filter at a time, but maybe there's some other way to approach this?

@yochannah @rachellyne @julie-sullivan Maybe a selectable to choose which of the three views put as extra column in the im-table? Idk

I may be missing what you are doing, but why would you want to show all genes, all GO and all Pathways? If you start with all genes, and then add filters, your dataset should only get smaller.
Do you mean you can't add additional columns unless they are there from the start? I think that would be an impossible situation!

If you can see what you have filtered on on the left, maybe it's not necessary to add a column as well? It will only add a column showing the value/content of the filter.

I agree with Rachel! Best not to add columns when adding filters. That's not typical behaviours for faceted searches.

A separate bit of functionality we could add later is the ability to add data types like the results tables do. But it shouldn't be tied to the filters.

@rachellyne @julie-sullivan Yes, the problem is that showing all the columns takes a lot of time to load the table, for instance try the following in HumanMine:

image

But since now the filters are being displayed to the user and he/she can remove them, I think there is no more need to add the new columns ๐Ÿ˜„ (this discussion was opened before that functionality was added)