UofS-Pulse-Binfo / rawphenotypes

A Tripal module for storing raw phenotypic data. Specifically meant to help researchers contribute raw data, visualize summaries and download for further analysis.
2 stars 2 forks source link

Issue# 66 - Summary page updates #67

Closed reynoldtan closed 5 years ago

reynoldtan commented 5 years ago
reynoldtan commented 5 years ago

Issue# 66 - Summary page updates

Metadata

[https://github.com/UofS-Pulse-Binfo/rawphenotypes/issues/66]

Documentation:

Description

Summary page references a number of table to generate a summary of traits required by the heatmap. Each trait is then cross-checked for presence of value/data to ensure that it can be visualized. With the growing number of data and process involved to generate a summary, might cause the extended delays.

A table (materialized view) containing a summarized data of all raw phenotypes is available and by using this already summarized information, page load time significantly improved.

Dependencies

no dependencies.

Testing?

I compared page load time of summary page in portal versus KP clone and accessed projects available in either sites and compared the set of traits available for visualization. In both trials, page load time with this PR is faster than that in portal and traits appear to be the same.

Note: This PR now sorts the traits in alphabetical order.

laceysanderson commented 5 years ago

Also, tests need to pass before functional review.

reynoldtan commented 5 years ago

Revised query to speed up summary page. Back to you Lacey.