summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-10-15 16:30:44 +0300
committerFrederick Muriuki Muriithi2021-10-15 16:30:44 +0300
commita5bab0def8e3642611b08fdae81c97ce6e726b1a (patch)
treec09c272c8a6e9d0a695b145de42caf886476c7cb
parentaf106ca67183c18f57486231fded9fc348069d8a (diff)
downloadgn-gemtext-a5bab0def8e3642611b08fdae81c97ce6e726b1a.tar.gz
Update issue with data/info flow
* Document the flow of data/information through the system to the point where we get the partial correlations results. This should help with future tracing of the implementation details, and in extracting the implementation details to help with the migration of the feature to GN3/GN2
-rw-r--r--topics/gn1-migration-to-gn2/partial-correlations.gmi17
1 files changed, 16 insertions, 1 deletions
diff --git a/topics/gn1-migration-to-gn2/partial-correlations.gmi b/topics/gn1-migration-to-gn2/partial-correlations.gmi
index f6c103d..a5593a8 100644
--- a/topics/gn1-migration-to-gn2/partial-correlations.gmi
+++ b/topics/gn1-migration-to-gn2/partial-correlations.gmi
@@ -58,9 +58,24 @@ There is no indication,on the UI, of the difference between the **Pearson's r**
The user can also select the total number of results to return
-#### Possible Correlation Errors
+##### Possible Correlation Errors
* Tissue Correlation Error
* Literature Correlation Error
Maybe there is even a **Genetic Correlation Error**, but I am yet to run into it - I am simply extrapolating from my exploration with the existing system.
+
+#### Code Exploration
+
+These are some of the (possibly) relevant files in GN1 unearthed so far:
+
+* /web/webqtl/main.py: Entry-point -> goes to SearchResultPage then the ShowTraitPage/Collections page
+* /web/webqtl/correlation/PartialCorrInputPage.py: from collections on clicking "Partial"
+* /web/webqtl/cmdLine/cmdPartialCorrelationPage.py: from PartialCorrInputPage on clicking "Calculate" in the form in the second half of the page
+* /web/webqtl/correlation/PartialCorrTraitPage.py: from PartialCorrInputPage on clicking "Pearson's r" or "Spearman's rho" buttons in the first half of the page
+* /web/webqtl/correlation/PartialCorrDBPage.py: from cmdPartialCorrelationPage: form data is saved to file and used via CLI to compute the correlations - This seems to be the results page
+
+The relevant javascript files used on GN1 are:
+
+* webqtl.js: see `databaseFunc` and `validateTrait` functions
+* jqueryFunction.js: see `validateTraitNumber` function