-
Notifications
You must be signed in to change notification settings - Fork 37
highlight known causative genes or models on grid view #264
Comments
I recently fixed the IE issue where the x axis labels didn't appear. After the fix, there's a wee gap between the labels and the axis line below. Perhaps we can put an icon below the causative genes? |
How about a different background color for the column? shade it somehow? On Apr 8, 2014, at 1:42 PM, cborromeo [email protected] wrote:
Harry Hochheiser |
Chris, we were just looking into this. How can we get the causative gene out of the disease info? - I don't see it there. |
When you fetch the disease, like ...OMIM:12345.json, there is a gene_associations object...those are your genes of interest. |
should we highlight all of those?
|
Yes. There will typically only be a few |
To get to the orthologous genes of known causitive disease-genes, it is less straightforward. At the moment, you'd have to do a series of calls to get the orthologs of the genes in the gene_associations object. Basically, for each gene in the gene_associations, you'd have to do the .../gene/NCBIGene:12345.json call and pull out the gene ids in the orthologs object. Iterating will obviously be awful for performance. We could consider adding a orthologous_gene_associations object to the disease page to make this faster, or perhaps adding an ortholog list to each of the genes in the current gene_associations (I like this option better), which just pushes the joining upstream and will make the initial generation of the disease page take longer. Maybe that's fine. |
to decrease the time of adding orthologs as above, requires a little refactoring of the source data nlx_84521-1, panther) in NIF. i'm redoing the index now, hope to have a first version of this today. |
considering we currently don't ever show human genes in the grid, i suppose you have to wait for the ortholog objects to be present. although, you could solve the problem using the strategy above, by fetching the gene object for any of the associations to get the orthologs. |
ok, i've worked on this problem in the api, and i now think that the best thing to do is to iterate over the genes that are in the disease-gene association object, calling the .../gene/.json and retrieving the ortholog list. often there will only be one gene in that list (there is infrequently very many, so i think this is fine). this has the side benefit that you would then have the phenotypes of the gene at your disposal, if you wanted to add the causative gene into the list of comparative results (if it wasn't previously there), as in ticket #361. |
not yet implemented. discussion moved to monarch-initiative/phenogrid#133 |
Example: HSPG2 is known to be the causative gene for Schwartz-jampel Syndrome, Type 1
This should be shown in the grid view (and should also be shown in the table underneath but this is probably a related ticket).
Unclear how best to show this. Show gene in bold? Highlight whole column (example attached in screenshot)
The text was updated successfully, but these errors were encountered: