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
12 stars 4 forks source link

Dataset Collection - tsne / umap preview resolution #741

Open DanLesperance opened 1 month ago

DanLesperance commented 1 month ago

The resolution on the tsne/umap previews can be a bit rough to look at. If we don't have a good resolution tsne/umap maybe we keep the no preview image.

Screenshot 2024-07-08 at 1 21 14 PM

adkinsrs commented 1 month ago

These were generated and stored in the "dataset_previews" directory of images. Ultimately it's still a case of the image being stretched to fill the container. One future option would be to pass a "scope" option to he tsne api call to determine if it is a normal, zoomed, or dataset preview version. Would still take experimentation to figure out the best image ratio for each

adkinsrs commented 1 month ago

Also worth noting these "dataset previews" were generated using v1 api code

adkinsrs commented 1 month ago
Screenshot 2024-07-22 at 3 35 47 PM

Example of a dataset where the aspect ratio is preserved. For the standard two-column tSNE images, it makes it look pretty unreadable.