@sjcrh/proteinpaint-client 2.207.1 → 2.209.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 (940) hide show
  1. package/dist/2dmaf-VTMPVZGT.js +1367 -0
  2. package/dist/AggMatrixInput-CH3RQ2QC.js +406 -0
  3. package/dist/AggMatrixInput-CH3RQ2QC.js.map +7 -0
  4. package/dist/AggregateMatrix-DPCHUOMF.js +41 -0
  5. package/dist/AppHeader-RA7T467G.js +830 -0
  6. package/dist/BoxPlot-7Q7SMT26.js +1211 -0
  7. package/dist/CorrelationVolcano-YV4UHOAX.js +617 -0
  8. package/dist/CorrelationVolcano-YV4UHOAX.js.map +7 -0
  9. package/dist/Cuminc-ZN53C3MD.js +1219 -0
  10. package/dist/DE-BEWW5AIG.js +89 -0
  11. package/dist/DEinput-SJITUJF2.js +499 -0
  12. package/dist/DM-2LBNE4WE.js +90 -0
  13. package/dist/DifferentialAnalysis-WE4LBHEF.js +239 -0
  14. package/dist/DifferentialAnalysis-WE4LBHEF.js.map +7 -0
  15. package/dist/Disco-PTZQF7IM.js +3389 -0
  16. package/dist/Disco.UI-NBR67N5M.js +243 -0
  17. package/dist/DmrPlot-QROLI66S.js +362 -0
  18. package/dist/DmrPlot-QROLI66S.js.map +7 -0
  19. package/dist/GB-FEBSFX5U.js +1428 -0
  20. package/dist/GB-FEBSFX5U.js.map +7 -0
  21. package/dist/GSEA-KOXOVC5V.js +875 -0
  22. package/dist/GSEA-KOXOVC5V.js.map +7 -0
  23. package/dist/GeneExpInput-DYBK54HC.js +42 -0
  24. package/dist/Geomap-QRD2WZVL.js +84 -0
  25. package/dist/HicApp-VKET4QHD.js +2245 -0
  26. package/dist/IDCViewer-RLLTXGD7.js +10812 -0
  27. package/dist/NumBinaryEditor-GYHOYPQL.js +279 -0
  28. package/dist/NumBinaryEditor.unit.spec-E2HKBWOO.js +312 -0
  29. package/dist/NumContEditor-3V76ZSEY.js +105 -0
  30. package/dist/NumContEditor.unit.spec-RTT5Q5E5.js +164 -0
  31. package/dist/NumCustomBinEditor-O5DMPY7H.js +33 -0
  32. package/dist/NumCustomBinEditor.unit.spec-5LZBP2JL.js +397 -0
  33. package/dist/NumDiscreteEditor-DFOJ7AIH.js +170 -0
  34. package/dist/NumDiscreteEditor.unit.spec-PPJGEBFX.js +233 -0
  35. package/dist/NumRegularBinEditor-O6RDO32C.js +33 -0
  36. package/dist/NumRegularBinEditor.unit.spec-GOB3BF25.js +278 -0
  37. package/dist/NumSplineEditor-PUXJF2RW.js +210 -0
  38. package/dist/NumSplineEditor.unit.spec-4VOAAMOU.js +224 -0
  39. package/dist/NumericDensity-E6MH2THZ.js +33 -0
  40. package/dist/NumericDensity.unit.spec-IRPFBQUS.js +418 -0
  41. package/dist/NumericHandler-42RR54X3.js +34 -0
  42. package/dist/NumericHandler.unit.spec-YYOO7XVT.js +214 -0
  43. package/dist/ProteomeInput-4N2G6IFX.js +388 -0
  44. package/dist/Regression-LIWUWAGQ.js +1416 -0
  45. package/dist/Regression-LIWUWAGQ.js.map +7 -0
  46. package/dist/RunChart2-VAX5JGZY.js +749 -0
  47. package/dist/SC-UHBZ3HRO.js +1183 -0
  48. package/dist/SC-UHBZ3HRO.js.map +7 -0
  49. package/dist/Violin-V23VZR6B.js +1081 -0
  50. package/dist/Violin-V23VZR6B.js.map +7 -0
  51. package/dist/Volcano-64S4AW66.js +2443 -0
  52. package/dist/Volcano-64S4AW66.js.map +7 -0
  53. package/dist/Wsi-FOJCKDCP.js +629 -0
  54. package/dist/Wsi-FOJCKDCP.js.map +7 -0
  55. package/dist/adSandbox-CLMUYNC3.js +33 -0
  56. package/dist/animatedBubbleChart-GMLNYTQC.js +547 -0
  57. package/dist/app-2SFDRDN2.js +32 -0
  58. package/dist/app-QOZ36UR4.js +42 -0
  59. package/dist/app.js +14 -14
  60. package/dist/bam-LLAK7FVG.js +876 -0
  61. package/dist/barchart-SEC6VKQ2.js +42 -0
  62. package/dist/barchart2-D4FXZCTU.js +309 -0
  63. package/dist/block-XGK6TEGH.js +6250 -0
  64. package/dist/block-XGK6TEGH.js.map +7 -0
  65. package/dist/block.init-UMRCAKCF.js +33 -0
  66. package/dist/block.mds.expressionrank-LFPJ52SX.js +354 -0
  67. package/dist/block.mds.geneboxplot-2QIEN6AH.js +823 -0
  68. package/dist/block.mds.junction-Z4HUFSG2.js +1539 -0
  69. package/dist/block.mds.svcnv-3GXGY6ET.js +6796 -0
  70. package/dist/block.svg-7RCJLMAP.js +159 -0
  71. package/dist/block.tk.aicheck-5N6EGZ6F.js +278 -0
  72. package/dist/block.tk.ase-V3AJRYT6.js +360 -0
  73. package/dist/block.tk.bam-W6QOVVEU.js +1901 -0
  74. package/dist/block.tk.bedgraphdot-FKTPJZTH.js +379 -0
  75. package/dist/block.tk.bigwig.ui-Y3M2TDM2.js +206 -0
  76. package/dist/block.tk.hicstraw-3SWYTMFQ.js +818 -0
  77. package/dist/block.tk.junction-OXB22PDS.js +2358 -0
  78. package/dist/block.tk.junction.textmatrixui-PWBLRGCO.js +194 -0
  79. package/dist/block.tk.ld-NTRJL5GA.js +94 -0
  80. package/dist/block.tk.menu-JIHSGGIO.js +1024 -0
  81. package/dist/block.tk.pgv-4Q6CY6QN.js +938 -0
  82. package/dist/brainImaging-MBI4XTTU.js +555 -0
  83. package/dist/brainRegions-YVTAESRP.js +217 -0
  84. package/dist/bubbleHeatmap-ZKTA3AIG.js +378 -0
  85. package/dist/cellTypeBubbleHeatmap-GJZNXDG4.js +278 -0
  86. package/dist/chunk-2PDBU42F.js +4375 -0
  87. package/dist/chunk-2PDBU42F.js.map +7 -0
  88. package/dist/chunk-2RMSV4BS.js +6360 -0
  89. package/dist/chunk-33BE7AYS.js +299 -0
  90. package/dist/chunk-3FEP6B5T.js +119 -0
  91. package/dist/chunk-3XBG5HIV.js +424 -0
  92. package/dist/chunk-3XBG5HIV.js.map +7 -0
  93. package/dist/chunk-4G73CMUL.js +38 -0
  94. package/dist/chunk-5FRETII3.js +281 -0
  95. package/dist/chunk-5LYVIIYR.js +170 -0
  96. package/dist/chunk-6FG6JFZP.js +339 -0
  97. package/dist/chunk-6G45AUSV.js +237 -0
  98. package/dist/chunk-6G45AUSV.js.map +7 -0
  99. package/dist/chunk-6LDKSKYQ.js +70 -0
  100. package/dist/chunk-7FFTAYT4.js +272 -0
  101. package/dist/chunk-7GDRMBNO.js +339 -0
  102. package/dist/chunk-A2UUXYH6.js +1986 -0
  103. package/dist/chunk-AFQKYV4D.js +2853 -0
  104. package/dist/chunk-ANACCKCQ.js +276 -0
  105. package/dist/chunk-AR3HXZIW.js +562 -0
  106. package/dist/chunk-AVCEHJG7.js +446 -0
  107. package/dist/chunk-AVCIZWH5.js +692 -0
  108. package/dist/chunk-AVCIZWH5.js.map +7 -0
  109. package/dist/chunk-B6UXFX73.js +178 -0
  110. package/dist/chunk-B6UXFX73.js.map +7 -0
  111. package/dist/chunk-BCCFJYPE.js +54 -0
  112. package/dist/chunk-BCCFJYPE.js.map +7 -0
  113. package/dist/chunk-BG3SGGVB.js +134 -0
  114. package/dist/chunk-C3HEDQPT.js +24921 -0
  115. package/dist/chunk-C3HEDQPT.js.map +7 -0
  116. package/dist/chunk-CFZ2ZW3E.js +382 -0
  117. package/dist/chunk-CKOU3P27.js +26 -0
  118. package/dist/chunk-CN6KJORZ.js +397 -0
  119. package/dist/chunk-CYWEYHJQ.js +203 -0
  120. package/dist/chunk-D5ETVOOE.js +158 -0
  121. package/dist/chunk-DANF4CC5.js +102 -0
  122. package/dist/chunk-DNCFJTPI.js +1339 -0
  123. package/dist/chunk-FNW6BKOA.js +480 -0
  124. package/dist/chunk-FR5USNAT.js +54 -0
  125. package/dist/chunk-FSLOUTTK.js +37 -0
  126. package/dist/chunk-FSLOUTTK.js.map +7 -0
  127. package/dist/chunk-GYE6FU7P.js +626 -0
  128. package/dist/chunk-IEIGHCZS.js +1278 -0
  129. package/dist/chunk-J5GQGWYX.js +1731 -0
  130. package/dist/chunk-J5GQGWYX.js.map +7 -0
  131. package/dist/chunk-JMDUO47F.js +5071 -0
  132. package/dist/chunk-JTANDSTD.js +54 -0
  133. package/dist/chunk-JTQPPUDG.js +379 -0
  134. package/dist/chunk-K32DV4QI.js +302 -0
  135. package/dist/chunk-K77W4SSI.js +98 -0
  136. package/dist/chunk-KEHVNCFK.js +102 -0
  137. package/dist/chunk-MMKSXXU2.js +55 -0
  138. package/dist/chunk-NDOKW2HJ.js +31 -0
  139. package/dist/chunk-NGMM2MNC.js +518 -0
  140. package/dist/chunk-OASGOTRM.js +80 -0
  141. package/dist/chunk-OASGOTRM.js.map +7 -0
  142. package/dist/chunk-OBDIJ4QS.js +2146 -0
  143. package/dist/chunk-OBDIJ4QS.js.map +7 -0
  144. package/dist/chunk-OEBGQKQR.js +2676 -0
  145. package/dist/chunk-OI5KBFBE.js +468 -0
  146. package/dist/chunk-OWEBE64A.js +243 -0
  147. package/dist/chunk-P7X4LDW4.js +783 -0
  148. package/dist/chunk-Q4HTEL2O.js +56 -0
  149. package/dist/chunk-Q4HTEL2O.js.map +7 -0
  150. package/dist/chunk-QD75Q5LM.js +59 -0
  151. package/dist/chunk-QGH5BM2D.js +141 -0
  152. package/dist/chunk-QSOFGLWZ.js +240 -0
  153. package/dist/chunk-QXDGIQYA.js +217 -0
  154. package/dist/chunk-R2QE6ROO.js +176 -0
  155. package/dist/chunk-RMHUDMZ7.js +103 -0
  156. package/dist/chunk-SB36AUG7.js +1614 -0
  157. package/dist/chunk-SB36AUG7.js.map +7 -0
  158. package/dist/chunk-SXB4IZQ7.js +123 -0
  159. package/dist/chunk-T6Q76PDN.js +182 -0
  160. package/dist/chunk-T6Q76PDN.js.map +7 -0
  161. package/dist/chunk-TYR355RM.js +263 -0
  162. package/dist/chunk-ULZPHJYD.js +2784 -0
  163. package/dist/chunk-V3SOBDIT.js +255 -0
  164. package/dist/chunk-V3SOBDIT.js.map +7 -0
  165. package/dist/chunk-VFUSBU43.js +14 -0
  166. package/dist/chunk-VOF6NWTS.js +274 -0
  167. package/dist/chunk-WGDJX7WZ.js +2327 -0
  168. package/dist/chunk-WIQVSCD5.js +294 -0
  169. package/dist/chunk-WXXRVJSP.js +56 -0
  170. package/dist/chunk-WXXRVJSP.js.map +7 -0
  171. package/dist/chunk-X4MV2M5F.js +129 -0
  172. package/dist/chunk-XVVVNCXS.js +217 -0
  173. package/dist/chunk-XVVVNCXS.js.map +7 -0
  174. package/dist/chunk-YHP7MYB7.js +49 -0
  175. package/dist/chunk-YHWQWVWX.js +550 -0
  176. package/dist/chunk-YKZOQTT4.js +1233 -0
  177. package/dist/chunk-Z5HU276I.js +34 -0
  178. package/dist/chunk-Z6MCBFDM.js +194 -0
  179. package/dist/cohort-GVAJTICQ.js +70 -0
  180. package/dist/condition-EGPNMM47.js +327 -0
  181. package/dist/controls-HBROSXHF.js +34 -0
  182. package/dist/controls.config-FWKV66TU.js +34 -0
  183. package/dist/correlation-CEHE66EC.js +95 -0
  184. package/dist/customdata.inputui-LFT3N5FD.js +284 -0
  185. package/dist/dataDownload-ZPAIAAE4.js +329 -0
  186. package/dist/databrowser.ui-W5JGFBE6.js +425 -0
  187. package/dist/dictionary-RBE2CIZI.js +113 -0
  188. package/dist/dnaMethylation-CX22TSRO.js +33 -0
  189. package/dist/dnaMethylation.integration.spec-KEE6ZZRT.js +198 -0
  190. package/dist/dofetch-6NAGX5EG.js +48 -0
  191. package/dist/e2pca-XDGPTEXL.js +344 -0
  192. package/dist/ep-IUIDMIGW.js +1249 -0
  193. package/dist/expclust.gdc.spec-BMN2PTJX.js +302 -0
  194. package/dist/facet-DTJKZOBA.js +519 -0
  195. package/dist/gb-MV7MUJWO.js +81 -0
  196. package/dist/geneExpClustering-NFH5FS3S.js +244 -0
  197. package/dist/geneExpression-XVOLNYVN.js +310 -0
  198. package/dist/geneExpression-ZP2VWHED.js +33 -0
  199. package/dist/geneExpression.unit.spec-2NSK4ARK.js +128 -0
  200. package/dist/geneExpression.unit.spec-2NSK4ARK.js.map +7 -0
  201. package/dist/geneORA-HQ7FLMEJ.js +273 -0
  202. package/dist/geneRanking-MIABUKTN.js +548 -0
  203. package/dist/geneVariant-H52UUK6Z.js +289 -0
  204. package/dist/geneVariant-H52UUK6Z.js.map +7 -0
  205. package/dist/geneVariant-HDFWLALZ.js +36 -0
  206. package/dist/geneVariant.integration.spec-O36JK4B7.js +503 -0
  207. package/dist/geneVariant.integration.spec-O36JK4B7.js.map +7 -0
  208. package/dist/genefusion.ui-HSDZQHJA.js +303 -0
  209. package/dist/geneset-WKV3X2EJ.js +203 -0
  210. package/dist/genomeBrowser.spec-UTAHAU76.js +276 -0
  211. package/dist/grin2-M2JDZVYU.js +70 -0
  212. package/dist/grin2-N2QM3XTG.js +949 -0
  213. package/dist/grin2-N2QM3XTG.js.map +7 -0
  214. package/dist/hierCluster-LZI6OTRS.js +59 -0
  215. package/dist/hierCluster-VVXPOTQU.js +55 -0
  216. package/dist/hierCluster.config-NCYH3Y7Z.js +36 -0
  217. package/dist/hierCluster.integration.spec-ZDOOCTV3.js +483 -0
  218. package/dist/hierCluster.interactivity-4HP3JCON.js +49 -0
  219. package/dist/hierCluster.renderers-3F5GMEXA.js +19 -0
  220. package/dist/imagePlot-OA4WTMLU.js +156 -0
  221. package/dist/importPlot-OSTC2GPO.js +8 -0
  222. package/dist/isoformExpression-LZ5RTUS5.js +35 -0
  223. package/dist/isoformExpression.unit.spec-L6YDBKYM.js +237 -0
  224. package/dist/junction-UR6COY3A.js +36 -0
  225. package/dist/junction.customTerm-TMV43R7Z.js +16 -0
  226. package/dist/junction.unit.spec-NVBJTGA4.js +182 -0
  227. package/dist/launch.adhoc-AZG6QJG7.js +37 -0
  228. package/dist/leftlabel.sample-LYZG25RT.js +258 -0
  229. package/dist/lollipop-FJXVP5QM.js +166 -0
  230. package/dist/maf-OXJIJD6D.js +455 -0
  231. package/dist/maftimeline-75N6ZXEM.js +587 -0
  232. package/dist/matrix-QFKGEW5A.js +54 -0
  233. package/dist/matrix-XT7LUV5K.js +59 -0
  234. package/dist/matrix.cells-NB7LKKXV.js +26 -0
  235. package/dist/matrix.config-X6HS4UGD.js +37 -0
  236. package/dist/matrix.data-VLFF34SS.js +23 -0
  237. package/dist/matrix.groups-F62TSKIG.js +26 -0
  238. package/dist/matrix.integration.spec-7QBYWHW6.js +3160 -0
  239. package/dist/matrix.integration.spec-7QBYWHW6.js.map +7 -0
  240. package/dist/matrix.interactivity-2FBXB52E.js +37 -0
  241. package/dist/matrix.layout-6TPVKLSX.js +39 -0
  242. package/dist/matrix.legend-L4ULBMGX.js +20 -0
  243. package/dist/matrix.renderers-DK6YRLO2.js +34 -0
  244. package/dist/matrix.serieses-DCRJLJ3H.js +19 -0
  245. package/dist/matrix.sort-XSGPH44J.js +26 -0
  246. package/dist/matrix.sort.unit.spec-JF75F4I4.js +468 -0
  247. package/dist/matrix.sorterUi-WL5I6S3K.js +16 -0
  248. package/dist/matrix.sorterUi.unit.spec-66JMV5BK.js +338 -0
  249. package/dist/matrix.unit.spec-36AR4I43.js +150 -0
  250. package/dist/mavb-ZH4RO77H.js +727 -0
  251. package/dist/mds.fimo-MVP2G5PS.js +513 -0
  252. package/dist/mds.samplescatterplot-GYJ3OI4N.js +1545 -0
  253. package/dist/mds.survivalplot-Q6MYQGTB.js +477 -0
  254. package/dist/multivalue-BGFMPH4X.js +83 -0
  255. package/dist/numericDictTermCluster-FNNVLIWB.js +63 -0
  256. package/dist/oncomatrix-LIIALWWN.js +290 -0
  257. package/dist/oncomatrix.spec-NEMLM2ZN.js +443 -0
  258. package/dist/plot.2dvaf-HJO3SKNK.js +372 -0
  259. package/dist/plot.app-WSLFOFSR.js +36 -0
  260. package/dist/plot.barplot-SPI5JA37.js +97 -0
  261. package/dist/plot.boxplot-4W3XEY5I.js +146 -0
  262. package/dist/plot.brainImaging-KEOUTYIB.js +51 -0
  263. package/dist/plot.disco-7IDMKNAQ.js +99 -0
  264. package/dist/plot.ssgq-IOKUGDC4.js +134 -0
  265. package/dist/plot.vaf2cov-SFSZ6M43.js +253 -0
  266. package/dist/polar2-PLPE5TX5.js +232 -0
  267. package/dist/profileForms-ZDHG67GM.js +941 -0
  268. package/dist/profilePlot-UUZA2YG6.js +49 -0
  269. package/dist/proteinView-GHS3XARL.js +1357 -0
  270. package/dist/proteomeCohortCompare-TQ3BGIPS.js +912 -0
  271. package/dist/pseudbulk.unit.spec-HFESRN7A.js +86 -0
  272. package/dist/pseudbulk.unit.spec-HFESRN7A.js.map +7 -0
  273. package/dist/pseudobulk-ODXYIUD5.js +35 -0
  274. package/dist/qualitative-WOSYAIGQ.js +38 -0
  275. package/dist/radar2-2KXBS3Y3.js +327 -0
  276. package/dist/radarFacility2-JCOKJQQF.js +335 -0
  277. package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +211 -0
  278. package/dist/render-IJ6GE3NE.js +33 -0
  279. package/dist/report-WLLFUA7L.js +217 -0
  280. package/dist/sampleView-LPKSYUNF.js +43 -0
  281. package/dist/samplelst-MNI2MGMT.js +106 -0
  282. package/dist/samplematrix-KEKJP2B4.js +2193 -0
  283. package/dist/sc-ZYKFRJU4.js +81 -0
  284. package/dist/scatter-BAEZOFWA.js +88 -0
  285. package/dist/scatter-IGFBIZ3B.js +925 -0
  286. package/dist/scatter-IGFBIZ3B.js.map +7 -0
  287. package/dist/selectGenomeWithTklst-HBHRXEDY.js +129 -0
  288. package/dist/singleCellCellType-PMFDV24B.js +33 -0
  289. package/dist/singleCellCellType.unit.spec-ZLYDUDIY.js +154 -0
  290. package/dist/singleCellGeneExpression-SUYO3HR3.js +33 -0
  291. package/dist/singleCellGeneExpression.unit.spec-3N3HRXFN.js +148 -0
  292. package/dist/singleCellNumericValue-BV7C6Y34.js +33 -0
  293. package/dist/singleCellNumericValue.unit.spec-7VJOMYQ6.js +416 -0
  294. package/dist/singleCellNumericValue.unit.spec-7VJOMYQ6.js.map +7 -0
  295. package/dist/singleCellPlot-BG7UJOHA.js +48 -0
  296. package/dist/singlecell-BANNFGBS.js +81 -0
  297. package/dist/singlecell-ZUTL5ZWE.js +1566 -0
  298. package/dist/snp-BHG4NVK4.js +33 -0
  299. package/dist/snp.unit.spec-Q3AZHQRC.js +171 -0
  300. package/dist/snplocus-HTJL63M3.js +203 -0
  301. package/dist/spliceevent.a53ss.diagram-UKRIP7EP.js +146 -0
  302. package/dist/spliceevent.exonskip.diagram-CU777CXQ.js +278 -0
  303. package/dist/spliceevent.noeventdiagram-LGLXCF25.js +455 -0
  304. package/dist/ssGSEA-BIEEKAKX.js +33 -0
  305. package/dist/ssGSEA.unit.spec-YD4UDIRH.js +83 -0
  306. package/dist/stattable-LFR3RSD6.js +117 -0
  307. package/dist/studyCatalog-RINIZ277.js +414 -0
  308. package/dist/summarizeCnvGeneexp-ZQFNPR65.js +158 -0
  309. package/dist/summarizeGeneexpSurvival-GIS7XMMH.js +105 -0
  310. package/dist/summarizeMutationCnv-FWF7YIGR.js +159 -0
  311. package/dist/summarizeMutationDiagnosis-V5L2OKTK.js +35 -0
  312. package/dist/summarizeMutationSurvival-LAUUF6XN.js +99 -0
  313. package/dist/summary-OMU3ACNE.js +44 -0
  314. package/dist/summary.integration.spec-6JZAT73L.js +409 -0
  315. package/dist/summaryInput-QIKL3HDD.js +242 -0
  316. package/dist/sunburst-32IW2R57.js +278 -0
  317. package/dist/survival-BMOPVAN2.js +53 -0
  318. package/dist/survival-H5AWMQ36.js +1248 -0
  319. package/dist/survival.integration.spec-66UOWSZG.js +613 -0
  320. package/dist/survival.integration.spec-66UOWSZG.js.map +7 -0
  321. package/dist/svgraph-B75FS3BB.js +1382 -0
  322. package/dist/svmr-IUEUOHVO.js +3837 -0
  323. package/dist/table-YAAH7WR6.js +197 -0
  324. package/dist/termCollection-7F5ZG2DB.js +252 -0
  325. package/dist/termCollection-KNFUELYY.js +33 -0
  326. package/dist/termCollection.unit.spec-S6M6QC4C.js +299 -0
  327. package/dist/termCollectionFractionSelection-X22VMJWY.js +42 -0
  328. package/dist/termCollectionFractionSelection.unit.spec-ELU6SD7P.js +188 -0
  329. package/dist/tk-TT666UVE.js +41 -0
  330. package/dist/tk-UOPNJ323.js +1121 -0
  331. package/dist/tp.ui-HGAHRKO5.js +1454 -0
  332. package/dist/tvs.dt-H7YYR4EB.js +34 -0
  333. package/dist/tvs.dtcnv.categorical-IPJTKGMF.js +35 -0
  334. package/dist/tvs.dtcnv.continuous-XY5XZ4GH.js +67 -0
  335. package/dist/tvs.dtfusion-VFCBMXRM.js +35 -0
  336. package/dist/tvs.dtitd-RZVW6FTR.js +35 -0
  337. package/dist/tvs.dtsnvindel-IDPJWSGC.js +35 -0
  338. package/dist/tvs.dtsv-QERP756F.js +35 -0
  339. package/dist/tvs.samplelst-6KNDHBIU.js +98 -0
  340. package/dist/tvs.termCollection-GWPJK3NE.js +124 -0
  341. package/dist/vocabulary-C5FIZMPQ.js +36 -0
  342. package/dist/vocabulary-C5FIZMPQ.js.map +7 -0
  343. package/dist/wsi.direct-2RBCBXDA.js +8343 -0
  344. package/package.json +3 -3
  345. package/dist/2dmaf-32F56QBJ.js +0 -1367
  346. package/dist/AggMatrixInput-RDFMGV47.js +0 -277
  347. package/dist/AggMatrixInput-RDFMGV47.js.map +0 -7
  348. package/dist/AggregateMatrix-TPXNNWVD.js +0 -41
  349. package/dist/AppHeader-SEJXDJE3.js +0 -830
  350. package/dist/BoxPlot-LOAO2MDO.js +0 -1211
  351. package/dist/CorrelationVolcano-AU6ZAFPG.js +0 -614
  352. package/dist/CorrelationVolcano-AU6ZAFPG.js.map +0 -7
  353. package/dist/Cuminc-O533BXFY.js +0 -1219
  354. package/dist/DE-FDAUNOWU.js +0 -89
  355. package/dist/DEinput-TF2VYTIJ.js +0 -499
  356. package/dist/DM-42YN3OEO.js +0 -90
  357. package/dist/DifferentialAnalysis-H5NBPR3P.js +0 -237
  358. package/dist/DifferentialAnalysis-H5NBPR3P.js.map +0 -7
  359. package/dist/Disco-FGFHIKUR.js +0 -3389
  360. package/dist/Disco.UI-YGIU2JPM.js +0 -243
  361. package/dist/DmrPlot-EQFXMAW5.js +0 -637
  362. package/dist/DmrPlot-EQFXMAW5.js.map +0 -7
  363. package/dist/GB-244UT5VU.js +0 -1391
  364. package/dist/GB-244UT5VU.js.map +0 -7
  365. package/dist/GSEA-KXQBR3HH.js +0 -851
  366. package/dist/GSEA-KXQBR3HH.js.map +0 -7
  367. package/dist/GeneExpInput-ZY6SHXTX.js +0 -42
  368. package/dist/Geomap-6ZV4AM23.js +0 -84
  369. package/dist/HicApp-4UHX2YGP.js +0 -2245
  370. package/dist/IDCViewer-AB6LLO64.js +0 -10812
  371. package/dist/NumBinaryEditor-CGSO2T4L.js +0 -279
  372. package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +0 -312
  373. package/dist/NumContEditor-YLKSC4Y2.js +0 -105
  374. package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +0 -164
  375. package/dist/NumCustomBinEditor-K3XSFHCC.js +0 -33
  376. package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +0 -397
  377. package/dist/NumDiscreteEditor-RJCSIW4R.js +0 -170
  378. package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +0 -233
  379. package/dist/NumRegularBinEditor-C3VIFDS4.js +0 -33
  380. package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +0 -278
  381. package/dist/NumSplineEditor-XBE7OV7P.js +0 -210
  382. package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +0 -224
  383. package/dist/NumericDensity-ZL7UY7TL.js +0 -33
  384. package/dist/NumericDensity.unit.spec-CWTMSR56.js +0 -418
  385. package/dist/NumericHandler-56ENFMNK.js +0 -34
  386. package/dist/NumericHandler.unit.spec-3YW34TTJ.js +0 -214
  387. package/dist/ProteomeInput-HIS4GYWH.js +0 -388
  388. package/dist/Regression-C5GZYLEN.js +0 -1416
  389. package/dist/Regression-C5GZYLEN.js.map +0 -7
  390. package/dist/RunChart2-X5WKYLPQ.js +0 -749
  391. package/dist/SC-3Y5J65DT.js +0 -1107
  392. package/dist/SC-3Y5J65DT.js.map +0 -7
  393. package/dist/Violin-F3QS2EMJ.js +0 -1082
  394. package/dist/Violin-F3QS2EMJ.js.map +0 -7
  395. package/dist/Volcano-ZNYDKP2O.js +0 -1649
  396. package/dist/Volcano-ZNYDKP2O.js.map +0 -7
  397. package/dist/Wsi-B6EIGTI2.js +0 -609
  398. package/dist/Wsi-B6EIGTI2.js.map +0 -7
  399. package/dist/adSandbox-A52OQSOW.js +0 -33
  400. package/dist/animatedBubbleChart-OQOZ3WFK.js +0 -547
  401. package/dist/app-4KIKXQX4.js +0 -32
  402. package/dist/app-NZUNKWKK.js +0 -42
  403. package/dist/bam-SME7YD3E.js +0 -876
  404. package/dist/barchart-ESY6FOS4.js +0 -42
  405. package/dist/barchart2-XEJZGCES.js +0 -309
  406. package/dist/block-747IK2EW.js +0 -6249
  407. package/dist/block-747IK2EW.js.map +0 -7
  408. package/dist/block.init-ITZ42K43.js +0 -33
  409. package/dist/block.mds.expressionrank-Q63IJAJK.js +0 -354
  410. package/dist/block.mds.geneboxplot-EZIKAIKC.js +0 -823
  411. package/dist/block.mds.junction-TJXFKZ2Q.js +0 -1539
  412. package/dist/block.mds.svcnv-WSIEAII6.js +0 -6796
  413. package/dist/block.svg-CQX5W6R4.js +0 -159
  414. package/dist/block.tk.aicheck-J4MQ4BSD.js +0 -278
  415. package/dist/block.tk.ase-2JFNPWCZ.js +0 -360
  416. package/dist/block.tk.bam-RBQ4AXSQ.js +0 -1901
  417. package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +0 -379
  418. package/dist/block.tk.bigwig.ui-U5IBO3VF.js +0 -206
  419. package/dist/block.tk.hicstraw-ZRZMFLLX.js +0 -818
  420. package/dist/block.tk.junction-7U7ABE4O.js +0 -2358
  421. package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +0 -194
  422. package/dist/block.tk.ld-E7WPFL5P.js +0 -94
  423. package/dist/block.tk.menu-AITMEZTZ.js +0 -1024
  424. package/dist/block.tk.pgv-EDPZHI5L.js +0 -938
  425. package/dist/brainImaging-35LPNBDR.js +0 -555
  426. package/dist/brainRegions-JMTQT4X3.js +0 -217
  427. package/dist/bubbleHeatmap-FMBKMDUL.js +0 -378
  428. package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +0 -278
  429. package/dist/chunk-2GBG3KA7.js +0 -129
  430. package/dist/chunk-2IVN5DWA.js +0 -302
  431. package/dist/chunk-36AAUYZE.js +0 -194
  432. package/dist/chunk-3K7AYA3M.js +0 -54
  433. package/dist/chunk-4JFFFGL3.js +0 -468
  434. package/dist/chunk-4KJSNR5E.js +0 -562
  435. package/dist/chunk-52QHIKH2.js +0 -2139
  436. package/dist/chunk-52QHIKH2.js.map +0 -7
  437. package/dist/chunk-5ALGKNTQ.js +0 -6360
  438. package/dist/chunk-5JCTTSV4.js +0 -480
  439. package/dist/chunk-5W7K7STT.js +0 -26
  440. package/dist/chunk-6CIGRV5K.js +0 -677
  441. package/dist/chunk-6CIGRV5K.js.map +0 -7
  442. package/dist/chunk-6U2OPC6J.js +0 -176
  443. package/dist/chunk-7AHTS4BP.js +0 -382
  444. package/dist/chunk-7HFAEB3C.js +0 -55
  445. package/dist/chunk-7HGZRJZZ.js +0 -98
  446. package/dist/chunk-A2ORIMUJ.js +0 -339
  447. package/dist/chunk-A32SGNCT.js +0 -1233
  448. package/dist/chunk-AKA6RWLC.js +0 -217
  449. package/dist/chunk-AMVZ6KT5.js +0 -240
  450. package/dist/chunk-ASXUC6SM.js +0 -54
  451. package/dist/chunk-BCO5T43J.js +0 -379
  452. package/dist/chunk-BDQPMVKD.js +0 -783
  453. package/dist/chunk-BOQZOLRA.js +0 -274
  454. package/dist/chunk-BSCMVKBP.js +0 -5071
  455. package/dist/chunk-BZN2O76M.js +0 -119
  456. package/dist/chunk-BZZZQFTI.js +0 -34
  457. package/dist/chunk-CRHGXVUQ.js +0 -272
  458. package/dist/chunk-D6AB63O3.js +0 -216
  459. package/dist/chunk-D6AB63O3.js.map +0 -7
  460. package/dist/chunk-DPQP2GUW.js +0 -626
  461. package/dist/chunk-EKQ7NYOU.js +0 -276
  462. package/dist/chunk-EUQEQOFE.js +0 -141
  463. package/dist/chunk-FKA55PHV.js +0 -281
  464. package/dist/chunk-GVLWCGXX.js +0 -397
  465. package/dist/chunk-HLVWCJRO.js +0 -518
  466. package/dist/chunk-HPAW7XDM.js +0 -178
  467. package/dist/chunk-HPAW7XDM.js.map +0 -7
  468. package/dist/chunk-IV57XNTG.js +0 -123
  469. package/dist/chunk-JMAFJKGG.js +0 -243
  470. package/dist/chunk-JZHRVYNS.js +0 -2676
  471. package/dist/chunk-K6YUMBDY.js +0 -55
  472. package/dist/chunk-K6YUMBDY.js.map +0 -7
  473. package/dist/chunk-KTKZSYIH.js +0 -24
  474. package/dist/chunk-KTKZSYIH.js.map +0 -7
  475. package/dist/chunk-L6WNBKYN.js +0 -158
  476. package/dist/chunk-LGR6CJTW.js +0 -2853
  477. package/dist/chunk-LOWJQFCC.js +0 -550
  478. package/dist/chunk-M5SYLBBC.js +0 -2327
  479. package/dist/chunk-MKAILEWO.js +0 -59
  480. package/dist/chunk-N4PDPZWQ.js +0 -4366
  481. package/dist/chunk-N4PDPZWQ.js.map +0 -7
  482. package/dist/chunk-OIJ6GRVS.js +0 -134
  483. package/dist/chunk-ONVIVITY.js +0 -203
  484. package/dist/chunk-OQX3HO46.js +0 -56
  485. package/dist/chunk-OQX3HO46.js.map +0 -7
  486. package/dist/chunk-OYLGAFFY.js +0 -31
  487. package/dist/chunk-P7DIIYCX.js +0 -197
  488. package/dist/chunk-P7DIIYCX.js.map +0 -7
  489. package/dist/chunk-PC4MFDHP.js +0 -24613
  490. package/dist/chunk-PC4MFDHP.js.map +0 -7
  491. package/dist/chunk-PGKOJYV6.js +0 -50
  492. package/dist/chunk-PGKOJYV6.js.map +0 -7
  493. package/dist/chunk-PPSWNLMG.js +0 -402
  494. package/dist/chunk-PPSWNLMG.js.map +0 -7
  495. package/dist/chunk-R624P2GE.js +0 -263
  496. package/dist/chunk-RBSAEAQV.js +0 -446
  497. package/dist/chunk-RUBZCKIX.js +0 -1608
  498. package/dist/chunk-RUBZCKIX.js.map +0 -7
  499. package/dist/chunk-RZ3KEFZ2.js +0 -339
  500. package/dist/chunk-SS66BHGA.js +0 -103
  501. package/dist/chunk-SU63FEY6.js +0 -294
  502. package/dist/chunk-SVC65ZPG.js +0 -102
  503. package/dist/chunk-TG3QBMDK.js +0 -102
  504. package/dist/chunk-TMXW5HVE.js +0 -1278
  505. package/dist/chunk-TPDBOH3A.js +0 -1339
  506. package/dist/chunk-U5RWKZVS.js +0 -1720
  507. package/dist/chunk-U5RWKZVS.js.map +0 -7
  508. package/dist/chunk-UYKZ5HXA.js +0 -1986
  509. package/dist/chunk-VOYUJJQ6.js +0 -70
  510. package/dist/chunk-W4RYRU5D.js +0 -38
  511. package/dist/chunk-WFSMIVJT.js +0 -2784
  512. package/dist/chunk-Y4PX2ECH.js +0 -299
  513. package/dist/chunk-YKM46UX5.js +0 -170
  514. package/dist/chunk-Z7AO6A7M.js +0 -14
  515. package/dist/chunk-ZENZ5H2Q.js +0 -49
  516. package/dist/cohort-Q7TW5XTY.js +0 -70
  517. package/dist/condition-H6LBUHIF.js +0 -327
  518. package/dist/controls-DWDKFDXY.js +0 -34
  519. package/dist/controls.config-KF7PHZSG.js +0 -34
  520. package/dist/correlation-YMSARIER.js +0 -95
  521. package/dist/customdata.inputui-KEFE7ZHS.js +0 -284
  522. package/dist/dataDownload-G7TGPFGL.js +0 -329
  523. package/dist/databrowser.ui-NFIIFQJZ.js +0 -425
  524. package/dist/dictionary-ERJQMALC.js +0 -113
  525. package/dist/dnaMethylation-KVCXKAU3.js +0 -33
  526. package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +0 -198
  527. package/dist/dofetch-YRWLEQEH.js +0 -48
  528. package/dist/e2pca-M2F2CI6I.js +0 -344
  529. package/dist/ep-QAEG4RV4.js +0 -1249
  530. package/dist/expclust.gdc.spec-P77T6JR2.js +0 -302
  531. package/dist/facet-LJTSTASE.js +0 -519
  532. package/dist/gb-KSB2DQHH.js +0 -81
  533. package/dist/geneExpClustering-KHDCPE65.js +0 -244
  534. package/dist/geneExpression-AWWMOUAR.js +0 -310
  535. package/dist/geneExpression-Z2EDR6EN.js +0 -33
  536. package/dist/geneExpression.unit.spec-WB2ESPKT.js +0 -128
  537. package/dist/geneExpression.unit.spec-WB2ESPKT.js.map +0 -7
  538. package/dist/geneORA-NGZTMFSJ.js +0 -273
  539. package/dist/geneRanking-AYNBGFKU.js +0 -548
  540. package/dist/geneVariant-AL64NDHH.js +0 -36
  541. package/dist/geneVariant-QMKR3LUV.js +0 -286
  542. package/dist/geneVariant-QMKR3LUV.js.map +0 -7
  543. package/dist/geneVariant.integration.spec-N3U5CIRT.js +0 -489
  544. package/dist/geneVariant.integration.spec-N3U5CIRT.js.map +0 -7
  545. package/dist/genefusion.ui-IWJMF2BM.js +0 -303
  546. package/dist/geneset-APCO4BRX.js +0 -203
  547. package/dist/genomeBrowser.spec-JTCVUTO5.js +0 -276
  548. package/dist/grin2-FVX6AIST.js +0 -70
  549. package/dist/grin2-LF46UKFY.js +0 -1137
  550. package/dist/grin2-LF46UKFY.js.map +0 -7
  551. package/dist/hierCluster-4DRHXD6W.js +0 -55
  552. package/dist/hierCluster-SFRQK3PS.js +0 -59
  553. package/dist/hierCluster.config-G2TFGBYF.js +0 -36
  554. package/dist/hierCluster.integration.spec-ZUZKCG6A.js +0 -483
  555. package/dist/hierCluster.interactivity-LQA6J56H.js +0 -49
  556. package/dist/hierCluster.renderers-TZZJEVFO.js +0 -19
  557. package/dist/imagePlot-OUHFWYKT.js +0 -156
  558. package/dist/importPlot-7V456QK7.js +0 -8
  559. package/dist/isoformExpression-NGUJJ6VI.js +0 -35
  560. package/dist/isoformExpression.unit.spec-DCRPXPBY.js +0 -237
  561. package/dist/junction-QYKLNXIW.js +0 -36
  562. package/dist/junction.customTerm-EHOOBR4V.js +0 -16
  563. package/dist/junction.unit.spec-LDNY7OFK.js +0 -182
  564. package/dist/launch.adhoc-FF7B3UG6.js +0 -37
  565. package/dist/leftlabel.sample-BTHMKLGF.js +0 -258
  566. package/dist/lollipop-H3UCNMHN.js +0 -166
  567. package/dist/maf-KWGUTPKO.js +0 -455
  568. package/dist/maftimeline-UD5VE4UW.js +0 -587
  569. package/dist/matrix-DLCX6GOO.js +0 -59
  570. package/dist/matrix-TIV42IQB.js +0 -54
  571. package/dist/matrix.cells-J3QZ7C6U.js +0 -26
  572. package/dist/matrix.config-VNMS6B7J.js +0 -37
  573. package/dist/matrix.data-PIE3TLKD.js +0 -23
  574. package/dist/matrix.groups-URBU775S.js +0 -26
  575. package/dist/matrix.integration.spec-LC6YMEKP.js +0 -3160
  576. package/dist/matrix.integration.spec-LC6YMEKP.js.map +0 -7
  577. package/dist/matrix.interactivity-W5AFOAQN.js +0 -37
  578. package/dist/matrix.layout-LU3NIJAL.js +0 -39
  579. package/dist/matrix.legend-LTP6ETZO.js +0 -20
  580. package/dist/matrix.renderers-762XI65L.js +0 -34
  581. package/dist/matrix.serieses-FHDBRPZA.js +0 -19
  582. package/dist/matrix.sort-Q6A6UWMY.js +0 -26
  583. package/dist/matrix.sort.unit.spec-CTCOPKVS.js +0 -468
  584. package/dist/matrix.sorterUi-4M5AU5EL.js +0 -16
  585. package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +0 -338
  586. package/dist/matrix.unit.spec-DROPHFTM.js +0 -150
  587. package/dist/mavb-BWA73N3U.js +0 -727
  588. package/dist/mds.fimo-3UJWIH2J.js +0 -513
  589. package/dist/mds.samplescatterplot-EUS7DCSQ.js +0 -1545
  590. package/dist/mds.survivalplot-77UEBQIC.js +0 -477
  591. package/dist/multivalue-KZ2DMVIR.js +0 -83
  592. package/dist/numericDictTermCluster-C2MYJYPZ.js +0 -63
  593. package/dist/oncomatrix-6LGB3M7R.js +0 -290
  594. package/dist/oncomatrix.spec-UWMSLOHW.js +0 -443
  595. package/dist/plot.2dvaf-LZAVWH65.js +0 -372
  596. package/dist/plot.app-OEWE3AYV.js +0 -36
  597. package/dist/plot.barplot-VIBHGTUT.js +0 -97
  598. package/dist/plot.boxplot-NQI3PSKR.js +0 -146
  599. package/dist/plot.brainImaging-3MTTCZHI.js +0 -51
  600. package/dist/plot.disco-HODBY7SO.js +0 -99
  601. package/dist/plot.ssgq-4URQE673.js +0 -134
  602. package/dist/plot.vaf2cov-QIJNEKCK.js +0 -253
  603. package/dist/polar2-GVFQNSLK.js +0 -232
  604. package/dist/profileForms-Z22CJXI4.js +0 -941
  605. package/dist/profilePlot-IVQZBSID.js +0 -49
  606. package/dist/proteinView-AUK634AU.js +0 -1357
  607. package/dist/proteomeCohortCompare-7G2F35H5.js +0 -912
  608. package/dist/pseudbulk.unit.spec-JDKUQUCM.js +0 -106
  609. package/dist/pseudbulk.unit.spec-JDKUQUCM.js.map +0 -7
  610. package/dist/pseudobulk-QTCUSH5I.js +0 -37
  611. package/dist/qualitative-7ST7SSBT.js +0 -38
  612. package/dist/radar2-CEE6SNBS.js +0 -327
  613. package/dist/radarFacility2-OSKDYIK7.js +0 -335
  614. package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +0 -211
  615. package/dist/render-MAD3WMVD.js +0 -33
  616. package/dist/report-6JXJVSEB.js +0 -217
  617. package/dist/sampleView-SG3QYZKQ.js +0 -43
  618. package/dist/samplelst-R765UFP6.js +0 -106
  619. package/dist/samplematrix-EBJYE5SM.js +0 -2193
  620. package/dist/sc-7ZXPFDHD.js +0 -81
  621. package/dist/scatter-3GUL4KF3.js +0 -88
  622. package/dist/scatter-RHUVER53.js +0 -920
  623. package/dist/scatter-RHUVER53.js.map +0 -7
  624. package/dist/selectGenomeWithTklst-K4YXGJYG.js +0 -129
  625. package/dist/singleCellCellType-TU5VTPLP.js +0 -33
  626. package/dist/singleCellCellType.unit.spec-IRITQIGT.js +0 -154
  627. package/dist/singleCellGeneExpression-3IL52QDK.js +0 -33
  628. package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +0 -148
  629. package/dist/singleCellPlot-XG3HZS7I.js +0 -48
  630. package/dist/singlecell-BRF2HAV2.js +0 -81
  631. package/dist/singlecell-KVCJF2HI.js +0 -1566
  632. package/dist/snp-RMZRB426.js +0 -33
  633. package/dist/snp.unit.spec-JF6KR2NT.js +0 -171
  634. package/dist/snplocus-AHUFHQ3Q.js +0 -203
  635. package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +0 -146
  636. package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +0 -278
  637. package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +0 -455
  638. package/dist/ssGSEA-7RKWYZKX.js +0 -33
  639. package/dist/ssGSEA.unit.spec-XLCZHH7S.js +0 -83
  640. package/dist/stattable-NDYUCLVZ.js +0 -117
  641. package/dist/studyCatalog-TAXRF5NS.js +0 -414
  642. package/dist/summarizeCnvGeneexp-3QLHU6N7.js +0 -158
  643. package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +0 -105
  644. package/dist/summarizeMutationCnv-W7V7CKPI.js +0 -159
  645. package/dist/summarizeMutationDiagnosis-GCL4SRON.js +0 -35
  646. package/dist/summarizeMutationSurvival-6TTMSRRX.js +0 -99
  647. package/dist/summary-OUYDWLBF.js +0 -44
  648. package/dist/summary.integration.spec-4GTCG6HY.js +0 -409
  649. package/dist/summaryInput-UK3TLC7M.js +0 -242
  650. package/dist/sunburst-2UFHMNH3.js +0 -278
  651. package/dist/survival-SPWYSDVB.js +0 -53
  652. package/dist/survival-TL6UZ6FQ.js +0 -1248
  653. package/dist/survival.integration.spec-WWZELTKZ.js +0 -613
  654. package/dist/survival.integration.spec-WWZELTKZ.js.map +0 -7
  655. package/dist/svgraph-Z543MLIN.js +0 -1382
  656. package/dist/svmr-SZCAOAIF.js +0 -3837
  657. package/dist/table-IAQ6J4DO.js +0 -197
  658. package/dist/termCollection-3NGHR7QN.js +0 -252
  659. package/dist/termCollection-7P3WU6X6.js +0 -33
  660. package/dist/termCollection.unit.spec-EPYC7LOA.js +0 -299
  661. package/dist/termCollectionFractionSelection-YKIE6BME.js +0 -42
  662. package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +0 -188
  663. package/dist/tk-TOXMU4GT.js +0 -1121
  664. package/dist/tk-X454XH5N.js +0 -41
  665. package/dist/tp.ui-FDQ76KPL.js +0 -1454
  666. package/dist/tvs.dt-U77PCG6X.js +0 -34
  667. package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +0 -35
  668. package/dist/tvs.dtcnv.continuous-4GJILFGP.js +0 -67
  669. package/dist/tvs.dtfusion-7YROAHVI.js +0 -35
  670. package/dist/tvs.dtitd-MIYU4ZHH.js +0 -35
  671. package/dist/tvs.dtsnvindel-XLDY7KWB.js +0 -35
  672. package/dist/tvs.dtsv-YMLJ37YR.js +0 -35
  673. package/dist/tvs.samplelst-KIVEXJKD.js +0 -98
  674. package/dist/tvs.termCollection-4CQV3EB3.js +0 -124
  675. package/dist/vocabulary-64GO4YDB.js +0 -36
  676. package/dist/wsi.direct-5MQVRJZX.js +0 -8343
  677. /package/dist/{2dmaf-32F56QBJ.js.map → 2dmaf-VTMPVZGT.js.map} +0 -0
  678. /package/dist/{AggregateMatrix-TPXNNWVD.js.map → AggregateMatrix-DPCHUOMF.js.map} +0 -0
  679. /package/dist/{AppHeader-SEJXDJE3.js.map → AppHeader-RA7T467G.js.map} +0 -0
  680. /package/dist/{BoxPlot-LOAO2MDO.js.map → BoxPlot-7Q7SMT26.js.map} +0 -0
  681. /package/dist/{Cuminc-O533BXFY.js.map → Cuminc-ZN53C3MD.js.map} +0 -0
  682. /package/dist/{DE-FDAUNOWU.js.map → DE-BEWW5AIG.js.map} +0 -0
  683. /package/dist/{DEinput-TF2VYTIJ.js.map → DEinput-SJITUJF2.js.map} +0 -0
  684. /package/dist/{DM-42YN3OEO.js.map → DM-2LBNE4WE.js.map} +0 -0
  685. /package/dist/{Disco-FGFHIKUR.js.map → Disco-PTZQF7IM.js.map} +0 -0
  686. /package/dist/{Disco.UI-YGIU2JPM.js.map → Disco.UI-NBR67N5M.js.map} +0 -0
  687. /package/dist/{GeneExpInput-ZY6SHXTX.js.map → GeneExpInput-DYBK54HC.js.map} +0 -0
  688. /package/dist/{Geomap-6ZV4AM23.js.map → Geomap-QRD2WZVL.js.map} +0 -0
  689. /package/dist/{HicApp-4UHX2YGP.js.map → HicApp-VKET4QHD.js.map} +0 -0
  690. /package/dist/{IDCViewer-AB6LLO64.js.map → IDCViewer-RLLTXGD7.js.map} +0 -0
  691. /package/dist/{NumBinaryEditor-CGSO2T4L.js.map → NumBinaryEditor-GYHOYPQL.js.map} +0 -0
  692. /package/dist/{NumBinaryEditor.unit.spec-3QHARZQJ.js.map → NumBinaryEditor.unit.spec-E2HKBWOO.js.map} +0 -0
  693. /package/dist/{NumContEditor-YLKSC4Y2.js.map → NumContEditor-3V76ZSEY.js.map} +0 -0
  694. /package/dist/{NumContEditor.unit.spec-L3GC3ZTJ.js.map → NumContEditor.unit.spec-RTT5Q5E5.js.map} +0 -0
  695. /package/dist/{NumCustomBinEditor-K3XSFHCC.js.map → NumCustomBinEditor-O5DMPY7H.js.map} +0 -0
  696. /package/dist/{NumCustomBinEditor.unit.spec-2FUHE6BX.js.map → NumCustomBinEditor.unit.spec-5LZBP2JL.js.map} +0 -0
  697. /package/dist/{NumDiscreteEditor-RJCSIW4R.js.map → NumDiscreteEditor-DFOJ7AIH.js.map} +0 -0
  698. /package/dist/{NumDiscreteEditor.unit.spec-CUA6BOIS.js.map → NumDiscreteEditor.unit.spec-PPJGEBFX.js.map} +0 -0
  699. /package/dist/{NumRegularBinEditor-C3VIFDS4.js.map → NumRegularBinEditor-O6RDO32C.js.map} +0 -0
  700. /package/dist/{NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map → NumRegularBinEditor.unit.spec-GOB3BF25.js.map} +0 -0
  701. /package/dist/{NumSplineEditor-XBE7OV7P.js.map → NumSplineEditor-PUXJF2RW.js.map} +0 -0
  702. /package/dist/{NumSplineEditor.unit.spec-CKRRI4US.js.map → NumSplineEditor.unit.spec-4VOAAMOU.js.map} +0 -0
  703. /package/dist/{NumericDensity-ZL7UY7TL.js.map → NumericDensity-E6MH2THZ.js.map} +0 -0
  704. /package/dist/{NumericDensity.unit.spec-CWTMSR56.js.map → NumericDensity.unit.spec-IRPFBQUS.js.map} +0 -0
  705. /package/dist/{NumericHandler-56ENFMNK.js.map → NumericHandler-42RR54X3.js.map} +0 -0
  706. /package/dist/{NumericHandler.unit.spec-3YW34TTJ.js.map → NumericHandler.unit.spec-YYOO7XVT.js.map} +0 -0
  707. /package/dist/{ProteomeInput-HIS4GYWH.js.map → ProteomeInput-4N2G6IFX.js.map} +0 -0
  708. /package/dist/{RunChart2-X5WKYLPQ.js.map → RunChart2-VAX5JGZY.js.map} +0 -0
  709. /package/dist/{adSandbox-A52OQSOW.js.map → adSandbox-CLMUYNC3.js.map} +0 -0
  710. /package/dist/{animatedBubbleChart-OQOZ3WFK.js.map → animatedBubbleChart-GMLNYTQC.js.map} +0 -0
  711. /package/dist/{app-4KIKXQX4.js.map → app-2SFDRDN2.js.map} +0 -0
  712. /package/dist/{app-NZUNKWKK.js.map → app-QOZ36UR4.js.map} +0 -0
  713. /package/dist/{bam-SME7YD3E.js.map → bam-LLAK7FVG.js.map} +0 -0
  714. /package/dist/{barchart-ESY6FOS4.js.map → barchart-SEC6VKQ2.js.map} +0 -0
  715. /package/dist/{barchart2-XEJZGCES.js.map → barchart2-D4FXZCTU.js.map} +0 -0
  716. /package/dist/{block.init-ITZ42K43.js.map → block.init-UMRCAKCF.js.map} +0 -0
  717. /package/dist/{block.mds.expressionrank-Q63IJAJK.js.map → block.mds.expressionrank-LFPJ52SX.js.map} +0 -0
  718. /package/dist/{block.mds.geneboxplot-EZIKAIKC.js.map → block.mds.geneboxplot-2QIEN6AH.js.map} +0 -0
  719. /package/dist/{block.mds.junction-TJXFKZ2Q.js.map → block.mds.junction-Z4HUFSG2.js.map} +0 -0
  720. /package/dist/{block.mds.svcnv-WSIEAII6.js.map → block.mds.svcnv-3GXGY6ET.js.map} +0 -0
  721. /package/dist/{block.svg-CQX5W6R4.js.map → block.svg-7RCJLMAP.js.map} +0 -0
  722. /package/dist/{block.tk.aicheck-J4MQ4BSD.js.map → block.tk.aicheck-5N6EGZ6F.js.map} +0 -0
  723. /package/dist/{block.tk.ase-2JFNPWCZ.js.map → block.tk.ase-V3AJRYT6.js.map} +0 -0
  724. /package/dist/{block.tk.bam-RBQ4AXSQ.js.map → block.tk.bam-W6QOVVEU.js.map} +0 -0
  725. /package/dist/{block.tk.bedgraphdot-ZQBOMVTO.js.map → block.tk.bedgraphdot-FKTPJZTH.js.map} +0 -0
  726. /package/dist/{block.tk.bigwig.ui-U5IBO3VF.js.map → block.tk.bigwig.ui-Y3M2TDM2.js.map} +0 -0
  727. /package/dist/{block.tk.hicstraw-ZRZMFLLX.js.map → block.tk.hicstraw-3SWYTMFQ.js.map} +0 -0
  728. /package/dist/{block.tk.junction-7U7ABE4O.js.map → block.tk.junction-OXB22PDS.js.map} +0 -0
  729. /package/dist/{block.tk.junction.textmatrixui-AEXZ7W3U.js.map → block.tk.junction.textmatrixui-PWBLRGCO.js.map} +0 -0
  730. /package/dist/{block.tk.ld-E7WPFL5P.js.map → block.tk.ld-NTRJL5GA.js.map} +0 -0
  731. /package/dist/{block.tk.menu-AITMEZTZ.js.map → block.tk.menu-JIHSGGIO.js.map} +0 -0
  732. /package/dist/{block.tk.pgv-EDPZHI5L.js.map → block.tk.pgv-4Q6CY6QN.js.map} +0 -0
  733. /package/dist/{brainImaging-35LPNBDR.js.map → brainImaging-MBI4XTTU.js.map} +0 -0
  734. /package/dist/{brainRegions-JMTQT4X3.js.map → brainRegions-YVTAESRP.js.map} +0 -0
  735. /package/dist/{bubbleHeatmap-FMBKMDUL.js.map → bubbleHeatmap-ZKTA3AIG.js.map} +0 -0
  736. /package/dist/{cellTypeBubbleHeatmap-ZPTAGEWW.js.map → cellTypeBubbleHeatmap-GJZNXDG4.js.map} +0 -0
  737. /package/dist/{chunk-5ALGKNTQ.js.map → chunk-2RMSV4BS.js.map} +0 -0
  738. /package/dist/{chunk-Y4PX2ECH.js.map → chunk-33BE7AYS.js.map} +0 -0
  739. /package/dist/{chunk-BZN2O76M.js.map → chunk-3FEP6B5T.js.map} +0 -0
  740. /package/dist/{chunk-W4RYRU5D.js.map → chunk-4G73CMUL.js.map} +0 -0
  741. /package/dist/{chunk-FKA55PHV.js.map → chunk-5FRETII3.js.map} +0 -0
  742. /package/dist/{chunk-YKM46UX5.js.map → chunk-5LYVIIYR.js.map} +0 -0
  743. /package/dist/{chunk-A2ORIMUJ.js.map → chunk-6FG6JFZP.js.map} +0 -0
  744. /package/dist/{chunk-VOYUJJQ6.js.map → chunk-6LDKSKYQ.js.map} +0 -0
  745. /package/dist/{chunk-CRHGXVUQ.js.map → chunk-7FFTAYT4.js.map} +0 -0
  746. /package/dist/{chunk-RZ3KEFZ2.js.map → chunk-7GDRMBNO.js.map} +0 -0
  747. /package/dist/{chunk-UYKZ5HXA.js.map → chunk-A2UUXYH6.js.map} +0 -0
  748. /package/dist/{chunk-LGR6CJTW.js.map → chunk-AFQKYV4D.js.map} +0 -0
  749. /package/dist/{chunk-EKQ7NYOU.js.map → chunk-ANACCKCQ.js.map} +0 -0
  750. /package/dist/{chunk-4KJSNR5E.js.map → chunk-AR3HXZIW.js.map} +0 -0
  751. /package/dist/{chunk-RBSAEAQV.js.map → chunk-AVCEHJG7.js.map} +0 -0
  752. /package/dist/{chunk-OIJ6GRVS.js.map → chunk-BG3SGGVB.js.map} +0 -0
  753. /package/dist/{chunk-7AHTS4BP.js.map → chunk-CFZ2ZW3E.js.map} +0 -0
  754. /package/dist/{chunk-5W7K7STT.js.map → chunk-CKOU3P27.js.map} +0 -0
  755. /package/dist/{chunk-GVLWCGXX.js.map → chunk-CN6KJORZ.js.map} +0 -0
  756. /package/dist/{chunk-ONVIVITY.js.map → chunk-CYWEYHJQ.js.map} +0 -0
  757. /package/dist/{chunk-L6WNBKYN.js.map → chunk-D5ETVOOE.js.map} +0 -0
  758. /package/dist/{chunk-TG3QBMDK.js.map → chunk-DANF4CC5.js.map} +0 -0
  759. /package/dist/{chunk-TPDBOH3A.js.map → chunk-DNCFJTPI.js.map} +0 -0
  760. /package/dist/{chunk-5JCTTSV4.js.map → chunk-FNW6BKOA.js.map} +0 -0
  761. /package/dist/{chunk-3K7AYA3M.js.map → chunk-FR5USNAT.js.map} +0 -0
  762. /package/dist/{chunk-DPQP2GUW.js.map → chunk-GYE6FU7P.js.map} +0 -0
  763. /package/dist/{chunk-TMXW5HVE.js.map → chunk-IEIGHCZS.js.map} +0 -0
  764. /package/dist/{chunk-BSCMVKBP.js.map → chunk-JMDUO47F.js.map} +0 -0
  765. /package/dist/{chunk-ASXUC6SM.js.map → chunk-JTANDSTD.js.map} +0 -0
  766. /package/dist/{chunk-BCO5T43J.js.map → chunk-JTQPPUDG.js.map} +0 -0
  767. /package/dist/{chunk-2IVN5DWA.js.map → chunk-K32DV4QI.js.map} +0 -0
  768. /package/dist/{chunk-7HGZRJZZ.js.map → chunk-K77W4SSI.js.map} +0 -0
  769. /package/dist/{chunk-SVC65ZPG.js.map → chunk-KEHVNCFK.js.map} +0 -0
  770. /package/dist/{chunk-7HFAEB3C.js.map → chunk-MMKSXXU2.js.map} +0 -0
  771. /package/dist/{chunk-OYLGAFFY.js.map → chunk-NDOKW2HJ.js.map} +0 -0
  772. /package/dist/{chunk-HLVWCJRO.js.map → chunk-NGMM2MNC.js.map} +0 -0
  773. /package/dist/{chunk-JZHRVYNS.js.map → chunk-OEBGQKQR.js.map} +0 -0
  774. /package/dist/{chunk-4JFFFGL3.js.map → chunk-OI5KBFBE.js.map} +0 -0
  775. /package/dist/{chunk-JMAFJKGG.js.map → chunk-OWEBE64A.js.map} +0 -0
  776. /package/dist/{chunk-BDQPMVKD.js.map → chunk-P7X4LDW4.js.map} +0 -0
  777. /package/dist/{chunk-MKAILEWO.js.map → chunk-QD75Q5LM.js.map} +0 -0
  778. /package/dist/{chunk-EUQEQOFE.js.map → chunk-QGH5BM2D.js.map} +0 -0
  779. /package/dist/{chunk-AMVZ6KT5.js.map → chunk-QSOFGLWZ.js.map} +0 -0
  780. /package/dist/{chunk-AKA6RWLC.js.map → chunk-QXDGIQYA.js.map} +0 -0
  781. /package/dist/{chunk-6U2OPC6J.js.map → chunk-R2QE6ROO.js.map} +0 -0
  782. /package/dist/{chunk-SS66BHGA.js.map → chunk-RMHUDMZ7.js.map} +0 -0
  783. /package/dist/{chunk-IV57XNTG.js.map → chunk-SXB4IZQ7.js.map} +0 -0
  784. /package/dist/{chunk-R624P2GE.js.map → chunk-TYR355RM.js.map} +0 -0
  785. /package/dist/{chunk-WFSMIVJT.js.map → chunk-ULZPHJYD.js.map} +0 -0
  786. /package/dist/{chunk-Z7AO6A7M.js.map → chunk-VFUSBU43.js.map} +0 -0
  787. /package/dist/{chunk-BOQZOLRA.js.map → chunk-VOF6NWTS.js.map} +0 -0
  788. /package/dist/{chunk-M5SYLBBC.js.map → chunk-WGDJX7WZ.js.map} +0 -0
  789. /package/dist/{chunk-SU63FEY6.js.map → chunk-WIQVSCD5.js.map} +0 -0
  790. /package/dist/{chunk-2GBG3KA7.js.map → chunk-X4MV2M5F.js.map} +0 -0
  791. /package/dist/{chunk-ZENZ5H2Q.js.map → chunk-YHP7MYB7.js.map} +0 -0
  792. /package/dist/{chunk-LOWJQFCC.js.map → chunk-YHWQWVWX.js.map} +0 -0
  793. /package/dist/{chunk-A32SGNCT.js.map → chunk-YKZOQTT4.js.map} +0 -0
  794. /package/dist/{chunk-BZZZQFTI.js.map → chunk-Z5HU276I.js.map} +0 -0
  795. /package/dist/{chunk-36AAUYZE.js.map → chunk-Z6MCBFDM.js.map} +0 -0
  796. /package/dist/{cohort-Q7TW5XTY.js.map → cohort-GVAJTICQ.js.map} +0 -0
  797. /package/dist/{condition-H6LBUHIF.js.map → condition-EGPNMM47.js.map} +0 -0
  798. /package/dist/{controls-DWDKFDXY.js.map → controls-HBROSXHF.js.map} +0 -0
  799. /package/dist/{controls.config-KF7PHZSG.js.map → controls.config-FWKV66TU.js.map} +0 -0
  800. /package/dist/{correlation-YMSARIER.js.map → correlation-CEHE66EC.js.map} +0 -0
  801. /package/dist/{customdata.inputui-KEFE7ZHS.js.map → customdata.inputui-LFT3N5FD.js.map} +0 -0
  802. /package/dist/{dataDownload-G7TGPFGL.js.map → dataDownload-ZPAIAAE4.js.map} +0 -0
  803. /package/dist/{databrowser.ui-NFIIFQJZ.js.map → databrowser.ui-W5JGFBE6.js.map} +0 -0
  804. /package/dist/{dictionary-ERJQMALC.js.map → dictionary-RBE2CIZI.js.map} +0 -0
  805. /package/dist/{dnaMethylation-KVCXKAU3.js.map → dnaMethylation-CX22TSRO.js.map} +0 -0
  806. /package/dist/{dnaMethylation.integration.spec-3NXGGG4J.js.map → dnaMethylation.integration.spec-KEE6ZZRT.js.map} +0 -0
  807. /package/dist/{dofetch-YRWLEQEH.js.map → dofetch-6NAGX5EG.js.map} +0 -0
  808. /package/dist/{e2pca-M2F2CI6I.js.map → e2pca-XDGPTEXL.js.map} +0 -0
  809. /package/dist/{ep-QAEG4RV4.js.map → ep-IUIDMIGW.js.map} +0 -0
  810. /package/dist/{expclust.gdc.spec-P77T6JR2.js.map → expclust.gdc.spec-BMN2PTJX.js.map} +0 -0
  811. /package/dist/{facet-LJTSTASE.js.map → facet-DTJKZOBA.js.map} +0 -0
  812. /package/dist/{gb-KSB2DQHH.js.map → gb-MV7MUJWO.js.map} +0 -0
  813. /package/dist/{geneExpClustering-KHDCPE65.js.map → geneExpClustering-NFH5FS3S.js.map} +0 -0
  814. /package/dist/{geneExpression-AWWMOUAR.js.map → geneExpression-XVOLNYVN.js.map} +0 -0
  815. /package/dist/{geneExpression-Z2EDR6EN.js.map → geneExpression-ZP2VWHED.js.map} +0 -0
  816. /package/dist/{geneORA-NGZTMFSJ.js.map → geneORA-HQ7FLMEJ.js.map} +0 -0
  817. /package/dist/{geneRanking-AYNBGFKU.js.map → geneRanking-MIABUKTN.js.map} +0 -0
  818. /package/dist/{geneVariant-AL64NDHH.js.map → geneVariant-HDFWLALZ.js.map} +0 -0
  819. /package/dist/{genefusion.ui-IWJMF2BM.js.map → genefusion.ui-HSDZQHJA.js.map} +0 -0
  820. /package/dist/{geneset-APCO4BRX.js.map → geneset-WKV3X2EJ.js.map} +0 -0
  821. /package/dist/{genomeBrowser.spec-JTCVUTO5.js.map → genomeBrowser.spec-UTAHAU76.js.map} +0 -0
  822. /package/dist/{grin2-FVX6AIST.js.map → grin2-M2JDZVYU.js.map} +0 -0
  823. /package/dist/{hierCluster-4DRHXD6W.js.map → hierCluster-LZI6OTRS.js.map} +0 -0
  824. /package/dist/{hierCluster-SFRQK3PS.js.map → hierCluster-VVXPOTQU.js.map} +0 -0
  825. /package/dist/{hierCluster.config-G2TFGBYF.js.map → hierCluster.config-NCYH3Y7Z.js.map} +0 -0
  826. /package/dist/{hierCluster.integration.spec-ZUZKCG6A.js.map → hierCluster.integration.spec-ZDOOCTV3.js.map} +0 -0
  827. /package/dist/{hierCluster.interactivity-LQA6J56H.js.map → hierCluster.interactivity-4HP3JCON.js.map} +0 -0
  828. /package/dist/{hierCluster.renderers-TZZJEVFO.js.map → hierCluster.renderers-3F5GMEXA.js.map} +0 -0
  829. /package/dist/{imagePlot-OUHFWYKT.js.map → imagePlot-OA4WTMLU.js.map} +0 -0
  830. /package/dist/{importPlot-7V456QK7.js.map → importPlot-OSTC2GPO.js.map} +0 -0
  831. /package/dist/{isoformExpression-NGUJJ6VI.js.map → isoformExpression-LZ5RTUS5.js.map} +0 -0
  832. /package/dist/{isoformExpression.unit.spec-DCRPXPBY.js.map → isoformExpression.unit.spec-L6YDBKYM.js.map} +0 -0
  833. /package/dist/{junction-QYKLNXIW.js.map → junction-UR6COY3A.js.map} +0 -0
  834. /package/dist/{junction.customTerm-EHOOBR4V.js.map → junction.customTerm-TMV43R7Z.js.map} +0 -0
  835. /package/dist/{junction.unit.spec-LDNY7OFK.js.map → junction.unit.spec-NVBJTGA4.js.map} +0 -0
  836. /package/dist/{launch.adhoc-FF7B3UG6.js.map → launch.adhoc-AZG6QJG7.js.map} +0 -0
  837. /package/dist/{leftlabel.sample-BTHMKLGF.js.map → leftlabel.sample-LYZG25RT.js.map} +0 -0
  838. /package/dist/{lollipop-H3UCNMHN.js.map → lollipop-FJXVP5QM.js.map} +0 -0
  839. /package/dist/{maf-KWGUTPKO.js.map → maf-OXJIJD6D.js.map} +0 -0
  840. /package/dist/{maftimeline-UD5VE4UW.js.map → maftimeline-75N6ZXEM.js.map} +0 -0
  841. /package/dist/{matrix-DLCX6GOO.js.map → matrix-QFKGEW5A.js.map} +0 -0
  842. /package/dist/{matrix-TIV42IQB.js.map → matrix-XT7LUV5K.js.map} +0 -0
  843. /package/dist/{matrix.cells-J3QZ7C6U.js.map → matrix.cells-NB7LKKXV.js.map} +0 -0
  844. /package/dist/{matrix.config-VNMS6B7J.js.map → matrix.config-X6HS4UGD.js.map} +0 -0
  845. /package/dist/{matrix.data-PIE3TLKD.js.map → matrix.data-VLFF34SS.js.map} +0 -0
  846. /package/dist/{matrix.groups-URBU775S.js.map → matrix.groups-F62TSKIG.js.map} +0 -0
  847. /package/dist/{matrix.interactivity-W5AFOAQN.js.map → matrix.interactivity-2FBXB52E.js.map} +0 -0
  848. /package/dist/{matrix.layout-LU3NIJAL.js.map → matrix.layout-6TPVKLSX.js.map} +0 -0
  849. /package/dist/{matrix.legend-LTP6ETZO.js.map → matrix.legend-L4ULBMGX.js.map} +0 -0
  850. /package/dist/{matrix.renderers-762XI65L.js.map → matrix.renderers-DK6YRLO2.js.map} +0 -0
  851. /package/dist/{matrix.serieses-FHDBRPZA.js.map → matrix.serieses-DCRJLJ3H.js.map} +0 -0
  852. /package/dist/{matrix.sort-Q6A6UWMY.js.map → matrix.sort-XSGPH44J.js.map} +0 -0
  853. /package/dist/{matrix.sort.unit.spec-CTCOPKVS.js.map → matrix.sort.unit.spec-JF75F4I4.js.map} +0 -0
  854. /package/dist/{matrix.sorterUi-4M5AU5EL.js.map → matrix.sorterUi-WL5I6S3K.js.map} +0 -0
  855. /package/dist/{matrix.sorterUi.unit.spec-Y7GC3PM5.js.map → matrix.sorterUi.unit.spec-66JMV5BK.js.map} +0 -0
  856. /package/dist/{matrix.unit.spec-DROPHFTM.js.map → matrix.unit.spec-36AR4I43.js.map} +0 -0
  857. /package/dist/{mavb-BWA73N3U.js.map → mavb-ZH4RO77H.js.map} +0 -0
  858. /package/dist/{mds.fimo-3UJWIH2J.js.map → mds.fimo-MVP2G5PS.js.map} +0 -0
  859. /package/dist/{mds.samplescatterplot-EUS7DCSQ.js.map → mds.samplescatterplot-GYJ3OI4N.js.map} +0 -0
  860. /package/dist/{mds.survivalplot-77UEBQIC.js.map → mds.survivalplot-Q6MYQGTB.js.map} +0 -0
  861. /package/dist/{multivalue-KZ2DMVIR.js.map → multivalue-BGFMPH4X.js.map} +0 -0
  862. /package/dist/{numericDictTermCluster-C2MYJYPZ.js.map → numericDictTermCluster-FNNVLIWB.js.map} +0 -0
  863. /package/dist/{oncomatrix-6LGB3M7R.js.map → oncomatrix-LIIALWWN.js.map} +0 -0
  864. /package/dist/{oncomatrix.spec-UWMSLOHW.js.map → oncomatrix.spec-NEMLM2ZN.js.map} +0 -0
  865. /package/dist/{plot.2dvaf-LZAVWH65.js.map → plot.2dvaf-HJO3SKNK.js.map} +0 -0
  866. /package/dist/{plot.app-OEWE3AYV.js.map → plot.app-WSLFOFSR.js.map} +0 -0
  867. /package/dist/{plot.barplot-VIBHGTUT.js.map → plot.barplot-SPI5JA37.js.map} +0 -0
  868. /package/dist/{plot.boxplot-NQI3PSKR.js.map → plot.boxplot-4W3XEY5I.js.map} +0 -0
  869. /package/dist/{plot.brainImaging-3MTTCZHI.js.map → plot.brainImaging-KEOUTYIB.js.map} +0 -0
  870. /package/dist/{plot.disco-HODBY7SO.js.map → plot.disco-7IDMKNAQ.js.map} +0 -0
  871. /package/dist/{plot.ssgq-4URQE673.js.map → plot.ssgq-IOKUGDC4.js.map} +0 -0
  872. /package/dist/{plot.vaf2cov-QIJNEKCK.js.map → plot.vaf2cov-SFSZ6M43.js.map} +0 -0
  873. /package/dist/{polar2-GVFQNSLK.js.map → polar2-PLPE5TX5.js.map} +0 -0
  874. /package/dist/{profileForms-Z22CJXI4.js.map → profileForms-ZDHG67GM.js.map} +0 -0
  875. /package/dist/{profilePlot-IVQZBSID.js.map → profilePlot-UUZA2YG6.js.map} +0 -0
  876. /package/dist/{proteinView-AUK634AU.js.map → proteinView-GHS3XARL.js.map} +0 -0
  877. /package/dist/{proteomeCohortCompare-7G2F35H5.js.map → proteomeCohortCompare-TQ3BGIPS.js.map} +0 -0
  878. /package/dist/{pseudobulk-QTCUSH5I.js.map → pseudobulk-ODXYIUD5.js.map} +0 -0
  879. /package/dist/{qualitative-7ST7SSBT.js.map → qualitative-WOSYAIGQ.js.map} +0 -0
  880. /package/dist/{radar2-CEE6SNBS.js.map → radar2-2KXBS3Y3.js.map} +0 -0
  881. /package/dist/{radarFacility2-OSKDYIK7.js.map → radarFacility2-JCOKJQQF.js.map} +0 -0
  882. /package/dist/{rememberedGvQ.unit.spec-RYFUJ2NW.js.map → rememberedGvQ.unit.spec-DYRO2LO5.js.map} +0 -0
  883. /package/dist/{render-MAD3WMVD.js.map → render-IJ6GE3NE.js.map} +0 -0
  884. /package/dist/{report-6JXJVSEB.js.map → report-WLLFUA7L.js.map} +0 -0
  885. /package/dist/{sampleView-SG3QYZKQ.js.map → sampleView-LPKSYUNF.js.map} +0 -0
  886. /package/dist/{samplelst-R765UFP6.js.map → samplelst-MNI2MGMT.js.map} +0 -0
  887. /package/dist/{samplematrix-EBJYE5SM.js.map → samplematrix-KEKJP2B4.js.map} +0 -0
  888. /package/dist/{sc-7ZXPFDHD.js.map → sc-ZYKFRJU4.js.map} +0 -0
  889. /package/dist/{scatter-3GUL4KF3.js.map → scatter-BAEZOFWA.js.map} +0 -0
  890. /package/dist/{selectGenomeWithTklst-K4YXGJYG.js.map → selectGenomeWithTklst-HBHRXEDY.js.map} +0 -0
  891. /package/dist/{singleCellCellType-TU5VTPLP.js.map → singleCellCellType-PMFDV24B.js.map} +0 -0
  892. /package/dist/{singleCellCellType.unit.spec-IRITQIGT.js.map → singleCellCellType.unit.spec-ZLYDUDIY.js.map} +0 -0
  893. /package/dist/{singleCellGeneExpression-3IL52QDK.js.map → singleCellGeneExpression-SUYO3HR3.js.map} +0 -0
  894. /package/dist/{singleCellGeneExpression.unit.spec-WXC4C37T.js.map → singleCellGeneExpression.unit.spec-3N3HRXFN.js.map} +0 -0
  895. /package/dist/{singleCellPlot-XG3HZS7I.js.map → singleCellNumericValue-BV7C6Y34.js.map} +0 -0
  896. /package/dist/{snp-RMZRB426.js.map → singleCellPlot-BG7UJOHA.js.map} +0 -0
  897. /package/dist/{singlecell-BRF2HAV2.js.map → singlecell-BANNFGBS.js.map} +0 -0
  898. /package/dist/{singlecell-KVCJF2HI.js.map → singlecell-ZUTL5ZWE.js.map} +0 -0
  899. /package/dist/{ssGSEA-7RKWYZKX.js.map → snp-BHG4NVK4.js.map} +0 -0
  900. /package/dist/{snp.unit.spec-JF6KR2NT.js.map → snp.unit.spec-Q3AZHQRC.js.map} +0 -0
  901. /package/dist/{snplocus-AHUFHQ3Q.js.map → snplocus-HTJL63M3.js.map} +0 -0
  902. /package/dist/{spliceevent.a53ss.diagram-OSZZ2CF2.js.map → spliceevent.a53ss.diagram-UKRIP7EP.js.map} +0 -0
  903. /package/dist/{spliceevent.exonskip.diagram-AMA2D2OL.js.map → spliceevent.exonskip.diagram-CU777CXQ.js.map} +0 -0
  904. /package/dist/{spliceevent.noeventdiagram-RKTUXH5D.js.map → spliceevent.noeventdiagram-LGLXCF25.js.map} +0 -0
  905. /package/dist/{summarizeMutationDiagnosis-GCL4SRON.js.map → ssGSEA-BIEEKAKX.js.map} +0 -0
  906. /package/dist/{ssGSEA.unit.spec-XLCZHH7S.js.map → ssGSEA.unit.spec-YD4UDIRH.js.map} +0 -0
  907. /package/dist/{stattable-NDYUCLVZ.js.map → stattable-LFR3RSD6.js.map} +0 -0
  908. /package/dist/{studyCatalog-TAXRF5NS.js.map → studyCatalog-RINIZ277.js.map} +0 -0
  909. /package/dist/{summarizeCnvGeneexp-3QLHU6N7.js.map → summarizeCnvGeneexp-ZQFNPR65.js.map} +0 -0
  910. /package/dist/{summarizeGeneexpSurvival-ARI4MPFX.js.map → summarizeGeneexpSurvival-GIS7XMMH.js.map} +0 -0
  911. /package/dist/{summarizeMutationCnv-W7V7CKPI.js.map → summarizeMutationCnv-FWF7YIGR.js.map} +0 -0
  912. /package/dist/{summary-OUYDWLBF.js.map → summarizeMutationDiagnosis-V5L2OKTK.js.map} +0 -0
  913. /package/dist/{summarizeMutationSurvival-6TTMSRRX.js.map → summarizeMutationSurvival-LAUUF6XN.js.map} +0 -0
  914. /package/dist/{termCollection-7P3WU6X6.js.map → summary-OMU3ACNE.js.map} +0 -0
  915. /package/dist/{summary.integration.spec-4GTCG6HY.js.map → summary.integration.spec-6JZAT73L.js.map} +0 -0
  916. /package/dist/{summaryInput-UK3TLC7M.js.map → summaryInput-QIKL3HDD.js.map} +0 -0
  917. /package/dist/{sunburst-2UFHMNH3.js.map → sunburst-32IW2R57.js.map} +0 -0
  918. /package/dist/{survival-SPWYSDVB.js.map → survival-BMOPVAN2.js.map} +0 -0
  919. /package/dist/{survival-TL6UZ6FQ.js.map → survival-H5AWMQ36.js.map} +0 -0
  920. /package/dist/{svgraph-Z543MLIN.js.map → svgraph-B75FS3BB.js.map} +0 -0
  921. /package/dist/{svmr-SZCAOAIF.js.map → svmr-IUEUOHVO.js.map} +0 -0
  922. /package/dist/{table-IAQ6J4DO.js.map → table-YAAH7WR6.js.map} +0 -0
  923. /package/dist/{termCollection-3NGHR7QN.js.map → termCollection-7F5ZG2DB.js.map} +0 -0
  924. /package/dist/{termCollectionFractionSelection-YKIE6BME.js.map → termCollection-KNFUELYY.js.map} +0 -0
  925. /package/dist/{termCollection.unit.spec-EPYC7LOA.js.map → termCollection.unit.spec-S6M6QC4C.js.map} +0 -0
  926. /package/dist/{tk-X454XH5N.js.map → termCollectionFractionSelection-X22VMJWY.js.map} +0 -0
  927. /package/dist/{termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map → termCollectionFractionSelection.unit.spec-ELU6SD7P.js.map} +0 -0
  928. /package/dist/{tvs.dt-U77PCG6X.js.map → tk-TT666UVE.js.map} +0 -0
  929. /package/dist/{tk-TOXMU4GT.js.map → tk-UOPNJ323.js.map} +0 -0
  930. /package/dist/{tp.ui-FDQ76KPL.js.map → tp.ui-HGAHRKO5.js.map} +0 -0
  931. /package/dist/{vocabulary-64GO4YDB.js.map → tvs.dt-H7YYR4EB.js.map} +0 -0
  932. /package/dist/{tvs.dtcnv.categorical-XYZU4XLO.js.map → tvs.dtcnv.categorical-IPJTKGMF.js.map} +0 -0
  933. /package/dist/{tvs.dtcnv.continuous-4GJILFGP.js.map → tvs.dtcnv.continuous-XY5XZ4GH.js.map} +0 -0
  934. /package/dist/{tvs.dtfusion-7YROAHVI.js.map → tvs.dtfusion-VFCBMXRM.js.map} +0 -0
  935. /package/dist/{tvs.dtitd-MIYU4ZHH.js.map → tvs.dtitd-RZVW6FTR.js.map} +0 -0
  936. /package/dist/{tvs.dtsnvindel-XLDY7KWB.js.map → tvs.dtsnvindel-IDPJWSGC.js.map} +0 -0
  937. /package/dist/{tvs.dtsv-YMLJ37YR.js.map → tvs.dtsv-QERP756F.js.map} +0 -0
  938. /package/dist/{tvs.samplelst-KIVEXJKD.js.map → tvs.samplelst-6KNDHBIU.js.map} +0 -0
  939. /package/dist/{tvs.termCollection-4CQV3EB3.js.map → tvs.termCollection-GWPJK3NE.js.map} +0 -0
  940. /package/dist/{wsi.direct-5MQVRJZX.js.map → wsi.direct-2RBCBXDA.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: supportedChartTypes\n\t\t\t// advertises 'wsi' (per cohort) when ds.queries.w2 exists; without it\n\t\t\t// the wsiBySample route can only 500, so skip the request entirely\n\t\t\tconst supported = this.state.termdbConfig?.supportedChartTypes || {}\n\t\t\tif (!Object.values(supported).some((types: any) => types?.includes?.('wsi'))) 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\tisVisible: () => true,\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,\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(\n\t\t\t\t`No term found for colorColumn=${colorColName} in .termType2terms.${ttg} for plot ${plot.name}`\n\t\t\t)\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,SAAK,KAAK;AACV,SAAK,MAAM,GAAG;AACd,SAAK,KAAK,GAAG;AACb,SAAK,QAAQ,GAAG,IAAI,SAAS;AAAA,EAC9B;AAAA;AAAA,EAGA,MAAM,iBAAiB,OAAO;AAC7B,UAAM,OAAO;AAAA,MACZ,QAAQ,MAAM,MAAM;AAAA,MACpB,SAAS,M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