IGS / gEAR

The gEAR Portal was created as a data archive and viewer for gene expression data including microarrays, bulk RNA-Seq, single-cell RNA-Seq and more.
https://umgear.org
GNU Affero General Public License v3.0
14 stars 4 forks source link

Use "shadows" to speed up some of the API calls #899

Closed adkinsrs closed 1 month ago

adkinsrs commented 1 month ago

Several of the pre-plotting API calls do not require access to the expression matrix which I believe is the bottleneck in loading speeds of various steps. We can use the AnnDataShadow class to only load the parts we need

adkinsrs commented 1 month ago

Modified several of the API calls in pre-plotting steps for the curators. They should be much faster now

Also tried to modify the orthologs API call as well but from testing two separate profiles (mouse and zebrafish) the call was erroneously claiming that it could not establish a mapping with genes that were able to be mapped before.