Skip to content
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

Group by taxon and type in compare by ID #258

Open
kshefchek opened this issue Oct 18, 2016 · 6 comments
Open

Group by taxon and type in compare by ID #258

kshefchek opened this issue Oct 18, 2016 · 6 comments
Assignees

Comments

@kshefchek
Copy link
Contributor

Phenogrid has the functionality to compare a set of input IDs against a profile of phenotypes. However, the results are displayed in the order given and are not grouped by taxon or type. For example:

https://beta.monarchinitiative.org/analyze/phenotypes?input_items=HP%3A0002322&mode=compare&target_species=all&limit=100&gene_list=NCBIGene%3A3975%2CMGI%3A1856874%2C+MGI%3A5646293

How hard would it be to have phenogrid group these by type and taxon? This would be useful for our patient pages and ortholog-phenotype tabs.

@kshefchek kshefchek changed the title Group by taxon and type in compare search Group by taxon and type in compare by ID Oct 18, 2016
@harryhoch
Copy link
Collaborator

@kshefchek, you mean the targets, right? Right now, they are ordered in columns by strength of search. We might be able to add arbitrary sorting, if that information of type and taxon always come across in the owlsim results. Does it?

@jmcmurry
Copy link
Member

Agreed this is important. It is related to some existing tickets on the "analyze phenotypes" tag but might this be a useful way of thinking about it?

Facets: Display type: Column sort/group options:
- Taxon - Summary by gene - Sort by match score
- Type - All variants - Sort by number of matched phenotypes
- All genotypes, etc - Sort by number of unmatched phenotypes
- All models available for purchase - Group orthologs in contiguous columns

@kshefchek
Copy link
Contributor Author

Yes, I simply want "Homo sapiens genes (2)" and the separator brackets, the taxon and type are available in the compare call. There may be some instances where taxon is not available (for example patients/cases until the next release). In this case just "Cases" would do.

@harryhoch
Copy link
Collaborator

ok, these are definitely things we could discuss. @yuanzhou, what do you think? Is there any obstacle to sorting the columns?

@yuanzhou yuanzhou self-assigned this Oct 19, 2016
@yuanzhou
Copy link
Member

@kshefchek just to make sure I understand your idea. Below is the screenshot of your linked example.

capture

Are you suggesting to group just the target(genes or genotypes) x-items? In this example, LHX1 is a human gene, and the rest two are mouse genes. Then I'll have two group labels "Homo sapiens genes (1)" on top of the first gene, and "Mus musculus genes (2)" on top of the rest?

@kshefchek
Copy link
Contributor Author

Yes exactly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants