@sjcrh/proteinpaint-client 2.210.1 → 2.211.0

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 (954) hide show
  1. package/dist/2dmaf-FEZRNHDF.js +1367 -0
  2. package/dist/AggMatrixInput-6FJIELYO.js +406 -0
  3. package/dist/AggregateMatrix-MUPBUGIZ.js +41 -0
  4. package/dist/AppHeader-ZTNZ62UL.js +830 -0
  5. package/dist/BoxPlot-P5SVFYSB.js +1208 -0
  6. package/dist/BoxPlot-P5SVFYSB.js.map +7 -0
  7. package/dist/CorrelationVolcano-42NYXAXG.js +617 -0
  8. package/dist/Cuminc-6AKLT6HF.js +1219 -0
  9. package/dist/DE-KJHFZWND.js +89 -0
  10. package/dist/DEinput-HXB3LYZW.js +501 -0
  11. package/dist/DM-AAHX4PLH.js +90 -0
  12. package/dist/DifferentialAnalysis-JX4EDEOY.js +239 -0
  13. package/dist/Disco-GXKO4QQH.js +3389 -0
  14. package/dist/Disco.UI-DGD4RXJP.js +243 -0
  15. package/dist/DmrPlot-DQ3XTMTN.js +362 -0
  16. package/dist/GB-OUWNNBBK.js +1392 -0
  17. package/dist/GSEA-DSKGFAPG.js +875 -0
  18. package/dist/GeneExpInput-FZLOBE2Q.js +42 -0
  19. package/dist/Geomap-GP5KD3OX.js +84 -0
  20. package/dist/HicApp-2N6WYWZX.js +2245 -0
  21. package/dist/IDCViewer-MSUC7IXX.js +10812 -0
  22. package/dist/NumBinaryEditor-C4G2IH36.js +279 -0
  23. package/dist/NumBinaryEditor.unit.spec-ZAVAUGXA.js +312 -0
  24. package/dist/NumContEditor-VEEMMWHX.js +105 -0
  25. package/dist/NumContEditor.unit.spec-65ORC42O.js +164 -0
  26. package/dist/NumCustomBinEditor-YIUHJAXP.js +33 -0
  27. package/dist/NumCustomBinEditor.unit.spec-NT5VK2LO.js +397 -0
  28. package/dist/NumDiscreteEditor-A4WELAJH.js +170 -0
  29. package/dist/NumDiscreteEditor.unit.spec-7QABM6KK.js +233 -0
  30. package/dist/NumRegularBinEditor-IPVPLSQY.js +33 -0
  31. package/dist/NumRegularBinEditor.unit.spec-Q4DMWATB.js +278 -0
  32. package/dist/NumSplineEditor-5E6CIWLP.js +210 -0
  33. package/dist/NumSplineEditor.unit.spec-DHJF5F6H.js +224 -0
  34. package/dist/NumericDensity-GXMWWK2A.js +33 -0
  35. package/dist/NumericDensity.unit.spec-OAPOMSEW.js +418 -0
  36. package/dist/NumericHandler-H5WHGFXD.js +34 -0
  37. package/dist/NumericHandler.unit.spec-PBNOJEMS.js +214 -0
  38. package/dist/ProteomeInput-ZA7R5S43.js +388 -0
  39. package/dist/Regression-WSWTSXFX.js +1416 -0
  40. package/dist/RunChart2-J5CTJI5C.js +749 -0
  41. package/dist/SC-POCQDMWZ.js +1181 -0
  42. package/dist/SC-POCQDMWZ.js.map +7 -0
  43. package/dist/Violin-VA6FBRUQ.js +1064 -0
  44. package/dist/Violin-VA6FBRUQ.js.map +7 -0
  45. package/dist/Volcano-4IEQIEDS.js +2456 -0
  46. package/dist/Wsi-LJ6AY5RI.js +629 -0
  47. package/dist/adSandbox-EIN4KEML.js +33 -0
  48. package/dist/animatedBubbleChart-LINYUKMD.js +547 -0
  49. package/dist/app-SE7UQ5DB.js +42 -0
  50. package/dist/app-VGMZNGWP.js +32 -0
  51. package/dist/app.js +16 -16
  52. package/dist/bam-ZXEZWRSZ.js +876 -0
  53. package/dist/barchart-N4B4C2FO.js +42 -0
  54. package/dist/barchart2-EDVEWTVX.js +309 -0
  55. package/dist/block-E7YUGCHL.js +6250 -0
  56. package/dist/block.init-FSOCF2IM.js +33 -0
  57. package/dist/block.mds.expressionrank-EDBTITXU.js +354 -0
  58. package/dist/block.mds.geneboxplot-GG5672SY.js +823 -0
  59. package/dist/block.mds.junction-HUC4S24K.js +1539 -0
  60. package/dist/block.mds.svcnv-EQHYCIBU.js +6796 -0
  61. package/dist/block.svg-HBVPUQJ2.js +159 -0
  62. package/dist/block.tk.aicheck-TRJ5IIWZ.js +278 -0
  63. package/dist/block.tk.ase-COV7YYYO.js +360 -0
  64. package/dist/block.tk.bam-MDSLY6NH.js +1901 -0
  65. package/dist/block.tk.bedgraphdot-MKWEL53X.js +379 -0
  66. package/dist/block.tk.bigwig.ui-UKKJX7TA.js +206 -0
  67. package/dist/block.tk.hicstraw-6LNXEIOF.js +818 -0
  68. package/dist/block.tk.junction-F3SERFFD.js +2358 -0
  69. package/dist/block.tk.junction.textmatrixui-2XUMSKLS.js +194 -0
  70. package/dist/block.tk.ld-COP5RUJJ.js +94 -0
  71. package/dist/block.tk.menu-SRDPD44N.js +1024 -0
  72. package/dist/block.tk.pgv-3SVINTXN.js +938 -0
  73. package/dist/brainImaging-UNBA4KA3.js +555 -0
  74. package/dist/brainRegions-DC6TQB53.js +217 -0
  75. package/dist/bubbleHeatmap-X3W3AZJY.js +378 -0
  76. package/dist/cellTypeBubbleHeatmap-LFI6TGOO.js +278 -0
  77. package/dist/chunk-2ANFUNS3.js +102 -0
  78. package/dist/chunk-2G4SFRWC.js +1278 -0
  79. package/dist/chunk-2WKGE7BO.js +54 -0
  80. package/dist/chunk-3CGMCYZB.js +237 -0
  81. package/dist/chunk-3I4DBVLM.js +55 -0
  82. package/dist/chunk-42VFF74T.js +397 -0
  83. package/dist/chunk-4ENIOXIT.js +133 -0
  84. package/dist/chunk-4ENIOXIT.js.map +7 -0
  85. package/dist/chunk-4HTRCXLS.js +98 -0
  86. package/dist/chunk-55T2AMJ3.js +281 -0
  87. package/dist/chunk-57Z4VYLM.js +1616 -0
  88. package/dist/chunk-57Z4VYLM.js.map +7 -0
  89. package/dist/chunk-5JDG5NNA.js +203 -0
  90. package/dist/chunk-6AFMWQXZ.js +339 -0
  91. package/dist/chunk-6ECKCC4X.js +294 -0
  92. package/dist/chunk-6QMC7LFA.js +299 -0
  93. package/dist/chunk-6XKAOSQE.js +116 -0
  94. package/dist/chunk-6XKAOSQE.js.map +7 -0
  95. package/dist/chunk-72L6NTNT.js +14 -0
  96. package/dist/chunk-7ISAV37C.js +194 -0
  97. package/dist/chunk-7MFY22IZ.js +2902 -0
  98. package/dist/chunk-7MFY22IZ.js.map +7 -0
  99. package/dist/chunk-7XZA2XR2.js +424 -0
  100. package/dist/chunk-7XZA2XR2.js.map +7 -0
  101. package/dist/chunk-A32XQLMP.js +49 -0
  102. package/dist/chunk-A3MYBXG3.js +274 -0
  103. package/dist/chunk-AU3Y6IQF.js +1339 -0
  104. package/dist/chunk-AXL3CC4U.js +468 -0
  105. package/dist/chunk-BSWVDH75.js +26 -0
  106. package/dist/chunk-CME6DYDH.js +424 -0
  107. package/dist/chunk-D637XDOT.js +417 -0
  108. package/dist/chunk-D637XDOT.js.map +7 -0
  109. package/dist/chunk-DD3DWHUY.js +119 -0
  110. package/dist/chunk-DKED35KW.js +2327 -0
  111. package/dist/chunk-DPGALT5N.js +255 -0
  112. package/dist/chunk-DPTGY4BW.js +129 -0
  113. package/dist/chunk-DQD4MTK4.js +379 -0
  114. package/dist/chunk-EFLRT7JY.js +243 -0
  115. package/dist/chunk-EMSO3BNW.js +34 -0
  116. package/dist/chunk-F2LWFF7V.js +158 -0
  117. package/dist/chunk-F2LWFF7V.js.map +7 -0
  118. package/dist/chunk-F5QB5YEE.js +276 -0
  119. package/dist/chunk-FKSR53VK.js +182 -0
  120. package/dist/chunk-FSWBNSQD.js +178 -0
  121. package/dist/chunk-G6ZIO5T3.js +37 -0
  122. package/dist/chunk-GP4VLNMZ.js +2149 -0
  123. package/dist/chunk-GP4VLNMZ.js.map +7 -0
  124. package/dist/chunk-HTZJQNHP.js +562 -0
  125. package/dist/chunk-ITYNHDDD.js +56 -0
  126. package/dist/chunk-IWVCFZHQ.js +170 -0
  127. package/dist/chunk-J4WRX5G6.js +263 -0
  128. package/dist/chunk-JZLIHI6A.js +339 -0
  129. package/dist/chunk-K7HFOAR7.js +25008 -0
  130. package/dist/chunk-K7HFOAR7.js.map +7 -0
  131. package/dist/chunk-KJGYGPJZ.js +103 -0
  132. package/dist/chunk-L3UFI52T.js +217 -0
  133. package/dist/chunk-L4ZPMF7E.js +692 -0
  134. package/dist/chunk-L62JI5UL.js +302 -0
  135. package/dist/chunk-MRPYHLFW.js +518 -0
  136. package/dist/chunk-MVWJHZ5G.js +783 -0
  137. package/dist/chunk-NGWU4QLU.js +134 -0
  138. package/dist/chunk-OC2FSBFB.js +176 -0
  139. package/dist/chunk-OGRDLK57.js +140 -0
  140. package/dist/chunk-OYBYKZUR.js +6360 -0
  141. package/dist/chunk-PFRPC2SY.js +382 -0
  142. package/dist/chunk-PLHOCPJD.js +272 -0
  143. package/dist/chunk-PQDZLOY7.js +102 -0
  144. package/dist/chunk-QDNUIS2Y.js +70 -0
  145. package/dist/chunk-RHOMR2GY.js +2676 -0
  146. package/dist/chunk-SKF6HQ74.js +31 -0
  147. package/dist/chunk-SLPZ6SBN.js +626 -0
  148. package/dist/chunk-SLPZ6SBN.js.map +7 -0
  149. package/dist/chunk-SPFK5XZH.js +446 -0
  150. package/dist/chunk-SQGAWR2L.js +141 -0
  151. package/dist/chunk-TGKWEAUE.js +84 -0
  152. package/dist/chunk-UKOOGNUF.js +1233 -0
  153. package/dist/chunk-UL5PEVZW.js +123 -0
  154. package/dist/chunk-UTMIX2H2.js +2784 -0
  155. package/dist/chunk-UZNFOCE7.js +56 -0
  156. package/dist/chunk-V7UVHM57.js +550 -0
  157. package/dist/chunk-VP2JWT5W.js +1988 -0
  158. package/dist/chunk-VSTHBKQW.js +480 -0
  159. package/dist/chunk-W7A4QXZ7.js +38 -0
  160. package/dist/chunk-WKCVZIN7.js +59 -0
  161. package/dist/chunk-X7TJBXJJ.js +54 -0
  162. package/dist/chunk-XEEMCYP6.js +4375 -0
  163. package/dist/chunk-XTQWAVWJ.js +54 -0
  164. package/dist/chunk-YAN2MOON.js +5071 -0
  165. package/dist/chunk-YCBENC6R.js +1769 -0
  166. package/dist/chunk-YCBENC6R.js.map +7 -0
  167. package/dist/chunk-YCORHJ64.js +240 -0
  168. package/dist/chunk-YOBTHZVU.js +80 -0
  169. package/dist/chunk-ZTT6ZHU5.js +217 -0
  170. package/dist/cohort-RF4FT2NT.js +70 -0
  171. package/dist/condition-WXE2CFYT.js +327 -0
  172. package/dist/controls-AYF4H7UG.js +34 -0
  173. package/dist/controls.config-TXZKQNYC.js +34 -0
  174. package/dist/correlation-UAYMVVUS.js +95 -0
  175. package/dist/customdata.inputui-I7RFOGYM.js +284 -0
  176. package/dist/dataDownload-4AGSDSEO.js +329 -0
  177. package/dist/databrowser.ui-RGJEA2BI.js +425 -0
  178. package/dist/dictionary-AWWQXIRP.js +113 -0
  179. package/dist/dnaMethylation-PICKZS2M.js +33 -0
  180. package/dist/dnaMethylation.integration.spec-JUSB3CFZ.js +198 -0
  181. package/dist/dofetch-ZJMKEYN2.js +48 -0
  182. package/dist/e2pca-K4W7ZJZG.js +344 -0
  183. package/dist/ep-OY5YQMEF.js +1249 -0
  184. package/dist/expclust.gdc.spec-LYDBM3TZ.js +302 -0
  185. package/dist/facet-7NJHLLCZ.js +519 -0
  186. package/dist/gb-COV44BMA.js +81 -0
  187. package/dist/geneExpClustering-EQR5XX4J.js +244 -0
  188. package/dist/geneExpression-2BNDQ6S6.js +310 -0
  189. package/dist/geneExpression-PGB6WF5H.js +33 -0
  190. package/dist/geneExpression.unit.spec-OUNGGOJP.js +128 -0
  191. package/dist/geneORA-EKNEVQOS.js +273 -0
  192. package/dist/geneRanking-XUXLRERA.js +548 -0
  193. package/dist/geneVariant-JZDYV6LS.js +36 -0
  194. package/dist/geneVariant-KPZ2FYLK.js +289 -0
  195. package/dist/geneVariant.integration.spec-ISMLGTKC.js +503 -0
  196. package/dist/genefusion.ui-GRUXFC4U.js +303 -0
  197. package/dist/geneset-RM4XIX23.js +203 -0
  198. package/dist/genomeBrowser.spec-X7EOK2LS.js +276 -0
  199. package/dist/grin2-5XRUMYQO.js +949 -0
  200. package/dist/grin2-SWZLKD52.js +70 -0
  201. package/dist/hierCluster-I6T4XD3P.js +55 -0
  202. package/dist/hierCluster-XVDGUOW7.js +59 -0
  203. package/dist/hierCluster.config-66CKAAPG.js +36 -0
  204. package/dist/hierCluster.integration.spec-OEHHO2RT.js +483 -0
  205. package/dist/hierCluster.integration.spec-OEHHO2RT.js.map +7 -0
  206. package/dist/hierCluster.interactivity-B5ZNFF4R.js +49 -0
  207. package/dist/hierCluster.renderers-R2DTKTLI.js +19 -0
  208. package/dist/imagePlot-ZM4IVDJT.js +156 -0
  209. package/dist/importPlot-FQ65CZRI.js +8 -0
  210. package/dist/isoformExpression-BFCLGD2U.js +35 -0
  211. package/dist/isoformExpression.unit.spec-KYI4HI7U.js +237 -0
  212. package/dist/junction-BKH6RWOP.js +36 -0
  213. package/dist/junction.customTerm-VNQKP5I4.js +16 -0
  214. package/dist/junction.unit.spec-MQIHKSNE.js +182 -0
  215. package/dist/launch.adhoc-AHTCA2BP.js +37 -0
  216. package/dist/leftlabel.sample-LIBMKP22.js +258 -0
  217. package/dist/lollipop-26ZQH3EL.js +166 -0
  218. package/dist/maf-W3W2XJ5B.js +455 -0
  219. package/dist/maftimeline-LCJD5O2M.js +587 -0
  220. package/dist/matrix-H634EZWK.js +59 -0
  221. package/dist/matrix-O2AINT5M.js +54 -0
  222. package/dist/matrix.cells-3U3CUU5I.js +26 -0
  223. package/dist/matrix.config-F6IPB5B5.js +37 -0
  224. package/dist/matrix.data-KQNBNYC6.js +23 -0
  225. package/dist/matrix.dom-YQNX4IQO.js +11 -0
  226. package/dist/matrix.groups-QFL2ZDHD.js +26 -0
  227. package/dist/matrix.integration.spec-OVGSXJWO.js +3160 -0
  228. package/dist/matrix.interactivity-Q5ODZPDL.js +37 -0
  229. package/dist/matrix.layout-YPYM7FRY.js +39 -0
  230. package/dist/matrix.legend-ZO57ENXP.js +20 -0
  231. package/dist/matrix.renderers-NIGONKWO.js +34 -0
  232. package/dist/matrix.serieses-ZQD2U6RF.js +19 -0
  233. package/dist/matrix.sort-RZU65LR2.js +26 -0
  234. package/dist/matrix.sort.unit.spec-NDFK2A5C.js +468 -0
  235. package/dist/matrix.sorterUi-MVUI25W7.js +16 -0
  236. package/dist/matrix.sorterUi.unit.spec-4ZKNOV2L.js +338 -0
  237. package/dist/matrix.unit.spec-V5XNLECG.js +150 -0
  238. package/dist/mavb-LF7A7BDK.js +727 -0
  239. package/dist/mds.fimo-KJ4HPMZP.js +513 -0
  240. package/dist/mds.samplescatterplot-ZHNWWWYI.js +1545 -0
  241. package/dist/mds.survivalplot-DNG7I22N.js +477 -0
  242. package/dist/multivalue-SJQF7PHU.js +83 -0
  243. package/dist/numericDictTermCluster-O6PKT2FJ.js +63 -0
  244. package/dist/oncomatrix-YJCPKS72.js +290 -0
  245. package/dist/oncomatrix.spec-MWGBQCIQ.js +443 -0
  246. package/dist/plot.2dvaf-KIPQYNEH.js +372 -0
  247. package/dist/plot.app-WHG3SEOG.js +36 -0
  248. package/dist/plot.barplot-DTSYFUPC.js +97 -0
  249. package/dist/plot.boxplot-MQDULP3P.js +146 -0
  250. package/dist/plot.brainImaging-DGVJQSCH.js +51 -0
  251. package/dist/plot.disco-HYPRBLMQ.js +99 -0
  252. package/dist/plot.ssgq-J5MMN7OD.js +134 -0
  253. package/dist/plot.vaf2cov-CID7GQB5.js +253 -0
  254. package/dist/polar2-QTSO2HCB.js +232 -0
  255. package/dist/profileForms-SRR2M5OS.js +941 -0
  256. package/dist/profilePlot-NDC4S2SC.js +49 -0
  257. package/dist/proteinView-EFNQL3LD.js +1357 -0
  258. package/dist/proteomeCohortCompare-WMR53HEL.js +912 -0
  259. package/dist/pseudbulk.unit.spec-6MRZNXFI.js +86 -0
  260. package/dist/pseudobulk-O5EC44RY.js +35 -0
  261. package/dist/qualitative-W6MFYG7Z.js +38 -0
  262. package/dist/radar2-GIQILMWK.js +327 -0
  263. package/dist/radarFacility2-5YJZ5JCK.js +335 -0
  264. package/dist/rememberedGvQ.unit.spec-B6RQM5LQ.js +211 -0
  265. package/dist/render-2J4LR3UI.js +33 -0
  266. package/dist/report-MUMQK6XY.js +217 -0
  267. package/dist/sampleView-NKZMNBMH.js +43 -0
  268. package/dist/samplelst-X74JZMTR.js +106 -0
  269. package/dist/samplematrix-QDQXB5ZG.js +2193 -0
  270. package/dist/sc-FGHV5CBJ.js +81 -0
  271. package/dist/scatter-QFVRBA7F.js +925 -0
  272. package/dist/scatter-YXF5VQGZ.js +88 -0
  273. package/dist/selectGenomeWithTklst-DP4RPV7U.js +129 -0
  274. package/dist/singleCellCellType-XCHCMRR6.js +33 -0
  275. package/dist/singleCellCellType.unit.spec-S3JTP235.js +154 -0
  276. package/dist/singleCellGeneExpression-FD6REV7Y.js +33 -0
  277. package/dist/singleCellGeneExpression.unit.spec-PVMZYD4G.js +148 -0
  278. package/dist/singleCellNumericValue-SIITQPMD.js +33 -0
  279. package/dist/singleCellNumericValue.unit.spec-7PJEHLF7.js +416 -0
  280. package/dist/singleCellPlot-YJCFAYJW.js +48 -0
  281. package/dist/singlecell-6R7YK5P3.js +1566 -0
  282. package/dist/singlecell-KHMH732Y.js +81 -0
  283. package/dist/snp-HXCVSW2F.js +33 -0
  284. package/dist/snp.unit.spec-HXMFR4QS.js +171 -0
  285. package/dist/snplocus-YQVHAKBC.js +203 -0
  286. package/dist/spliceevent.a53ss.diagram-4IBTR3JD.js +146 -0
  287. package/dist/spliceevent.exonskip.diagram-5ZTG65CE.js +278 -0
  288. package/dist/spliceevent.noeventdiagram-WO5KSC45.js +455 -0
  289. package/dist/ssGSEA-VJ3LVYJV.js +33 -0
  290. package/dist/ssGSEA.unit.spec-JQIJ4NZP.js +83 -0
  291. package/dist/stattable-COVQSHRZ.js +117 -0
  292. package/dist/studyCatalog-EXVRH4FI.js +414 -0
  293. package/dist/summarizeCnvGeneexp-UJBTMXXH.js +158 -0
  294. package/dist/summarizeGeneexpSurvival-XLQJGDRY.js +105 -0
  295. package/dist/summarizeMutationCnv-7RWSXB6F.js +159 -0
  296. package/dist/summarizeMutationDiagnosis-42MG737O.js +35 -0
  297. package/dist/summarizeMutationSurvival-FWVKVEHK.js +99 -0
  298. package/dist/summary-NR26ZPQB.js +44 -0
  299. package/dist/summary.integration.spec-Z7JSUTGK.js +409 -0
  300. package/dist/summaryInput-DGKUOJVC.js +242 -0
  301. package/dist/sunburst-C5JNGFT7.js +278 -0
  302. package/dist/survival-GCEX3EAZ.js +53 -0
  303. package/dist/survival-OAQA5JQN.js +1248 -0
  304. package/dist/survival.integration.spec-ZX5RD6VQ.js +613 -0
  305. package/dist/svgraph-XCFZ2WAG.js +1382 -0
  306. package/dist/svmr-4XTTURHA.js +3837 -0
  307. package/dist/table-FQZ4UAH6.js +197 -0
  308. package/dist/termCollection-5QCR6LED.js +33 -0
  309. package/dist/termCollection-DN6A6HJU.js +252 -0
  310. package/dist/termCollection.unit.spec-RSSSXDHU.js +299 -0
  311. package/dist/termCollectionFractionSelection-OSN7FITY.js +42 -0
  312. package/dist/termCollectionFractionSelection.unit.spec-UW6D3DVK.js +188 -0
  313. package/dist/tk-4CZCVYBP.js +41 -0
  314. package/dist/tk-BIPJNXBZ.js +1121 -0
  315. package/dist/tp.ui-NI4U7567.js +1454 -0
  316. package/dist/tvs.density-CB24PXDE.js +19 -0
  317. package/dist/tvs.dt-YRDNDXUU.js +34 -0
  318. package/dist/tvs.dtcnv.categorical-REP4T33P.js +35 -0
  319. package/dist/tvs.dtcnv.continuous-K7OREEP5.js +67 -0
  320. package/dist/tvs.dtfusion-AB5MPH3Q.js +35 -0
  321. package/dist/tvs.dtitd-AFWU7ACY.js +35 -0
  322. package/dist/tvs.dtsnvindel-G7XQEKEO.js +35 -0
  323. package/dist/tvs.dtsv-Y6BEY4J2.js +35 -0
  324. package/dist/tvs.numeric-GF4XF5OF.js +20 -0
  325. package/dist/tvs.samplelst-XRRWPC2E.js +98 -0
  326. package/dist/tvs.termCollection-PL4AN3GA.js +122 -0
  327. package/dist/tvs.termCollection-PL4AN3GA.js.map +7 -0
  328. package/dist/vocabulary-DJZWOO6Q.js +36 -0
  329. package/dist/wsi.direct-XUWANMKV.js +8343 -0
  330. package/package.json +2 -2
  331. package/dist/2dmaf-7VZ536T5.js +0 -1367
  332. package/dist/AggMatrixInput-UTUOXTGA.js +0 -406
  333. package/dist/AggregateMatrix-X75HUZYO.js +0 -41
  334. package/dist/AppHeader-X2DR6VSM.js +0 -830
  335. package/dist/BoxPlot-NQMPJICU.js +0 -1211
  336. package/dist/BoxPlot-NQMPJICU.js.map +0 -7
  337. package/dist/CorrelationVolcano-IDBUJH2E.js +0 -617
  338. package/dist/Cuminc-BYFIMOLO.js +0 -1219
  339. package/dist/DE-BI7DHHW4.js +0 -89
  340. package/dist/DEinput-W66CT4U2.js +0 -501
  341. package/dist/DM-62TEJA3C.js +0 -90
  342. package/dist/DifferentialAnalysis-PRTA6CYW.js +0 -239
  343. package/dist/Disco-4JQP3FRW.js +0 -3389
  344. package/dist/Disco.UI-6RHAA5KU.js +0 -243
  345. package/dist/DmrPlot-VYQYMTQ7.js +0 -362
  346. package/dist/GB-LULUM5LH.js +0 -1392
  347. package/dist/GSEA-DT3SYXOZ.js +0 -875
  348. package/dist/GeneExpInput-UILWAGRH.js +0 -42
  349. package/dist/Geomap-AFKEGMR5.js +0 -84
  350. package/dist/HicApp-APDL5POY.js +0 -2245
  351. package/dist/IDCViewer-DQXAORHT.js +0 -10812
  352. package/dist/NumBinaryEditor-OUVIOEH7.js +0 -279
  353. package/dist/NumBinaryEditor.unit.spec-VBX2X4CT.js +0 -312
  354. package/dist/NumContEditor-JVPRBZPW.js +0 -105
  355. package/dist/NumContEditor.unit.spec-EQNB6RMI.js +0 -164
  356. package/dist/NumCustomBinEditor-E2SXZDF4.js +0 -33
  357. package/dist/NumCustomBinEditor.unit.spec-VLR7MGNL.js +0 -397
  358. package/dist/NumDiscreteEditor-CUA55FU3.js +0 -170
  359. package/dist/NumDiscreteEditor.unit.spec-7IPCMUDQ.js +0 -233
  360. package/dist/NumRegularBinEditor-CWU7YBEP.js +0 -33
  361. package/dist/NumRegularBinEditor.unit.spec-RGV3EUPC.js +0 -278
  362. package/dist/NumSplineEditor-PC5X7AUJ.js +0 -210
  363. package/dist/NumSplineEditor.unit.spec-QCR3RL5W.js +0 -224
  364. package/dist/NumericDensity-CFUEE5ZN.js +0 -33
  365. package/dist/NumericDensity.unit.spec-JOCVEC32.js +0 -418
  366. package/dist/NumericHandler-VL2Z55KF.js +0 -34
  367. package/dist/NumericHandler.unit.spec-ULM5FSSA.js +0 -214
  368. package/dist/ProteomeInput-3WKTVCYT.js +0 -388
  369. package/dist/Regression-M7AQTYXL.js +0 -1416
  370. package/dist/RunChart2-54SVOXJR.js +0 -749
  371. package/dist/SC-QRWDGHB2.js +0 -1183
  372. package/dist/SC-QRWDGHB2.js.map +0 -7
  373. package/dist/Violin-2AD6QRJB.js +0 -1081
  374. package/dist/Violin-2AD6QRJB.js.map +0 -7
  375. package/dist/Volcano-T57VFSWR.js +0 -2456
  376. package/dist/Wsi-U3U3EILE.js +0 -629
  377. package/dist/adSandbox-S3JP7XF3.js +0 -33
  378. package/dist/animatedBubbleChart-LZKNERIM.js +0 -547
  379. package/dist/app-2MERLGNJ.js +0 -42
  380. package/dist/app-ZNSUUOFJ.js +0 -32
  381. package/dist/bam-ESRPS4TQ.js +0 -876
  382. package/dist/barchart-BPUEO4RK.js +0 -42
  383. package/dist/barchart2-Z36PNSM2.js +0 -309
  384. package/dist/block-GEG4UUOU.js +0 -6250
  385. package/dist/block.init-SB6OX35E.js +0 -33
  386. package/dist/block.mds.expressionrank-2JLMS334.js +0 -354
  387. package/dist/block.mds.geneboxplot-BZMGG6G3.js +0 -823
  388. package/dist/block.mds.junction-636PWE2O.js +0 -1539
  389. package/dist/block.mds.svcnv-S4L2HMZW.js +0 -6796
  390. package/dist/block.svg-A7EABUXG.js +0 -159
  391. package/dist/block.tk.aicheck-KNFJVUTW.js +0 -278
  392. package/dist/block.tk.ase-BPU25OLX.js +0 -360
  393. package/dist/block.tk.bam-VC4CZCUS.js +0 -1901
  394. package/dist/block.tk.bedgraphdot-FQS4Z4RC.js +0 -379
  395. package/dist/block.tk.bigwig.ui-7STXSD3X.js +0 -206
  396. package/dist/block.tk.hicstraw-CVDCOMPP.js +0 -818
  397. package/dist/block.tk.junction-PG4RZFH3.js +0 -2358
  398. package/dist/block.tk.junction.textmatrixui-JRW4ZJIK.js +0 -194
  399. package/dist/block.tk.ld-DLDP2NHJ.js +0 -94
  400. package/dist/block.tk.menu-PWGFMKBQ.js +0 -1024
  401. package/dist/block.tk.pgv-HOBOXQIN.js +0 -938
  402. package/dist/brainImaging-GUQTOHQF.js +0 -555
  403. package/dist/brainRegions-JWBIBCTG.js +0 -217
  404. package/dist/bubbleHeatmap-EUO3DUVT.js +0 -378
  405. package/dist/cellTypeBubbleHeatmap-TIBGPZTB.js +0 -278
  406. package/dist/chunk-3CGAABHZ.js +0 -176
  407. package/dist/chunk-3ELYMSGO.js +0 -26
  408. package/dist/chunk-3QL3U6FU.js +0 -2853
  409. package/dist/chunk-3QL3U6FU.js.map +0 -7
  410. package/dist/chunk-3TV5WWUN.js +0 -339
  411. package/dist/chunk-4Y5W26UF.js +0 -424
  412. package/dist/chunk-5XE3WSUX.js +0 -6360
  413. package/dist/chunk-665X7R7S.js +0 -382
  414. package/dist/chunk-67URJYN7.js +0 -84
  415. package/dist/chunk-6MQPXWOR.js +0 -55
  416. package/dist/chunk-7DSL65G7.js +0 -14
  417. package/dist/chunk-A6F3CSXP.js +0 -626
  418. package/dist/chunk-A6F3CSXP.js.map +0 -7
  419. package/dist/chunk-A7OWXDYA.js +0 -129
  420. package/dist/chunk-A7OWXDYA.js.map +0 -7
  421. package/dist/chunk-AB6JQFIQ.js +0 -129
  422. package/dist/chunk-ACOHIDWO.js +0 -240
  423. package/dist/chunk-AIVPAC5Q.js +0 -102
  424. package/dist/chunk-AKKJFMW5.js +0 -4375
  425. package/dist/chunk-AR2UIN77.js +0 -255
  426. package/dist/chunk-AXF6SVNQ.js +0 -56
  427. package/dist/chunk-BLYD6SQO.js +0 -98
  428. package/dist/chunk-BSWPONNA.js +0 -550
  429. package/dist/chunk-BX3P73XH.js +0 -299
  430. package/dist/chunk-CSAS3PVJ.js +0 -24956
  431. package/dist/chunk-CSAS3PVJ.js.map +0 -7
  432. package/dist/chunk-CW35X5ZL.js +0 -5071
  433. package/dist/chunk-D4XHYQNS.js +0 -281
  434. package/dist/chunk-DH74ZT37.js +0 -141
  435. package/dist/chunk-E76UYIT2.js +0 -182
  436. package/dist/chunk-ELJX3QIQ.js +0 -424
  437. package/dist/chunk-ELJX3QIQ.js.map +0 -7
  438. package/dist/chunk-EM6KUVI5.js +0 -194
  439. package/dist/chunk-F4GYWCRF.js +0 -302
  440. package/dist/chunk-FJ3JD7B3.js +0 -59
  441. package/dist/chunk-FW3ME75U.js +0 -54
  442. package/dist/chunk-FXQXCOII.js +0 -101
  443. package/dist/chunk-FXQXCOII.js.map +0 -7
  444. package/dist/chunk-G2X2PN74.js +0 -783
  445. package/dist/chunk-G3QKTYUT.js +0 -2676
  446. package/dist/chunk-G5USS6FI.js +0 -56
  447. package/dist/chunk-GLPTPX45.js +0 -203
  448. package/dist/chunk-GPY6SBCX.js +0 -339
  449. package/dist/chunk-GWHIKECP.js +0 -1731
  450. package/dist/chunk-GWHIKECP.js.map +0 -7
  451. package/dist/chunk-GWVVEOYX.js +0 -263
  452. package/dist/chunk-HDV3LHCN.js +0 -379
  453. package/dist/chunk-HGXSYPU6.js +0 -2327
  454. package/dist/chunk-HMKEVTRM.js +0 -446
  455. package/dist/chunk-HPCKKXRK.js +0 -1233
  456. package/dist/chunk-IAB2PRIH.js +0 -396
  457. package/dist/chunk-IAB2PRIH.js.map +0 -7
  458. package/dist/chunk-J5JBHGRN.js +0 -31
  459. package/dist/chunk-JHOGTGIS.js +0 -1988
  460. package/dist/chunk-KCX54MGS.js +0 -480
  461. package/dist/chunk-KVRSO2OZ.js +0 -34
  462. package/dist/chunk-M367Y7ML.js +0 -140
  463. package/dist/chunk-M4PUW3ML.js +0 -243
  464. package/dist/chunk-ME325OQC.js +0 -562
  465. package/dist/chunk-NJWNKBRC.js +0 -468
  466. package/dist/chunk-O5FUHCNU.js +0 -397
  467. package/dist/chunk-ODHQPTHU.js +0 -134
  468. package/dist/chunk-PTQ4GQCS.js +0 -692
  469. package/dist/chunk-PUSSP76H.js +0 -70
  470. package/dist/chunk-Q3PAXUCU.js +0 -54
  471. package/dist/chunk-QWBKN2IC.js +0 -80
  472. package/dist/chunk-R4E7BXC6.js +0 -49
  473. package/dist/chunk-SDYFM3UL.js +0 -274
  474. package/dist/chunk-SP6WCXY6.js +0 -217
  475. package/dist/chunk-SRTZQOK7.js +0 -102
  476. package/dist/chunk-T4RYLTR3.js +0 -178
  477. package/dist/chunk-TANWA6SU.js +0 -54
  478. package/dist/chunk-TBIHBC5V.js +0 -170
  479. package/dist/chunk-TGTCOCPF.js +0 -1278
  480. package/dist/chunk-TOFOT2BN.js +0 -294
  481. package/dist/chunk-UOYIPBTX.js +0 -217
  482. package/dist/chunk-USULBM4V.js +0 -2784
  483. package/dist/chunk-UYKJOBRO.js +0 -1616
  484. package/dist/chunk-UYKJOBRO.js.map +0 -7
  485. package/dist/chunk-V3WSMWBF.js +0 -123
  486. package/dist/chunk-VTHZGUSZ.js +0 -2146
  487. package/dist/chunk-VTHZGUSZ.js.map +0 -7
  488. package/dist/chunk-WMQDFVJK.js +0 -103
  489. package/dist/chunk-WTQQWFV4.js +0 -38
  490. package/dist/chunk-XDLKYVYU.js +0 -276
  491. package/dist/chunk-XNJN5J3U.js +0 -37
  492. package/dist/chunk-XQLOEZ7T.js +0 -158
  493. package/dist/chunk-XQLOEZ7T.js.map +0 -7
  494. package/dist/chunk-Y3SDMRDX.js +0 -119
  495. package/dist/chunk-Y5FE3G6J.js +0 -518
  496. package/dist/chunk-YMEWZVRG.js +0 -237
  497. package/dist/chunk-YPHFEKWI.js +0 -1339
  498. package/dist/chunk-Z4HW3FEE.js +0 -272
  499. package/dist/cohort-NYFUILFO.js +0 -70
  500. package/dist/condition-6M4AVISY.js +0 -327
  501. package/dist/controls-LMTWS3SY.js +0 -34
  502. package/dist/controls.config-4PK7HLFJ.js +0 -34
  503. package/dist/correlation-X6GB6ITK.js +0 -95
  504. package/dist/customdata.inputui-MDG3BTTG.js +0 -284
  505. package/dist/dataDownload-TFRI3VFM.js +0 -329
  506. package/dist/databrowser.ui-L2K7VVDW.js +0 -425
  507. package/dist/dictionary-MS6R3VNY.js +0 -113
  508. package/dist/dnaMethylation-2KYSQWNE.js +0 -33
  509. package/dist/dnaMethylation.integration.spec-2BHNKOGN.js +0 -198
  510. package/dist/dofetch-BETN7HEX.js +0 -48
  511. package/dist/e2pca-QC2EI5JM.js +0 -344
  512. package/dist/ep-BTRMR4OT.js +0 -1249
  513. package/dist/expclust.gdc.spec-C5ZMBCGO.js +0 -302
  514. package/dist/facet-LPXKLX53.js +0 -519
  515. package/dist/gb-PHJ2SM5D.js +0 -81
  516. package/dist/geneExpClustering-OXZJHEPD.js +0 -244
  517. package/dist/geneExpression-54RGEGML.js +0 -310
  518. package/dist/geneExpression-FLBQXMSX.js +0 -33
  519. package/dist/geneExpression.unit.spec-ZCE7G6HI.js +0 -128
  520. package/dist/geneORA-TELI5AFV.js +0 -273
  521. package/dist/geneRanking-7YZA5GNG.js +0 -548
  522. package/dist/geneVariant-NJYUEY4C.js +0 -36
  523. package/dist/geneVariant-VKWTXUMK.js +0 -289
  524. package/dist/geneVariant.integration.spec-RWYP523U.js +0 -503
  525. package/dist/genefusion.ui-B6J7I3RA.js +0 -303
  526. package/dist/geneset-VG4SFYML.js +0 -203
  527. package/dist/genomeBrowser.spec-5IS5Y2NG.js +0 -276
  528. package/dist/grin2-3T6KRC34.js +0 -70
  529. package/dist/grin2-FOOH736B.js +0 -949
  530. package/dist/hierCluster-WLAFGZAT.js +0 -55
  531. package/dist/hierCluster-XBL2TOOL.js +0 -59
  532. package/dist/hierCluster.config-VCBRBGDZ.js +0 -36
  533. package/dist/hierCluster.integration.spec-TNJD2QT6.js +0 -483
  534. package/dist/hierCluster.integration.spec-TNJD2QT6.js.map +0 -7
  535. package/dist/hierCluster.interactivity-PEEJ3BRC.js +0 -49
  536. package/dist/hierCluster.renderers-7ESGKIGM.js +0 -19
  537. package/dist/imagePlot-LWL6JMKM.js +0 -156
  538. package/dist/importPlot-CLBY6QZN.js +0 -8
  539. package/dist/isoformExpression-36P3BBN7.js +0 -35
  540. package/dist/isoformExpression.unit.spec-SF2SPTRC.js +0 -237
  541. package/dist/junction-B7DSIG4E.js +0 -36
  542. package/dist/junction.customTerm-7VZS4JDE.js +0 -16
  543. package/dist/junction.unit.spec-4MWU36MR.js +0 -182
  544. package/dist/launch.adhoc-3B34GV4S.js +0 -37
  545. package/dist/leftlabel.sample-6OM5H67E.js +0 -258
  546. package/dist/lollipop-SL2F5G6K.js +0 -166
  547. package/dist/maf-FRYGN5GR.js +0 -455
  548. package/dist/maftimeline-3UFWS73J.js +0 -587
  549. package/dist/matrix-DDKSOJ4C.js +0 -59
  550. package/dist/matrix-H2ZH2QKC.js +0 -54
  551. package/dist/matrix.cells-JTMC35SK.js +0 -26
  552. package/dist/matrix.config-EUBXWEBS.js +0 -37
  553. package/dist/matrix.data-CO5RBWY5.js +0 -23
  554. package/dist/matrix.dom-2SA43BPT.js +0 -11
  555. package/dist/matrix.groups-AKOJ2W6U.js +0 -26
  556. package/dist/matrix.integration.spec-66KNZO3S.js +0 -3160
  557. package/dist/matrix.interactivity-DY5YJIYB.js +0 -37
  558. package/dist/matrix.layout-MQQNHBI2.js +0 -39
  559. package/dist/matrix.legend-CGU7T6GF.js +0 -20
  560. package/dist/matrix.renderers-HC7PJN4B.js +0 -34
  561. package/dist/matrix.serieses-W4L6ZO37.js +0 -19
  562. package/dist/matrix.sort-T74DWFB2.js +0 -26
  563. package/dist/matrix.sort.unit.spec-EQEHQXTO.js +0 -468
  564. package/dist/matrix.sorterUi-GFQG4HFV.js +0 -16
  565. package/dist/matrix.sorterUi.unit.spec-XQHFOEYE.js +0 -338
  566. package/dist/matrix.unit.spec-4ZWUGZUC.js +0 -150
  567. package/dist/mavb-3CL5OHWB.js +0 -727
  568. package/dist/mds.fimo-2RFJQKJM.js +0 -513
  569. package/dist/mds.samplescatterplot-X6CXMY4C.js +0 -1545
  570. package/dist/mds.survivalplot-57NIKSSH.js +0 -477
  571. package/dist/multivalue-3TUGYL4J.js +0 -83
  572. package/dist/numericDictTermCluster-RLX5CLTN.js +0 -63
  573. package/dist/oncomatrix-COK76MJN.js +0 -290
  574. package/dist/oncomatrix.spec-SO3ZN5BF.js +0 -443
  575. package/dist/plot.2dvaf-TETCE4VG.js +0 -372
  576. package/dist/plot.app-5YUAVZA4.js +0 -36
  577. package/dist/plot.barplot-JUGY5Z7A.js +0 -97
  578. package/dist/plot.boxplot-QZXICT7J.js +0 -146
  579. package/dist/plot.brainImaging-2F6E6QS4.js +0 -51
  580. package/dist/plot.disco-H4P4B6QS.js +0 -99
  581. package/dist/plot.ssgq-LEQF3STZ.js +0 -134
  582. package/dist/plot.vaf2cov-UBMD2CN7.js +0 -253
  583. package/dist/polar2-AVEZM2T5.js +0 -232
  584. package/dist/profileForms-CUSUGTPC.js +0 -941
  585. package/dist/profilePlot-67Z7AXQ4.js +0 -49
  586. package/dist/proteinView-7K7VHGX3.js +0 -1357
  587. package/dist/proteomeCohortCompare-MRGH6HHI.js +0 -912
  588. package/dist/pseudbulk.unit.spec-ZHDL6GIM.js +0 -86
  589. package/dist/pseudobulk-ZNXPF7QB.js +0 -35
  590. package/dist/qualitative-QXMZHDWU.js +0 -38
  591. package/dist/radar2-QJDGNLED.js +0 -327
  592. package/dist/radarFacility2-LGGOOWX4.js +0 -335
  593. package/dist/rememberedGvQ.unit.spec-YKUMMYFT.js +0 -211
  594. package/dist/render-LSSRZJY3.js +0 -33
  595. package/dist/report-TTECPO44.js +0 -217
  596. package/dist/sampleView-EFS2UBRS.js +0 -43
  597. package/dist/samplelst-FXULLJBO.js +0 -106
  598. package/dist/samplematrix-MNFCXOWO.js +0 -2193
  599. package/dist/sc-2BUOXML2.js +0 -81
  600. package/dist/scatter-AVRTALYY.js +0 -925
  601. package/dist/scatter-CPEIVL3K.js +0 -88
  602. package/dist/selectGenomeWithTklst-3BG2ZPPN.js +0 -129
  603. package/dist/singleCellCellType-QLAEBVN2.js +0 -33
  604. package/dist/singleCellCellType.unit.spec-P4NAWYKL.js +0 -154
  605. package/dist/singleCellGeneExpression-IZ2PMDDL.js +0 -33
  606. package/dist/singleCellGeneExpression.unit.spec-DKBZICJM.js +0 -148
  607. package/dist/singleCellNumericValue-NB3QFH7H.js +0 -33
  608. package/dist/singleCellNumericValue.unit.spec-ZKK2KWRQ.js +0 -416
  609. package/dist/singleCellPlot-ZU655L4Z.js +0 -48
  610. package/dist/singlecell-NKPTXVHW.js +0 -1566
  611. package/dist/singlecell-PEIEFXVU.js +0 -81
  612. package/dist/snp-G55JGINX.js +0 -33
  613. package/dist/snp.unit.spec-47CCZKJO.js +0 -171
  614. package/dist/snplocus-TRVAEAPF.js +0 -203
  615. package/dist/spliceevent.a53ss.diagram-FL2R6F22.js +0 -146
  616. package/dist/spliceevent.exonskip.diagram-XDZWTJXR.js +0 -278
  617. package/dist/spliceevent.noeventdiagram-L322N534.js +0 -455
  618. package/dist/ssGSEA-DZY4LFQY.js +0 -33
  619. package/dist/ssGSEA.unit.spec-P6C3VTVZ.js +0 -83
  620. package/dist/stattable-R7O6OIMB.js +0 -117
  621. package/dist/studyCatalog-OMDE4JRD.js +0 -414
  622. package/dist/summarizeCnvGeneexp-A7HW6FJI.js +0 -158
  623. package/dist/summarizeGeneexpSurvival-ODI4HGFH.js +0 -105
  624. package/dist/summarizeMutationCnv-C2YB73OL.js +0 -159
  625. package/dist/summarizeMutationDiagnosis-4Y322NYU.js +0 -35
  626. package/dist/summarizeMutationSurvival-7IHNURLC.js +0 -99
  627. package/dist/summary-E4L5MZTF.js +0 -44
  628. package/dist/summary.integration.spec-SDCGE6BQ.js +0 -409
  629. package/dist/summaryInput-DHIMU5DM.js +0 -242
  630. package/dist/sunburst-ULNPFEAM.js +0 -278
  631. package/dist/survival-CU4N5KZO.js +0 -53
  632. package/dist/survival-KWWH6REE.js +0 -1248
  633. package/dist/survival.integration.spec-UW6SYVLP.js +0 -613
  634. package/dist/svgraph-HFI6NNF3.js +0 -1382
  635. package/dist/svmr-VHS7Z4SO.js +0 -3837
  636. package/dist/table-GJUXHKQI.js +0 -197
  637. package/dist/termCollection-CCZ4BFIU.js +0 -33
  638. package/dist/termCollection-O5CQ472U.js +0 -252
  639. package/dist/termCollection.unit.spec-KR5G6JFU.js +0 -299
  640. package/dist/termCollectionFractionSelection-IKU5MFBT.js +0 -42
  641. package/dist/termCollectionFractionSelection.unit.spec-6ZWHNGES.js +0 -188
  642. package/dist/tk-3DLMAFW7.js +0 -41
  643. package/dist/tk-CAYWF7LX.js +0 -1121
  644. package/dist/tp.ui-NF5ZYOHW.js +0 -1454
  645. package/dist/tvs.density-V6ZXSFGF.js +0 -19
  646. package/dist/tvs.dt-43A4SSLG.js +0 -34
  647. package/dist/tvs.dtcnv.categorical-DYXHUNP2.js +0 -35
  648. package/dist/tvs.dtcnv.continuous-NOKNP4UG.js +0 -67
  649. package/dist/tvs.dtfusion-4NAOCC2X.js +0 -35
  650. package/dist/tvs.dtitd-SZC6EITI.js +0 -35
  651. package/dist/tvs.dtsnvindel-EYSBCNQK.js +0 -35
  652. package/dist/tvs.dtsv-VSPWIIFO.js +0 -35
  653. package/dist/tvs.numeric-M5LH3PRH.js +0 -20
  654. package/dist/tvs.samplelst-3YQ4GKNG.js +0 -98
  655. package/dist/tvs.termCollection-EVM4ATPW.js +0 -124
  656. package/dist/tvs.termCollection-EVM4ATPW.js.map +0 -7
  657. package/dist/vocabulary-HCPEIO2P.js +0 -36
  658. package/dist/wsi.direct-K2J6GGWY.js +0 -8343
  659. /package/dist/{2dmaf-7VZ536T5.js.map → 2dmaf-FEZRNHDF.js.map} +0 -0
  660. /package/dist/{AggMatrixInput-UTUOXTGA.js.map → AggMatrixInput-6FJIELYO.js.map} +0 -0
  661. /package/dist/{AggregateMatrix-X75HUZYO.js.map → AggregateMatrix-MUPBUGIZ.js.map} +0 -0
  662. /package/dist/{AppHeader-X2DR6VSM.js.map → AppHeader-ZTNZ62UL.js.map} +0 -0
  663. /package/dist/{CorrelationVolcano-IDBUJH2E.js.map → CorrelationVolcano-42NYXAXG.js.map} +0 -0
  664. /package/dist/{Cuminc-BYFIMOLO.js.map → Cuminc-6AKLT6HF.js.map} +0 -0
  665. /package/dist/{DE-BI7DHHW4.js.map → DE-KJHFZWND.js.map} +0 -0
  666. /package/dist/{DEinput-W66CT4U2.js.map → DEinput-HXB3LYZW.js.map} +0 -0
  667. /package/dist/{DM-62TEJA3C.js.map → DM-AAHX4PLH.js.map} +0 -0
  668. /package/dist/{DifferentialAnalysis-PRTA6CYW.js.map → DifferentialAnalysis-JX4EDEOY.js.map} +0 -0
  669. /package/dist/{Disco-4JQP3FRW.js.map → Disco-GXKO4QQH.js.map} +0 -0
  670. /package/dist/{Disco.UI-6RHAA5KU.js.map → Disco.UI-DGD4RXJP.js.map} +0 -0
  671. /package/dist/{DmrPlot-VYQYMTQ7.js.map → DmrPlot-DQ3XTMTN.js.map} +0 -0
  672. /package/dist/{GB-LULUM5LH.js.map → GB-OUWNNBBK.js.map} +0 -0
  673. /package/dist/{GSEA-DT3SYXOZ.js.map → GSEA-DSKGFAPG.js.map} +0 -0
  674. /package/dist/{GeneExpInput-UILWAGRH.js.map → GeneExpInput-FZLOBE2Q.js.map} +0 -0
  675. /package/dist/{Geomap-AFKEGMR5.js.map → Geomap-GP5KD3OX.js.map} +0 -0
  676. /package/dist/{HicApp-APDL5POY.js.map → HicApp-2N6WYWZX.js.map} +0 -0
  677. /package/dist/{IDCViewer-DQXAORHT.js.map → IDCViewer-MSUC7IXX.js.map} +0 -0
  678. /package/dist/{NumBinaryEditor-OUVIOEH7.js.map → NumBinaryEditor-C4G2IH36.js.map} +0 -0
  679. /package/dist/{NumBinaryEditor.unit.spec-VBX2X4CT.js.map → NumBinaryEditor.unit.spec-ZAVAUGXA.js.map} +0 -0
  680. /package/dist/{NumContEditor-JVPRBZPW.js.map → NumContEditor-VEEMMWHX.js.map} +0 -0
  681. /package/dist/{NumContEditor.unit.spec-EQNB6RMI.js.map → NumContEditor.unit.spec-65ORC42O.js.map} +0 -0
  682. /package/dist/{NumCustomBinEditor-E2SXZDF4.js.map → NumCustomBinEditor-YIUHJAXP.js.map} +0 -0
  683. /package/dist/{NumCustomBinEditor.unit.spec-VLR7MGNL.js.map → NumCustomBinEditor.unit.spec-NT5VK2LO.js.map} +0 -0
  684. /package/dist/{NumDiscreteEditor-CUA55FU3.js.map → NumDiscreteEditor-A4WELAJH.js.map} +0 -0
  685. /package/dist/{NumDiscreteEditor.unit.spec-7IPCMUDQ.js.map → NumDiscreteEditor.unit.spec-7QABM6KK.js.map} +0 -0
  686. /package/dist/{NumRegularBinEditor-CWU7YBEP.js.map → NumRegularBinEditor-IPVPLSQY.js.map} +0 -0
  687. /package/dist/{NumRegularBinEditor.unit.spec-RGV3EUPC.js.map → NumRegularBinEditor.unit.spec-Q4DMWATB.js.map} +0 -0
  688. /package/dist/{NumSplineEditor-PC5X7AUJ.js.map → NumSplineEditor-5E6CIWLP.js.map} +0 -0
  689. /package/dist/{NumSplineEditor.unit.spec-QCR3RL5W.js.map → NumSplineEditor.unit.spec-DHJF5F6H.js.map} +0 -0
  690. /package/dist/{NumericDensity-CFUEE5ZN.js.map → NumericDensity-GXMWWK2A.js.map} +0 -0
  691. /package/dist/{NumericDensity.unit.spec-JOCVEC32.js.map → NumericDensity.unit.spec-OAPOMSEW.js.map} +0 -0
  692. /package/dist/{NumericHandler-VL2Z55KF.js.map → NumericHandler-H5WHGFXD.js.map} +0 -0
  693. /package/dist/{NumericHandler.unit.spec-ULM5FSSA.js.map → NumericHandler.unit.spec-PBNOJEMS.js.map} +0 -0
  694. /package/dist/{ProteomeInput-3WKTVCYT.js.map → ProteomeInput-ZA7R5S43.js.map} +0 -0
  695. /package/dist/{Regression-M7AQTYXL.js.map → Regression-WSWTSXFX.js.map} +0 -0
  696. /package/dist/{RunChart2-54SVOXJR.js.map → RunChart2-J5CTJI5C.js.map} +0 -0
  697. /package/dist/{Volcano-T57VFSWR.js.map → Volcano-4IEQIEDS.js.map} +0 -0
  698. /package/dist/{Wsi-U3U3EILE.js.map → Wsi-LJ6AY5RI.js.map} +0 -0
  699. /package/dist/{adSandbox-S3JP7XF3.js.map → adSandbox-EIN4KEML.js.map} +0 -0
  700. /package/dist/{animatedBubbleChart-LZKNERIM.js.map → animatedBubbleChart-LINYUKMD.js.map} +0 -0
  701. /package/dist/{app-2MERLGNJ.js.map → app-SE7UQ5DB.js.map} +0 -0
  702. /package/dist/{app-ZNSUUOFJ.js.map → app-VGMZNGWP.js.map} +0 -0
  703. /package/dist/{bam-ESRPS4TQ.js.map → bam-ZXEZWRSZ.js.map} +0 -0
  704. /package/dist/{barchart-BPUEO4RK.js.map → barchart-N4B4C2FO.js.map} +0 -0
  705. /package/dist/{barchart2-Z36PNSM2.js.map → barchart2-EDVEWTVX.js.map} +0 -0
  706. /package/dist/{block-GEG4UUOU.js.map → block-E7YUGCHL.js.map} +0 -0
  707. /package/dist/{block.init-SB6OX35E.js.map → block.init-FSOCF2IM.js.map} +0 -0
  708. /package/dist/{block.mds.expressionrank-2JLMS334.js.map → block.mds.expressionrank-EDBTITXU.js.map} +0 -0
  709. /package/dist/{block.mds.geneboxplot-BZMGG6G3.js.map → block.mds.geneboxplot-GG5672SY.js.map} +0 -0
  710. /package/dist/{block.mds.junction-636PWE2O.js.map → block.mds.junction-HUC4S24K.js.map} +0 -0
  711. /package/dist/{block.mds.svcnv-S4L2HMZW.js.map → block.mds.svcnv-EQHYCIBU.js.map} +0 -0
  712. /package/dist/{block.svg-A7EABUXG.js.map → block.svg-HBVPUQJ2.js.map} +0 -0
  713. /package/dist/{block.tk.aicheck-KNFJVUTW.js.map → block.tk.aicheck-TRJ5IIWZ.js.map} +0 -0
  714. /package/dist/{block.tk.ase-BPU25OLX.js.map → block.tk.ase-COV7YYYO.js.map} +0 -0
  715. /package/dist/{block.tk.bam-VC4CZCUS.js.map → block.tk.bam-MDSLY6NH.js.map} +0 -0
  716. /package/dist/{block.tk.bedgraphdot-FQS4Z4RC.js.map → block.tk.bedgraphdot-MKWEL53X.js.map} +0 -0
  717. /package/dist/{block.tk.bigwig.ui-7STXSD3X.js.map → block.tk.bigwig.ui-UKKJX7TA.js.map} +0 -0
  718. /package/dist/{block.tk.hicstraw-CVDCOMPP.js.map → block.tk.hicstraw-6LNXEIOF.js.map} +0 -0
  719. /package/dist/{block.tk.junction-PG4RZFH3.js.map → block.tk.junction-F3SERFFD.js.map} +0 -0
  720. /package/dist/{block.tk.junction.textmatrixui-JRW4ZJIK.js.map → block.tk.junction.textmatrixui-2XUMSKLS.js.map} +0 -0
  721. /package/dist/{block.tk.ld-DLDP2NHJ.js.map → block.tk.ld-COP5RUJJ.js.map} +0 -0
  722. /package/dist/{block.tk.menu-PWGFMKBQ.js.map → block.tk.menu-SRDPD44N.js.map} +0 -0
  723. /package/dist/{block.tk.pgv-HOBOXQIN.js.map → block.tk.pgv-3SVINTXN.js.map} +0 -0
  724. /package/dist/{brainImaging-GUQTOHQF.js.map → brainImaging-UNBA4KA3.js.map} +0 -0
  725. /package/dist/{brainRegions-JWBIBCTG.js.map → brainRegions-DC6TQB53.js.map} +0 -0
  726. /package/dist/{bubbleHeatmap-EUO3DUVT.js.map → bubbleHeatmap-X3W3AZJY.js.map} +0 -0
  727. /package/dist/{cellTypeBubbleHeatmap-TIBGPZTB.js.map → cellTypeBubbleHeatmap-LFI6TGOO.js.map} +0 -0
  728. /package/dist/{chunk-SRTZQOK7.js.map → chunk-2ANFUNS3.js.map} +0 -0
  729. /package/dist/{chunk-TGTCOCPF.js.map → chunk-2G4SFRWC.js.map} +0 -0
  730. /package/dist/{chunk-Q3PAXUCU.js.map → chunk-2WKGE7BO.js.map} +0 -0
  731. /package/dist/{chunk-YMEWZVRG.js.map → chunk-3CGMCYZB.js.map} +0 -0
  732. /package/dist/{chunk-6MQPXWOR.js.map → chunk-3I4DBVLM.js.map} +0 -0
  733. /package/dist/{chunk-O5FUHCNU.js.map → chunk-42VFF74T.js.map} +0 -0
  734. /package/dist/{chunk-BLYD6SQO.js.map → chunk-4HTRCXLS.js.map} +0 -0
  735. /package/dist/{chunk-D4XHYQNS.js.map → chunk-55T2AMJ3.js.map} +0 -0
  736. /package/dist/{chunk-GLPTPX45.js.map → chunk-5JDG5NNA.js.map} +0 -0
  737. /package/dist/{chunk-3TV5WWUN.js.map → chunk-6AFMWQXZ.js.map} +0 -0
  738. /package/dist/{chunk-TOFOT2BN.js.map → chunk-6ECKCC4X.js.map} +0 -0
  739. /package/dist/{chunk-BX3P73XH.js.map → chunk-6QMC7LFA.js.map} +0 -0
  740. /package/dist/{chunk-7DSL65G7.js.map → chunk-72L6NTNT.js.map} +0 -0
  741. /package/dist/{chunk-EM6KUVI5.js.map → chunk-7ISAV37C.js.map} +0 -0
  742. /package/dist/{chunk-R4E7BXC6.js.map → chunk-A32XQLMP.js.map} +0 -0
  743. /package/dist/{chunk-SDYFM3UL.js.map → chunk-A3MYBXG3.js.map} +0 -0
  744. /package/dist/{chunk-YPHFEKWI.js.map → chunk-AU3Y6IQF.js.map} +0 -0
  745. /package/dist/{chunk-NJWNKBRC.js.map → chunk-AXL3CC4U.js.map} +0 -0
  746. /package/dist/{chunk-3ELYMSGO.js.map → chunk-BSWVDH75.js.map} +0 -0
  747. /package/dist/{chunk-4Y5W26UF.js.map → chunk-CME6DYDH.js.map} +0 -0
  748. /package/dist/{chunk-Y3SDMRDX.js.map → chunk-DD3DWHUY.js.map} +0 -0
  749. /package/dist/{chunk-HGXSYPU6.js.map → chunk-DKED35KW.js.map} +0 -0
  750. /package/dist/{chunk-AR2UIN77.js.map → chunk-DPGALT5N.js.map} +0 -0
  751. /package/dist/{chunk-AB6JQFIQ.js.map → chunk-DPTGY4BW.js.map} +0 -0
  752. /package/dist/{chunk-HDV3LHCN.js.map → chunk-DQD4MTK4.js.map} +0 -0
  753. /package/dist/{chunk-M4PUW3ML.js.map → chunk-EFLRT7JY.js.map} +0 -0
  754. /package/dist/{chunk-KVRSO2OZ.js.map → chunk-EMSO3BNW.js.map} +0 -0
  755. /package/dist/{chunk-XDLKYVYU.js.map → chunk-F5QB5YEE.js.map} +0 -0
  756. /package/dist/{chunk-E76UYIT2.js.map → chunk-FKSR53VK.js.map} +0 -0
  757. /package/dist/{chunk-T4RYLTR3.js.map → chunk-FSWBNSQD.js.map} +0 -0
  758. /package/dist/{chunk-XNJN5J3U.js.map → chunk-G6ZIO5T3.js.map} +0 -0
  759. /package/dist/{chunk-ME325OQC.js.map → chunk-HTZJQNHP.js.map} +0 -0
  760. /package/dist/{chunk-G5USS6FI.js.map → chunk-ITYNHDDD.js.map} +0 -0
  761. /package/dist/{chunk-TBIHBC5V.js.map → chunk-IWVCFZHQ.js.map} +0 -0
  762. /package/dist/{chunk-GWVVEOYX.js.map → chunk-J4WRX5G6.js.map} +0 -0
  763. /package/dist/{chunk-GPY6SBCX.js.map → chunk-JZLIHI6A.js.map} +0 -0
  764. /package/dist/{chunk-WMQDFVJK.js.map → chunk-KJGYGPJZ.js.map} +0 -0
  765. /package/dist/{chunk-UOYIPBTX.js.map → chunk-L3UFI52T.js.map} +0 -0
  766. /package/dist/{chunk-PTQ4GQCS.js.map → chunk-L4ZPMF7E.js.map} +0 -0
  767. /package/dist/{chunk-F4GYWCRF.js.map → chunk-L62JI5UL.js.map} +0 -0
  768. /package/dist/{chunk-Y5FE3G6J.js.map → chunk-MRPYHLFW.js.map} +0 -0
  769. /package/dist/{chunk-G2X2PN74.js.map → chunk-MVWJHZ5G.js.map} +0 -0
  770. /package/dist/{chunk-ODHQPTHU.js.map → chunk-NGWU4QLU.js.map} +0 -0
  771. /package/dist/{chunk-3CGAABHZ.js.map → chunk-OC2FSBFB.js.map} +0 -0
  772. /package/dist/{chunk-M367Y7ML.js.map → chunk-OGRDLK57.js.map} +0 -0
  773. /package/dist/{chunk-5XE3WSUX.js.map → chunk-OYBYKZUR.js.map} +0 -0
  774. /package/dist/{chunk-665X7R7S.js.map → chunk-PFRPC2SY.js.map} +0 -0
  775. /package/dist/{chunk-Z4HW3FEE.js.map → chunk-PLHOCPJD.js.map} +0 -0
  776. /package/dist/{chunk-AIVPAC5Q.js.map → chunk-PQDZLOY7.js.map} +0 -0
  777. /package/dist/{chunk-PUSSP76H.js.map → chunk-QDNUIS2Y.js.map} +0 -0
  778. /package/dist/{chunk-G3QKTYUT.js.map → chunk-RHOMR2GY.js.map} +0 -0
  779. /package/dist/{chunk-J5JBHGRN.js.map → chunk-SKF6HQ74.js.map} +0 -0
  780. /package/dist/{chunk-HMKEVTRM.js.map → chunk-SPFK5XZH.js.map} +0 -0
  781. /package/dist/{chunk-DH74ZT37.js.map → chunk-SQGAWR2L.js.map} +0 -0
  782. /package/dist/{chunk-67URJYN7.js.map → chunk-TGKWEAUE.js.map} +0 -0
  783. /package/dist/{chunk-HPCKKXRK.js.map → chunk-UKOOGNUF.js.map} +0 -0
  784. /package/dist/{chunk-V3WSMWBF.js.map → chunk-UL5PEVZW.js.map} +0 -0
  785. /package/dist/{chunk-USULBM4V.js.map → chunk-UTMIX2H2.js.map} +0 -0
  786. /package/dist/{chunk-AXF6SVNQ.js.map → chunk-UZNFOCE7.js.map} +0 -0
  787. /package/dist/{chunk-BSWPONNA.js.map → chunk-V7UVHM57.js.map} +0 -0
  788. /package/dist/{chunk-JHOGTGIS.js.map → chunk-VP2JWT5W.js.map} +0 -0
  789. /package/dist/{chunk-KCX54MGS.js.map → chunk-VSTHBKQW.js.map} +0 -0
  790. /package/dist/{chunk-WTQQWFV4.js.map → chunk-W7A4QXZ7.js.map} +0 -0
  791. /package/dist/{chunk-FJ3JD7B3.js.map → chunk-WKCVZIN7.js.map} +0 -0
  792. /package/dist/{chunk-TANWA6SU.js.map → chunk-X7TJBXJJ.js.map} +0 -0
  793. /package/dist/{chunk-AKKJFMW5.js.map → chunk-XEEMCYP6.js.map} +0 -0
  794. /package/dist/{chunk-FW3ME75U.js.map → chunk-XTQWAVWJ.js.map} +0 -0
  795. /package/dist/{chunk-CW35X5ZL.js.map → chunk-YAN2MOON.js.map} +0 -0
  796. /package/dist/{chunk-ACOHIDWO.js.map → chunk-YCORHJ64.js.map} +0 -0
  797. /package/dist/{chunk-QWBKN2IC.js.map → chunk-YOBTHZVU.js.map} +0 -0
  798. /package/dist/{chunk-SP6WCXY6.js.map → chunk-ZTT6ZHU5.js.map} +0 -0
  799. /package/dist/{cohort-NYFUILFO.js.map → cohort-RF4FT2NT.js.map} +0 -0
  800. /package/dist/{condition-6M4AVISY.js.map → condition-WXE2CFYT.js.map} +0 -0
  801. /package/dist/{controls-LMTWS3SY.js.map → controls-AYF4H7UG.js.map} +0 -0
  802. /package/dist/{controls.config-4PK7HLFJ.js.map → controls.config-TXZKQNYC.js.map} +0 -0
  803. /package/dist/{correlation-X6GB6ITK.js.map → correlation-UAYMVVUS.js.map} +0 -0
  804. /package/dist/{customdata.inputui-MDG3BTTG.js.map → customdata.inputui-I7RFOGYM.js.map} +0 -0
  805. /package/dist/{dataDownload-TFRI3VFM.js.map → dataDownload-4AGSDSEO.js.map} +0 -0
  806. /package/dist/{databrowser.ui-L2K7VVDW.js.map → databrowser.ui-RGJEA2BI.js.map} +0 -0
  807. /package/dist/{dictionary-MS6R3VNY.js.map → dictionary-AWWQXIRP.js.map} +0 -0
  808. /package/dist/{dnaMethylation-2KYSQWNE.js.map → dnaMethylation-PICKZS2M.js.map} +0 -0
  809. /package/dist/{dnaMethylation.integration.spec-2BHNKOGN.js.map → dnaMethylation.integration.spec-JUSB3CFZ.js.map} +0 -0
  810. /package/dist/{dofetch-BETN7HEX.js.map → dofetch-ZJMKEYN2.js.map} +0 -0
  811. /package/dist/{e2pca-QC2EI5JM.js.map → e2pca-K4W7ZJZG.js.map} +0 -0
  812. /package/dist/{ep-BTRMR4OT.js.map → ep-OY5YQMEF.js.map} +0 -0
  813. /package/dist/{expclust.gdc.spec-C5ZMBCGO.js.map → expclust.gdc.spec-LYDBM3TZ.js.map} +0 -0
  814. /package/dist/{facet-LPXKLX53.js.map → facet-7NJHLLCZ.js.map} +0 -0
  815. /package/dist/{gb-PHJ2SM5D.js.map → gb-COV44BMA.js.map} +0 -0
  816. /package/dist/{geneExpClustering-OXZJHEPD.js.map → geneExpClustering-EQR5XX4J.js.map} +0 -0
  817. /package/dist/{geneExpression-54RGEGML.js.map → geneExpression-2BNDQ6S6.js.map} +0 -0
  818. /package/dist/{geneExpression-FLBQXMSX.js.map → geneExpression-PGB6WF5H.js.map} +0 -0
  819. /package/dist/{geneExpression.unit.spec-ZCE7G6HI.js.map → geneExpression.unit.spec-OUNGGOJP.js.map} +0 -0
  820. /package/dist/{geneORA-TELI5AFV.js.map → geneORA-EKNEVQOS.js.map} +0 -0
  821. /package/dist/{geneRanking-7YZA5GNG.js.map → geneRanking-XUXLRERA.js.map} +0 -0
  822. /package/dist/{geneVariant-NJYUEY4C.js.map → geneVariant-JZDYV6LS.js.map} +0 -0
  823. /package/dist/{geneVariant-VKWTXUMK.js.map → geneVariant-KPZ2FYLK.js.map} +0 -0
  824. /package/dist/{geneVariant.integration.spec-RWYP523U.js.map → geneVariant.integration.spec-ISMLGTKC.js.map} +0 -0
  825. /package/dist/{genefusion.ui-B6J7I3RA.js.map → genefusion.ui-GRUXFC4U.js.map} +0 -0
  826. /package/dist/{geneset-VG4SFYML.js.map → geneset-RM4XIX23.js.map} +0 -0
  827. /package/dist/{genomeBrowser.spec-5IS5Y2NG.js.map → genomeBrowser.spec-X7EOK2LS.js.map} +0 -0
  828. /package/dist/{grin2-FOOH736B.js.map → grin2-5XRUMYQO.js.map} +0 -0
  829. /package/dist/{grin2-3T6KRC34.js.map → grin2-SWZLKD52.js.map} +0 -0
  830. /package/dist/{hierCluster-WLAFGZAT.js.map → hierCluster-I6T4XD3P.js.map} +0 -0
  831. /package/dist/{hierCluster-XBL2TOOL.js.map → hierCluster-XVDGUOW7.js.map} +0 -0
  832. /package/dist/{hierCluster.config-VCBRBGDZ.js.map → hierCluster.config-66CKAAPG.js.map} +0 -0
  833. /package/dist/{hierCluster.interactivity-PEEJ3BRC.js.map → hierCluster.interactivity-B5ZNFF4R.js.map} +0 -0
  834. /package/dist/{hierCluster.renderers-7ESGKIGM.js.map → hierCluster.renderers-R2DTKTLI.js.map} +0 -0
  835. /package/dist/{imagePlot-LWL6JMKM.js.map → imagePlot-ZM4IVDJT.js.map} +0 -0
  836. /package/dist/{importPlot-CLBY6QZN.js.map → importPlot-FQ65CZRI.js.map} +0 -0
  837. /package/dist/{isoformExpression-36P3BBN7.js.map → isoformExpression-BFCLGD2U.js.map} +0 -0
  838. /package/dist/{isoformExpression.unit.spec-SF2SPTRC.js.map → isoformExpression.unit.spec-KYI4HI7U.js.map} +0 -0
  839. /package/dist/{junction-B7DSIG4E.js.map → junction-BKH6RWOP.js.map} +0 -0
  840. /package/dist/{junction.customTerm-7VZS4JDE.js.map → junction.customTerm-VNQKP5I4.js.map} +0 -0
  841. /package/dist/{junction.unit.spec-4MWU36MR.js.map → junction.unit.spec-MQIHKSNE.js.map} +0 -0
  842. /package/dist/{launch.adhoc-3B34GV4S.js.map → launch.adhoc-AHTCA2BP.js.map} +0 -0
  843. /package/dist/{leftlabel.sample-6OM5H67E.js.map → leftlabel.sample-LIBMKP22.js.map} +0 -0
  844. /package/dist/{lollipop-SL2F5G6K.js.map → lollipop-26ZQH3EL.js.map} +0 -0
  845. /package/dist/{maf-FRYGN5GR.js.map → maf-W3W2XJ5B.js.map} +0 -0
  846. /package/dist/{maftimeline-3UFWS73J.js.map → maftimeline-LCJD5O2M.js.map} +0 -0
  847. /package/dist/{matrix-DDKSOJ4C.js.map → matrix-H634EZWK.js.map} +0 -0
  848. /package/dist/{matrix-H2ZH2QKC.js.map → matrix-O2AINT5M.js.map} +0 -0
  849. /package/dist/{matrix.cells-JTMC35SK.js.map → matrix.cells-3U3CUU5I.js.map} +0 -0
  850. /package/dist/{matrix.config-EUBXWEBS.js.map → matrix.config-F6IPB5B5.js.map} +0 -0
  851. /package/dist/{matrix.data-CO5RBWY5.js.map → matrix.data-KQNBNYC6.js.map} +0 -0
  852. /package/dist/{matrix.dom-2SA43BPT.js.map → matrix.dom-YQNX4IQO.js.map} +0 -0
  853. /package/dist/{matrix.groups-AKOJ2W6U.js.map → matrix.groups-QFL2ZDHD.js.map} +0 -0
  854. /package/dist/{matrix.integration.spec-66KNZO3S.js.map → matrix.integration.spec-OVGSXJWO.js.map} +0 -0
  855. /package/dist/{matrix.interactivity-DY5YJIYB.js.map → matrix.interactivity-Q5ODZPDL.js.map} +0 -0
  856. /package/dist/{matrix.layout-MQQNHBI2.js.map → matrix.layout-YPYM7FRY.js.map} +0 -0
  857. /package/dist/{matrix.legend-CGU7T6GF.js.map → matrix.legend-ZO57ENXP.js.map} +0 -0
  858. /package/dist/{matrix.renderers-HC7PJN4B.js.map → matrix.renderers-NIGONKWO.js.map} +0 -0
  859. /package/dist/{matrix.serieses-W4L6ZO37.js.map → matrix.serieses-ZQD2U6RF.js.map} +0 -0
  860. /package/dist/{matrix.sort-T74DWFB2.js.map → matrix.sort-RZU65LR2.js.map} +0 -0
  861. /package/dist/{matrix.sort.unit.spec-EQEHQXTO.js.map → matrix.sort.unit.spec-NDFK2A5C.js.map} +0 -0
  862. /package/dist/{matrix.sorterUi-GFQG4HFV.js.map → matrix.sorterUi-MVUI25W7.js.map} +0 -0
  863. /package/dist/{matrix.sorterUi.unit.spec-XQHFOEYE.js.map → matrix.sorterUi.unit.spec-4ZKNOV2L.js.map} +0 -0
  864. /package/dist/{matrix.unit.spec-4ZWUGZUC.js.map → matrix.unit.spec-V5XNLECG.js.map} +0 -0
  865. /package/dist/{mavb-3CL5OHWB.js.map → mavb-LF7A7BDK.js.map} +0 -0
  866. /package/dist/{mds.fimo-2RFJQKJM.js.map → mds.fimo-KJ4HPMZP.js.map} +0 -0
  867. /package/dist/{mds.samplescatterplot-X6CXMY4C.js.map → mds.samplescatterplot-ZHNWWWYI.js.map} +0 -0
  868. /package/dist/{mds.survivalplot-57NIKSSH.js.map → mds.survivalplot-DNG7I22N.js.map} +0 -0
  869. /package/dist/{multivalue-3TUGYL4J.js.map → multivalue-SJQF7PHU.js.map} +0 -0
  870. /package/dist/{numericDictTermCluster-RLX5CLTN.js.map → numericDictTermCluster-O6PKT2FJ.js.map} +0 -0
  871. /package/dist/{oncomatrix-COK76MJN.js.map → oncomatrix-YJCPKS72.js.map} +0 -0
  872. /package/dist/{oncomatrix.spec-SO3ZN5BF.js.map → oncomatrix.spec-MWGBQCIQ.js.map} +0 -0
  873. /package/dist/{plot.2dvaf-TETCE4VG.js.map → plot.2dvaf-KIPQYNEH.js.map} +0 -0
  874. /package/dist/{plot.app-5YUAVZA4.js.map → plot.app-WHG3SEOG.js.map} +0 -0
  875. /package/dist/{plot.barplot-JUGY5Z7A.js.map → plot.barplot-DTSYFUPC.js.map} +0 -0
  876. /package/dist/{plot.boxplot-QZXICT7J.js.map → plot.boxplot-MQDULP3P.js.map} +0 -0
  877. /package/dist/{plot.brainImaging-2F6E6QS4.js.map → plot.brainImaging-DGVJQSCH.js.map} +0 -0
  878. /package/dist/{plot.disco-H4P4B6QS.js.map → plot.disco-HYPRBLMQ.js.map} +0 -0
  879. /package/dist/{plot.ssgq-LEQF3STZ.js.map → plot.ssgq-J5MMN7OD.js.map} +0 -0
  880. /package/dist/{plot.vaf2cov-UBMD2CN7.js.map → plot.vaf2cov-CID7GQB5.js.map} +0 -0
  881. /package/dist/{polar2-AVEZM2T5.js.map → polar2-QTSO2HCB.js.map} +0 -0
  882. /package/dist/{profileForms-CUSUGTPC.js.map → profileForms-SRR2M5OS.js.map} +0 -0
  883. /package/dist/{profilePlot-67Z7AXQ4.js.map → profilePlot-NDC4S2SC.js.map} +0 -0
  884. /package/dist/{proteinView-7K7VHGX3.js.map → proteinView-EFNQL3LD.js.map} +0 -0
  885. /package/dist/{proteomeCohortCompare-MRGH6HHI.js.map → proteomeCohortCompare-WMR53HEL.js.map} +0 -0
  886. /package/dist/{pseudbulk.unit.spec-ZHDL6GIM.js.map → pseudbulk.unit.spec-6MRZNXFI.js.map} +0 -0
  887. /package/dist/{pseudobulk-ZNXPF7QB.js.map → pseudobulk-O5EC44RY.js.map} +0 -0
  888. /package/dist/{qualitative-QXMZHDWU.js.map → qualitative-W6MFYG7Z.js.map} +0 -0
  889. /package/dist/{radar2-QJDGNLED.js.map → radar2-GIQILMWK.js.map} +0 -0
  890. /package/dist/{radarFacility2-LGGOOWX4.js.map → radarFacility2-5YJZ5JCK.js.map} +0 -0
  891. /package/dist/{rememberedGvQ.unit.spec-YKUMMYFT.js.map → rememberedGvQ.unit.spec-B6RQM5LQ.js.map} +0 -0
  892. /package/dist/{render-LSSRZJY3.js.map → render-2J4LR3UI.js.map} +0 -0
  893. /package/dist/{report-TTECPO44.js.map → report-MUMQK6XY.js.map} +0 -0
  894. /package/dist/{sampleView-EFS2UBRS.js.map → sampleView-NKZMNBMH.js.map} +0 -0
  895. /package/dist/{samplelst-FXULLJBO.js.map → samplelst-X74JZMTR.js.map} +0 -0
  896. /package/dist/{samplematrix-MNFCXOWO.js.map → samplematrix-QDQXB5ZG.js.map} +0 -0
  897. /package/dist/{sc-2BUOXML2.js.map → sc-FGHV5CBJ.js.map} +0 -0
  898. /package/dist/{scatter-AVRTALYY.js.map → scatter-QFVRBA7F.js.map} +0 -0
  899. /package/dist/{scatter-CPEIVL3K.js.map → scatter-YXF5VQGZ.js.map} +0 -0
  900. /package/dist/{selectGenomeWithTklst-3BG2ZPPN.js.map → selectGenomeWithTklst-DP4RPV7U.js.map} +0 -0
  901. /package/dist/{singleCellCellType-QLAEBVN2.js.map → singleCellCellType-XCHCMRR6.js.map} +0 -0
  902. /package/dist/{singleCellCellType.unit.spec-P4NAWYKL.js.map → singleCellCellType.unit.spec-S3JTP235.js.map} +0 -0
  903. /package/dist/{singleCellGeneExpression-IZ2PMDDL.js.map → singleCellGeneExpression-FD6REV7Y.js.map} +0 -0
  904. /package/dist/{singleCellGeneExpression.unit.spec-DKBZICJM.js.map → singleCellGeneExpression.unit.spec-PVMZYD4G.js.map} +0 -0
  905. /package/dist/{singleCellNumericValue-NB3QFH7H.js.map → singleCellNumericValue-SIITQPMD.js.map} +0 -0
  906. /package/dist/{singleCellNumericValue.unit.spec-ZKK2KWRQ.js.map → singleCellNumericValue.unit.spec-7PJEHLF7.js.map} +0 -0
  907. /package/dist/{singleCellPlot-ZU655L4Z.js.map → singleCellPlot-YJCFAYJW.js.map} +0 -0
  908. /package/dist/{singlecell-NKPTXVHW.js.map → singlecell-6R7YK5P3.js.map} +0 -0
  909. /package/dist/{singlecell-PEIEFXVU.js.map → singlecell-KHMH732Y.js.map} +0 -0
  910. /package/dist/{snp-G55JGINX.js.map → snp-HXCVSW2F.js.map} +0 -0
  911. /package/dist/{snp.unit.spec-47CCZKJO.js.map → snp.unit.spec-HXMFR4QS.js.map} +0 -0
  912. /package/dist/{snplocus-TRVAEAPF.js.map → snplocus-YQVHAKBC.js.map} +0 -0
  913. /package/dist/{spliceevent.a53ss.diagram-FL2R6F22.js.map → spliceevent.a53ss.diagram-4IBTR3JD.js.map} +0 -0
  914. /package/dist/{spliceevent.exonskip.diagram-XDZWTJXR.js.map → spliceevent.exonskip.diagram-5ZTG65CE.js.map} +0 -0
  915. /package/dist/{spliceevent.noeventdiagram-L322N534.js.map → spliceevent.noeventdiagram-WO5KSC45.js.map} +0 -0
  916. /package/dist/{ssGSEA-DZY4LFQY.js.map → ssGSEA-VJ3LVYJV.js.map} +0 -0
  917. /package/dist/{ssGSEA.unit.spec-P6C3VTVZ.js.map → ssGSEA.unit.spec-JQIJ4NZP.js.map} +0 -0
  918. /package/dist/{stattable-R7O6OIMB.js.map → stattable-COVQSHRZ.js.map} +0 -0
  919. /package/dist/{studyCatalog-OMDE4JRD.js.map → studyCatalog-EXVRH4FI.js.map} +0 -0
  920. /package/dist/{summarizeCnvGeneexp-A7HW6FJI.js.map → summarizeCnvGeneexp-UJBTMXXH.js.map} +0 -0
  921. /package/dist/{summarizeGeneexpSurvival-ODI4HGFH.js.map → summarizeGeneexpSurvival-XLQJGDRY.js.map} +0 -0
  922. /package/dist/{summarizeMutationCnv-C2YB73OL.js.map → summarizeMutationCnv-7RWSXB6F.js.map} +0 -0
  923. /package/dist/{summarizeMutationDiagnosis-4Y322NYU.js.map → summarizeMutationDiagnosis-42MG737O.js.map} +0 -0
  924. /package/dist/{summarizeMutationSurvival-7IHNURLC.js.map → summarizeMutationSurvival-FWVKVEHK.js.map} +0 -0
  925. /package/dist/{summary-E4L5MZTF.js.map → summary-NR26ZPQB.js.map} +0 -0
  926. /package/dist/{summary.integration.spec-SDCGE6BQ.js.map → summary.integration.spec-Z7JSUTGK.js.map} +0 -0
  927. /package/dist/{summaryInput-DHIMU5DM.js.map → summaryInput-DGKUOJVC.js.map} +0 -0
  928. /package/dist/{sunburst-ULNPFEAM.js.map → sunburst-C5JNGFT7.js.map} +0 -0
  929. /package/dist/{survival-CU4N5KZO.js.map → survival-GCEX3EAZ.js.map} +0 -0
  930. /package/dist/{survival-KWWH6REE.js.map → survival-OAQA5JQN.js.map} +0 -0
  931. /package/dist/{survival.integration.spec-UW6SYVLP.js.map → survival.integration.spec-ZX5RD6VQ.js.map} +0 -0
  932. /package/dist/{svgraph-HFI6NNF3.js.map → svgraph-XCFZ2WAG.js.map} +0 -0
  933. /package/dist/{svmr-VHS7Z4SO.js.map → svmr-4XTTURHA.js.map} +0 -0
  934. /package/dist/{table-GJUXHKQI.js.map → table-FQZ4UAH6.js.map} +0 -0
  935. /package/dist/{termCollection-CCZ4BFIU.js.map → termCollection-5QCR6LED.js.map} +0 -0
  936. /package/dist/{termCollection-O5CQ472U.js.map → termCollection-DN6A6HJU.js.map} +0 -0
  937. /package/dist/{termCollection.unit.spec-KR5G6JFU.js.map → termCollection.unit.spec-RSSSXDHU.js.map} +0 -0
  938. /package/dist/{termCollectionFractionSelection-IKU5MFBT.js.map → termCollectionFractionSelection-OSN7FITY.js.map} +0 -0
  939. /package/dist/{termCollectionFractionSelection.unit.spec-6ZWHNGES.js.map → termCollectionFractionSelection.unit.spec-UW6D3DVK.js.map} +0 -0
  940. /package/dist/{tk-3DLMAFW7.js.map → tk-4CZCVYBP.js.map} +0 -0
  941. /package/dist/{tk-CAYWF7LX.js.map → tk-BIPJNXBZ.js.map} +0 -0
  942. /package/dist/{tp.ui-NF5ZYOHW.js.map → tp.ui-NI4U7567.js.map} +0 -0
  943. /package/dist/{tvs.density-V6ZXSFGF.js.map → tvs.density-CB24PXDE.js.map} +0 -0
  944. /package/dist/{tvs.dt-43A4SSLG.js.map → tvs.dt-YRDNDXUU.js.map} +0 -0
  945. /package/dist/{tvs.dtcnv.categorical-DYXHUNP2.js.map → tvs.dtcnv.categorical-REP4T33P.js.map} +0 -0
  946. /package/dist/{tvs.dtcnv.continuous-NOKNP4UG.js.map → tvs.dtcnv.continuous-K7OREEP5.js.map} +0 -0
  947. /package/dist/{tvs.dtfusion-4NAOCC2X.js.map → tvs.dtfusion-AB5MPH3Q.js.map} +0 -0
  948. /package/dist/{tvs.dtitd-SZC6EITI.js.map → tvs.dtitd-AFWU7ACY.js.map} +0 -0
  949. /package/dist/{tvs.dtsnvindel-EYSBCNQK.js.map → tvs.dtsnvindel-G7XQEKEO.js.map} +0 -0
  950. /package/dist/{tvs.dtsv-VSPWIIFO.js.map → tvs.dtsv-Y6BEY4J2.js.map} +0 -0
  951. /package/dist/{tvs.numeric-M5LH3PRH.js.map → tvs.numeric-GF4XF5OF.js.map} +0 -0
  952. /package/dist/{tvs.samplelst-3YQ4GKNG.js.map → tvs.samplelst-XRRWPC2E.js.map} +0 -0
  953. /package/dist/{vocabulary-HCPEIO2P.js.map → vocabulary-DJZWOO6Q.js.map} +0 -0
  954. /package/dist/{wsi.direct-K2J6GGWY.js.map → wsi.direct-XUWANMKV.js.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../plots/sc/model/SCModel.ts", "../plots/sc/viewModel/SCViewModel.ts", "../plots/sc/interactions/SCInteractions.ts", "../plots/sc/view/SampleTableRenderer.ts", "../plots/sc/view/PlotButtons.ts", "../plots/sc/view/SectionRenderer.ts", "../plots/sc/settings/Settings.ts", "../plots/sc/view/SCViewRenderer.ts", "../plots/sc/settings/defaults.ts", "../plots/sc/subplots/DynamicSubplot.ts", "../plots/sc/subplots/SubplotManager.ts", "../plots/sc/SC.ts"],
4
+ "sourcesContent": ["import type { AppApi } from '#rx'\nimport type { SCFormattedState } from '../SCTypes'\nimport { dofetch3 } from '#common/dofetch'\nimport type { SCViewer } from '../SC'\nimport { getNormalRoot } from '#filter/filter.utils'\n\n/** Fetches data for sc app */\nexport class SCModel {\n\tsc: SCViewer\n\tapp: AppApi\n\tid?: string\n\tstate: SCFormattedState\n\n\tconstructor(sc: SCViewer) {\n\t\tthis.sc = sc\n\t\tthis.app = sc.app\n\t\tthis.id = sc.id\n\t\tthis.state = sc.app.getState()\n\t}\n\n\t/********** All Single Cell SAMPLES for rendering the sample table ******** */\n\tasync getAllSampleData(state) {\n\t\tconst body = {\n\t\t\tgenome: state.vocab.genome,\n\t\t\tdslabel: state.vocab.dslabel,\n\t\t\tfilter: getNormalRoot(state.termfilter.filter),\n\t\t\tfilter0: state.termfilter.filter0\n\t\t}\n\t\treturn await dofetch3('termdb/singlecellSamples', { body, signal: this.sc.api?.getAbortSignal() })\n\t}\n\n\t//Fetches optional name for ds defined columns\n\tasync getColumnLabels(dsScSamples: { [key: string]: any }) {\n\t\tif (!dsScSamples || !dsScSamples.sampleColumns) return\n\t\tconst colsCopy = structuredClone(dsScSamples.sampleColumns)\n\t\tfor (const col of colsCopy) {\n\t\t\tlet label = col.termid\n\t\t\ttry {\n\t\t\t\tlabel = (await this.app.vocabApi.getterm(col.termid)).name\n\t\t\t} catch (e: any) {\n\t\t\t\tif (e.message) {\n\t\t\t\t\t//Ignore. if statement to prevent tsc error.\n\t\t\t\t}\n\t\t\t\t/** Ignore errors and use the termid as the column header.\n\t\t\t\t * this is due to practical constrain that gdc needs to supply\n\t\t\t\t * analysis.workflow_type as 'Library', but this is not a term\n\t\t\t\t * in gdc dictionary */\n\t\t\t}\n\t\t\tcol.label = label\n\t\t}\n\t\treturn colsCopy\n\t}\n\n\t/********** Single Cell DATA for rendering plots ********\n\t * This is for the plot buttons. Returns an array plots with found files or\n\t * available data. */\n\tasync getSampleData() {\n\t\tconst body = this.getDataRequestOpts()\n\t\tif (!body) return\n\t\treturn await dofetch3('termdb/singlecellData', { body, signal: this.sc.api?.getAbortSignal() })\n\t}\n\n\t/** May provide active plots to the request and return plot data when\n\t * checkPlotAvailability is false. When checkPlotAvailability is true,\n\t * only returns which plots are available but not the actual data. */\n\tgetDataRequestOpts(_plots: any[] = [], checkPlotAvailability = true) {\n\t\tconst state = this.app.getState()\n\t\tconst singleCellTermdbConfig = state.termdbConfig?.queries?.singleCell\n\t\tif (!singleCellTermdbConfig?.data) throw new Error('No singleCell.data defined in termdbConfig.queries')\n\n\t\tconst config = state.plots.find((p: any) => p.id === this.id)\n\t\tif (!config.settings.sc.item) return\n\n\t\tconst plots = _plots?.length ? _plots : singleCellTermdbConfig.data.plots.map(p => p.name)\n\n\t\treturn {\n\t\t\tgenome: this.state.vocab.genome,\n\t\t\tdslabel: this.state.vocab.dslabel,\n\t\t\t// if true, only return available plot names, but not actual plot data\n\t\t\tcheckPlotAvailability,\n\t\t\tplots,\n\t\t\tsample: {\n\t\t\t\teID: config.settings.sc.item.eID,\n\t\t\t\tsID: config.settings.sc.item.sID\n\t\t\t}\n\t\t}\n\t}\n\n\t/** whether a sample has a spatial image (with the consolidated h5ad the\n\t spatial subplot needs), keyed by sID. Successful probes are cached;\n\t failures return false for the current render and may be retried. */\n\tsampleHasSpatial: { [sID: string]: boolean } = {}\n\tasync hasSpatialImage(sID: string): Promise<boolean> {\n\t\tif (!(sID in this.sampleHasSpatial)) {\n\t\t\t// only probe datasets that can have spatial images: termdbConfig\n\t\t\t// carries a presence-only queries.w2 marker when ds.queries.w2\n\t\t\t// exists (termdb.config.ts). Without it the wsiBySample route can\n\t\t\t// only 500, so skip the request entirely. (Deliberately not the\n\t\t\t// supportedChartTypes 'wsi' flag \u2014 that reflects the chart MENU,\n\t\t\t// which allowlist datasets like mmrf hide while still serving\n\t\t\t// spatial images per sample.)\n\t\t\tif (!this.state.termdbConfig?.queries?.w2) return false\n\t\t\tlet r: any\n\t\t\ttry {\n\t\t\t\tr = await dofetch3('termdb/wsiBySample', {\n\t\t\t\t\t// imageType: only the spatial root is enumerated for the probe\n\t\t\t\t\tbody: {\n\t\t\t\t\t\tgenome: this.state.vocab.genome,\n\t\t\t\t\t\tdslabel: this.state.vocab.dslabel,\n\t\t\t\t\t\tsample_id: sID,\n\t\t\t\t\t\timageType: 'spatial'\n\t\t\t\t\t},\n\t\t\t\t\tsignal: this.sc.api?.getAbortSignal()\n\t\t\t\t})\n\t\t\t} catch (e: any) {\n\t\t\t\t// a superseding dispatch aborts in-flight requests: rethrow so\n\t\t\t\t// rx's stale-render handling stops this render, instead of it\n\t\t\t\t// continuing with a made-up false\n\t\t\t\tif (this.app.vocabApi?.isAbortError?.(e)) throw e\n\t\t\t\treturn false // network failure: false for this render, retried next\n\t\t\t}\n\t\t\t// dofetch3 resolves server error payloads without rejecting: treat\n\t\t\t// them like a thrown failure \u2014 false now, uncached so a later\n\t\t\t// render can retry \u2014 never as proof the sample has no image\n\t\t\tif (r?.error) return false\n\t\t\tthis.sampleHasSpatial[sID] = !!(r?.images || []).some((i: any) => i.type == 'spatial' && i.spatialData)\n\t\t}\n\t\treturn this.sampleHasSpatial[sID]\n\t}\n\n\t/** Essentially for the GDC. Maybe applied to other ds in the future. */\n\tasync getCategories(_plots: any[]): Promise<string[] | undefined> {\n\t\tconst body = this.getDataRequestOpts(_plots, false)\n\t\tif (!body) return\n\n\t\tlet res\n\t\ttry {\n\t\t\tres = await dofetch3('termdb/singlecellData', { body, signal: this.sc.api?.getAbortSignal() })\n\t\t} catch (e: any) {\n\t\t\tif (e instanceof Error) console.error(`${e.message || e}`)\n\t\t}\n\n\t\treturn this.formatCategories(res)\n\t}\n\n\tformatCategories(res: any): string[] {\n\t\tconst plot = structuredClone(res.plots[0])\n\n\t\tplot.cells = [...plot.noExpCells, ...plot.expCells]\n\t\tconst clusters: Set<string> = new Set(plot.cells.map(c => c.category))\n\n\t\t/** Clean up list into an descending array */\n\t\tconst sortedClusters: string[] = Array.from(clusters).sort((a: any, b: any) => {\n\t\t\tconst num1 = parseInt(a.split(' ')[1])\n\t\t\tconst num2 = parseInt(b.split(' ')[1])\n\t\t\treturn num1 - num2\n\t\t})\n\t\treturn sortedClusters\n\t}\n}\n", "import type { AppApi } from '#rx'\nimport type { TableColumn, TableRow } from '#dom'\nimport type { SCConfig, SCFormattedState, SampleColumn, SCTableData } from '../SCTypes'\nimport type { SingleCellSample } from '#types'\n\nexport class SCViewModel {\n\tapp: AppApi\n\tstate: SCFormattedState\n\ttableData!: SCTableData\n\tsampleColumns: SampleColumn[]\n\tmetaResultIds: Set<string>\n\n\tconstructor(app: AppApi, sampleColumns?: SampleColumn[]) {\n\t\tthis.app = app\n\t\tthis.state = this.app.getState()\n\t\tthis.sampleColumns = sampleColumns || []\n\t\tthis.metaResultIds = new Set()\n\t}\n\n\tprocessData(config: SCConfig, _items: SingleCellSample[]) {\n\t\t//Sort meta analysis results to show at the beginning of the table.\n\t\t//Prevents breaking the logic for selected rows after formating the table data.\n\t\tconst items = _items.sort((a, b) => (b.isMetaResult === a.isMetaResult ? 0 : b.isMetaResult ? 1 : -1))\n\n\t\tconst [rows, columns, sampleColIdx] = this.getTabelData(config, items, this.sampleColumns)\n\t\tconst selectedRows: number[] = []\n\t\tconst sID = config.settings.sc.item?.sID\n\t\tconst i = sID\n\t\t\t? items.findIndex(item => item.sample === sID || item.experiments?.some(e => e.sampleName === sID))\n\t\t\t: -1\n\t\tif (i != -1) selectedRows.push(i)\n\n\t\t/** Returning this data separately from the eventual\n\t\t * viewData because it's static. */\n\t\tthis.tableData = {\n\t\t\trows: rows as any,\n\t\t\tcolumns: columns as any,\n\t\t\tselectedRows,\n\t\t\tsampleColIdx\n\t\t}\n\t}\n\n\t/** Shape the selected sample's plot data for the plot buttons view:\n\t * the server's plots plus flags the view only reads (hasSpatial shows\n\t * the Spatial button). */\n\tformatPlotsData(sampleData: any, hasSpatial: boolean) {\n\t\treturn { ...sampleData, hasSpatial }\n\t}\n\n\tgetTabelData(\n\t\tplotConfig: SCConfig,\n\t\titems: SingleCellSample[],\n\t\tsampleColumns?: SampleColumn[]\n\t): [TableRow[], TableColumn[], number] {\n\t\tconst rows: TableRow[] = []\n\t\tconst hasExperiments = items.some(i => i.experiments)\n\t\tlet sampleColIdx = -1\n\n\t\t/** First column may either be a list of samples or mix of samples, meta, and/or pseudobulk.\n\t\t * Only use 'Sample' or config setting if everything is a sample. */\n\t\tlet firstColLabel = plotConfig.settings.sc.columns.sample\n\t\tif (items[0]?.isMetaResult) firstColLabel = ''\n\t\tconst columns: TableColumn[] = [{ label: firstColLabel, sortable: true }]\n\t\tif (hasExperiments) {\n\t\t\tcolumns.push({ label: 'Sample', sortable: true }) //add after the case column\n\t\t\tsampleColIdx = 1\n\t\t} else sampleColIdx = 0\n\t\tcolumns.push({ label: 'Shown plots' }) //Empty column for plot buttons\n\n\t\t// add in optional sample columns\n\t\tfor (const col of sampleColumns || []) {\n\t\t\tcolumns.push({\n\t\t\t\tlabel: col.label,\n\t\t\t\twidth: '14vw',\n\t\t\t\tsortable: true\n\t\t\t})\n\t\t}\n\n\t\t// if samples are using experiments, add the hardcoded experiment column at the end\n\t\tif (hasExperiments) columns.push({ label: 'Experiment', sortable: true }) // corresponds to this.samples[].experiments[].experimentID\n\n\t\tfor (const item of items) {\n\t\t\tif (item.isMetaResult) this.metaResultIds.add(item.sample)\n\t\t\tif (hasExperiments)\n\t\t\t\t//GDC\n\t\t\t\tfor (const exp of item.experiments!) {\n\t\t\t\t\t// first cell is always sample name. sneak in experiment object to be accessed in click callback\n\t\t\t\t\t//TODO: Consider removing the experimentID as it is no longer needed.\n\t\t\t\t\tconst row: { [index: string]: any }[] = [{ value: item.sample, __experimentID: exp.experimentID }]\n\t\t\t\t\t// hardcode to expect exp.sampleName and add this as a column\n\t\t\t\t\trow.push({ value: exp.sampleName })\n\t\t\t\t\trow.push({ value: '' }) //Empty cell for shown plot buttons\n\t\t\t\t\t// optional sample and experiment columns\n\t\t\t\t\tfor (const col of sampleColumns || []) {\n\t\t\t\t\t\trow.push({ value: item[col.termid] })\n\t\t\t\t\t}\n\n\t\t\t\t\t// hardcode to always add in experiment id column. link out only if the ds declares a\n\t\t\t\t\t// url template for it (as singleCellPlot.js does)\n\t\t\t\t\tconst urlTemp = this.state.termdbConfig?.urlTemplates?.scrnaExperimentId\n\t\t\t\t\tif (urlTemp) row.push({ value: exp.experimentID, url: `${urlTemp.base}${exp.experimentID}` })\n\t\t\t\t\telse row.push({ value: exp.experimentID })\n\t\t\t\t\trows.push(row)\n\t\t\t\t}\n\t\t\telse {\n\t\t\t\t// sample does not use experiment\n\t\t\t\t// first cell is sample name\n\t\t\t\tconst row: { [index: string]: any }[] = item.isMetaResult\n\t\t\t\t\t? [{ html: item.sample.replace(/_/g, ' '), value: item.sample, elemId: 'isMetaResult' }]\n\t\t\t\t\t: [{ value: item.sample }]\n\t\t\t\t//Empty cell for shown plot buttons\n\t\t\t\trow.push({ value: '' })\n\t\t\t\t// optional sample columns\n\t\t\t\tfor (const col of sampleColumns || []) {\n\t\t\t\t\tconst value = item[col.termid]\n\t\t\t\t\tif (value == null && item.isMetaResult) row.push({ value: 'All' })\n\t\t\t\t\telse row.push({ value: item[col.termid] })\n\t\t\t\t}\n\t\t\t\trows.push(row)\n\t\t\t}\n\t\t}\n\t\treturn [rows, columns, sampleColIdx]\n\t}\n}\n", "import type { AppApi } from '#rx'\nimport type { SCModel } from '../model/SCModel.ts'\nimport type { SCViewer } from '../SC.ts'\nimport type { SCViewModel } from '../viewModel/SCViewModel.ts'\n\n/** Handles the interactivity from the view */\nexport class SCInteractions {\n\tapp: AppApi\n\tid: string\n\tmodel: SCModel\n\tviewModel: SCViewModel\n\n\tconstructor(sc: SCViewer) {\n\t\tthis.app = sc.app\n\t\tthis.id = sc.id\n\t\tthis.model = sc.model\n\t\tthis.viewModel = sc.viewModel\n\t}\n\n\t/** Add the plot to the state.plots array with .parentId. Adding\n\t * .parentId prevents the plot from launching in a new sandbox outside SC.\n\t * Pass the .parentId to both the plotConfig and the action.\n\t * this.getState() in SC.ts will find all the subplots with the parentId==this.id\n\t * SC.main() initializes the subplots as components in chartsDiv */\n\tasync createSubplot(config) {\n\t\tconst c = Object.assign({}, config, { parentId: this.id })\n\t\tawait this.app.dispatch({\n\t\t\ttype: 'plot_create',\n\t\t\tparentId: this.id,\n\t\t\tconfig: c\n\t\t})\n\t}\n\n\t/** Updates the selected item in the plot settings */\n\tasync updateItem(item) {\n\t\titem.isMetaResult = this.viewModel.metaResultIds.has(item.sID)\n\t\tawait this.app.dispatch({\n\t\t\ttype: 'plot_edit',\n\t\t\tid: this.id,\n\t\t\tconfig: { settings: { sc: { item } } }\n\t\t})\n\t}\n\n\tasync getDropDownOptions(plot): Promise<string[] | undefined> {\n\t\treturn this.model.getCategories(plot)\n\t}\n}\n", "import type { SCDom, SCSampleSandbox, SCTableData } from '../SCTypes'\nimport type { TableCell } from '#dom'\nimport { renderTable } from '#dom'\nimport type { SCInteractions } from '../interactions/SCInteractions'\n\n/** Renders the sample table for selection on SC app init()\n * On selecting a sample, the plot buttons will appear and\n * the user can select a plot to render in the dashboard. */\nexport class SampleTableRenderer {\n\tdom: SCDom\n\tinteractions: SCInteractions\n\ttableData: SCTableData\n\tactiveSandboxes: Map<string, SCSampleSandbox[]> = new Map()\n\t/** Tracks rendered btns per sample to avoid unnecessary destroy/recreate pattern. */\n\trendered: Map<string, { cell: any; plotIds: string }> = new Map()\n\n\tconstructor(dom: SCDom, interactions: SCInteractions, tableData: SCTableData) {\n\t\tthis.dom = dom\n\t\tthis.interactions = interactions\n\t\tthis.tableData = tableData\n\t\tthis.renderSamplesTable(tableData)\n\t}\n\n\t/** Users select one item at a time to render the plot buttons\n\t * to init() plots in the dashboard.*/\n\trenderSamplesTable(tableData: SCTableData) {\n\t\tthis.dom.tableDiv.selectAll('*').remove()\n\n\t\trenderTable({\n\t\t\trows: tableData.rows,\n\t\t\tcolumns: tableData.columns,\n\t\t\tdiv: this.dom.tableDiv,\n\t\t\tsingleMode: true,\n\t\t\t// maxWidth: tableData.columns.length > 3 ? '95vw' : 'auto',\n\t\t\tmaxHeight: '30vh',\n\t\t\theader: {\n\t\t\t\tallowSort: true,\n\t\t\t\tstyle: { 'text-transform': 'capitalize' }\n\t\t\t},\n\t\t\tstriped: true,\n\t\t\tselectedRows: tableData.selectedRows,\n\t\t\tafterRender: () => {\n\t\t\t\tthis.reapplyAllPlotButtons()\n\t\t\t},\n\t\t\tnoButtonCallback: index => {\n\t\t\t\tconst item = this.buildItemFromRow(tableData, index)\n\t\t\t\tthis.interactions.updateItem(item)\n\t\t\t\tthis.dom.plotsBtnsDiv.style('display', 'block')\n\t\t\t}\n\t\t})\n\t}\n\n\t/** Builds an item object from a table row, mapping column labels to keys.\n\t * Converts 'sample' -> 'sID' and 'experiment' -> 'eID'.\n\t * Extracted out from noButtonCallback for testing. */\n\tbuildItemFromRow(tableData: SCTableData, index: number) {\n\t\tconst item = {} as { sID: string; eID: string; [key: string]: any }\n\t\ttableData.rows[index].forEach((r: TableCell, idx: number) => {\n\t\t\tif (!r.value) return\n\t\t\tlet key = tableData.columns[idx].label.toLowerCase()\n\t\t\t/** Convert the column labels into the required sample structure keys.\n\t\t\t * Maintains the sample obj used throughout the app whilst allowing for\n\t\t\t * dynamic column labels based on the config. */\n\t\t\tkey = key === 'sample' || key === '' ? 'sID' : key === 'experiment' ? 'eID' : key\n\t\t\titem[key] = r.value\n\t\t})\n\t\tif (!item.sID) throw new Error('Selected item must have sID property')\n\t\treturn item\n\t}\n\n\tupdateTable(tableData: SCTableData) {\n\t\tthis.tableData = tableData\n\t\tthis.dom.tableDiv.selectAll('*').remove()\n\t\tthis.renderSamplesTable(tableData)\n\t}\n\n\tupdatePlotBtns(activeSandboxes: Map<string, SCSampleSandbox[]>) {\n\t\tthis.activeSandboxes = activeSandboxes\n\t\tthis.reapplyAllPlotButtons()\n\t}\n\n\t/** Called by afterRender to re-apply buttons for all samples with subplots.\n\t * Also called in updateTable when the active sandboxes (i.e. subplots) change.*/\n\treapplyAllPlotButtons() {\n\t\t/** Check btns still apply to active sandboxes. If not delete\n\t\t * from table and tracker. */\n\t\tfor (const sampleId of this.rendered.keys()) {\n\t\t\tif (!this.activeSandboxes.has(sampleId)) {\n\t\t\t\tthis.deleteBtns(sampleId)\n\t\t\t}\n\t\t}\n\t\tfor (const sampleId of this.activeSandboxes.keys()) {\n\t\t\tthis.applyButtonsForSample(sampleId)\n\t\t}\n\t}\n\n\tdeleteBtns(sampleId: string) {\n\t\tconst cached = this.rendered.get(sampleId)\n\t\tif (cached) {\n\t\t\tcached.cell.selectAll('.sjpp-sc-table-plot-btn').remove()\n\t\t\tthis.rendered.delete(sampleId)\n\t\t}\n\t}\n\n\t/** Applies buttons for a single sample. Skips DOM work if cell and plots are unchanged. */\n\tapplyButtonsForSample(sampleId: string) {\n\t\tconst sampleIdx = this.tableData.sampleColIdx\n\n\t\t/** Rows array mutates on sort. Find the row by matching sampleId.*/\n\t\tconst row = this.tableData.rows.find(r => r[sampleIdx].value === sampleId)\n\t\tif (!row) return\n\n\t\tconst cell = row[sampleIdx + 1].__td\n\t\tconst sampleSandboxes = this.activeSandboxes.get(sampleId)\n\t\tif (!sampleSandboxes || sampleSandboxes.length === 0) return\n\n\t\tconst plotIds = sampleSandboxes.map(s => s.plotId).join(',')\n\t\tconst cached = this.rendered.get(sampleId)\n\t\t/** Guard against rerendering btns */\n\t\tif (cached && cached.cell === cell && cached.plotIds === plotIds) return\n\n\t\tcell.selectAll('.sjpp-sc-table-plot-btn').remove()\n\t\tthis.rendered.set(sampleId, { cell, plotIds })\n\t\tfor (const { div, plotName } of sampleSandboxes) {\n\t\t\tthis.appendPlotBtn(cell, div, plotName, sampleId)\n\t\t}\n\t}\n\n\tappendPlotBtn(cell: any, sandboxDiv: any, plotName: string, sampleId: string) {\n\t\tconst text = plotName.length > 25 ? plotName.slice(0, 12) + '...' : plotName\n\t\tconst label = `Scroll to ${plotName}`\n\t\tcell\n\t\t\t.append('button')\n\t\t\t.attr('class', 'sjpp-sc-table-plot-btn')\n\t\t\t.attr('data-testid', `sjpp-sc-table-${sampleId}-${plotName}-btn`)\n\t\t\t.style('padding', '2px 5px')\n\t\t\t.style('margin-left', '4px')\n\t\t\t.style('font-size', '0.8em')\n\t\t\t.style('border-radius', '20px')\n\t\t\t.style('border', '0.5px solid black')\n\t\t\t.style('cursor', 'pointer')\n\t\t\t.text(text)\n\t\t\t.attr('aria-label', label)\n\t\t\t.attr('title', label)\n\t\t\t.attr('tabindex', 0)\n\t\t\t.on('click', () => {\n\t\t\t\tsandboxDiv.node().scrollIntoView({ behavior: 'smooth', block: 'start' })\n\t\t\t})\n\t}\n}\n", "import type { Div, Elem } from '../../../types/d3'\nimport type { SCInteractions } from '../interactions/SCInteractions'\nimport { Menu } from '#dom'\nimport { digestMessage } from '#termsetting'\nimport { TermTypeGroups } from '#shared/terms.js'\nimport { SINGLECELL_CELLTYPE, SINGLECELL_GENE_EXPRESSION } from '#types'\nimport type { SCSample } from '../SCTypes'\nimport type { Settings } from '../settings/Settings'\n\n/** Rendering for the plot buttons that appear below the item\n * table. Plot buttons are rendered based on the available plots\n * for the selected sample, and the config defined in\n * termdbConfig.queries.singleCell.data.plots. Each plot config\n * in termdbConfig should define a name that matches the plot\n * names returned from the server, and can optionally define\n * colorColumns which will be used to apply color to the plot\n * if those columns are present in the data.\n *\n * Notes:\n * - The hierarchical clustering limits to the first 100 genes.\n * */\nexport class PlotButtons {\n\tplotBtnsDom: {\n\t\tholder: Div\n\t\tpromptDiv: Div\n\t\tselectPrompt: Elem\n\t\tbtnsDiv: Div\n\t\ttip: Menu\n\t}\n\tdata?: any\n\titem?: SCSample\n\tinteractions: SCInteractions\n\tscTermdbConfig: any\n\tsettings!: Settings\n\t/** Single cell cell type terms defined in the ds file and saved in the termdbConfig */\n\tscctTerms?: any[]\n\t/** Single cell numeric value terms defined in the ds file and saved in the termdbConfig */\n\tscnvTerms?: any[]\n\tavailablePlots!: Set<string>\n\n\t/** scctTerms and the scTermdbConfig are created on server init and will not change. */\n\tconstructor(interactions: SCInteractions, holder: Div, termdbConfig) {\n\t\tholder.style('padding', '10px')\n\t\tconst promptDiv = holder.append('div').style('padding', '10px 0').text('Select data from')\n\t\tthis.plotBtnsDom = {\n\t\t\tholder,\n\t\t\tpromptDiv,\n\t\t\tselectPrompt: promptDiv.append('span'),\n\t\t\tbtnsDiv: holder.append('div'),\n\t\t\ttip: new Menu({ padding: '' })\n\t\t}\n\t\tthis.interactions = interactions\n\t\tthis.scctTerms = termdbConfig?.termType2terms?.[TermTypeGroups.SINGLECELL_CELLTYPE]\n\t\tthis.scnvTerms = termdbConfig?.termType2terms?.[TermTypeGroups.SINGLECELL_NUMERIC_VALUE]\n\t\tthis.scTermdbConfig = termdbConfig.queries.singleCell\n\t}\n\n\tupdate(settings: Settings, data) {\n\t\t/** If the user has not selected a item yet but clicks\n\t\t * the select item/plots btn above the table, the prompt appears\n\t\t * unnecessarily */\n\t\tconst item = settings.sc.item\n\t\tthis.plotBtnsDom.holder.style('display', !item ? 'none' : 'block')\n\t\tif (!item) return\n\t\tif (data != null && data.plots) this.data = data\n\t\t//Show buttons for plots with found data files (see note above).\n\t\tthis.availablePlots = new Set(this.data?.plots?.map((p: any) => p.name))\n\t\tthis.settings = settings\n\t\tthis.item = item\n\t\tconst name = item.sID\n\t\tthis.plotBtnsDom.selectPrompt.text(` ${name}:`)\n\t\tthis.renderChartBtns()\n\t}\n\n\trenderChartBtns() {\n\t\tthis.plotBtnsDom.btnsDiv.selectAll('*').remove()\n\t\t/** TODO: May eventually get rid of this an used support chart types already \n\t\t * defined in the termdbConfig when more data available. In the interim, \n\t\t * the summary plot in particular maybe hidden if no cell type \n\t\t * annotations are available. */\n\t\tconst disabledPlots = this.scTermdbConfig?.scApp?.disabledPlots || []\n\t\tconst btns = this.getChartBtnOpts().filter(b => !disabledPlots.includes(b.chartType)).filter(b => b.isVisible())\n\n\t\tthis.plotBtnsDom.btnsDiv\n\t\t\t.selectAll('button')\n\t\t\t.data(btns)\n\t\t\t.enter()\n\t\t\t.append('button')\n\t\t\t.attr('type', 'button')\n\t\t\t.attr('data-testid', b => `sjpp-sc-plot-btn-${b.label.toLowerCase().replace(/\\s/g, '-')}`)\n\t\t\t.style('padding', '10px 15px')\n\t\t\t.style('border-radius', '20px')\n\t\t\t.style('border-color', 'transparent')\n\t\t\t.style('background-color', '#CFE2F3')\n\t\t\t.style('margin', '0 10px')\n\t\t\t.style('cursor', 'pointer')\n\t\t\t.text(b => b.label)\n\t\t\t.on('click', async (e, plot) => {\n\t\t\t\tif (plot.open) {\n\t\t\t\t\tthis.plotBtnsDom.tip.clear().showunder(e.target)\n\t\t\t\t\tplot.open(plot, this)\n\t\t\t\t} else {\n\t\t\t\t\tif (!plot.getPlotConfig)\n\t\t\t\t\t\tthrow new Error(`No getPlotConfig function defined for this plot button = ${plot.label}`)\n\t\t\t\t\tconst config = await plot.getPlotConfig()\n\t\t\t\t\tawait this.interactions.createSubplot(config)\n\t\t\t\t}\n\t\t\t})\n\t}\n\n\tgetChartBtnOpts() {\n\t\tconst btns: {\n\t\t\tlabel: string\n\t\t\tchartType: string\n\t\t\tisVisible: () => boolean\n\t\t\topen?: (plot: any, self: PlotButtons) => void\n\t\t\tgetPlotConfig?: (f?: any) => any\n\t\t}[] = []\n\n\t\tfor (const plot of this.scTermdbConfig?.data?.plots || []) {\n\t\t\tif (!this.availablePlots.has(plot.name)) continue\n\t\t\tbtns.push({\n\t\t\t\tlabel: plot.name,\n\t\t\t\tchartType: 'sampleScatter',\n\t\t\t\tisVisible: () => true,\n\t\t\t\tgetPlotConfig: async () => {\n\t\t\t\t\treturn await this.getSingleCellConfig(plot.name)\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\t\tbtns.push(\n\t\t\t{\n\t\t\t\tlabel: 'Summary',\n\t\t\t\tchartType: 'dictionary',\n\t\t\t\t/** Note: if only spatial image available, this plot should not show. */\n\t\t\t\tisVisible: () => this.availablePlots.has('dictionary'),\n\t\t\t\tgetPlotConfig: () => {\n\t\t\t\t\tconst sample = { ...this.item!, plots: Array.from(this.availablePlots) }\n\t\t\t\t\tconst isMeta = sample?.isMetaResult || false\n\t\t\t\t\treturn {\n\t\t\t\t\t\tchartType: 'dictionary',\n\t\t\t\t\t\tsample,\n\t\t\t\t\t\tspawnConfig: {\n\t\t\t\t\t\t\tparentId: this.interactions.id,\n\t\t\t\t\t\t\theaderText: this.makeHeaderText(sample, isMeta),\n\t\t\t\t\t\t\thidePlotFilter: !isMeta,\n\t\t\t\t\t\t\tsample\n\t\t\t\t\t\t},\n\t\t\t\t\t\ttree: {\n\t\t\t\t\t\t\tusecase: {\n\t\t\t\t\t\t\t\ttarget: 'dictionary',\n\t\t\t\t\t\t\t\tspecialCase: {\n\t\t\t\t\t\t\t\t\ttype: 'singleCell',\n\t\t\t\t\t\t\t\t\tconfig: { sample }\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: 'Gene expression',\n\t\t\t\tchartType: 'GeneExpInput',\n\t\t\t\tisVisible: () => this.scTermdbConfig?.geneExpression && this.availablePlots.has(this.scTermdbConfig.geneExpression?.label || 'Gene expression'),\n\t\t\t\tgetPlotConfig: () => {\n\t\t\t\t\tconst sample = this.item!\n\t\t\t\t\tconst isMeta = sample?.isMetaResult || false\n\t\t\t\t\tconst headerText = this.makeHeaderText(sample, isMeta)\n\n\t\t\t\t\treturn {\n\t\t\t\t\t\tchartType: 'GeneExpInput',\n\t\t\t\t\t\ttermType: SINGLECELL_GENE_EXPRESSION,\n\t\t\t\t\t\theaderText,\n\t\t\t\t\t\ttermProperties: { sample },\n\t\t\t\t\t\tparentId: this.interactions.id,\n\t\t\t\t\t\tsample,\n\t\t\t\t\t\tspawnConfig: {\n\t\t\t\t\t\t\tparentId: this.interactions.id,\n\t\t\t\t\t\t\theaderText,\n\t\t\t\t\t\t\thidePlotFilter: !isMeta,\n\t\t\t\t\t\t\t/** Must pass this to summary config in the event a continuous\n\t\t\t\t\t\t\t * overlay is applied, launching the scatter plot. Without it,\n\t\t\t\t\t\t\t * the single cell model is not used. */\n\t\t\t\t\t\t\tsingleCellPlot: {\n\t\t\t\t\t\t\t\tname: [...this.availablePlots][0],\n\t\t\t\t\t\t\t\tsample\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: 'Differential expression',\n\t\t\t\tchartType: 'DA',\n\t\t\t\tisVisible: () => this.scTermdbConfig?.DEgenes,\n\t\t\t\topen: this.termDropdownMenu,\n\t\t\t\tgetPlotConfig: value => {\n\t\t\t\t\tconst isMeta = this.item?.isMetaResult || false\n\t\t\t\t\treturn {\n\t\t\t\t\t\tchartType: 'differentialAnalysis',\n\t\t\t\t\t\ttermType: SINGLECELL_CELLTYPE,\n\t\t\t\t\t\tcategoryName: `${value}`,\n\t\t\t\t\t\theaderText: `${isMeta ? '' : 'Sample: '}${this.item!.sID}, ${this.scTermdbConfig.DEgenes.termId} ${value}`,\n\t\t\t\t\t\ttermId: this.scTermdbConfig.DEgenes.termId,\n\t\t\t\t\t\tsample: this.item!,\n\t\t\t\t\t\tplotName: 'Differential expression'\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tlabel: this.scTermdbConfig?.images?.label || 'Image',\n\t\t\t\tchartType: 'imagePlot',\n\t\t\t\tisVisible: () =>\n\t\t\t\t\tthis.scTermdbConfig?.images && this.availablePlots.has(this.scTermdbConfig.images.label || 'Image'),\n\t\t\t\tgetPlotConfig: () => {\n\t\t\t\t\tconst isMeta = this.item?.isMetaResult || false\n\t\t\t\t\treturn {\n\t\t\t\t\t\tchartType: 'imagePlot',\n\t\t\t\t\t\tsample: this.item!,\n\t\t\t\t\t\timgDir: this.scTermdbConfig?.images,\n\t\t\t\t\t\theaderText: this.makeHeaderText(this.item!, isMeta),\n\t\t\t\t\t\tsettings: { imagePlot: { width: '', height: 400 } }\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\t// spatial tissue viewer for samples with a spatial image (the model's\n\t\t\t\t// wsiBySample probe sets data.hasSpatial); spawns the w2 wsi plot in\n\t\t\t\t// fixed-sample mode, which has its own burger menu for the overlays\n\t\t\t\tlabel: 'Spatial',\n\t\t\t\tchartType: 'wsi',\n\t\t\t\tisVisible: () => !!this.data?.hasSpatial,\n\t\t\t\tgetPlotConfig: () => {\n\t\t\t\t\tconst sample = this.item!\n\t\t\t\t\treturn {\n\t\t\t\t\t\tchartType: 'wsi',\n\t\t\t\t\t\tname: `Sample: ${sample.sID} Spatial`,\n\t\t\t\t\t\tsample,\n\t\t\t\t\t\tplotName: 'Spatial'\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t)\n\t\treturn btns\n\t}\n\n\tmakeHeaderText(sample: any, isMeta: boolean, plot?: string) {\n\t\t/** Case and project are GDC specific */\n\t\tconst caseText = sample.case ? ` Case: ${sample.case}` : ''\n\t\tconst projectText = sample?.['project id'] ? ` Project: ${sample['project id']}` : ''\n\t\treturn `${isMeta ? '' : 'Sample: '}${sample.sID}${caseText}${projectText}${plot ? ` (${plot})` : ''}`\n\t}\n\n\t//********** Btn Menus **********/\n\tasync termDropdownMenu(plot: any, self: PlotButtons) {\n\t\t/** An array of plots is required for the server request.\n\t\t * The data for all scRNA plots is the same. Pick the first one */\n\t\tconst _plot = Array.from(self.availablePlots)[0]\n\t\tconst options: string[] | undefined = await self.interactions.getDropDownOptions([_plot])\n\t\tif (!options?.length) throw new Error('No options found for this plot. Cannot open dropdown menu.')\n\n\t\tself.plotBtnsDom.tip.clear()\n\t\tconst wrapper = self.plotBtnsDom.tip.d.append('div').style('padding', '10px')\n\t\twrapper\n\t\t\t.append('div')\n\t\t\t.style('display', 'block')\n\t\t\t.style('width', '300px')\n\t\t\t.text(`View differentially expressed genes of a ${self.scTermdbConfig.DEgenes.termId} versus rest of the cells:`)\n\n\t\tconst select = wrapper\n\t\t\t.append('select')\n\t\t\t.style('margin', '10px 0')\n\t\t\t.style('width', 'auto')\n\t\t\t.style('padding', '5px')\n\t\t\t.on('change', async function () {\n\t\t\t\tself.plotBtnsDom.tip.hide()\n\t\t\t\tconst value = select.node()!.value\n\t\t\t\tif (value.indexOf('Select') == 0) return //ignore prompt option\n\t\t\t\tconst config = plot.getPlotConfig(value)\n\t\t\t\tawait self.interactions.createSubplot(config)\n\t\t\t})\n\n\t\tconst regex = new RegExp(self.scTermdbConfig.DEgenes.termId, 'gi')\n\t\toptions.unshift(`Select a ${self.scTermdbConfig.DEgenes.termId}...`)\n\t\tfor (const cluster of options) {\n\t\t\tselect.append('option').attr('value', cluster.replace(regex, '').trim()).text(cluster)\n\t\t}\n\t}\n\n\t//********** Plot Config Helpers **********/\n\tasync getSingleCellConfig(plotName: string): Promise<object> {\n\t\tif (!this.item) throw new Error('No item selected')\n\t\tconst plot = this.scTermdbConfig.data.plots.find(p => p.name == plotName)\n\t\tif (!plot) throw new Error(`No plot by name ${plotName} in data.plots.`)\n\t\tconst sample = this.item\n\t\tconst isMeta = sample?.isMetaResult || false\n\t\tconst config: any = {\n\t\t\tchartType: 'sampleScatter',\n\t\t\tname: this.makeHeaderText(sample, isMeta, plotName),\n\t\t\tsample,\n\t\t\tsingleCellPlot: {\n\t\t\t\tname: plotName,\n\t\t\t\tsample\n\t\t\t}\n\t\t}\n\t\tif (plot.colorColumns?.[0]) {\n\t\t\t// apply optional color term. hardcodes to 1st of the array\n\t\t\tconst key = plot.colorColumns[0]?.type == 'numeric' ? 'scnv' : 'scct'\n\t\t\tconfig.colorTW = await this.makeScTW(key, sample, plot)\n\t\t}\n\t\treturn config\n\t}\n\n\t// Quick fix. Eventually use the handler to get the proper term from the termdbConfig\n\tasync makeScTW(key, item: { sID: string; eID: string }, plot: any) {\n\t\tif (!key) throw new Error('Key is required for makeScTW')\n\t\tconst colorColName = plot.colorColumns[0].name\n\t\tconst savedTerm = this[`${key}Terms`]?.find(t => t.name == colorColName && t.plot == plot.name)\n\t\tif (!savedTerm) {\n\t\t\tconst ttg = key === 'scct' ? TermTypeGroups.SINGLECELL_CELLTYPE : TermTypeGroups.SINGLECELL_NUMERIC_VALUE\n\t\t\tthrow new Error(`No term found for colorColumn=${colorColName} in .termType2terms.${ttg} for plot ${plot.name}`)\n\t\t}\n\t\tconst term = Object.assign(structuredClone(savedTerm), {\n\t\t\tsample: item\n\t\t})\n\t\tconst id = await digestMessage(`${plot.name}-${item.sID}-${item.eID}`)\n\t\treturn Object.assign({ $id: id }, { term })\n\t}\n}\n", "import type { Sections } from './Sections'\nimport type { Div, Elem } from '../../../types/d3'\nimport type { SCViewer } from '../SC'\nimport type { SingleCellSample } from '#types'\nimport type { GroupByOptions } from '../settings/Settings'\n\n/** Manages the mapping and rendering of the sections based on the groupBy option.\n * sections{} maps the section key (i.e. sampleId, plotName, or none) to the section\n * wrapper, title, subplots div, and the sandboxes in that section.\n *\n * Initializing and destroying the plot components is within SC.ts\n * (i.e. sc.components.plots[plotId]). This ensures plots are responsive to state changes.\n */\nexport class SectionRenderer {\n\tsections: Sections\n\tholder: Div\n\t/** Maps the plotId to either the sampleId, plotName, or none (i.e. key in sections map)\n\t * as a reverse lookup. Used in tandem with sections{} to manage the sandboxes\n\t * within each section. */\n\tplotId2Key: Map<string, string>\n\tgroupBy: (typeof GroupByOptions)[number]\n\n\tconstructor(sectionsDiv: Div, groupBy: (typeof GroupByOptions)[number]) {\n\t\tthis.sections = {}\n\t\tthis.holder = sectionsDiv\n\t\t//Key may be either sampleId, plotName, or none\n\t\tthis.plotId2Key = new Map()\n\t\tthis.groupBy = groupBy\n\t}\n\n\t/** Send the sc with the updated state. May not be necessary long term. If not,\n\t * remove and put in the constructor. */\n\tasync update(sc: SCViewer, subplots: any, groupBy: (typeof GroupByOptions)[number]) {\n\t\tif (groupBy !== this.groupBy) {\n\t\t\tthis.groupBy = groupBy\n\t\t\tthis.regroupSections(sc, subplots)\n\t\t\treturn\n\t\t}\n\t\tconst activeSubplots = new Set(subplots.map(s => s.id))\n\n\t\t/** Reconcile stale sandbox wrappers using section state.\n\t\t * Subplot lifecycle is managed by SubplotManager. */\n\t\tfor (const plotId of Array.from(this.plotId2Key.keys())) {\n\t\t\tif (!activeSubplots.has(plotId)) this.removeSandbox(plotId)\n\t\t}\n\n\t\tfor (const subplot of subplots) {\n\t\t\tconst key = this.getKey(subplot, sc)\n\t\t\tif (!key) continue\n\t\t\tif (!this.sections[key]) this.initSection(key, sc)\n\t\t\tif (!this.sections[key].sandboxes[subplot.id]) {\n\t\t\t\tthis.plotId2Key.set(subplot.id, key)\n\t\t\t\tsc.subplotManager.setSectionKey(subplot.id, key)\n\t\t\t\tawait this.initSandbox(sc, subplot, key)\n\t\t\t}\n\t\t}\n\n\t\t/** Remove sections after iterating through subplots to avoid\n\t\t * deleting sections before they can be re-rendered with the correct plots */\n\t\tfor (const key of Object.keys(this.sections)) {\n\t\t\tif (Object.keys(this.sections[key].sandboxes).length === 0) {\n\t\t\t\tthis.removeSection(key, sc)\n\t\t\t}\n\t\t}\n\t}\n\n\t/** Reparent existing sandboxes into new section containers\n\t * without destroying/recreating plot components. */\n\tprivate regroupSections(sc: SCViewer, subplots: any[]) {\n\t\t// Detach existing sandbox from their parents before clearing\n\t\tconst detached: Map<string, any> = new Map()\n\t\tfor (const [plotId, key] of this.plotId2Key) {\n\t\t\tconst sandboxNode = this.sections[key]?.sandboxes[plotId]\n\t\t\tif (sandboxNode) {\n\t\t\t\t// Remove from current parent without destroying\n\t\t\t\tsandboxNode.remove()\n\t\t\t\tdetached.set(plotId, sandboxNode)\n\t\t\t}\n\t\t}\n\n\t\t// Clear the section wrappers since sandboxes are already detached\n\t\tthis.holder.selectAll('*').remove()\n\t\tthis.sections = {}\n\t\tthis.plotId2Key = new Map()\n\n\t\t// Regroup into new sections, reparenting existing sandbox\n\t\tfor (const subplot of subplots) {\n\t\t\tconst key = this.getKey(subplot, sc)\n\t\t\tif (!key) continue\n\t\t\tif (!this.sections[key]) this.initSection(key, sc)\n\n\t\t\tthis.plotId2Key.set(subplot.id, key)\n\t\t\tsc.subplotManager.setSectionKey(subplot.id, key)\n\t\t\tconst existing = detached.get(subplot.id)\n\t\t\tif (existing) {\n\t\t\t\t// Reparent the existing sandbox into the new section\n\t\t\t\tthis.sections[key].subplots.node()!.prepend(existing.node())\n\t\t\t\tthis.sections[key].sandboxes[subplot.id] = existing\n\t\t\t}\n\t\t}\n\t}\n\n\tgetKey(subplot: any, sc): string | undefined {\n\t\tif (this.groupBy === 'none') return 'none'\n\t\tif (this.groupBy === 'sample') return this.getSampleId(subplot)\n\t\treturn sc.subplotManager.getPlotName(subplot)\n\t}\n\n\t/** Extract sID from a subplot's config.\n\t * Actual subplots store sample as {sID, eID} at top level or on term.term.sample. */\n\tgetSampleId(subplot: any): string | undefined {\n\t\treturn subplot.sample?.sID || subplot.singleCellPlot?.sample?.sID || subplot.term?.term?.sample?.sID\n\t}\n\n\tinitSection(key: string, sc: SCViewer) {\n\t\tconst item = this.findSampleMetadata(key, sc)\n\n\t\tconst titleAttrText =\n\t\t\tthis.groupBy == 'sample' ? 'this sample section' : this.groupBy == 'plot' ? 'this plot section' : 'all plots'\n\t\tconst sectionWrapper = this.holder\n\t\t\t.insert('div', ':first-child')\n\t\t\t.style('padding', '10px')\n\t\t\t.attr('data-testid', `sjpp-sc-section-wrapper-${key}`)\n\n\t\t//delete section btn\n\t\tsectionWrapper\n\t\t\t.append('span')\n\t\t\t.attr('data-testid', `sjpp-sc-section-remove-btn-${key}`)\n\t\t\t.style('margin', '0px 5px')\n\t\t\t.style('cursor', 'pointer')\n\t\t\t.attr('title', `Remove ${titleAttrText}`)\n\t\t\t.html(\n\t\t\t\t`<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" fill=\"#000\" class=\"bi bi-x-lg\" viewBox=\"0 0 12 12\">\n <path\n stroke=\"#000\"\n transform=\"scale(0.75)\"\n d=\"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z\"/>\n </svg>`\n\t\t\t)\n\t\t\t.on('click', () => {\n\t\t\t\tthis.removeSection(key, sc)\n\t\t\t})\n\n\t\tconst titleText = this.makeSectionTitleText(key, item)\n\t\tconst titleWrapper = sectionWrapper.append('span').style('font-weight', 600).style('opacity', 0.7).text(titleText)\n\t\tif (titleText.length) {\n\t\t\tconst arrow = titleWrapper\n\t\t\t\t.append('span')\n\t\t\t\t.style('font-size', '0.8em')\n\t\t\t\t.style('padding-left', '3px')\n\t\t\t\t.attr('title', `Show/hide plots in ${titleAttrText}`)\n\t\t\t\t.text('\u25BC')\n\n\t\t\ttitleWrapper.on('click', () => {\n\t\t\t\tconst isHidden = this.sections[key].subplots.style('display') === 'none'\n\t\t\t\tthis.sections[key].subplots.style('display', isHidden ? 'block' : 'none')\n\t\t\t\tarrow.text(isHidden ? '\u25BC' : '\u25B2')\n\t\t\t})\n\t\t}\n\n\t\tthis.sections[key] = {\n\t\t\tsectionWrapper,\n\t\t\ttitle: titleWrapper,\n\t\t\tsubplots: sectionWrapper.append('div').attr('data-testid', `sjpp-sc-subplots-${key}`),\n\t\t\tsandboxes: {}\n\t\t}\n\t}\n\n\t/** Look up sample metadata from the fetched items list.\n\t * For experiment datasets, matches sID against experiments[].sampleName.\n\t * For non-experiment datasets, matches sID against item.sample. */\n\tfindSampleMetadata(sampleId: string, sc: SCViewer): SingleCellSample | undefined {\n\t\tif (!sc.items) return undefined\n\t\treturn sc.items.find(item => item.sample === sampleId || item.experiments?.some(e => e.sampleName === sampleId))\n\t}\n\n\tmakeSectionTitleText(key: string, item?: SingleCellSample) {\n\t\tif (this.groupBy === 'none') return 'All plots'\n\t\tif (this.groupBy === 'plot') return key\n\t\tconst caseText = item?.sample && item.sample !== key ? `Case: ${item.sample}` : ''\n\t\tconst isMeta = item?.isMetaResult || false\n\t\tconst itemText = `${isMeta ? '' : 'Sample: '}${key}`\n\t\tconst projectProp = item?.case?.project?.project_id || item?.['project id']\n\t\tconst projectText = projectProp ? `Project: ${projectProp}` : ''\n\t\treturn [itemText, caseText, projectText].filter(Boolean).join(' ')\n\t}\n\n\tasync initSandbox(sc: any, subplot: any, key: string) {\n\t\tconst sandboxHolder = this.sections[key].subplots\n\t\t\t.insert('div', ':first-child')\n\t\t\t.attr('data-testid', `sjpp-sc-sandbox-${subplot.id}`) as any as Elem\n\n\t\tconst sandboxDiv = await sc.subplotManager.initSubplotSandbox(sandboxHolder, subplot, {\n\t\t\tsectionKey: key\n\t\t})\n\t\tthis.sections[key].sandboxes[subplot.id] = sandboxDiv\n\t}\n\n\tremoveSection(key: string, sc: SCViewer) {\n\t\tconst subactions: { type: string; id: string; parentId: string }[] = []\n\t\tfor (const plotId of Object.keys(this.sections[key].sandboxes || {})) {\n\t\t\tthis.removeSandbox(plotId, key)\n\t\t\t/** Need to remove plots from the state to prevent main from re-rendering\n\t\t\t * and memory leak from orphaned components after the section is deleted. */\n\t\t\tsubactions.push({\n\t\t\t\ttype: 'plot_delete',\n\t\t\t\tid: plotId,\n\t\t\t\tparentId: sc.id\n\t\t\t})\n\t\t}\n\t\tif (subactions.length > 0) {\n\t\t\tsc.app.dispatch({\n\t\t\t\ttype: 'app_refresh',\n\t\t\t\tsubactions\n\t\t\t})\n\t\t}\n\t\tthis.sections[key].sectionWrapper.remove()\n\t\tdelete this.sections[key]\n\t}\n\n\tremoveSandbox(plotId: string, _key?: string) {\n\t\tconst key = _key || this.plotId2Key.get(plotId)\n\t\tif (!key) return\n\t\tconst section = this.sections[key]\n\t\tconst sandbox = section?.sandboxes?.[plotId]\n\t\tif (sandbox) sandbox.remove()\n\t\tif (section?.sandboxes?.[plotId]) delete section.sandboxes[plotId]\n\t\t//Remove the reference to the plotId in plot2Sample map to avoid memory leak\n\t\tthis.plotId2Key.delete(plotId)\n\t}\n}\n", "import type { SCSample } from '../SCTypes'\n\nexport const GroupByOptions = ['sample', 'plot', 'none'] as const\n\nexport type Settings = {\n\tsc: SCSettings\n\thierCluster: {\n\t\tunit: string\n\t\tyDendrogramHeight: number\n\t\tclusterSamples: boolean\n\t}\n}\n\nexport type SCSettings = {\n\tcolumns: {\n\t\t/** Defined column name for 'sample' column*/\n\t\tsample: string\n\t}\n\t/** Active item chosen by the user */\n\titem: SCSample | undefined\n\tgroupBy: (typeof GroupByOptions)[number]\n}\n", "import type { SCActiveSubplot, SCDom, SCFormattedState, SCTableData } from '../SCTypes'\nimport type { SCInteractions } from '../interactions/SCInteractions'\nimport { SampleTableRenderer } from './SampleTableRenderer'\nimport { PlotButtons } from './PlotButtons'\nimport { SectionRenderer } from './SectionRenderer'\nimport type { SCViewer } from '../SC.ts'\nimport type { SubplotManager } from '../subplots/SubplotManager.ts'\nimport { GroupByOptions, type SCSettings, type Settings } from '../settings/Settings'\nimport { make_radios } from '#dom'\n\n/** Manages the initial rendering of the sample table and the dynamic\n * rendering of the plot buttons and sections based on the selected sample and plots.\n * .update() from sc.main() updates the plot buttons and sections. */\nexport class SCViewRenderer {\n\t//On load, show table\n\t//Eventually maybe an app dispatch and not a flag\n\tstatic inUse: boolean = true\n\n\tsc: SCViewer\n\tdom: SCDom\n\tinteractions: SCInteractions\n\tplotBtns!: PlotButtons\n\tsectionRenderer!: SectionRenderer\n\tsampleTableRenderer!: SampleTableRenderer\n\tgroupsWrapper!: any\n\n\tconstructor(sc: SCViewer) {\n\t\tthis.sc = sc\n\t\tthis.dom = sc.dom\n\t\tthis.interactions = sc.interactions\n\t\tthis.dom.controlsDiv.style('padding', '10px')\n\t}\n\n\trender(settings: SCSettings, state: SCFormattedState) {\n\t\tthis.renderSelectBtn()\n\t\tthis.renderGroupByOptions(settings)\n\t\tthis.plotBtns = new PlotButtons(this.interactions, this.dom.plotsBtnsDiv, state.termdbConfig)\n\t\tthis.sectionRenderer = new SectionRenderer(this.dom.sectionsDiv, settings.groupBy)\n\t\t// this.dom.plotsBtnsDiv.style('display', 'none')\n\t}\n\n\t/** Renders the select btn at the top of the page that\n\t * show/hides the item table and plot buttons */\n\trenderSelectBtn() {\n\t\tconst btn = this.dom.controlsDiv\n\t\t\t.append('button')\n\t\t\t.attr('data-testid', 'sjpp-sc-item-table-select-btn')\n\t\t\t.attr('title', 'Show/hide sample table and plot buttons')\n\t\t\t.style('border-radius', '20px')\n\t\t\t.style('padding', '5px 10px')\n\t\t\t.style('background-color', 'transparent')\n\t\t\t//Will need to use ds specific keys/logic here\n\t\t\t.text('Select sample and plots')\n\n\t\tconst arrowSpan = btn.append('span').style('font-size', '0.8em').style('padding-left', '3px').text('\u25BC')\n\n\t\tbtn.on('click', () => {\n\t\t\tSCViewRenderer.inUse = !SCViewRenderer.inUse\n\t\t\tarrowSpan.text(SCViewRenderer.inUse ? '\u25BC' : '\u25B2')\n\t\t\tthis.dom.tableDiv.style('display', SCViewRenderer.inUse ? 'block' : 'none')\n\t\t\tthis.dom.plotsBtnsDiv.style('display', SCViewRenderer.inUse ? 'block' : 'none')\n\t\t})\n\t}\n\n\trenderGroupByOptions(settings: SCSettings) {\n\t\tthis.groupsWrapper = this.dom.controlsDiv.append('div').style('display', 'none')\n\t\tthis.groupsWrapper\n\t\t\t.append('span')\n\t\t\t.style('padding', '3px 0px 3px 20px')\n\t\t\t.style('opacity', 0.7)\n\t\t\t.text('Group by:')\n\t\tconst optionsDiv = this.groupsWrapper.append('span').style('display', 'inline-block')\n\t\tconst options = GroupByOptions.map(option => {\n\t\t\treturn {\n\t\t\t\tlabel: `${option.charAt(0).toUpperCase() + option.slice(1)}`,\n\t\t\t\tvalue: option,\n\t\t\t\tchecked: settings.groupBy === option\n\t\t\t}\n\t\t})\n\t\tmake_radios({\n\t\t\tholder: optionsDiv,\n\t\t\tstyles: { display: 'inline-block' },\n\t\t\toptions,\n\t\t\tcallback: async value => {\n\t\t\t\tawait this.sc.app.dispatch({\n\t\t\t\t\ttype: 'plot_edit',\n\t\t\t\t\tid: this.sc.id,\n\t\t\t\t\tconfig: { settings: { sc: { ...settings, groupBy: value } } }\n\t\t\t\t})\n\t\t\t}\n\t\t})\n\t}\n\n\tasync update(\n\t\tsettings: Settings,\n\t\tdata: any,\n\t\tactiveSubplots: SCActiveSubplot[],\n\t\ttableData: SCTableData,\n\t\tsubplotManager: SubplotManager\n\t) {\n\t\tthis.sampleTableRenderer = new SampleTableRenderer(this.dom, this.interactions, tableData)\n\t\tthis.plotBtns.update(settings, data)\n\t\t//Also handles when settings.sc.groupBy == 'none' to show all plots in one section\n\t\tawait this.sectionRenderer.update(\n\t\t\tthis.sc,\n\t\t\tactiveSubplots.map(s => s.subplot),\n\t\t\tsettings.sc.groupBy\n\t\t)\n\t\tconst activeSandboxes = subplotManager.getSampleSandboxes()\n\t\t//Hide grouping option until more than one sample with potentially more than one plot is available\n\t\tthis.groupsWrapper.style('display', activeSandboxes.size > 1 ? 'inline-block' : 'none')\n\t\tthis.sampleTableRenderer.updatePlotBtns(activeSandboxes)\n\t}\n}\n", "import { getGEunit } from '#tw/geneExpression'\nimport type { Settings } from './Settings'\n\n/** Define all subplot settings here */\nexport function getDefaultSCAppSettings(overrides = {}, app): Settings {\n\tconst defaults: Settings = {\n\t\tsc: {\n\t\t\tcolumns: {\n\t\t\t\tsample: 'Sample'\n\t\t\t},\n\t\t\titem: undefined,\n\t\t\tgroupBy: 'sample'\n\t\t},\n\t\thierCluster: {\n\t\t\tunit: getGEunit(app.vocabApi),\n\t\t\tyDendrogramHeight: 0,\n\t\t\tclusterSamples: false\n\t\t}\n\t}\n\treturn Object.assign(defaults, overrides)\n}\n", "import { importPlot } from '#plots/importPlot.js'\nimport { getCompInit, multiInit, type RxComponent, type ComponentApi } from '#rx'\nimport { filterRxCompInit } from '#filter'\nimport type { MassAppApi } from '#mass/types/mass'\n\n/** Wrapper for subplot sanbdoxes created dynamically.\n * Builds out the expected dom structure and extra functionality (e.g. plot filter)\n *\n * Note: #mass/app.ts expects parent plots to manage plot init for all subplots,\n * which means plotInit() and summaryInit() are never called for subplots.\n * The functionality here is sligthly different from MassPlot && plotInit()\n * in #mass/plot.js to support dynamic creation and destory within the parent */\n\nclass DynamicSubplot implements RxComponent {\n\tstatic type = 'dynamicSubplot'\n\n\ttype: string\n\topts!: { [index: string]: any }\n\tapp: MassAppApi\n\tid!: string\n\tstate: any\n\tcomponents!: { [name: string]: ComponentApi }\n\tdom: { [index: string]: any } = {}\n\tparentId?: string\n\n\tconstructor(opts) {\n\t\tthis.type = DynamicSubplot.type\n\t\tthis.opts = opts\n\t\tthis.app = opts.app\n\t\tthis.parentId = opts?.parentId\n\t}\n\n\tasync init() {\n\t\tthis.opts.holder.app_div.attr('data-testid', 'sjpp-sc-subplot-sandbox-' + this.opts.chartType)\n\n\t\t/** Summary expects the entire sandbox. No need to create dom. */\n\t\tif (this.opts.chartType == 'summary') return\n\n\t\tthis.dom = {\n\t\t\tholder: this.opts.holder,\n\t\t\tviz: this.opts.holder.body.append('div').style('position', 'relative'),\n\t\t\tpaneTitleDiv: this.opts.holder.header.append('div').style('position', 'relative'),\n\t\t\tfilterDiv: this.opts.holder.header.append('div').style('position', 'relative'),\n\t\t\terrorDiv: this.opts.holder.body.append('div').style('position', 'relative')\n\t\t}\n\t}\n\n\tgetState(appState) {\n\t\tconst config = appState.plots.find(p => p.id === this.id)\n\t\tif (!config) {\n\t\t\tthrow `No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`\n\t\t}\n\t\treturn {\n\t\t\tconfig\n\t\t}\n\t}\n\n\tasync main() {\n\t\tif (!this.components) await this.setComponents()\n\t}\n\n\tasync setComponents() {\n\t\tconst _ = await importPlot(this.opts.chartType)\n\t\tconst chartOpts: { [index: string]: any } = {\n\t\t\tapp: this.app,\n\t\t\tid: this.id,\n\t\t\tparentId: this.parentId\n\t\t}\n\t\tif (this.opts.chartType == 'summary') {\n\t\t\tchartOpts.holder = this.opts.holder\n\t\t\tchartOpts.hidePlotFilter = this.opts.isMetaResult\n\t\t} else {\n\t\t\tchartOpts.holder = this.dom.viz\n\t\t\tchartOpts.header = this.dom.paneTitleDiv\n\t\t}\n\t\tconst promises: { [index: string]: any } = {\n\t\t\tchart: _.componentInit(chartOpts)\n\t\t}\n\n\t\t/** Summary inits its own plot filter */\n\t\tif (!this.state.config?.hidePlotFilter && this.opts.isMetaResult && this.opts.chartType != 'summary') {\n\t\t\tpromises.filter = filterRxCompInit({\n\t\t\t\tapp: this.app,\n\t\t\t\tvocabApi: this.app.vocabApi,\n\t\t\t\tparentId: this.id,\n\t\t\t\tholder: this.dom.filterDiv,\n\t\t\t\thideLabel: true,\n\t\t\t\temptyLabel: '+Add new filter',\n\t\t\t\tcallback: filter => {\n\t\t\t\t\tthis.app.dispatch({\n\t\t\t\t\t\tid: this.id,\n\t\t\t\t\t\ttype: 'plot_edit',\n\t\t\t\t\t\tconfig: { filter }\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\n\t\tthis.components = await multiInit(promises)\n\t}\n\n\tdestroy() {\n\t\tconst appDiv = this.dom?.holder?.app_div\n\t\tif (appDiv) {\n\t\t\tappDiv.selectAll('*').remove()\n\t\t\tappDiv.remove()\n\t\t}\n\t\tfor (const key in this.dom) {\n\t\t\tdelete this.dom[key]\n\t\t}\n\t}\n}\n\nexport const dynamicSubplotInit = getCompInit(DynamicSubplot)\n", "import type { SCViewer } from '../SC'\nimport { newSandboxDiv } from '#dom'\nimport { dynamicSubplotInit } from './DynamicSubplot'\nimport type { SCActiveSubplot, SCSampleSandbox } from '../SCTypes'\n\n/** Instead of managing multiple maps of the subplots (e.g within the \n * SampleTableRenderer, SectionRenderer, etc.), use this manager to keep track\n * of all the subplots, their dom, sections, etc. \n) */\n\nexport class SubplotManager {\n\tsc: SCViewer\n\tscCompPlots: { [key: string]: any }\n\t/** Maps plotId to active subplot information */\n\trecords: Map<string, SCActiveSubplot>\n\n\tconstructor(sc: SCViewer) {\n\t\tthis.sc = sc\n\t\tthis.scCompPlots = this.sc.components.plots\n\t\tthis.records = new Map()\n\t}\n\n\tmap(subplots: any[]): SCActiveSubplot[] {\n\t\tconst subplotIds = new Set(subplots.map(s => s.id))\n\t\tfor (const compPlotId of Object.keys(this.scCompPlots)) {\n\t\t\tif (!subplotIds.has(compPlotId)) {\n\t\t\t\tthis.removeSubplot(compPlotId)\n\t\t\t}\n\t\t}\n\n\t\tfor (const recordId of Array.from(this.records.keys())) {\n\t\t\tif (!subplotIds.has(recordId)) this.records.delete(recordId)\n\t\t}\n\n\t\tfor (const subplot of subplots) {\n\t\t\tthis.updateSubplotRecord(subplot)\n\t\t}\n\n\t\treturn this.getActiveSubplotsFlat()\n\t}\n\n\tupdateSubplotRecord(subplot) {\n\t\tconst existing = this.records.get(subplot.id)\n\t\tconst sampleId = this.getSampleId(subplot)\n\t\tconst isMeta = (sampleId && this.sc.viewModel.metaResultIds.has(sampleId)) || false\n\t\tthis.records.set(subplot.id, {\n\t\t\tplotId: subplot.id,\n\t\t\tsampleId,\n\t\t\tplotName: this.getPlotName(subplot),\n\t\t\tsectionKey: existing?.sectionKey,\n\t\t\tsubplot,\n\t\t\tsandboxDiv: existing?.sandboxDiv,\n\t\t\tisMetaResult: isMeta\n\t\t})\n\t}\n\n\tremoveSubplot(subplotId) {\n\t\tif (this.scCompPlots[subplotId]) this.scCompPlots[subplotId].destroy()\n\t\tdelete this.scCompPlots[subplotId]\n\t\tthis.records.delete(subplotId)\n\t}\n\n\tasync initSubplotSandbox(sandboxHolder, subplot, initOpts: { sectionKey?: string; onClose?: () => void } = {}) {\n\t\tconst sandbox = newSandboxDiv(sandboxHolder, {\n\t\t\tclose: () => {\n\t\t\t\t/** destroy this dom and component before app.dispatch.\n\t\t\t\t * Avoids the component attempting to update after\n\t\t\t\t * the plot is deleted from the state. */\n\t\t\t\tthis.removeSubplot(subplot.id)\n\t\t\t\tthis.sc.app.dispatch({\n\t\t\t\t\ttype: 'plot_delete',\n\t\t\t\t\tid: subplot.id,\n\t\t\t\t\tparentId: this.sc.id\n\t\t\t\t})\n\t\t\t\tif (initOpts.onClose) initOpts.onClose()\n\t\t\t},\n\t\t\tplotId: subplot.id\n\t\t})\n\n\t\tconst subplotOpts = Object.assign({}, subplot, {\n\t\t\tapp: this.sc.app,\n\t\t\tparentId: this.sc.id,\n\t\t\tid: subplot.id,\n\t\t\tholder: sandbox,\n\t\t\tisMetaResult: this.records.get(subplot.id)?.isMetaResult || false\n\t\t})\n\n\t\tthis.scCompPlots[subplot.id] = await dynamicSubplotInit(subplotOpts)\n\t\tthis.setSandbox(subplot.id, sandbox.app_div)\n\t\tif (initOpts.sectionKey) this.setSectionKey(subplot.id, initOpts.sectionKey)\n\t\treturn sandbox.app_div\n\t}\n\n\tsetSandbox(plotId: string, sandboxDiv: any) {\n\t\tconst record = this.records.get(plotId)\n\t\tif (!record) return\n\t\trecord.sandboxDiv = sandboxDiv\n\t\tthis.records.set(plotId, record)\n\t}\n\n\tsetSectionKey(plotId: string, sectionKey?: string) {\n\t\tconst record = this.records.get(plotId)\n\t\tif (!record) return\n\t\trecord.sectionKey = sectionKey\n\t\tthis.records.set(plotId, record)\n\t}\n\n\tgetActiveSubplotsFlat(): SCActiveSubplot[] {\n\t\treturn Array.from(this.records.values())\n\t}\n\n\tgetSampleId(subplot: any): string | undefined {\n\t\treturn subplot.sample?.sID || subplot.singleCellPlot?.sample?.sID || subplot.term?.term?.sample?.sID\n\t}\n\n\tgetPlotName(subplot: any): string {\n\t\t/** Hardcoding logic for some transient and parent plots for now. May consider\n\t\t * adding to the config if this becomes more complex. Must weight against\n\t\t * adding unnecessary complexity to the config for edge cases though.*/\n\t\tconst nameOverrides = new Map([\n\t\t\t['GeneExpInput', 'Gene expression'],\n\t\t\t['imagePlot', subplot?.imgDir?.label || 'Image'],\n\t\t\t['dictionary', 'Summary'],\n\t\t\t['summary', 'Summary']\n\t\t])\n\t\tlet plotName = subplot?.plotName || nameOverrides.get(subplot?.chartType) || subplot?.singleCellPlot?.name\n\t\tif (!plotName) {\n\t\t\tif (subplot?.term?.term?.plot) plotName = subplot.term.term.plot\n\t\t\telse plotName = subplot.chartType || 'Plot'\n\t\t}\n\t\treturn plotName\n\t}\n\n\tgetSampleSandboxes(activeSubplots: SCActiveSubplot[] = this.getActiveSubplotsFlat()): Map<string, SCSampleSandbox[]> {\n\t\tconst sandboxes = new Map<string, SCSampleSandbox[]>()\n\t\tfor (const active of activeSubplots) {\n\t\t\tif (!active.sampleId || !active.sandboxDiv) continue\n\t\t\tif (!sandboxes.has(active.sampleId)) sandboxes.set(active.sampleId, [])\n\t\t\tsandboxes.get(active.sampleId)!.push({ plotId: active.plotId, div: active.sandboxDiv, plotName: active.plotName })\n\t\t}\n\t\treturn sandboxes\n\t}\n}\n", "import type { BasePlotConfig, MassAppApi, MassState } from '#mass/types/mass'\nimport type { SCConfigOpts, SCDom, SCFormattedState, SCViewerOpts, SampleColumn } from './SCTypes'\nimport type { SingleCellSample } from '#types'\nimport { PlotBase } from '../PlotBase.ts'\nimport { getCompInit, copyMerge, type RxComponent, type ComponentApi } from '#rx'\nimport { SCModel } from './model/SCModel'\nimport { SCViewModel } from './viewModel/SCViewModel'\nimport { SCInteractions } from './interactions/SCInteractions'\nimport { SCViewRenderer } from './view/SCViewRenderer'\nimport { getDefaultSCAppSettings } from './settings/defaults.ts'\nimport { getCombinedTermFilter } from '#filter'\nimport { SubplotManager } from './subplots/SubplotManager.ts'\nimport { formatHeaderText } from '#dom'\n\n/** Viewer for single cell data. Renders a sample table and associated subplots for each sample.*/\nexport class SCViewer extends PlotBase implements RxComponent {\n\tstatic type = 'sc'\n\n\ttype: string\n\tcomponents: { plots: { [key: string]: any } }\n\tdom: SCDom\n\tinteractions!: SCInteractions\n\titems!: SingleCellSample[]\n\titemColumns!: SampleColumn[]\n\tmodel!: SCModel\n\tsubplotManager!: SubplotManager\n\tview!: SCViewRenderer\n\tviewModel!: SCViewModel\n\n\tconstructor(opts: SCViewerOpts, api: ComponentApi) {\n\t\tsuper(opts, api)\n\t\tthis.type = SCViewer.type\n\t\tthis.components = {\n\t\t\tplots: {}\n\t\t}\n\t\tconst div = opts.holder\n\t\t\t.classed('sjpp-sc-main', true)\n\t\t\t.append('div')\n\t\t\t.style('padding', '5px')\n\t\t\t.style('display', 'inline-block')\n\t\t\t.style('vertical-align', 'top')\n\n\t\tthis.dom = {\n\t\t\tdiv,\n\t\t\tloading: opts.holder\n\t\t\t\t.append('div')\n\t\t\t\t.attr('class', 'sjpp-sc-main-loading')\n\t\t\t\t.attr('data-testid', 'sjpp-sc-main-loading')\n\t\t\t\t.style('position', 'absolute')\n\t\t\t\t.style('top', '0')\n\t\t\t\t.style('left', '0')\n\t\t\t\t.style('width', '100%')\n\t\t\t\t.style('height', '100%')\n\t\t\t\t.style('background-color', 'rgba(255, 255, 255, 0.95)')\n\t\t\t\t.style('text-align', 'center'),\n\t\t\tcontrolsDiv: div.append('div').attr('id', 'sjpp-sc-controls-btn'),\n\t\t\ttableDiv: div.append('div').attr('id', 'sjpp-sc-item-table'),\n\t\t\tplotsBtnsDiv: div.append('div').attr('id', 'sjpp-sc-plot-buttons').style('display', 'none'),\n\t\t\tsectionsDiv: div.append('div').attr('id', 'sjpp-sc-sections')\n\t\t}\n\n\t\t//opts.header is the sandbox header\n\t\tif (opts.header) formatHeaderText({\n\t\t\theader: opts.header,\n\t\t\tchartType: 'SINGLE CELL'\n\t\t})\n\t}\n\n\tgetState(appState: any): SCFormattedState {\n\t\tconst config = appState.plots.find((p: BasePlotConfig) => p.id === this.id)\n\t\tif (!config) {\n\t\t\tthrow new Error(\n\t\t\t\t`No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`\n\t\t\t)\n\t\t}\n\t\tconst termfilter = getCombinedTermFilter(appState, config.filter)\n\n\t\treturn {\n\t\t\tconfig,\n\t\t\tsubplots: appState.plots.filter(p => p.parentId === this.id),\n\t\t\ttermfilter,\n\t\t\ttermdbConfig: appState.termdbConfig,\n\t\t\tvocab: appState.vocab\n\t\t}\n\t}\n\n\tasync init(appState: MassState) {\n\t\tconst state = this.getState(appState) as SCFormattedState\n\t\t/** ds defines defaults in termdbConfig.queries.singleCell\n\t\t * see Dataset type when resuming development */\n\t\tconst dsScSamples = state.termdbConfig.queries?.singleCell?.samples\n\t\tthis.model = new SCModel(this)\n\t\ttry {\n\t\t\tthis.itemColumns = await this.model.getColumnLabels(dsScSamples)\n\t\t} catch (e: any) {\n\t\t\tif (e instanceof Error) console.error(`${e.message || e} [SC init()]`)\n\t\t\telse if (e.stack) console.log(e.stack)\n\t\t\tthrow new Error(e.message || e)\n\t\t}\n\t\tthis.viewModel = new SCViewModel(this.app, this.itemColumns)\n\t\tthis.interactions = new SCInteractions(this)\n\t\tthis.subplotManager = new SubplotManager(this)\n\t\tthis.view = new SCViewRenderer(this)\n\t\t/** Only renders the controls above the table */\n\t\tthis.view.render(state.config.settings.sc, state)\n\t}\n\n\tasync main() {\n\t\tif (!this.model) throw new Error(`Model not initialized`)\n\t\tif (!this.viewModel) throw new Error(`ViewModel not initialized`)\n\t\tif (!this.view) throw new Error(`View not initialized`)\n\t\tif (!this.interactions) throw new Error(`Interactions not initialized`)\n\n\t\tconst state = structuredClone(this.state) as SCFormattedState\n\t\tconst config = state.config\n\n\t\tsuper.toggleLoadingDiv()\n\n\t\tlet data: any\n\t\ttry {\n\t\t\tconst allSampleData = await this.model.getAllSampleData(state)\n\t\t\tif (!allSampleData || allSampleData.error) {\n\t\t\t\tsuper.toggleLoadingDiv('none')\n\t\t\t\tsuper.printError(allSampleData?.error || 'No samples found for this dataset')\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.items = allSampleData.samples\n\n\t\t\tthis.viewModel.processData(config, allSampleData.samples)\n\n\t\t\tif (config.settings?.sc?.item) {\n\t\t\t\tconst sampleData = await this.model.getSampleData()\n\t\t\t\tif (!sampleData || sampleData.error) {\n\t\t\t\t\tsuper.toggleLoadingDiv('none')\n\t\t\t\t\tsuper.printError(sampleData?.error || 'No data found for this sample')\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tconst hasSpatial = await this.model.hasSpatialImage(config.settings.sc.item.sID)\n\t\t\t\tdata = this.viewModel.formatPlotsData(sampleData, hasSpatial)\n\t\t\t}\n\t\t} catch (e: any) {\n\t\t\tif (e instanceof Error) console.error(`${e.message || e} [SC main()]`)\n\t\t\telse if (e.stack) console.log(e.stack)\n\t\t\tsuper.toggleLoadingDiv('none')\n\t\t\tsuper.printError(e.message || e)\n\t\t\treturn\n\t\t}\n\t\tconst activeSubplots = this.subplotManager.map(state.subplots)\n\t\tawait this.view.update(config.settings, data, activeSubplots, this.viewModel.tableData, this.subplotManager)\n\t\tsuper.toggleLoadingDiv('none')\n\t}\n}\n\nexport const SCInit = getCompInit(SCViewer)\nexport const componentInit = SCInit\n\nexport function getPlotConfig(opts: SCConfigOpts, app: MassAppApi) {\n\tconst config = {\n\t\tchartType: 'sc',\n\t\tsettings: getDefaultSCAppSettings(opts.overrides, app)\n\t} as any\n\n\treturn copyMerge(config, opts)\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOO,IAAM,UAAN,MAAc;AAAA,EAMpB,YAAY,IAAc;AA8E1B;AAAA;AAAA;AAAA,4BAA+C,CAAC;AA7E/C,SA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