@sjcrh/proteinpaint-client 2.203.0 → 2.203.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (884) hide show
  1. package/dist/2dmaf-6CEBP4SA.js +1366 -0
  2. package/dist/AIProjectAdmin-2CKKFC3A.js +951 -0
  3. package/dist/AggregateMatrix-5TBUMFE5.js +665 -0
  4. package/dist/AppHeader-5YBPWF44.js +829 -0
  5. package/dist/BoxPlot-UOJS5SJV.js +1210 -0
  6. package/dist/CorrelationVolcano-KX6JPZMT.js +613 -0
  7. package/dist/Cuminc-TLOOLZWR.js +1208 -0
  8. package/dist/DE-HUQLQ2Z3.js +87 -0
  9. package/dist/DEinput-WWUISAF2.js +404 -0
  10. package/dist/DifferentialAnalysis-6DTAGCEY.js +237 -0
  11. package/dist/Disco-P6ZLPYLF.js +3388 -0
  12. package/dist/Disco.UI-WGTMAFK2.js +242 -0
  13. package/dist/DmrPlot-3FRU5KUK.js +636 -0
  14. package/dist/GB-NWOBARL3.js +1390 -0
  15. package/dist/GSEA-DEEUAAMI.js +850 -0
  16. package/dist/GeneExpInput-6QWGEAFV.js +361 -0
  17. package/dist/Geomap-6HT2B7RH.js +83 -0
  18. package/dist/HicApp-PCNOUULF.js +2244 -0
  19. package/dist/IDCViewer-H3QPXVM3.js +10811 -0
  20. package/dist/NumBinaryEditor-IU6OLMKN.js +278 -0
  21. package/dist/NumBinaryEditor.unit.spec-YUPUILIV.js +311 -0
  22. package/dist/NumContEditor-KFDA76QN.js +104 -0
  23. package/dist/NumContEditor.unit.spec-QBOT5QHU.js +163 -0
  24. package/dist/NumCustomBinEditor-EOSTEXLB.js +32 -0
  25. package/dist/NumCustomBinEditor.unit.spec-B46XWFYH.js +396 -0
  26. package/dist/NumDiscreteEditor-Y4EAADXC.js +169 -0
  27. package/dist/NumDiscreteEditor.unit.spec-SJGHLWSM.js +232 -0
  28. package/dist/NumRegularBinEditor-3BNG7DIN.js +32 -0
  29. package/dist/NumRegularBinEditor.unit.spec-KM45QXXG.js +277 -0
  30. package/dist/NumSplineEditor-K4KPDC4S.js +209 -0
  31. package/dist/NumSplineEditor.unit.spec-TKQP5XTS.js +223 -0
  32. package/dist/NumericDensity-Z6JFVN3D.js +32 -0
  33. package/dist/NumericDensity.unit.spec-YEYBVLEP.js +417 -0
  34. package/dist/NumericHandler-ITT6HMPN.js +33 -0
  35. package/dist/NumericHandler.unit.spec-QVONMXY4.js +213 -0
  36. package/dist/ProteomeInput-PRS3DEMZ.js +387 -0
  37. package/dist/Regression-LJJJBBT6.js +1413 -0
  38. package/dist/Regression-LJJJBBT6.js.map +7 -0
  39. package/dist/RunChart2-AMM2JFF5.js +749 -0
  40. package/dist/SC-F7IE66VZ.js +1106 -0
  41. package/dist/Violin-RJ6OJZ4F.js +1073 -0
  42. package/dist/Volcano-BJA5HN5Y.js +1414 -0
  43. package/dist/WSIViewer-RJZGRUIR.js +26194 -0
  44. package/dist/Wsi-DXP6KOQA.js +232 -0
  45. package/dist/WsiSamplesPlot-2IAWV2B6.js +159 -0
  46. package/dist/adSandbox-RGWOIV3W.js +32 -0
  47. package/dist/animatedBubbleChart-J4Q2NAEW.js +546 -0
  48. package/dist/app-3QXNR4VG.js +31 -0
  49. package/dist/app-B4B7YNP3.js +41 -0
  50. package/dist/app.js +12 -12
  51. package/dist/bam-LRUMN45P.js +875 -0
  52. package/dist/barchart-L2G6GEHK.js +41 -0
  53. package/dist/barchart2-DWNVAZAJ.js +308 -0
  54. package/dist/block-TVEVAXNP.js +6248 -0
  55. package/dist/block.init-YOHAKPRI.js +32 -0
  56. package/dist/block.mds.expressionrank-PU6JH4W5.js +353 -0
  57. package/dist/block.mds.geneboxplot-WYYFDNE3.js +822 -0
  58. package/dist/block.mds.junction-4WCTL7Y4.js +1538 -0
  59. package/dist/block.mds.svcnv-MR3VCYUW.js +6795 -0
  60. package/dist/block.svg-LR3Y4ZO7.js +158 -0
  61. package/dist/block.tk.aicheck-A5AWKJZI.js +277 -0
  62. package/dist/block.tk.ase-AQBBAQEH.js +359 -0
  63. package/dist/block.tk.bam-QBTA2O3V.js +1900 -0
  64. package/dist/block.tk.bedgraphdot-4ALZG2MY.js +378 -0
  65. package/dist/block.tk.bigwig.ui-32W6XW37.js +205 -0
  66. package/dist/block.tk.hicstraw-PKBHBAG2.js +817 -0
  67. package/dist/block.tk.junction-AO5CXUCU.js +2357 -0
  68. package/dist/block.tk.junction.textmatrixui-RORVUIPI.js +193 -0
  69. package/dist/block.tk.ld-TNBSR4FT.js +93 -0
  70. package/dist/block.tk.menu-QDJO54J5.js +1023 -0
  71. package/dist/block.tk.pgv-6222WWYR.js +937 -0
  72. package/dist/brainImaging-2TPE7MXB.js +426 -0
  73. package/dist/brainImaging-2TPE7MXB.js.map +7 -0
  74. package/dist/brainRegions-KTFH6DE2.js +215 -0
  75. package/dist/bubbleHeatmap-LNXZLFY6.js +377 -0
  76. package/dist/cellTypeBubbleHeatmap-SRHUNX3S.js +277 -0
  77. package/dist/chunk-3TXVDBGN.js +626 -0
  78. package/dist/chunk-4HLHKBHP.js +274 -0
  79. package/dist/chunk-5GG7Q2ZG.js +397 -0
  80. package/dist/chunk-5HVAVJKW.js +518 -0
  81. package/dist/chunk-5HVAVJKW.js.map +7 -0
  82. package/dist/chunk-5PMFCQKC.js +98 -0
  83. package/dist/chunk-67URJYN7.js +84 -0
  84. package/dist/chunk-67URJYN7.js.map +7 -0
  85. package/dist/chunk-6AKSOLBX.js +5071 -0
  86. package/dist/chunk-6AKSOLBX.js.map +7 -0
  87. package/dist/chunk-6X7PP7A4.js +2126 -0
  88. package/dist/chunk-A3EDLRUN.js +54 -0
  89. package/dist/chunk-ACXFPMJP.js +14 -0
  90. package/dist/chunk-ASRW3UJ5.js +102 -0
  91. package/dist/chunk-BBILSUDX.js +176 -0
  92. package/dist/chunk-BOWI37X2.js +100 -0
  93. package/dist/chunk-BVA26EFK.js +368 -0
  94. package/dist/chunk-D5J57ENI.js +797 -0
  95. package/dist/chunk-D5PX2UDG.js +23878 -0
  96. package/dist/chunk-D5PX2UDG.js.map +7 -0
  97. package/dist/chunk-DAGONMWK.js +261 -0
  98. package/dist/chunk-DAGONMWK.js.map +7 -0
  99. package/dist/chunk-DXLO4OAB.js +357 -0
  100. package/dist/chunk-DXLO4OAB.js.map +7 -0
  101. package/dist/chunk-E5BFGDLA.js +292 -0
  102. package/dist/chunk-ECISCOPF.js +134 -0
  103. package/dist/chunk-ECLUUJVE.js +158 -0
  104. package/dist/chunk-EGDQ5I54.js +272 -0
  105. package/dist/chunk-ELNVTA7O.js +56 -0
  106. package/dist/chunk-EO6M3LY3.js +339 -0
  107. package/dist/chunk-EO6M3LY3.js.map +7 -0
  108. package/dist/chunk-F4PMOAQK.js +494 -0
  109. package/dist/chunk-FISQTHD4.js +2327 -0
  110. package/dist/chunk-FXT2XM4E.js +1337 -0
  111. package/dist/chunk-FXT2XM4E.js.map +7 -0
  112. package/dist/chunk-HIWTGMTE.js +1721 -0
  113. package/dist/chunk-HIWTGMTE.js.map +7 -0
  114. package/dist/chunk-HL6GJIOH.js +1254 -0
  115. package/dist/chunk-IGZAOCTU.js +55 -0
  116. package/dist/chunk-JMDJI7KM.js +6360 -0
  117. package/dist/chunk-JQVA264Z.js +49 -0
  118. package/dist/chunk-JRF7SRLB.js +2784 -0
  119. package/dist/chunk-KLWSW6CC.js +203 -0
  120. package/dist/chunk-KNNSOOTG.js +194 -0
  121. package/dist/chunk-KTPXQH2N.js +170 -0
  122. package/dist/chunk-LGKXSWY4.js +276 -0
  123. package/dist/chunk-LP2GIXVK.js +4274 -0
  124. package/dist/chunk-M2ZZL5EV.js +2669 -0
  125. package/dist/chunk-M2ZZL5EV.js.map +7 -0
  126. package/dist/chunk-MBHERRJR.js +302 -0
  127. package/dist/chunk-MLYQDJUQ.js +480 -0
  128. package/dist/chunk-NBGDLLMX.js +446 -0
  129. package/dist/chunk-OPMMU6DQ.js +183 -0
  130. package/dist/chunk-OPMMU6DQ.js.map +7 -0
  131. package/dist/chunk-P3JEXVBT.js +50 -0
  132. package/dist/chunk-PZPPJY4K.js +34 -0
  133. package/dist/chunk-Q6JF4ZLT.js +141 -0
  134. package/dist/chunk-QF5IH7PC.js +263 -0
  135. package/dist/chunk-QJ6SO7CF.js +465 -0
  136. package/dist/chunk-QQUOVIOM.js +2899 -0
  137. package/dist/chunk-R3OBOAOF.js +240 -0
  138. package/dist/chunk-SNCZRDS5.js +557 -0
  139. package/dist/chunk-SNCZRDS5.js.map +7 -0
  140. package/dist/chunk-SPDNUC76.js +70 -0
  141. package/dist/chunk-T3663ZQL.js +37 -0
  142. package/dist/chunk-TSK4ZTFK.js +340 -0
  143. package/dist/chunk-USW6WRDZ.js +217 -0
  144. package/dist/chunk-WBMYHNKH.js +299 -0
  145. package/dist/chunk-X46LAU4Q.js +187 -0
  146. package/dist/chunk-XE6E526E.js +129 -0
  147. package/dist/chunk-XWCWBHLB.js +123 -0
  148. package/dist/chunk-YCECQV3T.js +160 -0
  149. package/dist/chunk-YROOKO3Q.js +1954 -0
  150. package/dist/chunk-YROOKO3Q.js.map +7 -0
  151. package/dist/chunk-Z4NADGZX.js +243 -0
  152. package/dist/chunk-Z53KOPRJ.js +102 -0
  153. package/dist/cohort-U7M6Q2UX.js +69 -0
  154. package/dist/condition-EGAV2PMJ.js +326 -0
  155. package/dist/controls-PTMYWUZV.js +33 -0
  156. package/dist/controls.config-DOA6PTP2.js +33 -0
  157. package/dist/correlation-Y3EL6GB7.js +94 -0
  158. package/dist/customdata.inputui-4NDDG6FL.js +283 -0
  159. package/dist/dataDownload-EQGUAOK2.js +328 -0
  160. package/dist/databrowser.ui-ABGOJUWQ.js +424 -0
  161. package/dist/dictionary-YOLLEDE5.js +112 -0
  162. package/dist/dnaMethylation-JZT63UHO.js +32 -0
  163. package/dist/dnaMethylation.integration.spec-EATCABJW.js +197 -0
  164. package/dist/dofetch-YNBIUFV5.js +48 -0
  165. package/dist/e2pca-RD6COCRL.js +343 -0
  166. package/dist/ep-BAI7WUET.js +1248 -0
  167. package/dist/expclust.gdc.spec-LKV2CQA5.js +301 -0
  168. package/dist/facet-X3SXQIAC.js +518 -0
  169. package/dist/gb-K324K7XB.js +80 -0
  170. package/dist/geneExpClustering-BJD5U3KG.js +243 -0
  171. package/dist/geneExpression-2TK3XLZ5.js +310 -0
  172. package/dist/geneExpression-F6NRTHZ4.js +32 -0
  173. package/dist/geneExpression.unit.spec-IFZN3J6A.js +96 -0
  174. package/dist/geneORA-DUEP735U.js +272 -0
  175. package/dist/geneRanking-LURDNT7L.js +547 -0
  176. package/dist/geneVariant-EAVCWQAZ.js +35 -0
  177. package/dist/geneVariant-IZTFYAG6.js +284 -0
  178. package/dist/geneVariant-IZTFYAG6.js.map +7 -0
  179. package/dist/geneVariant.integration.spec-LHL4ERFO.js +192 -0
  180. package/dist/genefusion.ui-4T5R7DT7.js +302 -0
  181. package/dist/geneset-3PWXPBG2.js +202 -0
  182. package/dist/genomeBrowser.spec-5SEN7R2P.js +275 -0
  183. package/dist/grin2-EXBG7TMS.js +1136 -0
  184. package/dist/grin2-XIXVFVWO.js +69 -0
  185. package/dist/hierCluster-5XQIWXAY.js +57 -0
  186. package/dist/hierCluster-I4TAQWPF.js +53 -0
  187. package/dist/hierCluster.config-T7HVAWES.js +34 -0
  188. package/dist/hierCluster.integration.spec-XWX43K4D.js +482 -0
  189. package/dist/hierCluster.interactivity-MYIDHFSL.js +48 -0
  190. package/dist/hierCluster.renderers-YRXA5ZUK.js +19 -0
  191. package/dist/imagePlot-4JQB6JUG.js +155 -0
  192. package/dist/importPlot-D3MXCCLN.js +8 -0
  193. package/dist/isoformExpression-WNGGUVIZ.js +34 -0
  194. package/dist/isoformExpression.unit.spec-NVJ5TIKM.js +236 -0
  195. package/dist/junction-O7N57JE3.js +35 -0
  196. package/dist/junction.unit.spec-Z63DRTRR.js +181 -0
  197. package/dist/launch.adhoc-MBDRXD3B.js +36 -0
  198. package/dist/leftlabel.sample-IG6FOQ26.js +257 -0
  199. package/dist/lollipop-ZUYBLPGN.js +165 -0
  200. package/dist/maf-QOS5LURG.js +454 -0
  201. package/dist/maftimeline-FEHP2J55.js +586 -0
  202. package/dist/matrix-BG4J4RXA.js +57 -0
  203. package/dist/matrix-PX4LWTGN.js +52 -0
  204. package/dist/matrix.cells-PTIDQVCI.js +26 -0
  205. package/dist/matrix.config-NHW7BLIE.js +35 -0
  206. package/dist/matrix.data-FMIQRXOA.js +23 -0
  207. package/dist/matrix.dom-4S2UYJOU.js +11 -0
  208. package/dist/matrix.groups-QMID5XAO.js +25 -0
  209. package/dist/matrix.integration.spec-H6T7KP5R.js +3066 -0
  210. package/dist/matrix.interactivity-WQUO25HB.js +36 -0
  211. package/dist/matrix.layout-CTPVZZ34.js +38 -0
  212. package/dist/matrix.legend-K6EYUN6L.js +20 -0
  213. package/dist/matrix.renderers-5DIAUY6R.js +32 -0
  214. package/dist/matrix.serieses-LRMN2J52.js +19 -0
  215. package/dist/matrix.sort-RGAGEA6Z.js +25 -0
  216. package/dist/matrix.sort.unit.spec-RGICZZJL.js +466 -0
  217. package/dist/matrix.sorterUi.unit.spec-45QPEGWE.js +336 -0
  218. package/dist/matrix.unit.spec-TMRZM5DU.js +148 -0
  219. package/dist/matrix.unit.spec-TMRZM5DU.js.map +7 -0
  220. package/dist/mavb-VEIVB62L.js +726 -0
  221. package/dist/mds.fimo-BG4LTWFB.js +512 -0
  222. package/dist/mds.samplescatterplot-PWADJZ2J.js +1544 -0
  223. package/dist/mds.survivalplot-BX4HZ23K.js +476 -0
  224. package/dist/multivalue-OZALSBFW.js +82 -0
  225. package/dist/numericDictTermCluster-7PGJ7KV4.js +63 -0
  226. package/dist/oncomatrix-Q2EQZPLS.js +289 -0
  227. package/dist/oncomatrix.spec-YEQOQRPW.js +442 -0
  228. package/dist/plot.2dvaf-NJSB3HNH.js +371 -0
  229. package/dist/plot.app-AEUR6XGI.js +35 -0
  230. package/dist/plot.barplot-OXN2P5KL.js +96 -0
  231. package/dist/plot.boxplot-2KHEVVFE.js +145 -0
  232. package/dist/plot.brainImaging-JWDX4BZG.js +51 -0
  233. package/dist/plot.disco-LUFC5GGC.js +99 -0
  234. package/dist/plot.ssgq-FMM3IRNA.js +133 -0
  235. package/dist/plot.vaf2cov-K5TAQUC5.js +252 -0
  236. package/dist/plot.wsi-CNQCNZ4Z.js +36 -0
  237. package/dist/polar2-AB6SVYRS.js +231 -0
  238. package/dist/profileForms-AIEHZ4GC.js +933 -0
  239. package/dist/profilePlot-PZDFGXKZ.js +48 -0
  240. package/dist/proteinView-7GWHQYXC.js +1561 -0
  241. package/dist/proteomeCohortCompare-BTN4HHFL.js +779 -0
  242. package/dist/proteomeCohortCompare-BTN4HHFL.js.map +7 -0
  243. package/dist/pseudbulk.unit.spec-NFT4VNTI.js +85 -0
  244. package/dist/pseudobulk-WDGWTXW4.js +34 -0
  245. package/dist/qualitative-PZYJENE7.js +37 -0
  246. package/dist/radar2-QHRGH3YS.js +326 -0
  247. package/dist/radarFacility2-2JD26FL6.js +334 -0
  248. package/dist/render-YA4Z56LT.js +32 -0
  249. package/dist/report-2NUKFJTF.js +216 -0
  250. package/dist/sampleView-2XVPJTVR.js +42 -0
  251. package/dist/samplelst-DMILFDT5.js +105 -0
  252. package/dist/samplematrix-LYA5XTUM.js +2192 -0
  253. package/dist/sc-CM2C34MN.js +80 -0
  254. package/dist/scatter-C3CH3HTF.js +879 -0
  255. package/dist/scatter-GO6LV6NY.js +87 -0
  256. package/dist/selectGenomeWithTklst-5C7UBTGZ.js +128 -0
  257. package/dist/singleCellCellType-EZYESBVZ.js +32 -0
  258. package/dist/singleCellCellType.unit.spec-DB6FM4XR.js +153 -0
  259. package/dist/singleCellGeneExpression-DZLEFPW4.js +32 -0
  260. package/dist/singleCellGeneExpression.unit.spec-ZTBK3V43.js +147 -0
  261. package/dist/singleCellPlot-VF4TZ4FT.js +48 -0
  262. package/dist/singlecell-2MHROPBN.js +1565 -0
  263. package/dist/singlecell-GPAFNOUZ.js +80 -0
  264. package/dist/snp-K4EAEVW4.js +32 -0
  265. package/dist/snp.unit.spec-BUVQLVOY.js +170 -0
  266. package/dist/snplocus-GEVISN6Z.js +202 -0
  267. package/dist/spliceevent.a53ss.diagram-5UPWNAZF.js +145 -0
  268. package/dist/spliceevent.exonskip.diagram-7TKAQURC.js +277 -0
  269. package/dist/spliceevent.noeventdiagram-CDXZLR3Z.js +454 -0
  270. package/dist/ssGSEA-NMCJUQXT.js +32 -0
  271. package/dist/ssGSEA.unit.spec-3FQALTPQ.js +82 -0
  272. package/dist/stattable-2RXQPWKK.js +116 -0
  273. package/dist/studyCatalog-WWFCTTX7.js +377 -0
  274. package/dist/studyCatalog-WWFCTTX7.js.map +7 -0
  275. package/dist/summarizeCnvGeneexp-4BQS5AFM.js +157 -0
  276. package/dist/summarizeGeneexpSurvival-HTBZQFB5.js +104 -0
  277. package/dist/summarizeMutationCnv-XUWZGPCM.js +158 -0
  278. package/dist/summarizeMutationDiagnosis-QUJX42TO.js +34 -0
  279. package/dist/summarizeMutationSurvival-3R47TTR6.js +93 -0
  280. package/dist/summary-6UUB63QR.js +41 -0
  281. package/dist/summary.integration.spec-JJDE6SRV.js +408 -0
  282. package/dist/summaryInput-JG4AW6FW.js +225 -0
  283. package/dist/sunburst-YKB42RZX.js +277 -0
  284. package/dist/survival-3IFFTDQA.js +52 -0
  285. package/dist/survival-HOFNJENX.js +1236 -0
  286. package/dist/survival.integration.spec-7YZYKEUW.js +612 -0
  287. package/dist/survival.integration.spec-7YZYKEUW.js.map +7 -0
  288. package/dist/svgraph-WFEY4ZIZ.js +1381 -0
  289. package/dist/svmr-44EIX7YD.js +3836 -0
  290. package/dist/table-6MKVJUNC.js +196 -0
  291. package/dist/termCollection-6JBVQL6Y.js +251 -0
  292. package/dist/termCollection-TTELZVC5.js +32 -0
  293. package/dist/termCollection.unit.spec-6Z7X646L.js +298 -0
  294. package/dist/termCollectionFractionSelection-5DVIJBM5.js +41 -0
  295. package/dist/termCollectionFractionSelection.unit.spec-3HIM5BIF.js +187 -0
  296. package/dist/tk-HSYWJCGQ.js +40 -0
  297. package/dist/tk-PNOVG2XS.js +1120 -0
  298. package/dist/tp.ui-COBBSUPB.js +1453 -0
  299. package/dist/tvs.dt-35AKURFI.js +33 -0
  300. package/dist/tvs.dtcnv.categorical-3EHXYROL.js +34 -0
  301. package/dist/tvs.dtcnv.continuous-AXQ2GU6S.js +66 -0
  302. package/dist/tvs.dtfusion-PLJIMPNX.js +34 -0
  303. package/dist/tvs.dtitd-JS6RFBV5.js +34 -0
  304. package/dist/tvs.dtsnvindel-MDEM5MPT.js +34 -0
  305. package/dist/tvs.dtsv-OU756YLO.js +34 -0
  306. package/dist/tvs.samplelst-5NDICES4.js +98 -0
  307. package/dist/tvs.termCollection-5URPDPH6.js +123 -0
  308. package/dist/vocabulary-CHCVMPK5.js +35 -0
  309. package/dist/wsi.direct-JSKV4H4X.js +75 -0
  310. package/package.json +4 -4
  311. package/dist/2dmaf-I4HBWRNQ.js +0 -1366
  312. package/dist/AIProjectAdmin-SZYSG7HR.js +0 -951
  313. package/dist/AggregateMatrix-U7HHALFR.js +0 -665
  314. package/dist/AppHeader-O4RBZQZF.js +0 -829
  315. package/dist/BoxPlot-NOXWAGX6.js +0 -1210
  316. package/dist/CorrelationVolcano-IJ5UT6N5.js +0 -613
  317. package/dist/Cuminc-NGUDAOAD.js +0 -1208
  318. package/dist/DE-MIAHOI5J.js +0 -87
  319. package/dist/DEinput-FYBSL2ER.js +0 -404
  320. package/dist/DifferentialAnalysis-I6S5YQXY.js +0 -237
  321. package/dist/Disco-VLUBOZDC.js +0 -3388
  322. package/dist/Disco.UI-QQYWQEW7.js +0 -242
  323. package/dist/DmrPlot-DFOBEN7A.js +0 -636
  324. package/dist/GB-5FSXJMEZ.js +0 -1390
  325. package/dist/GSEA-JISHQOVY.js +0 -850
  326. package/dist/GeneExpInput-5YEX22VD.js +0 -361
  327. package/dist/Geomap-YVF6YBK5.js +0 -83
  328. package/dist/HicApp-ZCMOOKTY.js +0 -2244
  329. package/dist/IDCViewer-5ZNTAEUG.js +0 -10811
  330. package/dist/NumBinaryEditor-BEF5YCKI.js +0 -278
  331. package/dist/NumBinaryEditor.unit.spec-GCYZGHB2.js +0 -311
  332. package/dist/NumContEditor-TUXPB6YJ.js +0 -104
  333. package/dist/NumContEditor.unit.spec-5CMHHWIP.js +0 -163
  334. package/dist/NumCustomBinEditor-HS7RSGFV.js +0 -32
  335. package/dist/NumCustomBinEditor.unit.spec-MM3JJXT4.js +0 -396
  336. package/dist/NumDiscreteEditor-ZL7PP6ZT.js +0 -169
  337. package/dist/NumDiscreteEditor.unit.spec-OEWX2KJC.js +0 -232
  338. package/dist/NumRegularBinEditor-YBXK7YV6.js +0 -32
  339. package/dist/NumRegularBinEditor.unit.spec-FVHN4J5L.js +0 -277
  340. package/dist/NumSplineEditor-VN4XBTTI.js +0 -209
  341. package/dist/NumSplineEditor.unit.spec-AI642DWP.js +0 -223
  342. package/dist/NumericDensity-2KTY7DGH.js +0 -32
  343. package/dist/NumericDensity.unit.spec-6EA72A24.js +0 -417
  344. package/dist/NumericHandler-62EN6AD3.js +0 -33
  345. package/dist/NumericHandler.unit.spec-FXOJ2L2L.js +0 -213
  346. package/dist/ProteomeInput-MBBDXO2Z.js +0 -387
  347. package/dist/Regression-OQETMZPL.js +0 -1408
  348. package/dist/Regression-OQETMZPL.js.map +0 -7
  349. package/dist/RunChart2-RHZFHH4M.js +0 -749
  350. package/dist/SC-FAQXOHO4.js +0 -1106
  351. package/dist/Violin-2A3ICNBP.js +0 -1073
  352. package/dist/Volcano-X5KGHLHZ.js +0 -1414
  353. package/dist/WSIViewer-F2SD6LLP.js +0 -26194
  354. package/dist/Wsi-KAFAC3Q5.js +0 -232
  355. package/dist/WsiSamplesPlot-VKPMLDZI.js +0 -159
  356. package/dist/adSandbox-QKG5EA23.js +0 -32
  357. package/dist/animatedBubbleChart-ES62XWMN.js +0 -546
  358. package/dist/app-2HLLOBTD.js +0 -41
  359. package/dist/app-GJL6K6V4.js +0 -31
  360. package/dist/bam-DCPAAVPX.js +0 -875
  361. package/dist/barchart-DCVGCEZO.js +0 -41
  362. package/dist/barchart2-5X57VSIN.js +0 -308
  363. package/dist/block-XYSUTBXJ.js +0 -6248
  364. package/dist/block.init-5B27QKPU.js +0 -32
  365. package/dist/block.mds.expressionrank-Z7BGGPZ7.js +0 -353
  366. package/dist/block.mds.geneboxplot-4U4UZH2J.js +0 -822
  367. package/dist/block.mds.junction-ZPCUEQZJ.js +0 -1538
  368. package/dist/block.mds.svcnv-OGGPBOL2.js +0 -6795
  369. package/dist/block.svg-BWGAMNDS.js +0 -158
  370. package/dist/block.tk.aicheck-XHHW7WST.js +0 -277
  371. package/dist/block.tk.ase-BZ2IL3CQ.js +0 -359
  372. package/dist/block.tk.bam-WRHOOWXN.js +0 -1900
  373. package/dist/block.tk.bedgraphdot-B536STRA.js +0 -378
  374. package/dist/block.tk.bigwig.ui-K5X3BSQC.js +0 -205
  375. package/dist/block.tk.hicstraw-OYOKZ45W.js +0 -817
  376. package/dist/block.tk.junction-S5JMMMR6.js +0 -2357
  377. package/dist/block.tk.junction.textmatrixui-OLZY5BYR.js +0 -193
  378. package/dist/block.tk.ld-KINDO5UU.js +0 -93
  379. package/dist/block.tk.menu-3FNBVZ7J.js +0 -1023
  380. package/dist/block.tk.pgv-UHDY3T4G.js +0 -937
  381. package/dist/brainImaging-KWFRX3XB.js +0 -422
  382. package/dist/brainImaging-KWFRX3XB.js.map +0 -7
  383. package/dist/brainRegions-YI7K4OVE.js +0 -215
  384. package/dist/bubbleHeatmap-EQ44CSG5.js +0 -377
  385. package/dist/cellTypeBubbleHeatmap-O3KL2YBF.js +0 -277
  386. package/dist/chunk-254KEDDH.js +0 -129
  387. package/dist/chunk-25RPYQRT.js +0 -203
  388. package/dist/chunk-2OEMKKLP.js +0 -272
  389. package/dist/chunk-34AV6DED.js +0 -299
  390. package/dist/chunk-3UOSDVFJ.js +0 -1710
  391. package/dist/chunk-3UOSDVFJ.js.map +0 -7
  392. package/dist/chunk-4GN3CSDT.js +0 -98
  393. package/dist/chunk-4KUGV44F.js +0 -397
  394. package/dist/chunk-4WF3XDQP.js +0 -220
  395. package/dist/chunk-4WF3XDQP.js.map +0 -7
  396. package/dist/chunk-55PGOBTR.js +0 -123
  397. package/dist/chunk-5RHE36DQ.js +0 -37
  398. package/dist/chunk-6456HESK.js +0 -160
  399. package/dist/chunk-6THPWBBU.js +0 -102
  400. package/dist/chunk-6ZLCBVJA.js +0 -54
  401. package/dist/chunk-7AYGTMED.js +0 -182
  402. package/dist/chunk-7AYGTMED.js.map +0 -7
  403. package/dist/chunk-7ROMS7YT.js +0 -626
  404. package/dist/chunk-7UFK4GVI.js +0 -263
  405. package/dist/chunk-7UFK4GVI.js.map +0 -7
  406. package/dist/chunk-ALXSSRGI.js +0 -263
  407. package/dist/chunk-AT7HWXMW.js +0 -302
  408. package/dist/chunk-AVR4LFOO.js +0 -194
  409. package/dist/chunk-BY5B5BM5.js +0 -170
  410. package/dist/chunk-BZ36NJHA.js +0 -797
  411. package/dist/chunk-BZKHE26Z.js +0 -340
  412. package/dist/chunk-CBRZIMNF.js +0 -217
  413. package/dist/chunk-CTO247UZ.js +0 -5069
  414. package/dist/chunk-CTO247UZ.js.map +0 -7
  415. package/dist/chunk-D27C6HZW.js +0 -50
  416. package/dist/chunk-D73PJ4WC.js +0 -512
  417. package/dist/chunk-D73PJ4WC.js.map +0 -7
  418. package/dist/chunk-DLXMO6EK.js +0 -494
  419. package/dist/chunk-EK7CQC3P.js +0 -100
  420. package/dist/chunk-FCMHDCMO.js +0 -56
  421. package/dist/chunk-GJFG2MML.js +0 -1254
  422. package/dist/chunk-GQQ4R6BI.js +0 -24060
  423. package/dist/chunk-GQQ4R6BI.js.map +0 -7
  424. package/dist/chunk-HENLCRVM.js +0 -2126
  425. package/dist/chunk-I56CSICA.js +0 -292
  426. package/dist/chunk-I5KBI5PC.js +0 -274
  427. package/dist/chunk-IHDVUZFC.js +0 -1947
  428. package/dist/chunk-IHDVUZFC.js.map +0 -7
  429. package/dist/chunk-IUA3PSTK.js +0 -6360
  430. package/dist/chunk-J3TIXBCS.js +0 -276
  431. package/dist/chunk-JJHMFHRC.js +0 -257
  432. package/dist/chunk-JJHMFHRC.js.map +0 -7
  433. package/dist/chunk-JPQSDB2H.js +0 -102
  434. package/dist/chunk-LIMDUEVX.js +0 -1336
  435. package/dist/chunk-LIMDUEVX.js.map +0 -7
  436. package/dist/chunk-MECQLU4J.js +0 -243
  437. package/dist/chunk-MEJMWIBD.js +0 -187
  438. package/dist/chunk-MT5MHYL3.js +0 -480
  439. package/dist/chunk-NVH5I6EP.js +0 -176
  440. package/dist/chunk-OGQMELRU.js +0 -14
  441. package/dist/chunk-PBRW6QLS.js +0 -4274
  442. package/dist/chunk-PPJMCBVT.js +0 -82
  443. package/dist/chunk-PPJMCBVT.js.map +0 -7
  444. package/dist/chunk-RRI3RX4A.js +0 -2669
  445. package/dist/chunk-RRI3RX4A.js.map +0 -7
  446. package/dist/chunk-S2D6GH6D.js +0 -465
  447. package/dist/chunk-SACNULB3.js +0 -368
  448. package/dist/chunk-SEJGXC2L.js +0 -141
  449. package/dist/chunk-TMZZ4Z7L.js +0 -34
  450. package/dist/chunk-TRWFL52W.js +0 -446
  451. package/dist/chunk-VP2FPPLA.js +0 -70
  452. package/dist/chunk-VTYMSJGY.js +0 -49
  453. package/dist/chunk-WEF6INPI.js +0 -2784
  454. package/dist/chunk-WO4CL5JL.js +0 -240
  455. package/dist/chunk-WVVH56ZU.js +0 -2327
  456. package/dist/chunk-WZTZJNSG.js +0 -2899
  457. package/dist/chunk-XPSUKXMF.js +0 -556
  458. package/dist/chunk-XPSUKXMF.js.map +0 -7
  459. package/dist/chunk-XXITHNR2.js +0 -134
  460. package/dist/chunk-YCLNEB4L.js +0 -158
  461. package/dist/chunk-ZPFN3CYR.js +0 -55
  462. package/dist/cohort-JCMVMOBQ.js +0 -69
  463. package/dist/condition-SHRWEMG7.js +0 -326
  464. package/dist/controls-EKIHLQS6.js +0 -33
  465. package/dist/controls.config-WSVX6UC6.js +0 -33
  466. package/dist/correlation-ALFFZLKD.js +0 -94
  467. package/dist/customdata.inputui-L2UAIU6I.js +0 -283
  468. package/dist/dataDownload-73N5364T.js +0 -328
  469. package/dist/databrowser.ui-NTOGXDYE.js +0 -424
  470. package/dist/dictionary-CUAU2X6Q.js +0 -112
  471. package/dist/dnaMethylation-AGWAGXVD.js +0 -32
  472. package/dist/dnaMethylation.integration.spec-K22XXOU4.js +0 -197
  473. package/dist/dofetch-BVJ77SP7.js +0 -48
  474. package/dist/e2pca-4HIJWLSC.js +0 -343
  475. package/dist/ep-U4RGH62P.js +0 -1248
  476. package/dist/expclust.gdc.spec-JJGGQDQK.js +0 -301
  477. package/dist/facet-NNUPVXCG.js +0 -518
  478. package/dist/gb-2MYXJEMY.js +0 -80
  479. package/dist/geneExpClustering-6ORRRH43.js +0 -243
  480. package/dist/geneExpression-4JVWKJWP.js +0 -310
  481. package/dist/geneExpression-MARWAIHW.js +0 -32
  482. package/dist/geneExpression.unit.spec-3CQTUSDK.js +0 -96
  483. package/dist/geneORA-M2L2YEX3.js +0 -272
  484. package/dist/geneRanking-S2B3LSTU.js +0 -547
  485. package/dist/geneVariant-D2ANGINP.js +0 -35
  486. package/dist/geneVariant-T4NG72OL.js +0 -33
  487. package/dist/geneVariant.integration.spec-62NJS7GD.js +0 -192
  488. package/dist/genefusion.ui-4ZZNKANU.js +0 -302
  489. package/dist/geneset-QCLFANPD.js +0 -202
  490. package/dist/genomeBrowser.spec-BV5M6JFN.js +0 -275
  491. package/dist/grin2-J4VDS2JT.js +0 -1136
  492. package/dist/grin2-K5G3N5XP.js +0 -69
  493. package/dist/hierCluster-FMK524WF.js +0 -57
  494. package/dist/hierCluster-XF7ZWVKD.js +0 -53
  495. package/dist/hierCluster.config-LYAQCO3L.js +0 -34
  496. package/dist/hierCluster.integration.spec-NSLTJBL4.js +0 -482
  497. package/dist/hierCluster.interactivity-VKAOR2DR.js +0 -48
  498. package/dist/hierCluster.renderers-6C5F7LRL.js +0 -19
  499. package/dist/imagePlot-IPTIFVLT.js +0 -155
  500. package/dist/importPlot-V3P6DCUR.js +0 -8
  501. package/dist/isoformExpression-6IIPJI4M.js +0 -34
  502. package/dist/isoformExpression.unit.spec-IYZWSLO5.js +0 -236
  503. package/dist/junction-E6FB2OP4.js +0 -35
  504. package/dist/junction.unit.spec-M4EN7KPG.js +0 -181
  505. package/dist/launch.adhoc-SU5L2YXN.js +0 -36
  506. package/dist/leftlabel.sample-5WTK5NBD.js +0 -257
  507. package/dist/lollipop-L64ZTEEX.js +0 -165
  508. package/dist/maf-QLNFANWO.js +0 -454
  509. package/dist/maftimeline-U7FMTMTV.js +0 -586
  510. package/dist/matrix-GFVK3PEB.js +0 -57
  511. package/dist/matrix-HFJQGPJJ.js +0 -52
  512. package/dist/matrix.cells-5JKTBI3X.js +0 -26
  513. package/dist/matrix.config-QPTQ22RR.js +0 -35
  514. package/dist/matrix.data-MXIUMSRR.js +0 -23
  515. package/dist/matrix.dom-ENBFB4CW.js +0 -11
  516. package/dist/matrix.groups-6DYTBVGR.js +0 -25
  517. package/dist/matrix.integration.spec-X4HM67TN.js +0 -3066
  518. package/dist/matrix.interactivity-QTB56LXE.js +0 -36
  519. package/dist/matrix.layout-VQAORIIH.js +0 -38
  520. package/dist/matrix.legend-SDJXYNHE.js +0 -20
  521. package/dist/matrix.renderers-6PMYIP2S.js +0 -32
  522. package/dist/matrix.serieses-WWY7474U.js +0 -19
  523. package/dist/matrix.sort-V46C2MAZ.js +0 -25
  524. package/dist/matrix.sort.unit.spec-3RM7V6CS.js +0 -466
  525. package/dist/matrix.sorterUi.unit.spec-YOV6FBRT.js +0 -336
  526. package/dist/mavb-PJA76T7F.js +0 -726
  527. package/dist/mds.fimo-GW7XPJGQ.js +0 -512
  528. package/dist/mds.samplescatterplot-ZAIEWPO4.js +0 -1544
  529. package/dist/mds.survivalplot-ETLLFDWR.js +0 -476
  530. package/dist/multivalue-AZPAQJQD.js +0 -82
  531. package/dist/numericDictTermCluster-KOJODGZT.js +0 -63
  532. package/dist/oncomatrix-2TRXETOJ.js +0 -289
  533. package/dist/oncomatrix.spec-DOVKLS24.js +0 -442
  534. package/dist/plot.2dvaf-RQN6QADW.js +0 -371
  535. package/dist/plot.app-MOIVGIS6.js +0 -35
  536. package/dist/plot.barplot-46QRWJOX.js +0 -96
  537. package/dist/plot.boxplot-54J4UWQX.js +0 -145
  538. package/dist/plot.brainImaging-Y32KQFLS.js +0 -51
  539. package/dist/plot.disco-4R5J7Z5S.js +0 -99
  540. package/dist/plot.ssgq-6LCKYRYD.js +0 -133
  541. package/dist/plot.vaf2cov-UCBH4NSC.js +0 -252
  542. package/dist/plot.wsi-DAC7NUQE.js +0 -36
  543. package/dist/polar2-JKV74QV5.js +0 -231
  544. package/dist/profileForms-VDYCFH4M.js +0 -933
  545. package/dist/profilePlot-PR3LVRYU.js +0 -48
  546. package/dist/proteinView-A3EM6OR5.js +0 -1561
  547. package/dist/proteomeCohortCompare-QGFEJTDQ.js +0 -793
  548. package/dist/proteomeCohortCompare-QGFEJTDQ.js.map +0 -7
  549. package/dist/pseudbulk.unit.spec-CUMTLAH7.js +0 -85
  550. package/dist/pseudobulk-5E5MSMU3.js +0 -34
  551. package/dist/qualitative-WPXUBISK.js +0 -37
  552. package/dist/radar2-A5OYMORS.js +0 -326
  553. package/dist/radarFacility2-4TPJB6M4.js +0 -334
  554. package/dist/render-XQBWWS33.js +0 -32
  555. package/dist/report-NCJOTYIC.js +0 -216
  556. package/dist/sampleView-2PUSMG4W.js +0 -42
  557. package/dist/samplelst-FV7BAUN5.js +0 -105
  558. package/dist/samplematrix-DFD3PNI4.js +0 -2192
  559. package/dist/sc-GIMTDVLG.js +0 -80
  560. package/dist/scatter-4GJ5HKUY.js +0 -879
  561. package/dist/scatter-P3ISZB3R.js +0 -87
  562. package/dist/selectGenomeWithTklst-ZZ4CEHDU.js +0 -128
  563. package/dist/singleCellCellType-CEERCVTR.js +0 -32
  564. package/dist/singleCellCellType.unit.spec-JNEIICK5.js +0 -153
  565. package/dist/singleCellGeneExpression-G5B7DDES.js +0 -32
  566. package/dist/singleCellGeneExpression.unit.spec-CGRZGY66.js +0 -147
  567. package/dist/singleCellPlot-US5KTHS4.js +0 -48
  568. package/dist/singlecell-IPTSIKNA.js +0 -1565
  569. package/dist/singlecell-VB4KLPJF.js +0 -80
  570. package/dist/snp-6V2SCCRN.js +0 -32
  571. package/dist/snp.unit.spec-Q537NGVG.js +0 -170
  572. package/dist/snplocus-BV6WJTVP.js +0 -202
  573. package/dist/spliceevent.a53ss.diagram-3BUQVK4Q.js +0 -145
  574. package/dist/spliceevent.exonskip.diagram-CQZ2DFQ5.js +0 -277
  575. package/dist/spliceevent.noeventdiagram-QAEPR6LD.js +0 -454
  576. package/dist/ssGSEA-XNI5S7AC.js +0 -32
  577. package/dist/ssGSEA.unit.spec-A337IMC7.js +0 -82
  578. package/dist/stattable-J4ZQKJFM.js +0 -116
  579. package/dist/studyCatalog-BJTJJGBC.js +0 -352
  580. package/dist/studyCatalog-BJTJJGBC.js.map +0 -7
  581. package/dist/summarizeCnvGeneexp-76UJXLA4.js +0 -157
  582. package/dist/summarizeGeneexpSurvival-ZUEHXA2R.js +0 -104
  583. package/dist/summarizeMutationCnv-EBCBVMG6.js +0 -158
  584. package/dist/summarizeMutationDiagnosis-VLFI2ZIZ.js +0 -34
  585. package/dist/summarizeMutationSurvival-QRFMJLLO.js +0 -93
  586. package/dist/summary-U3YKEMZC.js +0 -41
  587. package/dist/summary.integration.spec-52WP6SNY.js +0 -408
  588. package/dist/summaryInput-WUJNHCGH.js +0 -225
  589. package/dist/sunburst-IJ3ZG2BC.js +0 -277
  590. package/dist/survival-F2B5JKOO.js +0 -1236
  591. package/dist/survival-SQRYWGWZ.js +0 -52
  592. package/dist/survival.integration.spec-YGRZJ2OL.js +0 -967
  593. package/dist/survival.integration.spec-YGRZJ2OL.js.map +0 -7
  594. package/dist/svgraph-HVCMF6KI.js +0 -1381
  595. package/dist/svmr-PROHTMTP.js +0 -3836
  596. package/dist/table-3E64OJNV.js +0 -196
  597. package/dist/termCollection-MUH7P6B5.js +0 -32
  598. package/dist/termCollection-WKT6ESMI.js +0 -251
  599. package/dist/termCollection.unit.spec-XMOCMVER.js +0 -298
  600. package/dist/termCollectionFractionSelection-P5G6WIJJ.js +0 -41
  601. package/dist/termCollectionFractionSelection.unit.spec-MG7E3EIZ.js +0 -187
  602. package/dist/tk-HWUPUGOS.js +0 -1120
  603. package/dist/tk-SBM2GN3S.js +0 -40
  604. package/dist/tp.ui-RRB5MJRD.js +0 -1453
  605. package/dist/tvs.dt-I2ECKHQ2.js +0 -33
  606. package/dist/tvs.dtcnv.categorical-7RJPQKMX.js +0 -34
  607. package/dist/tvs.dtcnv.continuous-FW4ZXIYY.js +0 -66
  608. package/dist/tvs.dtfusion-3GDWW3ML.js +0 -34
  609. package/dist/tvs.dtitd-FER4H4UO.js +0 -34
  610. package/dist/tvs.dtsnvindel-ISEOJ5UA.js +0 -34
  611. package/dist/tvs.dtsv-JDML7EWE.js +0 -34
  612. package/dist/tvs.samplelst-MJTM6GSV.js +0 -98
  613. package/dist/tvs.termCollection-GMOXBJWF.js +0 -123
  614. package/dist/vocabulary-5EJMLXI2.js +0 -35
  615. package/dist/vocabulary-5EJMLXI2.js.map +0 -7
  616. package/dist/wsi.direct-IVPACPNT.js +0 -75
  617. /package/dist/{2dmaf-I4HBWRNQ.js.map → 2dmaf-6CEBP4SA.js.map} +0 -0
  618. /package/dist/{AIProjectAdmin-SZYSG7HR.js.map → AIProjectAdmin-2CKKFC3A.js.map} +0 -0
  619. /package/dist/{AggregateMatrix-U7HHALFR.js.map → AggregateMatrix-5TBUMFE5.js.map} +0 -0
  620. /package/dist/{AppHeader-O4RBZQZF.js.map → AppHeader-5YBPWF44.js.map} +0 -0
  621. /package/dist/{BoxPlot-NOXWAGX6.js.map → BoxPlot-UOJS5SJV.js.map} +0 -0
  622. /package/dist/{CorrelationVolcano-IJ5UT6N5.js.map → CorrelationVolcano-KX6JPZMT.js.map} +0 -0
  623. /package/dist/{Cuminc-NGUDAOAD.js.map → Cuminc-TLOOLZWR.js.map} +0 -0
  624. /package/dist/{DE-MIAHOI5J.js.map → DE-HUQLQ2Z3.js.map} +0 -0
  625. /package/dist/{DEinput-FYBSL2ER.js.map → DEinput-WWUISAF2.js.map} +0 -0
  626. /package/dist/{DifferentialAnalysis-I6S5YQXY.js.map → DifferentialAnalysis-6DTAGCEY.js.map} +0 -0
  627. /package/dist/{Disco-VLUBOZDC.js.map → Disco-P6ZLPYLF.js.map} +0 -0
  628. /package/dist/{Disco.UI-QQYWQEW7.js.map → Disco.UI-WGTMAFK2.js.map} +0 -0
  629. /package/dist/{DmrPlot-DFOBEN7A.js.map → DmrPlot-3FRU5KUK.js.map} +0 -0
  630. /package/dist/{GB-5FSXJMEZ.js.map → GB-NWOBARL3.js.map} +0 -0
  631. /package/dist/{GSEA-JISHQOVY.js.map → GSEA-DEEUAAMI.js.map} +0 -0
  632. /package/dist/{GeneExpInput-5YEX22VD.js.map → GeneExpInput-6QWGEAFV.js.map} +0 -0
  633. /package/dist/{Geomap-YVF6YBK5.js.map → Geomap-6HT2B7RH.js.map} +0 -0
  634. /package/dist/{HicApp-ZCMOOKTY.js.map → HicApp-PCNOUULF.js.map} +0 -0
  635. /package/dist/{IDCViewer-5ZNTAEUG.js.map → IDCViewer-H3QPXVM3.js.map} +0 -0
  636. /package/dist/{NumBinaryEditor-BEF5YCKI.js.map → NumBinaryEditor-IU6OLMKN.js.map} +0 -0
  637. /package/dist/{NumBinaryEditor.unit.spec-GCYZGHB2.js.map → NumBinaryEditor.unit.spec-YUPUILIV.js.map} +0 -0
  638. /package/dist/{NumContEditor-TUXPB6YJ.js.map → NumContEditor-KFDA76QN.js.map} +0 -0
  639. /package/dist/{NumContEditor.unit.spec-5CMHHWIP.js.map → NumContEditor.unit.spec-QBOT5QHU.js.map} +0 -0
  640. /package/dist/{NumCustomBinEditor-HS7RSGFV.js.map → NumCustomBinEditor-EOSTEXLB.js.map} +0 -0
  641. /package/dist/{NumCustomBinEditor.unit.spec-MM3JJXT4.js.map → NumCustomBinEditor.unit.spec-B46XWFYH.js.map} +0 -0
  642. /package/dist/{NumDiscreteEditor-ZL7PP6ZT.js.map → NumDiscreteEditor-Y4EAADXC.js.map} +0 -0
  643. /package/dist/{NumDiscreteEditor.unit.spec-OEWX2KJC.js.map → NumDiscreteEditor.unit.spec-SJGHLWSM.js.map} +0 -0
  644. /package/dist/{NumRegularBinEditor-YBXK7YV6.js.map → NumRegularBinEditor-3BNG7DIN.js.map} +0 -0
  645. /package/dist/{NumRegularBinEditor.unit.spec-FVHN4J5L.js.map → NumRegularBinEditor.unit.spec-KM45QXXG.js.map} +0 -0
  646. /package/dist/{NumSplineEditor-VN4XBTTI.js.map → NumSplineEditor-K4KPDC4S.js.map} +0 -0
  647. /package/dist/{NumSplineEditor.unit.spec-AI642DWP.js.map → NumSplineEditor.unit.spec-TKQP5XTS.js.map} +0 -0
  648. /package/dist/{NumericDensity-2KTY7DGH.js.map → NumericDensity-Z6JFVN3D.js.map} +0 -0
  649. /package/dist/{NumericDensity.unit.spec-6EA72A24.js.map → NumericDensity.unit.spec-YEYBVLEP.js.map} +0 -0
  650. /package/dist/{NumericHandler-62EN6AD3.js.map → NumericHandler-ITT6HMPN.js.map} +0 -0
  651. /package/dist/{NumericHandler.unit.spec-FXOJ2L2L.js.map → NumericHandler.unit.spec-QVONMXY4.js.map} +0 -0
  652. /package/dist/{ProteomeInput-MBBDXO2Z.js.map → ProteomeInput-PRS3DEMZ.js.map} +0 -0
  653. /package/dist/{RunChart2-RHZFHH4M.js.map → RunChart2-AMM2JFF5.js.map} +0 -0
  654. /package/dist/{SC-FAQXOHO4.js.map → SC-F7IE66VZ.js.map} +0 -0
  655. /package/dist/{Violin-2A3ICNBP.js.map → Violin-RJ6OJZ4F.js.map} +0 -0
  656. /package/dist/{Volcano-X5KGHLHZ.js.map → Volcano-BJA5HN5Y.js.map} +0 -0
  657. /package/dist/{WSIViewer-F2SD6LLP.js.map → WSIViewer-RJZGRUIR.js.map} +0 -0
  658. /package/dist/{Wsi-KAFAC3Q5.js.map → Wsi-DXP6KOQA.js.map} +0 -0
  659. /package/dist/{WsiSamplesPlot-VKPMLDZI.js.map → WsiSamplesPlot-2IAWV2B6.js.map} +0 -0
  660. /package/dist/{adSandbox-QKG5EA23.js.map → adSandbox-RGWOIV3W.js.map} +0 -0
  661. /package/dist/{animatedBubbleChart-ES62XWMN.js.map → animatedBubbleChart-J4Q2NAEW.js.map} +0 -0
  662. /package/dist/{app-2HLLOBTD.js.map → app-3QXNR4VG.js.map} +0 -0
  663. /package/dist/{app-GJL6K6V4.js.map → app-B4B7YNP3.js.map} +0 -0
  664. /package/dist/{bam-DCPAAVPX.js.map → bam-LRUMN45P.js.map} +0 -0
  665. /package/dist/{barchart-DCVGCEZO.js.map → barchart-L2G6GEHK.js.map} +0 -0
  666. /package/dist/{barchart2-5X57VSIN.js.map → barchart2-DWNVAZAJ.js.map} +0 -0
  667. /package/dist/{block-XYSUTBXJ.js.map → block-TVEVAXNP.js.map} +0 -0
  668. /package/dist/{block.init-5B27QKPU.js.map → block.init-YOHAKPRI.js.map} +0 -0
  669. /package/dist/{block.mds.expressionrank-Z7BGGPZ7.js.map → block.mds.expressionrank-PU6JH4W5.js.map} +0 -0
  670. /package/dist/{block.mds.geneboxplot-4U4UZH2J.js.map → block.mds.geneboxplot-WYYFDNE3.js.map} +0 -0
  671. /package/dist/{block.mds.junction-ZPCUEQZJ.js.map → block.mds.junction-4WCTL7Y4.js.map} +0 -0
  672. /package/dist/{block.mds.svcnv-OGGPBOL2.js.map → block.mds.svcnv-MR3VCYUW.js.map} +0 -0
  673. /package/dist/{block.svg-BWGAMNDS.js.map → block.svg-LR3Y4ZO7.js.map} +0 -0
  674. /package/dist/{block.tk.aicheck-XHHW7WST.js.map → block.tk.aicheck-A5AWKJZI.js.map} +0 -0
  675. /package/dist/{block.tk.ase-BZ2IL3CQ.js.map → block.tk.ase-AQBBAQEH.js.map} +0 -0
  676. /package/dist/{block.tk.bam-WRHOOWXN.js.map → block.tk.bam-QBTA2O3V.js.map} +0 -0
  677. /package/dist/{block.tk.bedgraphdot-B536STRA.js.map → block.tk.bedgraphdot-4ALZG2MY.js.map} +0 -0
  678. /package/dist/{block.tk.bigwig.ui-K5X3BSQC.js.map → block.tk.bigwig.ui-32W6XW37.js.map} +0 -0
  679. /package/dist/{block.tk.hicstraw-OYOKZ45W.js.map → block.tk.hicstraw-PKBHBAG2.js.map} +0 -0
  680. /package/dist/{block.tk.junction-S5JMMMR6.js.map → block.tk.junction-AO5CXUCU.js.map} +0 -0
  681. /package/dist/{block.tk.junction.textmatrixui-OLZY5BYR.js.map → block.tk.junction.textmatrixui-RORVUIPI.js.map} +0 -0
  682. /package/dist/{block.tk.ld-KINDO5UU.js.map → block.tk.ld-TNBSR4FT.js.map} +0 -0
  683. /package/dist/{block.tk.menu-3FNBVZ7J.js.map → block.tk.menu-QDJO54J5.js.map} +0 -0
  684. /package/dist/{block.tk.pgv-UHDY3T4G.js.map → block.tk.pgv-6222WWYR.js.map} +0 -0
  685. /package/dist/{brainRegions-YI7K4OVE.js.map → brainRegions-KTFH6DE2.js.map} +0 -0
  686. /package/dist/{bubbleHeatmap-EQ44CSG5.js.map → bubbleHeatmap-LNXZLFY6.js.map} +0 -0
  687. /package/dist/{cellTypeBubbleHeatmap-O3KL2YBF.js.map → cellTypeBubbleHeatmap-SRHUNX3S.js.map} +0 -0
  688. /package/dist/{chunk-7ROMS7YT.js.map → chunk-3TXVDBGN.js.map} +0 -0
  689. /package/dist/{chunk-I5KBI5PC.js.map → chunk-4HLHKBHP.js.map} +0 -0
  690. /package/dist/{chunk-4KUGV44F.js.map → chunk-5GG7Q2ZG.js.map} +0 -0
  691. /package/dist/{chunk-4GN3CSDT.js.map → chunk-5PMFCQKC.js.map} +0 -0
  692. /package/dist/{chunk-HENLCRVM.js.map → chunk-6X7PP7A4.js.map} +0 -0
  693. /package/dist/{chunk-6ZLCBVJA.js.map → chunk-A3EDLRUN.js.map} +0 -0
  694. /package/dist/{chunk-OGQMELRU.js.map → chunk-ACXFPMJP.js.map} +0 -0
  695. /package/dist/{chunk-JPQSDB2H.js.map → chunk-ASRW3UJ5.js.map} +0 -0
  696. /package/dist/{chunk-NVH5I6EP.js.map → chunk-BBILSUDX.js.map} +0 -0
  697. /package/dist/{chunk-EK7CQC3P.js.map → chunk-BOWI37X2.js.map} +0 -0
  698. /package/dist/{chunk-SACNULB3.js.map → chunk-BVA26EFK.js.map} +0 -0
  699. /package/dist/{chunk-BZ36NJHA.js.map → chunk-D5J57ENI.js.map} +0 -0
  700. /package/dist/{chunk-I56CSICA.js.map → chunk-E5BFGDLA.js.map} +0 -0
  701. /package/dist/{chunk-XXITHNR2.js.map → chunk-ECISCOPF.js.map} +0 -0
  702. /package/dist/{chunk-YCLNEB4L.js.map → chunk-ECLUUJVE.js.map} +0 -0
  703. /package/dist/{chunk-2OEMKKLP.js.map → chunk-EGDQ5I54.js.map} +0 -0
  704. /package/dist/{chunk-FCMHDCMO.js.map → chunk-ELNVTA7O.js.map} +0 -0
  705. /package/dist/{chunk-DLXMO6EK.js.map → chunk-F4PMOAQK.js.map} +0 -0
  706. /package/dist/{chunk-WVVH56ZU.js.map → chunk-FISQTHD4.js.map} +0 -0
  707. /package/dist/{chunk-GJFG2MML.js.map → chunk-HL6GJIOH.js.map} +0 -0
  708. /package/dist/{chunk-ZPFN3CYR.js.map → chunk-IGZAOCTU.js.map} +0 -0
  709. /package/dist/{chunk-IUA3PSTK.js.map → chunk-JMDJI7KM.js.map} +0 -0
  710. /package/dist/{chunk-VTYMSJGY.js.map → chunk-JQVA264Z.js.map} +0 -0
  711. /package/dist/{chunk-WEF6INPI.js.map → chunk-JRF7SRLB.js.map} +0 -0
  712. /package/dist/{chunk-25RPYQRT.js.map → chunk-KLWSW6CC.js.map} +0 -0
  713. /package/dist/{chunk-AVR4LFOO.js.map → chunk-KNNSOOTG.js.map} +0 -0
  714. /package/dist/{chunk-BY5B5BM5.js.map → chunk-KTPXQH2N.js.map} +0 -0
  715. /package/dist/{chunk-J3TIXBCS.js.map → chunk-LGKXSWY4.js.map} +0 -0
  716. /package/dist/{chunk-PBRW6QLS.js.map → chunk-LP2GIXVK.js.map} +0 -0
  717. /package/dist/{chunk-AT7HWXMW.js.map → chunk-MBHERRJR.js.map} +0 -0
  718. /package/dist/{chunk-MT5MHYL3.js.map → chunk-MLYQDJUQ.js.map} +0 -0
  719. /package/dist/{chunk-TRWFL52W.js.map → chunk-NBGDLLMX.js.map} +0 -0
  720. /package/dist/{chunk-D27C6HZW.js.map → chunk-P3JEXVBT.js.map} +0 -0
  721. /package/dist/{chunk-TMZZ4Z7L.js.map → chunk-PZPPJY4K.js.map} +0 -0
  722. /package/dist/{chunk-SEJGXC2L.js.map → chunk-Q6JF4ZLT.js.map} +0 -0
  723. /package/dist/{chunk-ALXSSRGI.js.map → chunk-QF5IH7PC.js.map} +0 -0
  724. /package/dist/{chunk-S2D6GH6D.js.map → chunk-QJ6SO7CF.js.map} +0 -0
  725. /package/dist/{chunk-WZTZJNSG.js.map → chunk-QQUOVIOM.js.map} +0 -0
  726. /package/dist/{chunk-WO4CL5JL.js.map → chunk-R3OBOAOF.js.map} +0 -0
  727. /package/dist/{chunk-VP2FPPLA.js.map → chunk-SPDNUC76.js.map} +0 -0
  728. /package/dist/{chunk-5RHE36DQ.js.map → chunk-T3663ZQL.js.map} +0 -0
  729. /package/dist/{chunk-BZKHE26Z.js.map → chunk-TSK4ZTFK.js.map} +0 -0
  730. /package/dist/{chunk-CBRZIMNF.js.map → chunk-USW6WRDZ.js.map} +0 -0
  731. /package/dist/{chunk-34AV6DED.js.map → chunk-WBMYHNKH.js.map} +0 -0
  732. /package/dist/{chunk-MEJMWIBD.js.map → chunk-X46LAU4Q.js.map} +0 -0
  733. /package/dist/{chunk-254KEDDH.js.map → chunk-XE6E526E.js.map} +0 -0
  734. /package/dist/{chunk-55PGOBTR.js.map → chunk-XWCWBHLB.js.map} +0 -0
  735. /package/dist/{chunk-6456HESK.js.map → chunk-YCECQV3T.js.map} +0 -0
  736. /package/dist/{chunk-MECQLU4J.js.map → chunk-Z4NADGZX.js.map} +0 -0
  737. /package/dist/{chunk-6THPWBBU.js.map → chunk-Z53KOPRJ.js.map} +0 -0
  738. /package/dist/{cohort-JCMVMOBQ.js.map → cohort-U7M6Q2UX.js.map} +0 -0
  739. /package/dist/{condition-SHRWEMG7.js.map → condition-EGAV2PMJ.js.map} +0 -0
  740. /package/dist/{controls-EKIHLQS6.js.map → controls-PTMYWUZV.js.map} +0 -0
  741. /package/dist/{controls.config-WSVX6UC6.js.map → controls.config-DOA6PTP2.js.map} +0 -0
  742. /package/dist/{correlation-ALFFZLKD.js.map → correlation-Y3EL6GB7.js.map} +0 -0
  743. /package/dist/{customdata.inputui-L2UAIU6I.js.map → customdata.inputui-4NDDG6FL.js.map} +0 -0
  744. /package/dist/{dataDownload-73N5364T.js.map → dataDownload-EQGUAOK2.js.map} +0 -0
  745. /package/dist/{databrowser.ui-NTOGXDYE.js.map → databrowser.ui-ABGOJUWQ.js.map} +0 -0
  746. /package/dist/{dictionary-CUAU2X6Q.js.map → dictionary-YOLLEDE5.js.map} +0 -0
  747. /package/dist/{dnaMethylation-AGWAGXVD.js.map → dnaMethylation-JZT63UHO.js.map} +0 -0
  748. /package/dist/{dnaMethylation.integration.spec-K22XXOU4.js.map → dnaMethylation.integration.spec-EATCABJW.js.map} +0 -0
  749. /package/dist/{dofetch-BVJ77SP7.js.map → dofetch-YNBIUFV5.js.map} +0 -0
  750. /package/dist/{e2pca-4HIJWLSC.js.map → e2pca-RD6COCRL.js.map} +0 -0
  751. /package/dist/{ep-U4RGH62P.js.map → ep-BAI7WUET.js.map} +0 -0
  752. /package/dist/{expclust.gdc.spec-JJGGQDQK.js.map → expclust.gdc.spec-LKV2CQA5.js.map} +0 -0
  753. /package/dist/{facet-NNUPVXCG.js.map → facet-X3SXQIAC.js.map} +0 -0
  754. /package/dist/{gb-2MYXJEMY.js.map → gb-K324K7XB.js.map} +0 -0
  755. /package/dist/{geneExpClustering-6ORRRH43.js.map → geneExpClustering-BJD5U3KG.js.map} +0 -0
  756. /package/dist/{geneExpression-4JVWKJWP.js.map → geneExpression-2TK3XLZ5.js.map} +0 -0
  757. /package/dist/{geneExpression-MARWAIHW.js.map → geneExpression-F6NRTHZ4.js.map} +0 -0
  758. /package/dist/{geneExpression.unit.spec-3CQTUSDK.js.map → geneExpression.unit.spec-IFZN3J6A.js.map} +0 -0
  759. /package/dist/{geneORA-M2L2YEX3.js.map → geneORA-DUEP735U.js.map} +0 -0
  760. /package/dist/{geneRanking-S2B3LSTU.js.map → geneRanking-LURDNT7L.js.map} +0 -0
  761. /package/dist/{geneVariant-D2ANGINP.js.map → geneVariant-EAVCWQAZ.js.map} +0 -0
  762. /package/dist/{geneVariant.integration.spec-62NJS7GD.js.map → geneVariant.integration.spec-LHL4ERFO.js.map} +0 -0
  763. /package/dist/{genefusion.ui-4ZZNKANU.js.map → genefusion.ui-4T5R7DT7.js.map} +0 -0
  764. /package/dist/{geneset-QCLFANPD.js.map → geneset-3PWXPBG2.js.map} +0 -0
  765. /package/dist/{genomeBrowser.spec-BV5M6JFN.js.map → genomeBrowser.spec-5SEN7R2P.js.map} +0 -0
  766. /package/dist/{grin2-J4VDS2JT.js.map → grin2-EXBG7TMS.js.map} +0 -0
  767. /package/dist/{grin2-K5G3N5XP.js.map → grin2-XIXVFVWO.js.map} +0 -0
  768. /package/dist/{geneVariant-T4NG72OL.js.map → hierCluster-5XQIWXAY.js.map} +0 -0
  769. /package/dist/{hierCluster-FMK524WF.js.map → hierCluster-I4TAQWPF.js.map} +0 -0
  770. /package/dist/{hierCluster-XF7ZWVKD.js.map → hierCluster.config-T7HVAWES.js.map} +0 -0
  771. /package/dist/{hierCluster.integration.spec-NSLTJBL4.js.map → hierCluster.integration.spec-XWX43K4D.js.map} +0 -0
  772. /package/dist/{hierCluster.config-LYAQCO3L.js.map → hierCluster.interactivity-MYIDHFSL.js.map} +0 -0
  773. /package/dist/{hierCluster.interactivity-VKAOR2DR.js.map → hierCluster.renderers-YRXA5ZUK.js.map} +0 -0
  774. /package/dist/{imagePlot-IPTIFVLT.js.map → imagePlot-4JQB6JUG.js.map} +0 -0
  775. /package/dist/{hierCluster.renderers-6C5F7LRL.js.map → importPlot-D3MXCCLN.js.map} +0 -0
  776. /package/dist/{importPlot-V3P6DCUR.js.map → isoformExpression-WNGGUVIZ.js.map} +0 -0
  777. /package/dist/{isoformExpression.unit.spec-IYZWSLO5.js.map → isoformExpression.unit.spec-NVJ5TIKM.js.map} +0 -0
  778. /package/dist/{isoformExpression-6IIPJI4M.js.map → junction-O7N57JE3.js.map} +0 -0
  779. /package/dist/{junction.unit.spec-M4EN7KPG.js.map → junction.unit.spec-Z63DRTRR.js.map} +0 -0
  780. /package/dist/{junction-E6FB2OP4.js.map → launch.adhoc-MBDRXD3B.js.map} +0 -0
  781. /package/dist/{leftlabel.sample-5WTK5NBD.js.map → leftlabel.sample-IG6FOQ26.js.map} +0 -0
  782. /package/dist/{lollipop-L64ZTEEX.js.map → lollipop-ZUYBLPGN.js.map} +0 -0
  783. /package/dist/{maf-QLNFANWO.js.map → maf-QOS5LURG.js.map} +0 -0
  784. /package/dist/{maftimeline-U7FMTMTV.js.map → maftimeline-FEHP2J55.js.map} +0 -0
  785. /package/dist/{launch.adhoc-SU5L2YXN.js.map → matrix-BG4J4RXA.js.map} +0 -0
  786. /package/dist/{matrix-GFVK3PEB.js.map → matrix-PX4LWTGN.js.map} +0 -0
  787. /package/dist/{matrix-HFJQGPJJ.js.map → matrix.cells-PTIDQVCI.js.map} +0 -0
  788. /package/dist/{matrix.cells-5JKTBI3X.js.map → matrix.config-NHW7BLIE.js.map} +0 -0
  789. /package/dist/{matrix.config-QPTQ22RR.js.map → matrix.data-FMIQRXOA.js.map} +0 -0
  790. /package/dist/{matrix.data-MXIUMSRR.js.map → matrix.dom-4S2UYJOU.js.map} +0 -0
  791. /package/dist/{matrix.dom-ENBFB4CW.js.map → matrix.groups-QMID5XAO.js.map} +0 -0
  792. /package/dist/{matrix.integration.spec-X4HM67TN.js.map → matrix.integration.spec-H6T7KP5R.js.map} +0 -0
  793. /package/dist/{matrix.groups-6DYTBVGR.js.map → matrix.interactivity-WQUO25HB.js.map} +0 -0
  794. /package/dist/{matrix.interactivity-QTB56LXE.js.map → matrix.layout-CTPVZZ34.js.map} +0 -0
  795. /package/dist/{matrix.layout-VQAORIIH.js.map → matrix.legend-K6EYUN6L.js.map} +0 -0
  796. /package/dist/{matrix.legend-SDJXYNHE.js.map → matrix.renderers-5DIAUY6R.js.map} +0 -0
  797. /package/dist/{matrix.renderers-6PMYIP2S.js.map → matrix.serieses-LRMN2J52.js.map} +0 -0
  798. /package/dist/{matrix.serieses-WWY7474U.js.map → matrix.sort-RGAGEA6Z.js.map} +0 -0
  799. /package/dist/{matrix.sort.unit.spec-3RM7V6CS.js.map → matrix.sort.unit.spec-RGICZZJL.js.map} +0 -0
  800. /package/dist/{matrix.sorterUi.unit.spec-YOV6FBRT.js.map → matrix.sorterUi.unit.spec-45QPEGWE.js.map} +0 -0
  801. /package/dist/{mavb-PJA76T7F.js.map → mavb-VEIVB62L.js.map} +0 -0
  802. /package/dist/{mds.fimo-GW7XPJGQ.js.map → mds.fimo-BG4LTWFB.js.map} +0 -0
  803. /package/dist/{mds.samplescatterplot-ZAIEWPO4.js.map → mds.samplescatterplot-PWADJZ2J.js.map} +0 -0
  804. /package/dist/{mds.survivalplot-ETLLFDWR.js.map → mds.survivalplot-BX4HZ23K.js.map} +0 -0
  805. /package/dist/{multivalue-AZPAQJQD.js.map → multivalue-OZALSBFW.js.map} +0 -0
  806. /package/dist/{numericDictTermCluster-KOJODGZT.js.map → numericDictTermCluster-7PGJ7KV4.js.map} +0 -0
  807. /package/dist/{oncomatrix-2TRXETOJ.js.map → oncomatrix-Q2EQZPLS.js.map} +0 -0
  808. /package/dist/{oncomatrix.spec-DOVKLS24.js.map → oncomatrix.spec-YEQOQRPW.js.map} +0 -0
  809. /package/dist/{plot.2dvaf-RQN6QADW.js.map → plot.2dvaf-NJSB3HNH.js.map} +0 -0
  810. /package/dist/{matrix.sort-V46C2MAZ.js.map → plot.app-AEUR6XGI.js.map} +0 -0
  811. /package/dist/{plot.barplot-46QRWJOX.js.map → plot.barplot-OXN2P5KL.js.map} +0 -0
  812. /package/dist/{plot.boxplot-54J4UWQX.js.map → plot.boxplot-2KHEVVFE.js.map} +0 -0
  813. /package/dist/{plot.brainImaging-Y32KQFLS.js.map → plot.brainImaging-JWDX4BZG.js.map} +0 -0
  814. /package/dist/{plot.disco-4R5J7Z5S.js.map → plot.disco-LUFC5GGC.js.map} +0 -0
  815. /package/dist/{plot.ssgq-6LCKYRYD.js.map → plot.ssgq-FMM3IRNA.js.map} +0 -0
  816. /package/dist/{plot.vaf2cov-UCBH4NSC.js.map → plot.vaf2cov-K5TAQUC5.js.map} +0 -0
  817. /package/dist/{plot.wsi-DAC7NUQE.js.map → plot.wsi-CNQCNZ4Z.js.map} +0 -0
  818. /package/dist/{polar2-JKV74QV5.js.map → polar2-AB6SVYRS.js.map} +0 -0
  819. /package/dist/{profileForms-VDYCFH4M.js.map → profileForms-AIEHZ4GC.js.map} +0 -0
  820. /package/dist/{plot.app-MOIVGIS6.js.map → profilePlot-PZDFGXKZ.js.map} +0 -0
  821. /package/dist/{proteinView-A3EM6OR5.js.map → proteinView-7GWHQYXC.js.map} +0 -0
  822. /package/dist/{pseudbulk.unit.spec-CUMTLAH7.js.map → pseudbulk.unit.spec-NFT4VNTI.js.map} +0 -0
  823. /package/dist/{profilePlot-PR3LVRYU.js.map → pseudobulk-WDGWTXW4.js.map} +0 -0
  824. /package/dist/{pseudobulk-5E5MSMU3.js.map → qualitative-PZYJENE7.js.map} +0 -0
  825. /package/dist/{radar2-A5OYMORS.js.map → radar2-QHRGH3YS.js.map} +0 -0
  826. /package/dist/{radarFacility2-4TPJB6M4.js.map → radarFacility2-2JD26FL6.js.map} +0 -0
  827. /package/dist/{qualitative-WPXUBISK.js.map → render-YA4Z56LT.js.map} +0 -0
  828. /package/dist/{report-NCJOTYIC.js.map → report-2NUKFJTF.js.map} +0 -0
  829. /package/dist/{render-XQBWWS33.js.map → sampleView-2XVPJTVR.js.map} +0 -0
  830. /package/dist/{samplelst-FV7BAUN5.js.map → samplelst-DMILFDT5.js.map} +0 -0
  831. /package/dist/{samplematrix-DFD3PNI4.js.map → samplematrix-LYA5XTUM.js.map} +0 -0
  832. /package/dist/{sc-GIMTDVLG.js.map → sc-CM2C34MN.js.map} +0 -0
  833. /package/dist/{scatter-4GJ5HKUY.js.map → scatter-C3CH3HTF.js.map} +0 -0
  834. /package/dist/{scatter-P3ISZB3R.js.map → scatter-GO6LV6NY.js.map} +0 -0
  835. /package/dist/{selectGenomeWithTklst-ZZ4CEHDU.js.map → selectGenomeWithTklst-5C7UBTGZ.js.map} +0 -0
  836. /package/dist/{sampleView-2PUSMG4W.js.map → singleCellCellType-EZYESBVZ.js.map} +0 -0
  837. /package/dist/{singleCellCellType.unit.spec-JNEIICK5.js.map → singleCellCellType.unit.spec-DB6FM4XR.js.map} +0 -0
  838. /package/dist/{singleCellCellType-CEERCVTR.js.map → singleCellGeneExpression-DZLEFPW4.js.map} +0 -0
  839. /package/dist/{singleCellGeneExpression.unit.spec-CGRZGY66.js.map → singleCellGeneExpression.unit.spec-ZTBK3V43.js.map} +0 -0
  840. /package/dist/{singleCellGeneExpression-G5B7DDES.js.map → singleCellPlot-VF4TZ4FT.js.map} +0 -0
  841. /package/dist/{singlecell-IPTSIKNA.js.map → singlecell-2MHROPBN.js.map} +0 -0
  842. /package/dist/{singlecell-VB4KLPJF.js.map → singlecell-GPAFNOUZ.js.map} +0 -0
  843. /package/dist/{singleCellPlot-US5KTHS4.js.map → snp-K4EAEVW4.js.map} +0 -0
  844. /package/dist/{snp.unit.spec-Q537NGVG.js.map → snp.unit.spec-BUVQLVOY.js.map} +0 -0
  845. /package/dist/{snplocus-BV6WJTVP.js.map → snplocus-GEVISN6Z.js.map} +0 -0
  846. /package/dist/{spliceevent.a53ss.diagram-3BUQVK4Q.js.map → spliceevent.a53ss.diagram-5UPWNAZF.js.map} +0 -0
  847. /package/dist/{spliceevent.exonskip.diagram-CQZ2DFQ5.js.map → spliceevent.exonskip.diagram-7TKAQURC.js.map} +0 -0
  848. /package/dist/{spliceevent.noeventdiagram-QAEPR6LD.js.map → spliceevent.noeventdiagram-CDXZLR3Z.js.map} +0 -0
  849. /package/dist/{snp-6V2SCCRN.js.map → ssGSEA-NMCJUQXT.js.map} +0 -0
  850. /package/dist/{ssGSEA.unit.spec-A337IMC7.js.map → ssGSEA.unit.spec-3FQALTPQ.js.map} +0 -0
  851. /package/dist/{stattable-J4ZQKJFM.js.map → stattable-2RXQPWKK.js.map} +0 -0
  852. /package/dist/{summarizeCnvGeneexp-76UJXLA4.js.map → summarizeCnvGeneexp-4BQS5AFM.js.map} +0 -0
  853. /package/dist/{summarizeGeneexpSurvival-ZUEHXA2R.js.map → summarizeGeneexpSurvival-HTBZQFB5.js.map} +0 -0
  854. /package/dist/{summarizeMutationCnv-EBCBVMG6.js.map → summarizeMutationCnv-XUWZGPCM.js.map} +0 -0
  855. /package/dist/{ssGSEA-XNI5S7AC.js.map → summarizeMutationDiagnosis-QUJX42TO.js.map} +0 -0
  856. /package/dist/{summarizeMutationSurvival-QRFMJLLO.js.map → summarizeMutationSurvival-3R47TTR6.js.map} +0 -0
  857. /package/dist/{summarizeMutationDiagnosis-VLFI2ZIZ.js.map → summary-6UUB63QR.js.map} +0 -0
  858. /package/dist/{summary.integration.spec-52WP6SNY.js.map → summary.integration.spec-JJDE6SRV.js.map} +0 -0
  859. /package/dist/{summaryInput-WUJNHCGH.js.map → summaryInput-JG4AW6FW.js.map} +0 -0
  860. /package/dist/{sunburst-IJ3ZG2BC.js.map → sunburst-YKB42RZX.js.map} +0 -0
  861. /package/dist/{survival-SQRYWGWZ.js.map → survival-3IFFTDQA.js.map} +0 -0
  862. /package/dist/{survival-F2B5JKOO.js.map → survival-HOFNJENX.js.map} +0 -0
  863. /package/dist/{svgraph-HVCMF6KI.js.map → svgraph-WFEY4ZIZ.js.map} +0 -0
  864. /package/dist/{svmr-PROHTMTP.js.map → svmr-44EIX7YD.js.map} +0 -0
  865. /package/dist/{table-3E64OJNV.js.map → table-6MKVJUNC.js.map} +0 -0
  866. /package/dist/{termCollection-WKT6ESMI.js.map → termCollection-6JBVQL6Y.js.map} +0 -0
  867. /package/dist/{summary-U3YKEMZC.js.map → termCollection-TTELZVC5.js.map} +0 -0
  868. /package/dist/{termCollection.unit.spec-XMOCMVER.js.map → termCollection.unit.spec-6Z7X646L.js.map} +0 -0
  869. /package/dist/{termCollection-MUH7P6B5.js.map → termCollectionFractionSelection-5DVIJBM5.js.map} +0 -0
  870. /package/dist/{termCollectionFractionSelection.unit.spec-MG7E3EIZ.js.map → termCollectionFractionSelection.unit.spec-3HIM5BIF.js.map} +0 -0
  871. /package/dist/{termCollectionFractionSelection-P5G6WIJJ.js.map → tk-HSYWJCGQ.js.map} +0 -0
  872. /package/dist/{tk-HWUPUGOS.js.map → tk-PNOVG2XS.js.map} +0 -0
  873. /package/dist/{tp.ui-RRB5MJRD.js.map → tp.ui-COBBSUPB.js.map} +0 -0
  874. /package/dist/{tk-SBM2GN3S.js.map → tvs.dt-35AKURFI.js.map} +0 -0
  875. /package/dist/{tvs.dtcnv.categorical-7RJPQKMX.js.map → tvs.dtcnv.categorical-3EHXYROL.js.map} +0 -0
  876. /package/dist/{tvs.dtcnv.continuous-FW4ZXIYY.js.map → tvs.dtcnv.continuous-AXQ2GU6S.js.map} +0 -0
  877. /package/dist/{tvs.dtfusion-3GDWW3ML.js.map → tvs.dtfusion-PLJIMPNX.js.map} +0 -0
  878. /package/dist/{tvs.dtitd-FER4H4UO.js.map → tvs.dtitd-JS6RFBV5.js.map} +0 -0
  879. /package/dist/{tvs.dtsnvindel-ISEOJ5UA.js.map → tvs.dtsnvindel-MDEM5MPT.js.map} +0 -0
  880. /package/dist/{tvs.dtsv-JDML7EWE.js.map → tvs.dtsv-OU756YLO.js.map} +0 -0
  881. /package/dist/{tvs.samplelst-MJTM6GSV.js.map → tvs.samplelst-5NDICES4.js.map} +0 -0
  882. /package/dist/{tvs.termCollection-GMOXBJWF.js.map → tvs.termCollection-5URPDPH6.js.map} +0 -0
  883. /package/dist/{tvs.dt-I2ECKHQ2.js.map → vocabulary-CHCVMPK5.js.map} +0 -0
  884. /package/dist/{wsi.direct-IVPACPNT.js.map → wsi.direct-JSKV4H4X.js.map} +0 -0
