Go to
Search for traits 'synap*'
Select all and Add in search results.
Pick 3 and hit 'Partial'
Put one each in X, Y and Z columns
And compute against database (lower half).
That gives you a list of hits.
#### UI Exploration
The example in the description above says to pick 3 traits from the search results to use for the partial correlation.
If you, however, find need to pick more than 3 traits, the following things are of note:
In the lower half, the user can select the database against which the partial correlations are to be run. I still need to figure what this is about - probably read the code and ask a lot of questions as necessary.
The user can also select what to calculate, from the following list:
There is no indication,on the UI, of the difference between the **Pearson's r** and **Spearman's rho** with the buttons, and those in the list in the lower half of the page.
The user can also select the total number of results to return
##### Possible Correlation Errors
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:
The relevant javascript files used on GN1 are:
#### UI Explorations
Some extra notes on UI that were not noted down:
#### Code Exploration
**RISet** values should be interpreted as **group** **strain** values should be interpreted as **sample**
There's some UI setup code after selection of the traits to use for the partial correlation. The UI setup code will probably be migrated to GN2, leaving the heavy-lifting "Partial Correlations" code, that I assume exists, for migration to GN3.
For GN3, it seems like we can simply reuse some of the trait-retrieval code migrated over when working on the clustered heatmaps.
The greatest amount of time is spent in the database accessing code. The two biggest culprits are:
Possible optimisation ideas are as follows: