-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Can I display custom mouse-over gene descriptions? #62
Comments
Hi @matrs, thanks for the feature request. I think this feature overlaps with what we have planned here ismms-himc/clustergrammer-gl#25 I think the way we'll implement this for Clustergrammer2 is that we'll have a method for tooltip metadata (e.g. |
Well, it sounds great, specially the part about embedding it so it works with static html files. |
Given that annotations potentially can have a lot of text, can be a secondary option to have that annotation as external file (maybe a compressed format) and link it from the html? can |
Hi @matrs, that makes sense to limit the amount of data embedded into the visualization JSON (we're going to be improving our JSON format soon which will make saving the data more efficient). The static HTML will not be able to load information from a file because of web security issues (I believe this falls under CORS requests). The current mouseover information is being retrieved by the Harmonizome (http://amp.pharm.mssm.edu/Harmonizome/) API which allows CORS requests (e.g. front-end code can make a GET request). One solution for this type of problem (e.g. hosting data that can be retrieved by front-end code) is to use GitHub to host the text and then load it from there using GET requests. We're doing something like this on this Observable notebook (https://observablehq.com/@ismms-himc/covid-19-sars-cov-2-preprints-from-medrxiv-and-biorxiv) and the repo we're making request from is here https://github.com/ismms-himc/covid-19_sinai_reviews. |
Hello,
lets say i have a set of genes from a non-model organism, but i do have gene annotations/descriptions. Can I use those? (without resorting to write javascript). I read the documentation and didn't find anything about it, so it seems i can't. I was thinking something like passing this annotation
table/df
tojs
and use that instead of retrieving data from the web could be a very useful option.The text was updated successfully, but these errors were encountered: