ebi-gene-expression-group / atlas-heatmap

Heatmap visualizing bulk Expression Atlas data
8 stars 2 forks source link

Alternative to tab panel in widget? #10

Closed j-andrews7 closed 6 years ago

j-andrews7 commented 6 years ago

On the web page, there is a panel on the left side (at least for homo sapiens), that let's you display different groups of experiments, like cell lines, diseases, etc. Is there a way to specify multiple experiments for display in the widget?

j-andrews7 commented 6 years ago

I've come across the npm package for the experiment page, but it's not really clear how it can be utilized.

As an aside, the widget works quite well in Electron applications as well.

alfonsomunozpomer commented 6 years ago

Hi, currently such functionality isn’t supported by the widget. However, the React component that shows the left sidebar and uses the heatmap is here: https://github.com/ebi-gene-expression-group/atlas/tree/dev/gxa/src/main/javascript/atlas_bundles/baseline-expression

Unfortunately it’s one of the oldest parts of the project and there are certain conventions and ES idioms which are somewhat outdated (we don’t use jsx extensions anymore, we made our own crude router instead of using ReactRouter, there are no tests to be found, we parse URLs without any libraries...). Still, we’ll be very curious if this somehow helped or if you could package it in its own SPA.

HTH.

j-andrews7 commented 6 years ago

It's good to know it exists, but I have thus far avoided React in this project and it would likely require a pretty good amount of work (and learning on my part) to incorporate it properly.

A follow-up question though: is there anyway to programmatically retrieve lists of all experiments for a given organism? Or just a flat list of all the experiments (names & indentifiers) somewhere that I can download?

alfonsomunozpomer commented 6 years ago

Sure thing: https://www.ebi.ac.uk/gxa/json/experiments

j-andrews7 commented 6 years ago

That is perfect, thank you. I'm going to close this since my question has been answered.

alfonsomunozpomer commented 6 years ago

Thank you and don’t hesitate to get in touch with us again should you need anything. May I ask where are you integrating the widget?

There is also a mailing list, atlas-widget@ebi.ac.uk, where we announce new releases of the widget and we advise of breaking changes (if any), test releases, etc. It’s very low traffic (you won’t get more than a couple of emails per month), and you’re more than welcome to join if you want.

j-andrews7 commented 6 years ago

Sure - it's an Electron app called Genotify for quick gene lookup & summarization that integrates information from multiple databases through their APIs. Works for pretty much any species, is cross-platform, and easier than futzing with constantly Googling things when searching lists from -omics results or doing a lit review. In theory, anyway.

I haven't made the binaries yet for the latest release, but the master branch in the repo is up to date if you have any desire to see it in action and have node.js installed.

I wanted a way to integrate expression data and your widget was by far the best solution, so thanks for it! We plan to submit the paper for Genotify in the next week or two.

alfonsomunozpomer commented 6 years ago

I just cloned it and played quickly with it. Looks good and definitely it’ll be useful to have comprehensive information about a gene in a single place. I’m happy to see that the widget integrates nicely with an Electron app (no reason why it shouldn’t), but it’s the first use case we’ve had in a desktop app.

alfonsomunozpomer commented 6 years ago

As a sidenote, I don’t know if you’re familiar with the Open Targets Platform, they might have pointers to helpful resources for your app. For instance, here’s a view of a human gene: https://www.targetvalidation.org/target/ENSG00000123374

j-andrews7 commented 6 years ago

ProtVista is actually exactly what I felt I was missing! JBrowse needs too much backend data, but the ProtVista widget should work perfectly. Hopefully I will include it in the next release. Thanks for the tip.

On Wed, Jun 27, 2018, 4:51 AM Alfonso Muñoz-Pomer Fuentes < notifications@github.com> wrote:

As a sidenote, I don’t know if you’re familiar with the Open Targets Platform https://www.targetvalidation.org/, they might have pointers to helpful resources for your app. For instance, here’s a view of a mouse gene: https://www.targetvalidation.org/target/ENSG00000123374

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ebi-gene-expression-group/atlas-heatmap/issues/10#issuecomment-400612711, or mute the thread https://github.com/notifications/unsubscribe-auth/AJwINF3hvychMuzYQMTNGVXFN_IikAemks5uA1WfgaJpZM4Ur_uK .