Caleydo/ordino

How to map ensembl ids to gene symbols?

thinkh opened this issue · 3 comments

I wrote a function that converts the ensembl ids into gene symbols for selections. The result looks like this:

grafik

The problem I noticed afterwards: I imported the mapping call from the targid_boehringer repo and used it here.

  • Do you have any ideas how to make the mapping call globally available?
  • Is there a mapping for the public ordino data available?
  • Or if all this is not possible, how I can move this call to the targid_boehringer repo?

The only availability is to hand it over in the Ordino options and pass it down to the Targid instance. But this looks a bit complicated.

Ordino doesn't know anything about genes

Yes, I know. That's why I'm asking how to move this function to one of the other repos, but keep the functionality.

I think you would want to have the function defined as an extension in the targid_common (since it knows genes) plugin and load it wherever you need it (similar to the importPostProcessor extension in that repo, but without the newData and newConfig stuff)
I think you already knew that...