@@ -0,0 +1,1544 @@
1
+ import {
2
+ blocklazyload
3
+ } from "./chunk-ACXFPMJP.js";
4
+ import {
5
+ d3lasso
6
+ } from "./chunk-JH73IL4C.js";
7
+ import {
8
+ schemeCategory20
9
+ } from "./chunk-V2OJLJSK.js";
10
+ import {
11
+ getsjcharts
12
+ } from "./chunk-MKAF2BHB.js";
13
+ import {
14
+ appear2 as appear,
15
+ disappear2 as disappear,
16
+ export_data,
17
+ filterInit,
18
+ first_genetrack_tolist,
19
+ getVocabFromSamplesArray,
20
+ keyupEnter,
21
+ make_table_2col,
22
+ newpane,
23
+ sayerror,
24
+ tab_wait,
25
+ tkt
26
+ } from "./chunk-D5PX2UDG.js";
27
+ import "./chunk-HJ6L54YS.js";
28
+ import "./chunk-XFAL46LZ.js";
29
+ import "./chunk-OPMMU6DQ.js";
30
+ import {
31
+ Menu
32
+ } from "./chunk-ELJX3QIQ.js";
33
+ import "./chunk-7BLXK3GI.js";
34
+ import "./chunk-VSSZJHOR.js";
35
+ import "./chunk-5RUVBYLK.js";
36
+ import {
37
+ dofetch,
38
+ dofetch2
39
+ } from "./chunk-6X7PP7A4.js";
40
+ import {
41
+ getFilteredSamples
42
+ } from "./chunk-EO6M3LY3.js";
43
+ import "./chunk-DXLO4OAB.js";
44
+ import "./chunk-4QBRVM4V.js";
45
+ import "./chunk-H6INPPUC.js";
46
+ import "./chunk-PF4DSFDR.js";
47
+ import "./chunk-IMYSFDE5.js";
48
+ import "./chunk-W5J3LTYS.js";
49
+ import {
50
+ identity,
51
+ zoom_default
52
+ } from "./chunk-4ZL6IBXM.js";
53
+ import {
54
+ linear,
55
+ ordinal
56
+ } from "./chunk-OZVWP4ZR.js";
57
+ import "./chunk-FXQXCOII.js";
58
+ import "./chunk-TLT4YIG3.js";
59
+ import "./chunk-5R63Q5KH.js";
60
+ import {
61
+ select_default
62
+ } from "./chunk-I6Y4O3RR.js";
63
+ import "./chunk-Q5RDQNIT.js";
64
+ import "./chunk-DQC5FFGV.js";
65
+ import "./chunk-HFNDKYVF.js";
66
+
67
+ // common/uncollide.js
68
+ function getDefaults(opts) {
69
+ const defaults = {
70
+ waitTime: 0,
71
+ pad: 5,
72
+ nameKey: "",
73
+ steps: [
74
+ {
75
+ type: "restyle",
76
+ applyTo: "all",
77
+ // or just the minColliders
78
+ css: {
79
+ selector: "text",
80
+ key: "font-size",
81
+ value: "12px"
82
+ }
83
+ },
84
+ /*{
85
+ type: 'restyle',
86
+ css: {
87
+ selector: 'text',
88
+ key: 'text-anchor',
89
+ value: 'start'
90
+ }
91
+ },*/
92
+ {
93
+ type: "move",
94
+ repeat: 2,
95
+ pad: 0,
96
+ css: {
97
+ selector: "text"
98
+ },
99
+ boxSorter: (a, b) => {
100
+ if (a.x1 > b.x1) return -1;
101
+ if (b.x1 > a.x1) return 1;
102
+ if (a.y1 > b.y1) return -1;
103
+ if (b.y1 > a.y1) return 1;
104
+ return 0;
105
+ }
106
+ }
107
+ ]
108
+ };
109
+ return Object.assign(defaults, opts);
110
+ }
111
+ async function uncollide(labels, _opts = {}) {
112
+ if (!labels || !labels.size()) return;
113
+ const opts = getDefaults(_opts);
114
+ if (!opts.steps || !opts.steps.length) return;
115
+ if (!opts.svg) opts.svg = labels.node().closest("svg");
116
+ await sleep(opts.waitTime);
117
+ opts.svgBox = opts.svg.getBoundingClientRect();
118
+ const boxes = getBoxes(labels, opts);
119
+ const minNonZeroCollisions = trackCollisions(boxes);
120
+ window.boxes = boxes;
121
+ if (minNonZeroCollisions) {
122
+ const step = opts.steps.shift();
123
+ const adjustees = step.applyTo == "all" ? boxes : step.type == "move" ? boxes.filter((b) => b.collisions.length) : boxes.filter((b) => b.collisions.length === minNonZeroCollisions);
124
+ if (adjustees.length) {
125
+ if (step.boxSorter) adjustees.sort(step.boxSorter);
126
+ for (const box of adjustees) {
127
+ const b = getBoxes(box.label, opts)[0];
128
+ Object.assign(box, b);
129
+ trackOverlaps(box, boxes.filter((b2) => b2 != box));
130
+ await adjusters[step.type](box, step, boxes, opts);
131
+ }
132
+ }
133
+ if (typeof step.repeat == "number" && step.repeat > 0) {
134
+ step.repeat += -1;
135
+ opts.steps.unshift(step);
136
+ }
137
+ if (opts.steps.length) setTimeout(() => uncollide(labels, opts), 0);
138
+ else boxes.forEach(showBox);
139
+ } else boxes.forEach(showBox);
140
+ }
141
+ function getBoxes(labels, opts) {
142
+ const boxes = [];
143
+ labels.each(function(data) {
144
+ const elem = this;
145
+ const bbox = elem.getBoundingClientRect();
146
+ const box = {
147
+ elem,
148
+ label: select_default(elem),
149
+ x1: bbox.x - opts.svgBox.x,
150
+ x2: bbox.x - opts.svgBox.x + bbox.width,
151
+ y1: bbox.y - opts.svgBox.y,
152
+ y2: bbox.y - opts.svgBox.y + bbox.height,
153
+ width: bbox.width,
154
+ height: bbox.height
155
+ };
156
+ box.maxFree = {
157
+ n: Math.max(box.y1, 0),
158
+ s: Math.max(opts.svgBox.y + opts.svgBox.height - box.y2, 0),
159
+ e: Math.max(opts.svgBox.x + opts.svgBox.width - box.x2, 0),
160
+ w: Math.max(box.x1, 0)
161
+ };
162
+ box.corners = {};
163
+ box.overlapSum = 0;
164
+ box.collisions = [];
165
+ box.maxOverlaps = {};
166
+ if (opts.nameKey) box.name = data[opts.nameKey];
167
+ detectSvgOverflow(box, opts.svgBox);
168
+ boxes.push(box);
169
+ });
170
+ return boxes;
171
+ }
172
+ function trackCollisions(boxes) {
173
+ let minNonZeroCollisions = 0;
174
+ for (const box of boxes) {
175
+ const numCollisions = trackOverlaps(box, boxes.filter((b) => b != box));
176
+ if (minNonZeroCollisions === 0 || numCollisions > 0 && numCollisions < minNonZeroCollisions) {
177
+ minNonZeroCollisions = numCollisions;
178
+ }
179
+ }
180
+ boxes.sort(sortBoxes);
181
+ return minNonZeroCollisions;
182
+ }
183
+ function sortBoxes(a, b) {
184
+ return a.collisions.length - b.collisions.length;
185
+ }
186
+ function trackOverlaps(box, boxes) {
187
+ const x1 = box.x1, x2 = box.x2;
188
+ const y1 = box.y1, y2 = box.y2;
189
+ for (const b of boxes) {
190
+ if (b === box) continue;
191
+ const free = {};
192
+ if (b.x2 < x1) {
193
+ free.w = x1 - b.x2;
194
+ } else if (b.x1 > x2) {
195
+ free.e = b.x1 - x2;
196
+ }
197
+ if (b.y2 < y1) {
198
+ free.n = y1 - b.y2;
199
+ } else if (b.y1 > y2) {
200
+ free.s = b.y1 - y2;
201
+ }
202
+ const corners = {};
203
+ if (Object.keys(free).length) {
204
+ if ("n" in free && free.n < box.maxFree.n) box.maxFree.n = free.n;
205
+ if ("s" in free && free.s < box.maxFree.s) box.maxFree.s = free.s;
206
+ if ("e" in free && free.e < box.maxFree.e) box.maxFree.e = free.e;
207
+ if ("w" in free && free.w < box.maxFree.w) box.maxFree.w = free.w;
208
+ } else {
209
+ if (b.x1 <= x1 && x2 <= b.x2) {
210
+ if (b.x1 <= x1 && x1 <= b.x2) {
211
+ const dx = b.x2 - x1;
212
+ if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
213
+ if (b.y1 <= y1 && y1 <= b.y2) {
214
+ const dy = b.y2 - y1;
215
+ corners.nw = dx * dy;
216
+ if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
217
+ }
218
+ if (b.y1 <= y2 && y2 <= b.y2) {
219
+ const dy = y2 - b.y1;
220
+ corners.sw = dx * dy;
221
+ if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
222
+ }
223
+ }
224
+ if (b.x1 <= x2 && x2 <= b.x2) {
225
+ const dx = x2 - b.x1;
226
+ if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
227
+ if (b.y1 <= y1 && y1 <= b.y2) {
228
+ const dy = b.y2 - y1;
229
+ corners.ne = dx * dy;
230
+ if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
231
+ }
232
+ if (b.y1 <= y2 && y2 <= b.y2) {
233
+ const dy = y2 - b.y1;
234
+ corners.se = dx * dy;
235
+ if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
236
+ }
237
+ }
238
+ } else {
239
+ if (x1 <= b.x1 && b.x1 <= x2) {
240
+ const dx = x2 - b.x1;
241
+ if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "e" };
242
+ if (y1 <= b.y1 && b.y1 <= y2) {
243
+ const dy = y2 - b.y1;
244
+ corners.se = dx * dy;
245
+ if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
246
+ }
247
+ if (y1 <= b.y2 && b.y2 <= y2) {
248
+ const dy = b.y2 - y1;
249
+ corners.ne = dx * dy;
250
+ if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
251
+ }
252
+ }
253
+ if (x1 <= b.x2 && b.x2 <= x2) {
254
+ const dx = b.x2 - x1;
255
+ if (!("x" in box.maxOverlaps) || box.maxOverlaps.x.val < dx) box.maxOverlaps.x = { val: dx, dir: "w" };
256
+ if (y1 <= b.y1 && b.y1 <= y2) {
257
+ const dy = y2 - b.y1;
258
+ corners.sw = dx * dy;
259
+ if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "s" };
260
+ }
261
+ if (y1 <= b.y2 && b.y2 <= y2) {
262
+ const dy = b.y2 - y1;
263
+ corners.nw = dx * dy;
264
+ if (!("y" in box.maxOverlaps) || box.maxOverlaps.y.val < dy) box.maxOverlaps.y = { val: dy, dir: "n" };
265
+ }
266
+ }
267
+ }
268
+ }
269
+ const keys = Object.keys(corners);
270
+ if (keys.length) {
271
+ box.collisions.push({ box: b.name, corners: keys });
272
+ for (const k of keys) {
273
+ if (!box.corners[k]) box.corners[k] = { against: [], sum: 0 };
274
+ box.corners[k].against.push(b.name);
275
+ box.corners[k].sum += corners[k];
276
+ box.overlapSum += corners[k];
277
+ }
278
+ }
279
+ }
280
+ return box.collisions.length;
281
+ }
282
+ function detectSvgOverflow(box, svgBox) {
283
+ const x1 = box.x1, x2 = box.x2;
284
+ const y1 = box.y1, y2 = box.y2;
285
+ const corners = [];
286
+ if (x1 < 0) {
287
+ box.maxOverlaps.x = { val: Math.abs(x1), dir: "w" };
288
+ corners.push("w");
289
+ box.corners.w = { against: [], sum: Math.abs(x1) * box.height };
290
+ box.overlapSum += box.corners.w.sum;
291
+ }
292
+ const dx = x2 - svgBox.width;
293
+ if (dx > 0 && (!box.maxOverlaps.x || box.maxOverlaps.x.val < dx)) {
294
+ box.maxOverlaps.x = { val: dx, dir: "e" };
295
+ corners.push("e");
296
+ box.corners.e = { against: ["svgbox"], sum: dx * box.height };
297
+ box.overlapSum += box.corners.e.sum;
298
+ }
299
+ if (y1 < 0) {
300
+ box.maxOverlaps.y = { val: Math.abs(y1), dir: "n" };
301
+ corners.push("n");
302
+ box.corners.n = { against: ["svgbox"], sum: Math.abs(y1) };
303
+ box.overlapSum += box.corners.n.sum;
304
+ }
305
+ const dy = y2 - svgBox.height;
306
+ if (dy > 0 && (!box.maxOverlaps.y || box.maxOverlaps.y.val < dy)) {
307
+ box.maxOverlaps.y = { val: dy, dir: "s" };
308
+ corners.push("s");
309
+ box.corners.s = { against: ["svgbox"], sum: dy * box.height };
310
+ box.overlapSum += box.corners.s.sum;
311
+ }
312
+ if (corners.length) box.collisions.push({ box: "svg", corners });
313
+ }
314
+ async function restyle(box, step, boxes, opts) {
315
+ const preAdjustedVal = /* @__PURE__ */ new Map();
316
+ box.label.selectAll(step.css.selector).each(function(d) {
317
+ const s = select_default(this);
318
+ preAdjustedVal.set(this, s.attr(step.css.key));
319
+ s.attr(step.css.key, step.css.value);
320
+ });
321
+ await sleep(opts.waitTime);
322
+ const adjustedBox = getBoxes(box.label, opts)[0];
323
+ const i = boxes.indexOf(box);
324
+ trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
325
+ if (step.applyTo == "all") {
326
+ Object.assign(box, adjustedBox);
327
+ } else {
328
+ if (adjustedBox.overlapSum >= box.overlapSum) {
329
+ box.label.selectAll(step.css.selector).each(function(d) {
330
+ select_default(this).attr(step.css.key, preAdjustedVal.get(this));
331
+ });
332
+ } else {
333
+ Object.assign(box, adjustedBox);
334
+ }
335
+ }
336
+ }
337
+ async function move(box, step, boxes, opts) {
338
+ const freeDirections = Object.keys(box.maxFree).filter((dir) => box.maxFree[dir] > 0);
339
+ if (!freeDirections.length) return;
340
+ const preAdjustedVal = /* @__PURE__ */ new Map();
341
+ if (box.maxOverlaps.y && box.maxOverlaps.y.val > 0) {
342
+ if (box.maxOverlaps.y.dir == "s" && freeDirections.includes("n")) {
343
+ box.label.selectAll(step.css.selector).each(function(d) {
344
+ const s = select_default(this);
345
+ preAdjustedVal.set(this, s.attr("y") || 0);
346
+ s.attr("y", Math.max(-box.maxFree.n, -box.maxOverlaps.y.val) - step.pad);
347
+ });
348
+ }
349
+ if (box.maxOverlaps.y.dir == "n" && freeDirections.includes("s")) {
350
+ box.label.selectAll(step.css.selector).each(function(d) {
351
+ const s = select_default(this);
352
+ preAdjustedVal.set(this, s.attr("y") || 0);
353
+ s.attr("y", Math.min(box.maxFree.s, box.maxOverlaps.y.val) + step.pad);
354
+ });
355
+ }
356
+ }
357
+ if (preAdjustedVal.size) {
358
+ await sleep(opts.waitTime);
359
+ const adjustedBox2 = getBoxes(box.label, opts)[0];
360
+ trackOverlaps(adjustedBox2, boxes.filter((b) => b != box));
361
+ if (adjustedBox2.overlapSum >= box.overlapSum) {
362
+ box.label.selectAll(step.css.selector).each(function(d) {
363
+ select_default(this).attr("y", preAdjustedVal.get(this));
364
+ });
365
+ } else {
366
+ Object.assign(box, adjustedBox2);
367
+ if (!box.collisions.length) return;
368
+ }
369
+ }
370
+ if (box.maxOverlaps.x && box.maxOverlaps.x.val > 0) {
371
+ if (box.maxOverlaps.x.dir == "e" && freeDirections.includes("w")) {
372
+ box.label.selectAll(step.css.selector).each(function(d) {
373
+ const s = select_default(this);
374
+ preAdjustedVal.set(this, s.attr("x") || 0);
375
+ s.attr("x", Math.max(-box.maxFree.w, -box.maxOverlaps.x.val) - step.pad);
376
+ });
377
+ }
378
+ if (box.maxOverlaps.x.dir == "w" && freeDirections.includes("e")) {
379
+ box.label.selectAll(step.css.selector).each(function(d) {
380
+ const s = select_default(this);
381
+ preAdjustedVal.set(this, s.attr("x") || 0);
382
+ s.attr("x", Math.min(box.maxFree.e, box.maxOverlaps.x.val) + step.pad);
383
+ });
384
+ }
385
+ }
386
+ if (!preAdjustedVal.size) return;
387
+ await sleep(opts.waitTime);
388
+ const adjustedBox = getBoxes(box.label, opts)[0];
389
+ trackOverlaps(adjustedBox, boxes.filter((b) => b != box));
390
+ if (adjustedBox.overlapSum >= box.overlapSum) {
391
+ box.label.selectAll(step.css.selector).each(function(d) {
392
+ select_default(this).attr("x", preAdjustedVal.get(this));
393
+ });
394
+ } else {
395
+ Object.assign(box, adjustedBox);
396
+ }
397
+ }
398
+ var adjusters = { restyle, move };
399
+ function showBox(box) {
400
+ return;
401
+ const rect = select_default(box.elem.closest("svg")).append("rect").attr("x", box.x1).attr("y", box.y1).attr("width", box.width).attr("height", box.height).style("stroke", "blue").style("fill", "transparent");
402
+ }
403
+ function sleep(ms) {
404
+ return new Promise((resolve) => setTimeout(resolve, ms));
405
+ }
406
+
407
+ // src/mds.samplescatterplot.js
408
+ var radius = 3;
409
+ var radius_tiny = 0.7;
410
+ var userdotcolor = "black";
411
+ async function init(obj, holder, debugmode) {
412
+ if (debugmode) {
413
+ window.obj = obj;
414
+ }
415
+ if (!obj.lasso)
416
+ obj.lasso = {
417
+ postSelectMenuOptions: [
418
+ /*{
419
+ label: 'Do something',
420
+ callback({samples, sample_attributes, sample2dot}) {....}
421
+ },*/
422
+ {
423
+ label: "List samples",
424
+ callback: "listSamples"
425
+ // will indicate to use the default callback of listing the samples
426
+ }
427
+ ]
428
+ };
429
+ obj.menu = new Menu({ padding: "2px" });
430
+ obj.menu2 = new Menu({ padding: "10px" });
431
+ obj.tip = new Menu({ padding: "5px" });
432
+ obj.errordiv = holder.append("div").style("margin", "10px");
433
+ obj.sayerror = (e) => {
434
+ sayerror(obj.errordiv, typeof e == "string" ? e : e.message);
435
+ if (e.stack) console.log(e.stack);
436
+ };
437
+ const _table = holder.append("table").style("border-spacing", "20px");
438
+ const tr1 = _table.append("tr");
439
+ const tr1td1 = tr1.append("td").style("vertical-align", "top");
440
+ const tr1td2 = tr1.append("td").style("vertical-align", "top");
441
+ {
442
+ let searchStr2 = function(data, str) {
443
+ let found_flag = false;
444
+ let vals = Object.values(data).filter((a) => a != null && typeof a != "number");
445
+ let new_vals = vals.filter((a) => typeof a != "object").map((x) => x.toLowerCase());
446
+ new_vals.forEach((v) => {
447
+ if (v.toLowerCase().includes(str)) return found_flag = true;
448
+ });
449
+ if (!found_flag) {
450
+ vals.forEach((v) => {
451
+ if (v && typeof v == "object") {
452
+ const obj_vals = Object.values(v).filter((a) => a != null && typeof a != "number").map((x) => x.toLowerCase());
453
+ obj_vals.forEach((ov) => {
454
+ if (ov.toLowerCase().includes(str)) return found_flag = true;
455
+ });
456
+ }
457
+ });
458
+ }
459
+ return found_flag;
460
+ };
461
+ var searchStr = searchStr2;
462
+ const row = tr1td2.append("div").style("margin-bottom", "5px");
463
+ row.append("input").attr("type", "text").attr("placeholder", "Search sample").style("width", "200px").on("keyup", (event2) => {
464
+ const str0 = event2.target.value;
465
+ if (!str0) {
466
+ obj.dotselection.transition().attr("r", radius);
467
+ return;
468
+ }
469
+ const str = str0.toLowerCase();
470
+ obj.dotselection.filter((d) => searchStr2(d, str)).transition().attr("r", radius * 2);
471
+ obj.dotselection.filter((d) => !searchStr2(d, str)).transition().attr("r", 1);
472
+ });
473
+ }
474
+ const legend_div = tr1td2.append("div").style("overflow-x", "hidden").style("overflow-y", "auto").style("height", "100vh");
475
+ obj.legendtable = legend_div.append("table").style("border-spacing", "5px");
476
+ obj.filterDiv = tr1td1.append("div").style("position", "relative");
477
+ const scatterdiv = tr1td1.append("div").style("position", "relative");
478
+ obj.scattersvg = scatterdiv.append("svg");
479
+ obj.scattersvg_resizehandle = scatterdiv.append("div");
480
+ obj.scattersvg_buttons = scatterdiv.append("div");
481
+ try {
482
+ await get_data(obj);
483
+ finish_setup(obj);
484
+ init_dotcolor_legend(obj);
485
+ init_plot(obj);
486
+ } catch (e) {
487
+ if (e.stack) console.log(e.stack);
488
+ obj.sayerror(e.message || e);
489
+ }
490
+ }
491
+ async function get_data(obj) {
492
+ if (obj.dslabel) {
493
+ const lst = ["genome=" + obj.genome.name, "dslabel=" + obj.dslabel];
494
+ if (obj.analysisdata) {
495
+ if (obj.analysisdata.subset) {
496
+ if (!obj.analysisdata.subset.key) throw ".subset.key missing";
497
+ if (!obj.analysisdata.subset.value) throw ".subset.value missing";
498
+ lst.push("subsetkey=" + obj.analysisdata.subset.key);
499
+ lst.push("subsetvalue=" + obj.analysisdata.subset.value);
500
+ }
501
+ }
502
+ const data = await dofetch2("mdssamplescatterplot?" + lst.join("&"));
503
+ if (data.error) throw data.error;
504
+ if (!data.dots) throw "server error";
505
+ obj.sample2dot = /* @__PURE__ */ new Map();
506
+ for (const dot of data.dots) {
507
+ obj.sample2dot.set(dot.sample, dot);
508
+ }
509
+ combine_clientserverdata(obj, data);
510
+ obj.colorbyattributes = data.colorbyattributes;
511
+ obj.colorbygeneexpression = data.colorbygeneexpression;
512
+ obj.tracks = data.tracks;
513
+ obj.querykey = data.querykey;
514
+ obj.sample_attributes = obj.mds.sampleAttribute.attributes;
515
+ return;
516
+ }
517
+ const ad = obj.analysisdata;
518
+ if (obj.disco || ad.disco) {
519
+ const disco = obj.disco || ad.disco;
520
+ obj.mds = obj.genome.datasets[disco.dslabel];
521
+ } else if (obj.mds) {
522
+ obj.mds = obj.genome.datasets[obj.mds.dslabel];
523
+ }
524
+ if (!ad) throw "both .analysisdata{} and .dslabel are missing";
525
+ if (ad.samples) {
526
+ if (!Array.isArray(ad.samples)) throw ".analysisdata.samples is not array";
527
+ obj.dots = ad.samples;
528
+ } else if (ad.tabular_data) {
529
+ let lines = ad.tabular_data.split("\n");
530
+ if (lines.length < 2) throw "at least 2 rows, header row + at least 1 sample data must be supplied";
531
+ ad.samples = [];
532
+ const headers = lines.shift().split(" ");
533
+ if (headers.length < 3) throw "at least 3 columns are required with X, Y and sample name";
534
+ ad.samplekey = headers[2];
535
+ let xi = headers.indexOf("x");
536
+ if (xi == -1) xi = headers.indexOf("X");
537
+ if (xi == -1) throw '"X" or "x" column missing from tabular data';
538
+ let yi = headers.indexOf("y");
539
+ if (yi == -1) yi = headers.indexOf("Y");
540
+ if (yi == -1) throw '"Y" or "y" column missing from tabular data';
541
+ for (const line of lines) {
542
+ const values = line.split(" ");
543
+ const sample = {};
544
+ for (const [i, v] of values.entries()) {
545
+ if (i == xi) sample.x = Number.parseFloat(v);
546
+ else if (i == yi) sample.y = Number.parseFloat(v);
547
+ else sample[headers[i]] = v;
548
+ }
549
+ ad.samples.push(sample);
550
+ }
551
+ obj.dots = ad.samples;
552
+ if (ad.sample_attributes == void 0) {
553
+ ad.sample_attributes = {};
554
+ for (const [i, key] of headers.entries()) {
555
+ if (i <= 2) continue;
556
+ ad.sample_attributes[key] = { label: key };
557
+ }
558
+ }
559
+ if (!ad.colorbyattributes && headers.length > 3) ad.colorbyattributes = [{ key: headers[3] }];
560
+ } else {
561
+ throw "unknown data encoding in .analysisdata{}";
562
+ }
563
+ obj.sample2dot = /* @__PURE__ */ new Map();
564
+ for (const d of obj.dots) {
565
+ if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a sample";
566
+ if (ad.samplekey) {
567
+ d.sample = d[ad.samplekey];
568
+ delete d[ad.samplekey];
569
+ }
570
+ if (ad.sample_attributes) {
571
+ d.s = {};
572
+ for (const k in ad.sample_attributes) {
573
+ d.s[k] = d[k];
574
+ delete d[k];
575
+ }
576
+ }
577
+ obj.sample2dot.set(d.sample, d);
578
+ }
579
+ obj.sample_attributes = ad.sample_attributes;
580
+ obj.colorbyattributes = ad.colorbyattributes;
581
+ obj.attr_levels = ad.attr_levels;
582
+ if (ad.user_samples) {
583
+ if (!Array.isArray(ad.user_samples)) throw ".user_samples[] is not array";
584
+ obj.dots_user = [];
585
+ for (const d of ad.user_samples) {
586
+ if (!Number.isFinite(d.x) || !Number.isFinite(d.y)) throw "non-numeric x/y for a USER sample";
587
+ if (ad.samplekey) {
588
+ d.sample = d[ad.samplekey];
589
+ delete d[ad.samplekey];
590
+ }
591
+ if (!d.color) d.color = userdotcolor;
592
+ obj.dots_user.push(d);
593
+ }
594
+ }
595
+ if (!obj.filterApi) {
596
+ obj.filterApi = filterInit({
597
+ btn: obj.filterDiv.append("div"),
598
+ btnLabel: "Filter",
599
+ emptyLabel: "+New Filter",
600
+ holder: obj.filterDiv.append("div"),
601
+ vocab: getVocabFromSamplesArray(ad),
602
+ //termdbConfig: opts.termdbConfig,
603
+ debug: true,
604
+ callback(filter) {
605
+ obj.filteredSamples = getFilteredSamples(ad.samples, filter);
606
+ if (obj.dotselection._groups[0].length != obj.filteredSamples.size) {
607
+ obj.dotselection.transition().attr("r", (d) => obj.filteredSamples.has(d.sample) ? radius : 0).style("opacity", (d) => obj.filteredSamples.has(d.sample) ? 1 : 0);
608
+ } else {
609
+ obj.dotselection.transition().attr("r", radius).style("opacity", 1);
610
+ }
611
+ update_dotcolor_legend(obj);
612
+ }
613
+ });
614
+ obj.filterApi.main({ type: "tvslst", join: "", lst: [] });
615
+ obj.filteredSamples = [];
616
+ }
617
+ }
618
+ function combine_clientserverdata(obj, data) {
619
+ if (!obj.analysisdata) {
620
+ obj.dots = data.dots;
621
+ return;
622
+ }
623
+ if (!obj.analysisdata.str) throw ".analysisdata.str missing while trying to combine client/server data";
624
+ const analysis = /* @__PURE__ */ new Map();
625
+ obj.dots_user = [];
626
+ for (const line of obj.analysisdata.str.trim().split("\n")) {
627
+ const l = line.split(" ");
628
+ if (l.length < 3) {
629
+ continue;
630
+ }
631
+ const sample = l[2];
632
+ if (!sample) continue;
633
+ const j = {
634
+ x: Number(l[0]),
635
+ y: Number(l[1])
636
+ };
637
+ if (Number.isNaN(j.x) || Number.isNaN(j.y)) continue;
638
+ if (l[3]) {
639
+ j.sample = sample;
640
+ j.color = userdotcolor;
641
+ obj.dots_user.push(j);
642
+ continue;
643
+ }
644
+ analysis.set(sample, j);
645
+ }
646
+ obj.dots = [];
647
+ for (const i of data.dots) {
648
+ const j = analysis.get(i.sample);
649
+ if (!j) continue;
650
+ i.x = j.x;
651
+ i.y = j.y;
652
+ obj.dots.push(i);
653
+ }
654
+ }
655
+ function finish_setup(obj) {
656
+ if (obj.colorbyattributes) {
657
+ if (!Array.isArray(obj.colorbyattributes)) throw ".colorbyattributes[] is not array";
658
+ if (!obj.sample_attributes) throw ".sample_attributes{} missing when .colorbyattributes is defined";
659
+ for (const a of obj.colorbyattributes) {
660
+ if (typeof a != "object") throw "one of .colorbyattributes[] is not array";
661
+ if (!a.key) throw ".key missing from one of .colorbyattributes[]";
662
+ const a2 = obj.sample_attributes[a.key];
663
+ if (!a2) throw "unknown key from .colorbyattributes: " + a.key;
664
+ a.label = a2.label;
665
+ a.values = a2.values;
666
+ if (!a.values) {
667
+ a.values = {};
668
+ for (const d of obj.dots) {
669
+ const v = d.s[a.key];
670
+ if (v == void 0 || v == null) continue;
671
+ a.values[v] = {};
672
+ }
673
+ }
674
+ const cf = ordinal(schemeCategory20);
675
+ for (const k in a.values) {
676
+ if (!a.values[k].color) a.values[k].color = cf(k);
677
+ }
678
+ if (obj.analysisdata) {
679
+ const ad = obj.analysisdata.sample_attributes;
680
+ if (ad[a.key].values == void 0) ad[a.key].values = a.values;
681
+ }
682
+ }
683
+ }
684
+ if (obj.attr_levels) {
685
+ if (!Array.isArray(obj.attr_levels)) throw ".attr_levels[] is not array";
686
+ if (obj.attr_levels.length < 2) throw ".attr_levels[] array has less than 2 items";
687
+ if (!obj.sample_attributes) throw ".sample_attributes is missing when .attr_levels is defined";
688
+ for (const l of obj.attr_levels) {
689
+ if (!l.key) throw ".key missing from one of attr_levels[]";
690
+ const register = obj.sample_attributes[l.key];
691
+ if (!register) throw ".attr_levels key missing from sample_attributes{}: " + l.key;
692
+ if (!register.values) {
693
+ register.values = {};
694
+ for (const d of obj.dots) {
695
+ const v = d.s[l.key];
696
+ if (v == void 0 || v == null || register.values[v]) continue;
697
+ register.values[v] = {};
698
+ }
699
+ const cf = ordinal(schemeCategory20);
700
+ for (const k in register.values) {
701
+ if (!register.values[k].color) register.values[k].color = cf(k);
702
+ }
703
+ register.orderByCount = true;
704
+ }
705
+ if (l.label) {
706
+ }
707
+ }
708
+ }
709
+ }
710
+ function init_plot(obj) {
711
+ const rootholder = obj.scattersvg.node().closest(".sja_root_holder");
712
+ let minx = obj.dots[0].x, maxx = minx, miny = obj.dots[0].y, maxy = miny;
713
+ for (const d of [...obj.dots, ...obj.dots_user || []]) {
714
+ minx = Math.min(minx, d.x);
715
+ maxx = Math.max(maxx, d.x);
716
+ miny = Math.min(miny, d.y);
717
+ maxy = Math.max(maxy, d.y);
718
+ }
719
+ let xscale = obj.xscale = linear().domain([minx, maxx]);
720
+ let yscale = obj.yscale = linear().domain([miny, maxy]);
721
+ if (!obj.dimensions) obj.dimensions = {};
722
+ if (!("autoResize" in obj.dimensions)) obj.dimensions.autoResize = true;
723
+ if (!("minWidth" in obj.dimensions)) obj.dimensions.minWidth = 300;
724
+ if (!("minHeight" in obj.dimensions)) obj.dimensions.minHeight = 300;
725
+ let currBbox;
726
+ const estlegendwidth = 250;
727
+ const bbox = rootholder.getBoundingClientRect();
728
+ let toppad = 30, bottompad = 50, leftpad = 100, rightpad = 30, vpad = 20, width = obj.dimensions.width ? obj.dimensions.width : Math.max(obj.dimensions.minWidth, 0.75 * (bbox.width - estlegendwidth)), height = obj.dimensions.height ? obj.dimensions.height : Math.max(obj.dimensions.minHeight, Math.min(1.2 * width, 0.5 * bbox.height)), fontsize = 18;
729
+ const svg = obj.scattersvg;
730
+ const dotg = obj.dotg = svg.append("g").attr("transform", "translate(" + (leftpad + vpad) + "," + toppad + ")");
731
+ const dots = dotg.selectAll().data(obj.dots).enter().append("g").attr("class", "sample_dot");
732
+ const circles = dots.append("circle").attr("stroke", "none").attr("r", radius).on("mouseover", (event2, d) => {
733
+ event2.target.setAttribute("stroke", "white");
734
+ const lst = [{ k: "Sample", v: d.sample }];
735
+ if (obj.sample_attributes) {
736
+ for (const attrkey in obj.sample_attributes) {
737
+ const attr = obj.sample_attributes[attrkey];
738
+ const v = d.s[attrkey];
739
+ lst.push({
740
+ k: attr.label,
741
+ v: d.s[attrkey]
742
+ });
743
+ }
744
+ }
745
+ make_table_2col(obj.tip.clear().d, lst);
746
+ obj.tip.show(event2.clientX, event2.clientY);
747
+ }).on("mouseout", (event2, d) => {
748
+ event2.target.setAttribute("stroke", "none");
749
+ obj.tip.hide();
750
+ }).on("click", (event2, d) => {
751
+ click_dot(d, obj, event2);
752
+ });
753
+ obj.dotselection = circles;
754
+ let userdots, usercircles, userlabelg, userlabels, userlabel_borders;
755
+ const userlabel_grp = obj.userlabel_grp = { userlabels, userlabel_borders };
756
+ if (obj.dots_user) {
757
+ userdots = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "sample_dot");
758
+ usercircles = userdots.append("circle").attr("stroke", "none").attr("fill", (d) => d.color).attr("r", radius).on("mouseover", (event2, d) => {
759
+ const lst = [{ k: "Sample", v: d.sample }];
760
+ if (obj.sample_attributes) {
761
+ for (const attrkey in obj.sample_attributes) {
762
+ const attr = obj.sample_attributes[attrkey];
763
+ if (d[attrkey])
764
+ lst.push({
765
+ k: attr.label,
766
+ v: d[attrkey]
767
+ });
768
+ }
769
+ }
770
+ make_table_2col(obj.tip.clear().d, lst);
771
+ obj.tip.show(event2.clientX, event2.clientY);
772
+ Object.values(userlabel_grp).forEach(
773
+ (labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "bold")
774
+ );
775
+ }).on("mouseout", (event2, d) => {
776
+ obj.tip.hide();
777
+ Object.values(userlabel_grp).forEach(
778
+ (labels) => labels.filter((i) => i.sample == d.sample).attr("font-weight", "normal")
779
+ );
780
+ });
781
+ userlabelg = dotg.selectAll().data(obj.dots_user).enter().append("g").attr("class", "userlabelg");
782
+ userlabel_grp.userlabel_borders = userlabelg.append("text").attr("fill", "#fff").attr("font-size", fontsize).attr("stroke", "white").attr("stroke-width", "3px").text((d) => d.sample).attr("text-anchor", "end");
783
+ userlabel_grp.userlabels = userlabelg.append("text").attr("fill", (d) => d.color).attr("font-size", fontsize).text((d) => d.sample).on("mouseover", (event2, d) => {
784
+ usercircles.filter((i) => i.sample == d.sample).attr("r", radius * 2);
785
+ svg.style("cursor", "move");
786
+ const lst = [{ k: "Sample", v: d.sample }];
787
+ if (obj.sample_attributes) {
788
+ for (const attrkey in obj.sample_attributes) {
789
+ const attr = obj.sample_attributes[attrkey];
790
+ if (d[attrkey])
791
+ lst.push({
792
+ k: attr.label,
793
+ v: d[attrkey]
794
+ });
795
+ }
796
+ }
797
+ make_table_2col(obj.tip.clear().d, lst);
798
+ obj.tip.show(event2.clientX, event2.clientY);
799
+ }).on("mouseout", (event2, d) => {
800
+ usercircles.filter((i) => i.sample == d.sample).attr("r", radius);
801
+ svg.style("cursor", "auto");
802
+ obj.tip.hide();
803
+ }).on("mousedown", (event2, d) => {
804
+ event2.preventDefault();
805
+ event2.stopPropagation();
806
+ const b = select_default(document.body);
807
+ const x = event2.clientX;
808
+ const y = event2.clientY;
809
+ xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : obj.xscale;
810
+ yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : obj.yscale;
811
+ const g = userlabelg.filter((i) => i.sample == d.sample);
812
+ const [x1, y1] = g.attr("transform").match(/[\d\.]+/g).map(Number);
813
+ b.on("mousemove", (event3) => {
814
+ g.attr("transform", "translate(" + (x1 + event3.clientX - x) + "," + (y1 + event3.clientY - y) + ")");
815
+ });
816
+ b.on("mouseup", (event3) => {
817
+ b.on("mousemove", null).on("mouseup", null);
818
+ d.x_ = xscale.invert(x1 + event3.clientX - x);
819
+ d.y_ = yscale.invert(y1 + event3.clientY - y);
820
+ });
821
+ }).on("dblclick", (event2, d) => {
822
+ obj.menu2.clear().show(event2.clientX - 90, event2.clientY);
823
+ obj.menu2.d.append("input").attr("type", "text").property("value", d.sample).style("display", "block").style("margin-bottom", "5px").on("keyup", (event3) => {
824
+ if (!keyupEnter(event3)) return;
825
+ const v = event3.target.value;
826
+ Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).text(v));
827
+ d.sample = v;
828
+ obj.menu2.hide();
829
+ });
830
+ obj.menu2.d.append("input").attr("type", "color").property("value", d.color).on("change", (event3) => {
831
+ const v = event3.target.value;
832
+ Object.values(userlabel_grp).forEach((labels) => labels.filter((i) => i.sample == d.sample).attr("fill", v));
833
+ usercircles.filter((i) => i.sample == d.sample).attr("fill", v);
834
+ d.color = v;
835
+ });
836
+ });
837
+ userlabel_grp.userlabels.append("title").text("Double-click to edit");
838
+ }
839
+ assign_color4dots(obj);
840
+ function resize() {
841
+ bottompad = width / 20 + 20;
842
+ svg.attr("width", leftpad + vpad + width + rightpad).attr("height", toppad + height + vpad + bottompad);
843
+ const new_xscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_xscale : xscale;
844
+ const new_yscale = obj.zoomed_scale && obj.zoomed_scale > 1 ? obj.new_yscale : yscale;
845
+ new_xscale.range([0, width]);
846
+ new_yscale.range([height, 0]);
847
+ dots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
848
+ if (userdots) {
849
+ userdots.attr("transform", (d) => "translate(" + new_xscale(d.x) + "," + new_yscale(d.y) + ")");
850
+ userlabelg.attr("transform", (d) => {
851
+ const x = d.x_ ? new_xscale(d.x_) : new_xscale(d.x), y = d.y_ ? new_yscale(d.y_) : new_yscale(d.y);
852
+ let lw;
853
+ Object.values(userlabel_grp).forEach(
854
+ (labels) => labels.filter((i) => i.sample == d.sample).each(function() {
855
+ lw = this.getBBox().width;
856
+ }).attr("text-anchor", x + lw >= width ? "end" : "start")
857
+ );
858
+ return "translate(" + x + "," + y + ")";
859
+ });
860
+ }
861
+ currBbox = rootholder.getBoundingClientRect();
862
+ if (obj.userlabel_grp && userlabelg && userlabelg.size()) {
863
+ uncollide(userlabelg, { waitTime: 0, nameKey: "sample" });
864
+ }
865
+ }
866
+ resize();
867
+ obj.scattersvg_resizehandle.style("position", "absolute").style("right", "0px").style("bottom", "0px").attr("class", "sja_clbtext").text("drag to resize").on("mousedown", (event2) => {
868
+ event2.preventDefault();
869
+ const b = select_default(document.body);
870
+ const x = event2.clientX;
871
+ const y = event2.clientY;
872
+ const w0 = width;
873
+ const h0 = height;
874
+ b.on("mousemove", (event3) => {
875
+ width = w0 + event3.clientX - x;
876
+ height = h0 + event3.clientY - y;
877
+ resize();
878
+ });
879
+ b.on("mouseup", () => {
880
+ b.on("mousemove", null).on("mouseup", null);
881
+ });
882
+ });
883
+ function resetDimensions() {
884
+ const bbox2 = rootholder.getBoundingClientRect();
885
+ const w = width * bbox2.width / currBbox.width;
886
+ width = obj.dimensions.minWidth ? Math.max(obj.dimensions.minWidth, w) : w;
887
+ const h = height * bbox2.height / currBbox.height;
888
+ height = obj.dimensions.minHeight ? Math.max(obj.dimensions.minHeight, h) : h;
889
+ currBbox = bbox2;
890
+ resize();
891
+ }
892
+ let timeout;
893
+ if (obj.dimensions.autoResize) {
894
+ window.addEventListener("resize", () => {
895
+ if (timeout) clearTimeout(timeout);
896
+ timeout = setTimeout(resetDimensions, 50);
897
+ });
898
+ }
899
+ makeConfigPanel(obj);
900
+ }
901
+ function makeConfigPanel(obj) {
902
+ const svg = obj.scattersvg;
903
+ obj.scattersvg_buttons.style("position", "absolute").style("right", "0px").style("top", "0px");
904
+ obj.zoom_active = false;
905
+ const zoom_btn = obj.scattersvg_buttons.append("div").style("padding", "2px 5px").style("border", "1px solid #999").style("color", "#999").style("background-color", "#fff").style("cursor", "pointer").style("font-weight", "300").style("border-radius", "5px").style("text-align", "center").text("Pan / Zoom").on("click", zoomToggle);
906
+ const zoom_menu = obj.scattersvg_buttons.append("div").style("margin-top", "2px").style("padding", "2px 5px").style("border-radius", "5px").style("text-align", "center").style("display", obj.zoom_active ? "block" : "none").style("background-color", "#ddd");
907
+ const zoom_inout_div = zoom_menu.append("div").style("margin", "5px 2px");
908
+ zoom_inout_div.append("div").style("display", "block").style("padding", "2px 4px").style("font-size", "80%").text("Zoom");
909
+ zoom_inout_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html('<p style="margin:1px;">Mouse wheel </br>or use these buttons</p>');
910
+ const zoom_in_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 7px").text("+");
911
+ const zoom_out_btn = zoom_inout_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("-");
912
+ const pan_div = zoom_menu.append("div").style("margin", "5px 2px");
913
+ pan_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Pan");
914
+ pan_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html('<p style="margin:1px;">Mouse click </br>+ Mouse move</p>');
915
+ const reset_div = zoom_menu.append("div").style("margin", "5px 2px");
916
+ const reset_btn = reset_div.append("button").style("margin", "1px").style("padding", "2px 8px").text("Reset");
917
+ function zoomToggle() {
918
+ obj.zoom_active = obj.zoom_active ? false : true;
919
+ zoom_btn.style("border", obj.zoom_active ? "2px solid #000" : "1px solid #999").style("color", obj.zoom_active ? "#000" : "#999").style("background-color", obj.zoom_active ? "#eee" : "#fff").style("font-weight", obj.zoom_active ? "400" : "300");
920
+ lasso_btn.style("pointer-events", obj.zoom_active ? "none" : "auto");
921
+ zoom_menu.style("display", obj.zoom_active ? "block" : "none");
922
+ const zoom = zoom_default().scaleExtent([1, 5]).on("zoom", obj.zoom_active ? zoomed : null);
923
+ function zoomed(event2) {
924
+ obj.new_xscale = event2.transform.rescaleX(obj.xscale);
925
+ obj.new_yscale = event2.transform.rescaleY(obj.yscale);
926
+ obj.zoomed_scale = event2.transform.k;
927
+ const dots = obj.dotg.selectAll(".sample_dot");
928
+ dots.attr("transform", (d) => "translate(" + obj.new_xscale(d.x) + "," + obj.new_yscale(d.y) + ")");
929
+ const userlabelg = obj.dotg.selectAll(".userlabelg");
930
+ userlabelg.attr(
931
+ "transform",
932
+ (d) => "translate(" + obj.new_xscale(d.x_ || d.x) + "," + obj.new_yscale(d.y_ || d.y) + ")"
933
+ );
934
+ }
935
+ if (obj.zoom_active) svg.call(zoom);
936
+ else svg.on(".zoom", null);
937
+ zoom_in_btn.on("click", () => {
938
+ zoom.scaleBy(svg.transition().duration(750), 1.5);
939
+ });
940
+ zoom_out_btn.on("click", () => {
941
+ zoom.scaleBy(svg.transition().duration(750), 0.5);
942
+ });
943
+ reset_btn.on("click", () => {
944
+ svg.transition().duration(750).call(zoom.transform, identity);
945
+ });
946
+ }
947
+ const lasso_btn = obj.scattersvg_buttons.append("div").style("display", "block").style("padding", "2px 5px").style("margin-top", "5px").style("border", "1px solid #999").style("color", "#999").style("background-color", "#fff").style("cursor", "pointer").style("font-weight", "300").style("border-radius", "5px").style("text-align", "center").text("Lasso select").on("click", lassoToggle);
948
+ const lasso_menu = obj.scattersvg_buttons.append("div").style("margin-top", "2px").style("padding", "2px 5px").style("border-radius", "5px").style("text-align", "center").style("display", obj.lasso_active ? "block" : "none").style("background-color", "#ddd");
949
+ const lasso_div = lasso_menu.append("div").style("margin", "5px 2px");
950
+ lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "80%").text("Lasso usage");
951
+ lasso_div.append("div").style("display", "block").style("padding", "2px").style("font-size", "70%").html(
952
+ '<p style="margin:1px;">Mouse click </br>+ Mouse move <br>TIP: Release the mouse <br> when desired dots <br> are selected, without <br>closing the loop. </p>'
953
+ );
954
+ function lassoToggle() {
955
+ const dots = obj.dotg.selectAll("g");
956
+ obj.lasso_active = obj.lasso_active ? false : true;
957
+ zoom_btn.style("pointer-events", obj.lasso_active ? "none" : "auto");
958
+ lasso_menu.style("display", obj.lasso_active ? "block" : "none");
959
+ lasso_btn.style("border", obj.lasso_active ? "2px solid #000" : "1px solid #999").style("color", obj.lasso_active ? "#000" : "#999").style("background-color", obj.lasso_active ? "#eee" : "#fff").style("font-weight", obj.lasso_active ? "400" : "300");
960
+ lasso_select(obj, dots);
961
+ if (obj.lasso_active) return;
962
+ dots.selectAll("circle").classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
963
+ }
964
+ }
965
+ function assign_color4dots(obj) {
966
+ let byattr;
967
+ if (obj.colorbygeneexpression && obj.colorbygeneexpression.__inuse) {
968
+ } else if (obj.attr_levels) {
969
+ byattr = { key: obj.attr_levels[1].key };
970
+ byattr.values = obj.sample_attributes[byattr.key].values;
971
+ } else if (obj.colorbyattributes) {
972
+ byattr = { key: (obj.colorbyattributes.find((i) => i.__inuse) || obj.colorbyattributes[0]).key };
973
+ byattr.values = obj.sample_attributes[byattr.key].values;
974
+ }
975
+ obj.dotselection.transition().attr("fill", (d) => {
976
+ if (byattr) {
977
+ const v = d.s[byattr.key];
978
+ return byattr.values[v] ? byattr.values[v].color : "black";
979
+ }
980
+ return "#ccc";
981
+ });
982
+ }
983
+ function init_dotcolor_legend(obj) {
984
+ if (obj.attr_levels) {
985
+ legend_attr_levels(obj);
986
+ return;
987
+ }
988
+ if (obj.colorbyattributes) {
989
+ legend_flatlist(obj);
990
+ return;
991
+ }
992
+ if (obj.colorbygeneexpression) {
993
+ }
994
+ }
995
+ function legend_attr_levels(obj) {
996
+ const staydiv = obj.legendtable.append("tr").append("td").append("div").style("position", "relative");
997
+ const scrolldiv = staydiv.append("div");
998
+ const L1 = obj.attr_levels[0];
999
+ L1.v2c = /* @__PURE__ */ new Map();
1000
+ L1.unannotated = 0;
1001
+ for (const d of obj.dots) {
1002
+ const v = d.s[L1.key];
1003
+ if (v == void 0 || v == null) {
1004
+ L1.unannotated++;
1005
+ continue;
1006
+ }
1007
+ if (!L1.v2c.has(v)) L1.v2c.set(v, { dots: [] });
1008
+ L1.v2c.get(v).dots.push(d);
1009
+ if (L1.label) {
1010
+ L1.v2c.get(v).label = d.s[L1.label];
1011
+ }
1012
+ }
1013
+ for (const L1value of get_itemOrderList(L1, obj)) {
1014
+ const L1o = L1.v2c.get(L1value);
1015
+ const L1div = scrolldiv.append("div").style("margin-top", "20px").attr("class", "sja_lb_div");
1016
+ L1div.append("div").attr("class", "sja_l1lb").html((L1o.label || L1value) + ' &nbsp;<span style="font-size:.8em">n=' + L1o.dots.length + "</span>").style("margin-top", "15px");
1017
+ const L2 = obj.attr_levels[1];
1018
+ if (L2) {
1019
+ const L2values = obj.sample_attributes[L2.key].values;
1020
+ L2.v2c = /* @__PURE__ */ new Map();
1021
+ L2.unannotated = 0;
1022
+ for (const d of L1o.dots) {
1023
+ const v = d.s[L2.key];
1024
+ if (v == void 0 || v == null) {
1025
+ L2.unannotated++;
1026
+ continue;
1027
+ }
1028
+ if (!L2.v2c.has(v)) {
1029
+ const o = L2values[v];
1030
+ if (o) {
1031
+ o.dots = [];
1032
+ L2.v2c.set(v, o);
1033
+ }
1034
+ }
1035
+ if (L2.v2c.has(v)) {
1036
+ L2.v2c.get(v).dots.push(d);
1037
+ if (L2.label) {
1038
+ L2.v2c.get(v).label = d.s[L2.label];
1039
+ }
1040
+ }
1041
+ }
1042
+ if (!obj.hide_subtype_legend) {
1043
+ for (const L2value of get_itemOrderList(L2, obj)) {
1044
+ const L2o = L2.v2c.get(L2value);
1045
+ const cell = L1div.append("div").style("display", "inline-block").style("white-space", "nowrap").attr("class", "sja_clb").on("click", () => {
1046
+ if (L2o.selected) {
1047
+ L2o.selected = false;
1048
+ cell.style("border", "");
1049
+ let alloff2 = true;
1050
+ for (const k in L2values) {
1051
+ if (L2values[k].selected) alloff2 = false;
1052
+ }
1053
+ if (alloff2) {
1054
+ obj.dotselection.transition().attr("r", radius);
1055
+ } else {
1056
+ obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius_tiny);
1057
+ }
1058
+ return;
1059
+ }
1060
+ let alloff = true;
1061
+ for (const k in L2values) {
1062
+ if (L2values[k].selected) alloff = false;
1063
+ }
1064
+ L2o.selected = true;
1065
+ cell.style("border", "solid 1px #858585");
1066
+ if (alloff) {
1067
+ obj.dotselection.transition().attr("r", (d) => d.s[L2.key] == L2value ? radius : radius_tiny);
1068
+ } else {
1069
+ obj.dotselection.filter((d) => d.s[L2.key] == L2value).transition().attr("r", radius);
1070
+ }
1071
+ });
1072
+ cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", L2o.color).style("margin-right", "3px").text(L2o.dots.length);
1073
+ cell.append("div").style("display", "inline-block").style("color", L2o.color).text(L2o.label || L2value);
1074
+ L2o.cell = cell;
1075
+ }
1076
+ }
1077
+ if (L2.unannotated) {
1078
+ const d = L1div.append("div").style("margin-top", "20px");
1079
+ d.append("div").text('Unannotated for "' + L2.key + '": ' + L2.unannotated);
1080
+ }
1081
+ }
1082
+ }
1083
+ if (L1.unannotated) {
1084
+ const d = scrolldiv.append("div").style("margin-top", "20px");
1085
+ d.append("div").html('Unannotated for "' + L1.key + '": ' + L1.unannotated);
1086
+ }
1087
+ if (L1.v2c.size > 10) {
1088
+ scrolldiv.style("overflow-y", "scroll").style("height", "800px").style("resize", "vertical");
1089
+ }
1090
+ }
1091
+ function get_itemOrderList(level, obj) {
1092
+ const register = obj.sample_attributes[level.key];
1093
+ if (!register.values || register.orderByCount) {
1094
+ return [...level.v2c].sort((i, j) => j[1].dots.length - i[1].dots.length).map((i) => i[0]);
1095
+ }
1096
+ const lst = [];
1097
+ for (const k in register.values) {
1098
+ if (level.v2c.has(k)) lst.push(k);
1099
+ }
1100
+ return lst;
1101
+ }
1102
+ function legend_flatlist(obj) {
1103
+ if (!obj.colorbyattributes.find((i) => i.__inuse)) obj.colorbyattributes[0].__inuse = true;
1104
+ for (const attr of obj.colorbyattributes) {
1105
+ const tr = obj.legendtable.append("tr");
1106
+ attr.labelhandle = tr.append("td").append("div").style("white-space", "nowrap").text(attr.label).attr("class", "sja_clb").on("click", () => {
1107
+ for (const attr2 of obj.colorbyattributes) {
1108
+ attr2.__inuse = false;
1109
+ attr2.labelhandle.style("background", "").style("border-bottom", "");
1110
+ }
1111
+ attr.__inuse = true;
1112
+ attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
1113
+ assign_color4dots(obj);
1114
+ });
1115
+ if (attr.__inuse) {
1116
+ attr.labelhandle.style("background", "#ededed").style("border-bottom", "solid 2px #858585");
1117
+ }
1118
+ for (const d of obj.dots) {
1119
+ const v = d.s[attr.key];
1120
+ if (v == void 0 || v == null) continue;
1121
+ if (!attr.values[v]) attr.values[v] = { color: "black" };
1122
+ attr.values[v].count = 1 + (attr.values[v].count || 0);
1123
+ }
1124
+ const cellholder = tr.append("td");
1125
+ for (const value in attr.values) {
1126
+ const o = attr.values[value];
1127
+ if (o.count == 0 || o.count == void 0) continue;
1128
+ const cell = cellholder.append("div").style("display", "inline-block").attr("class", "sja_clb").on("click", () => {
1129
+ if (o.selected) {
1130
+ o.selected = false;
1131
+ cell.style("border", "");
1132
+ let alloff2 = true;
1133
+ for (const k in attr.values) {
1134
+ if (attr.values[k].selected) alloff2 = false;
1135
+ }
1136
+ if (alloff2) {
1137
+ obj.dotselection.transition().attr("r", radius);
1138
+ } else {
1139
+ obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius_tiny);
1140
+ }
1141
+ return;
1142
+ }
1143
+ let alloff = true;
1144
+ for (const k in attr.values) {
1145
+ if (attr.values[k].selected) alloff = false;
1146
+ }
1147
+ o.selected = true;
1148
+ cell.style("border", "solid 1px #858585");
1149
+ if (alloff) {
1150
+ obj.dotselection.transition().attr("r", (d) => d.s[attr.key] == value ? radius : radius_tiny);
1151
+ } else {
1152
+ obj.dotselection.filter((d) => d.s[attr.key] == value).transition().attr("r", radius);
1153
+ }
1154
+ });
1155
+ cell.append("div").style("display", "inline-block").attr("class", "sja_mcdot").style("background", o.color).style("margin-right", "3px").text(o.count);
1156
+ cell.append("div").style("display", "inline-block").style("color", o.color).text(o.name || value);
1157
+ o.cell = cell;
1158
+ }
1159
+ }
1160
+ }
1161
+ function update_dotcolor_legend(obj) {
1162
+ const filterd_dots = obj.dots.filter((d) => obj.filteredSamples.has(d.sample));
1163
+ const attrs_list = Array.from(filterd_dots, (d) => d.s);
1164
+ const key1 = obj.attr_levels?.[0].label || obj.attr_levels?.[0].key;
1165
+ const l1_labs = [...new Set(Array.from(attrs_list, (a) => a[key1]))];
1166
+ const key2 = obj.attr_levels?.[1].label || obj.attr_levels?.[1].key;
1167
+ const l2_labs = [...new Set(Array.from(attrs_list, (a) => a[key2]))];
1168
+ const legend_divs = obj.legendtable.node().querySelectorAll(".sja_lb_div");
1169
+ for (const div1 of legend_divs) {
1170
+ const l1_label = select_default(div1).select(".sja_l1lb").node().innerText.split(/\s{2}n=/)[0];
1171
+ if (!l1_labs.includes(l1_label)) select_default(div1).style("display", "none");
1172
+ else {
1173
+ select_default(div1).style("display", "block");
1174
+ const l2_divs = select_default(div1).node().querySelectorAll(".sja_clb");
1175
+ for (const div2 of l2_divs) {
1176
+ const clab = select_default(div2).node().querySelectorAll("div")[1];
1177
+ if (!l2_labs.includes(clab.innerText)) select_default(div2).style("display", "none");
1178
+ else select_default(div2).style("display", "inline-block");
1179
+ }
1180
+ }
1181
+ }
1182
+ }
1183
+ function click_dot(dot, obj, event2) {
1184
+ if (obj.dslabel) {
1185
+ click_dot_mdsview(dot, obj, event2);
1186
+ return;
1187
+ }
1188
+ if (obj.mds) {
1189
+ click_dot_disco(dot, obj, event2);
1190
+ return;
1191
+ }
1192
+ }
1193
+ async function click_dot_disco(dot, obj, event2) {
1194
+ const pane = newpane({ x: event2.clientX, y: event2.clientY });
1195
+ pane.header.text(dot.sample);
1196
+ const wait = tab_wait(pane.body);
1197
+ try {
1198
+ const sjcharts = await getsjcharts();
1199
+ const arg = {
1200
+ genome: obj.genome.name,
1201
+ dslabel: obj.mds.label,
1202
+ querykey: obj.mds.querykey,
1203
+ getsample4disco: dot.sample
1204
+ };
1205
+ const data = await dofetch("/mdssvcnv", arg);
1206
+ if (data.error) throw data.error;
1207
+ if (!data.text) throw ".text missing";
1208
+ const discoHolder = pane.body.append("div");
1209
+ const renderer = await sjcharts.dtDisco({
1210
+ holderSelector: discoHolder,
1211
+ chromosomeType: obj.genome.name,
1212
+ majorchr: obj.genome.majorchr,
1213
+ settings: {
1214
+ showControls: false,
1215
+ selectedSamples: []
1216
+ },
1217
+ callbacks: {
1218
+ geneLabelClick: {
1219
+ type: "genomepaint",
1220
+ hostURL: sessionStorage.getItem("hostURL") || "",
1221
+ genome: obj.genome.name,
1222
+ dslabel: obj.mds.label,
1223
+ sample: dot.sample
1224
+ }
1225
+ }
1226
+ });
1227
+ const disco_arg = {
1228
+ sampleName: dot.sample,
1229
+ data: JSON.parse(data.text)
1230
+ };
1231
+ renderer.main(disco_arg);
1232
+ wait.remove();
1233
+ } catch (e) {
1234
+ wait.text("Error: " + (e.message || e));
1235
+ if (e.stack) console.log(e.stack);
1236
+ }
1237
+ }
1238
+ function click_dot_mdsview(dot, obj, event2) {
1239
+ const pane = newpane({ x: event2.clientX, y: event2.clientY });
1240
+ pane.header.text(dot.sample);
1241
+ const wait = pane.body.append("div").style("margin", "20px").text("Loading ...");
1242
+ dofetch("/mdssvcnv", {
1243
+ genome: obj.genome.name,
1244
+ dslabel: obj.dslabel,
1245
+ querykey: obj.querykey,
1246
+ // TODO general track
1247
+ gettrack4singlesample: dot.sample
1248
+ }).then((data) => {
1249
+ wait.remove();
1250
+ launch_singlesample({
1251
+ obj,
1252
+ dot,
1253
+ sampletracks: data.tracks,
1254
+ holder: pane.body
1255
+ });
1256
+ });
1257
+ }
1258
+ function lasso_select(obj, dots) {
1259
+ const svg = obj.scattersvg;
1260
+ let lasso;
1261
+ if (obj.lasso_active) {
1262
+ lasso = d3lasso().items(dots.selectAll("circle")).targetArea(svg);
1263
+ lasso.on("start", scatterplot_lasso_start).on("draw", scatterplot_lasso_draw).on("end", scatterplot_lasso_end);
1264
+ svg.call(lasso);
1265
+ } else {
1266
+ svg.selectAll(".lasso").remove();
1267
+ svg.on("mousedown.drag", null);
1268
+ }
1269
+ function scatterplot_lasso_start() {
1270
+ if (!obj.lasso_active) return;
1271
+ lasso.items().attr("r", 2).style("fill-opacity", ".5").classed("not_possible", true).classed("selected", false);
1272
+ }
1273
+ function scatterplot_lasso_draw() {
1274
+ if (!obj.lasso_active) return;
1275
+ lasso.possibleItems().attr("r", radius).style("fill-opacity", "1").classed("not_possible", false).classed("possible", true);
1276
+ }
1277
+ function scatterplot_lasso_end(event2) {
1278
+ if (!obj.lasso_active) return;
1279
+ const selected_samples = svg.selectAll(".possible").data().map((d) => d.sample);
1280
+ if (selected_samples.length) show_lasso_menu(event2, selected_samples);
1281
+ else obj.menu.hide();
1282
+ lasso.items().classed("not_possible", false).classed("possible", false);
1283
+ lasso.selectedItems().attr("r", radius);
1284
+ lasso.notSelectedItems().attr("r", selected_samples.length == 0 ? radius : radius_tiny).style("fill-opacity", "1");
1285
+ }
1286
+ function show_lasso_menu(event2, samples) {
1287
+ obj.menu.clear().show(event2.sourceEvent.clientX - 90, event2.sourceEvent.clientY);
1288
+ if (obj.mds && obj.mds.gene2mutcount) {
1289
+ obj.menu.d.append("div").attr("class", "sja_menuoption").text("Recurrently mutated genes").on("click", async () => {
1290
+ obj.menu.hide();
1291
+ await click_mutated_genes(obj, samples);
1292
+ });
1293
+ }
1294
+ for (const opt of obj.lasso.postSelectMenuOptions) {
1295
+ obj.menu.d.append("div").attr("class", "sja_menuoption").text(opt.label).on("click", async () => {
1296
+ obj.menu.hide();
1297
+ const arg = {
1298
+ samples,
1299
+ sample_attributes: obj.sample_attributes,
1300
+ sample2dot: obj.sample2dot
1301
+ };
1302
+ if (opt.callback == "listSamples") printData(arg);
1303
+ else opt.callback(arg);
1304
+ });
1305
+ }
1306
+ obj.menu.d.append("div").attr("class", "sja_menuoption").text("Cancel").on("click", () => {
1307
+ lasso.items().classed("not_possible", false).classed("possible", false).attr("r", radius).style("fill-opacity", "1");
1308
+ obj.menu.hide();
1309
+ });
1310
+ obj.menu.d.append("div").style("padding", "10px").style("font-size", ".8em").style("width", "150px").text(samples.length + " samples selected");
1311
+ }
1312
+ }
1313
+ function printData(obj) {
1314
+ const { samples, sample_attributes, sample2dot } = obj;
1315
+ const label_keys = Object.keys(sample_attributes);
1316
+ let labels = label_keys.map((k) => sample_attributes[k].label ? sample_attributes[k].label : k);
1317
+ labels.unshift("Sample");
1318
+ const labels_str = labels.join(" ");
1319
+ const lst = [labels_str];
1320
+ for (const s of samples) {
1321
+ if (sample2dot.get(s).s) {
1322
+ let sample_row = [];
1323
+ sample_row.push(s);
1324
+ for (const k of label_keys) sample_row.push(sample2dot.get(s).s[k]);
1325
+ lst.push(sample_row.join(" "));
1326
+ }
1327
+ }
1328
+ export_data("List of selected samples", [{ text: lst.join("\n") }]);
1329
+ }
1330
+ function click_mutated_genes(obj, samples) {
1331
+ obj.pane = newpane({ x: event.clientX, y: event.clientY });
1332
+ obj.pane.header.text("Recurrently Mutated Genes");
1333
+ obj.pane.wait = tab_wait(obj.pane.body);
1334
+ obj.pane.matrix_criteria_div = obj.pane.body.append("div");
1335
+ obj.pane.sample_matrix_div = obj.pane.body.append("div");
1336
+ init_mutation_type_control(obj, samples);
1337
+ }
1338
+ function init_mutation_type_control(obj, samples) {
1339
+ let mutTypes = [], defaultTypes = [], selectedTypes = [], selected_cnv, nGenes = 15;
1340
+ const holder = obj.pane.matrix_criteria_div;
1341
+ if (obj.mds.mutCountType) {
1342
+ mutTypes = obj.mds.mutCountType;
1343
+ const non_cnv_types = mutTypes.filter((m) => !m.db_col.includes("cnv"));
1344
+ const cnv_types = mutTypes.filter((m) => m.db_col.includes("cnv"));
1345
+ const default_cnv = cnv_types.find((t) => t.default);
1346
+ selected_cnv = default_cnv;
1347
+ defaultTypes = mutTypes.filter((t) => t.default).map((t) => t.db_col);
1348
+ selectedTypes = [...defaultTypes];
1349
+ const buttonrow = holder.append("div").style("margin", "5px 20px");
1350
+ const criteria_div = holder.append("div").style("margin", "5px 20px").style("padding", "5px").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("background-color", "#FCFBF7").style("font-size", ".8em");
1351
+ buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("MUTATION COUNT & NO. OF GENE CRITERIA").attr("class", "sja_clbtext").on("click", () => {
1352
+ if (criteria_div.style("display") == "none") {
1353
+ appear(criteria_div);
1354
+ } else {
1355
+ disappear(criteria_div);
1356
+ }
1357
+ });
1358
+ const mut_div = criteria_div.append("div");
1359
+ const mut_label_div = mut_div.append("div").style("display", "table-cell").style("width", "110px");
1360
+ mut_label_div.append("div").text("Consequences").style("padding-right", "15px");
1361
+ const mut_types_div = mut_div.append("div").style("display", "table-cell").style("border-left", "solid 1px #ededed");
1362
+ non_cnv_types.forEach((type) => {
1363
+ const m_div = mut_types_div.append("div");
1364
+ const checkbox = m_div.append("input").attr("type", "checkbox").attr("name", "mut_type").attr("value", type.db_col).style("margin", "3px").style("margin-left", "4px").property("checked", type.default);
1365
+ checkbox.on("change", () => {
1366
+ if (checkbox.node().checked) {
1367
+ selectedTypes.push(checkbox.node().value);
1368
+ } else {
1369
+ selectedTypes = selectedTypes.filter((t) => t !== checkbox.node().value);
1370
+ }
1371
+ });
1372
+ m_div.append("label").attr("for", type.db_col).html(type.label);
1373
+ });
1374
+ const cnv_checkbox = mut_types_div.append("input").attr("type", "checkbox").attr("name", "noncnv").attr("value", "cnv").style("margin", "3px").style("margin-left", "4px").property("checked", default_cnv ? true : false).on("change", () => {
1375
+ if (cnv_checkbox.node().checked) {
1376
+ size_select.property("disabled", false);
1377
+ ratio_select.property("disabled", false);
1378
+ } else {
1379
+ size_select.property("disabled", true);
1380
+ ratio_select.property("disabled", true);
1381
+ }
1382
+ });
1383
+ mut_types_div.append("label").attr("for", "cnv").text("CNV");
1384
+ const cnv_options_div = mut_types_div.append("div").style("display", "block").style("padding", "3px 15px");
1385
+ const cnv_size_cutoff = [...new Set(cnv_types.map((t) => t.sizecutoff))];
1386
+ const cnv_ratio_cutoff = [...new Set(cnv_types.map((t) => t.log2cutoff))];
1387
+ cnv_options_div.append("label").attr("for", "cnv_size").style("margin", "2px 10px").text("Size cutoff");
1388
+ const size_select = cnv_options_div.append("select").attr("name", "cnv_size");
1389
+ cnv_size_cutoff.forEach((size) => {
1390
+ size_select.append("option").attr("value", size).text(size);
1391
+ });
1392
+ size_select.property("selectedIndex", default_cnv.sizecutoff == "1Mb" ? 0 : default_cnv.sizecutoff == "2Mb" ? 1 : 2);
1393
+ cnv_options_div.append("label").attr("for", "log2_ratio").style("margin", "2px 10px").text("log2(ratio) cutoff");
1394
+ const ratio_select = cnv_options_div.append("select").attr("name", "log2_ratio");
1395
+ cnv_ratio_cutoff.forEach((ratio) => {
1396
+ ratio_select.append("option").attr("value", ratio.toFixed(1)).text(ratio.toFixed(1));
1397
+ });
1398
+ ratio_select.property("selectedIndex", default_cnv.log2cutoff == 0.1 ? 0 : default_cnv.log2cutoff == 0.2 ? 1 : 2);
1399
+ const gene_div = criteria_div.append("div").style("padding-top", "10px");
1400
+ const gene_label_div = gene_div.append("div").style("display", "table-cell").style("width", "110px");
1401
+ gene_label_div.append("div").text("No. of Genes").style("padding-right", "15px");
1402
+ const gene_n_select_div = gene_div.append("div").style("display", "table-cell").style("padding", "3px").style("border-left", "solid 1px #ededed");
1403
+ const gene_n = [10, 15, 20, 30, 40];
1404
+ const gene_n_select = gene_n_select_div.append("select").attr("name", "gene_n");
1405
+ gene_n.forEach((n) => {
1406
+ gene_n_select.append("option").attr("value", n).text(n);
1407
+ });
1408
+ gene_n_select.property(
1409
+ "selectedIndex",
1410
+ gene_n.findIndex((n) => n == nGenes)
1411
+ );
1412
+ const calc_btn = criteria_div.append("button").style("margin", "10px").style("padding", "3px 10px").text("Calculate").on("click", () => {
1413
+ const checked_boxes = mut_types_div.node().querySelectorAll("input:checked");
1414
+ selectedTypes = [];
1415
+ checked_boxes.forEach((checkbox) => {
1416
+ if (checkbox.value !== "cnv" && !selectedTypes.includes(checkbox.value)) selectedTypes.push(checkbox.value);
1417
+ else if (checkbox.value == "cnv") {
1418
+ const selected_size = size_select.node().value;
1419
+ const selected_ratio = ratio_select.node().value;
1420
+ selected_cnv = cnv_types.find((t) => t.sizecutoff == selected_size && t.log2cutoff == selected_ratio);
1421
+ selectedTypes.push(selected_cnv.db_col);
1422
+ }
1423
+ });
1424
+ nGenes = gene_n_select.node().value;
1425
+ get_mutation_count_data(obj, samples, selectedTypes, nGenes);
1426
+ defaultTypes = [...selectedTypes];
1427
+ });
1428
+ } else defaultTypes = ["total"];
1429
+ get_mutation_count_data(obj, samples, defaultTypes, nGenes);
1430
+ }
1431
+ async function get_mutation_count_data(obj, samples, selectedMutTypes, nGenes) {
1432
+ try {
1433
+ const arg = {
1434
+ genome: obj.genome.name,
1435
+ dslabel: obj.mds.label,
1436
+ samples,
1437
+ selectedMutTypes,
1438
+ nGenes
1439
+ };
1440
+ const data = await dofetch2("mdsgenecount", { method: "POST", body: JSON.stringify(arg) });
1441
+ if (data.error) throw data.error;
1442
+ if (!data.genes) throw ".genes missing";
1443
+ if (!data.genes.length) {
1444
+ obj.pane.wait.html("No gene retrived with mutations.");
1445
+ obj.pane.matrix_criteria_div.style("display", "none");
1446
+ return;
1447
+ }
1448
+ make_sample_matrix({ obj, genes: data.genes, samples, holder: obj.pane.body });
1449
+ obj.pane.wait.remove();
1450
+ } catch (e) {
1451
+ obj.pane.wait.text("Error: " + (e.message || e));
1452
+ if (e.stack) console.log(e.stack);
1453
+ }
1454
+ }
1455
+ function make_sample_matrix(args) {
1456
+ const { obj, genes, samples } = args;
1457
+ const holder = obj.pane.sample_matrix_div;
1458
+ holder.selectAll("*").remove();
1459
+ for (const g of genes) {
1460
+ g.ismutation = true;
1461
+ g.genename = g.gene;
1462
+ g.label = g.gene;
1463
+ delete g.gene;
1464
+ g.querykeylst = ["svcnv", "snvindel"];
1465
+ obj.features_on_rows ? g.height = 50 : g.width = 50;
1466
+ }
1467
+ const arg = {
1468
+ genome: obj.genome,
1469
+ dslabel: obj.mds.label,
1470
+ features: genes,
1471
+ features_on_rows: obj.features_on_rows,
1472
+ ismutation_allsymbolic: true,
1473
+ hostURL: sessionStorage.getItem("hostURL") || "",
1474
+ limitbysamplesetgroup: { samples },
1475
+ jwt: sessionStorage.getItem("jwt") || "",
1476
+ holder: holder.append("div").style("margin", "20px")
1477
+ };
1478
+ import("./samplematrix-LYA5XTUM.js").then((_) => {
1479
+ const m = new _.Samplematrix(arg);
1480
+ m._pane = holder;
1481
+ });
1482
+ }
1483
+ function launch_singlesample(p) {
1484
+ const { obj, dot, sampletracks, holder } = p;
1485
+ const arg = {
1486
+ genome: obj.genome,
1487
+ hostURL: sessionStorage.getItem("hostURL") || "",
1488
+ jwt: sessionStorage.getItem("jwt") || "",
1489
+ holder,
1490
+ chr: obj.genome.defaultcoord.chr,
1491
+ start: obj.genome.defaultcoord.start,
1492
+ stop: obj.genome.defaultcoord.stop,
1493
+ nobox: 1,
1494
+ tklst: []
1495
+ };
1496
+ if (obj.tracks) {
1497
+ for (const t of obj.tracks) arg.tklst.push(t);
1498
+ }
1499
+ const mdstk = obj.mds.queries[obj.querykey];
1500
+ if (mdstk) {
1501
+ const tk = {
1502
+ singlesample: { name: dot.sample },
1503
+ mds: obj.mds,
1504
+ querykey: obj.querykey
1505
+ };
1506
+ for (const k in mdstk) {
1507
+ tk[k] = mdstk[k];
1508
+ }
1509
+ arg.tklst.push(tk);
1510
+ if (mdstk.checkexpressionrank) {
1511
+ const et = {
1512
+ type: tkt.mdsexpressionrank,
1513
+ name: dot.sample + " gene expression rank",
1514
+ //mds: tk.mds,
1515
+ dslabel: obj.mds.label,
1516
+ querykey: mdstk.checkexpressionrank.querykey,
1517
+ sample: dot.sample
1518
+ };
1519
+ if (mdstk.groupsamplebyattr) {
1520
+ const lst = mdstk.groupsamplebyattr.attrlst;
1521
+ if (lst && lst.length) {
1522
+ et.attributes = [];
1523
+ for (const attr of lst) {
1524
+ et.attributes.push({
1525
+ k: attr.k,
1526
+ label: attr.label,
1527
+ kvalue: dot.s[attr.k]
1528
+ });
1529
+ }
1530
+ }
1531
+ }
1532
+ arg.tklst.push(et);
1533
+ }
1534
+ }
1535
+ if (sampletracks) {
1536
+ for (const t of sampletracks) arg.tklst.push(t);
1537
+ }
1538
+ first_genetrack_tolist(obj.genome, arg.tklst);
1539
+ blocklazyload(arg);
1540
+ }
1541
+ export {
1542
+ init
1543
+ };
1544
+ //# sourceMappingURL=mds.samplescatterplot-PWADJZ2J.js.map