From a4513fb98470aba8484fe87531dc75aec340bd1a Mon Sep 17 00:00:00 2001 From: adkinsrs Date: Mon, 9 Sep 2024 15:19:34 -0400 Subject: [PATCH] Fixing issue where tSNE params would reset after running --- www/js/classes/analysis.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/js/classes/analysis.js b/www/js/classes/analysis.js index ecfc00c3..69863bc9 100644 --- a/www/js/classes/analysis.js +++ b/www/js/classes/analysis.js @@ -1811,6 +1811,8 @@ class AnalysisSteptSNE { this.tsneCalculated = Boolean(computeTsne); this.umapCalculated = Boolean(computeUmap); this.genesToColor = document.querySelector(UI.tsneGenesToColorElt).value; + this.nNeighbors = document.querySelector(UI.dimReductionNNeighborsElt).value; + this.nPcs = document.querySelector(UI.tsneNPcsElt).value; this.plotTsne = plotTsne; this.plotUmap = plotUmap; this.updateUIWithResults();