Open jmcmurry opened 6 years ago
Hi Julie,
there are many sorting algorithms, but why not just do something simple and sort the terms according to the same predefined scheme or organs.
brain
-morphology
--sub part 1
-subpart 2
-physiology
heart
-morphology
-physiology?
etc.
Then our users would get used to some default ordering.
-Peter
Peter Robinson
Professor and Donald A. Roux Chair, Genomics and Computational Biology
The Jackson Laboratory for Genomic Medicine
10 Discovery Drive
Farmington, CT 06032
860.837.2095 t | 860.990.3130 m
peter.robinson@jax.orgmailto:peter.robinson@jax.org
www.jax.org
Robinson lab: https://robinsongroup.github.io/
New Book: Computational Exome and Genome Analysishttps://www.crcpress.com/Computational-Exome-and-Genome-Analysis/Robinson-Piro-Jager/p/book/9781498775984
The Jackson Laboratory: Leading the search for tomorrow's cures
From: Julie McMurry notifications@github.com Sent: Monday, December 4, 2017 7:17 PM To: monarch-initiative/owlsim-v3 Cc: Subscribed Subject: [monarch-initiative/owlsim-v3] Phenotype sort (#92)
We'd like an algorithm that orders a list of phenotypes in a way that minimizes the sum of the sim distances between adjacent terms, with an option to co-sort two similar lists as well (retaining their membership in the original lists).
Note that ideally, any runner-up matches would be noted (and sorted) as such; see genome-one/monarch#35https://github.com/genome-one/monarch/issues/35
The information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible.
We'd like an algorithm that orders a list of phenotypes in a way that minimizes the sum of the sim distances between adjacent terms, with an option to co-sort two similar lists as well (retaining their membership in the original lists).
Note that ideally, any runner-up matches would be noted (and sorted) as such; see https://github.com/monarch-initiative/monarch-app/issues/1525 which replaces https://github.com/genome-one/monarch/issues/35