@sjcrh/proteinpaint-client 2.205.0 → 2.206.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (928) hide show
  1. package/dist/2dmaf-XWKIQYRN.js +1367 -0
  2. package/dist/AggMatrixInput-D3HJXDOD.js +277 -0
  3. package/dist/AggregateMatrix-E2JZY5N5.js +41 -0
  4. package/dist/AppHeader-SR6LMFTW.js +830 -0
  5. package/dist/BoxPlot-G2LRWABH.js +1211 -0
  6. package/dist/CorrelationVolcano-CCQGOSR7.js +614 -0
  7. package/dist/Cuminc-QB6GE5MI.js +1219 -0
  8. package/dist/DE-JI7E7ZXU.js +89 -0
  9. package/dist/DEinput-B4A5UV4P.js +499 -0
  10. package/dist/DM-4OAF6WPS.js +90 -0
  11. package/dist/DifferentialAnalysis-6JMGV5JF.js +237 -0
  12. package/dist/Disco-F4HZYRGX.js +3389 -0
  13. package/dist/Disco.UI-KCIEUVNG.js +243 -0
  14. package/dist/DmrPlot-5M7E7NBT.js +637 -0
  15. package/dist/GB-KHKZQN5I.js +1391 -0
  16. package/dist/GSEA-CDGWJUFE.js +851 -0
  17. package/dist/GeneExpInput-CQVMNIRI.js +362 -0
  18. package/dist/Geomap-3F6FO54H.js +84 -0
  19. package/dist/HicApp-R3V46WEK.js +2245 -0
  20. package/dist/IDCViewer-2CGUU7EW.js +10812 -0
  21. package/dist/NumBinaryEditor-3LF334ID.js +279 -0
  22. package/dist/NumBinaryEditor.unit.spec-EIR7WOOV.js +312 -0
  23. package/dist/NumContEditor-CJEBKLS4.js +105 -0
  24. package/dist/NumContEditor.unit.spec-BKF3HKHP.js +164 -0
  25. package/dist/NumCustomBinEditor-BQI2NVI2.js +33 -0
  26. package/dist/NumCustomBinEditor.unit.spec-YWQL7STR.js +397 -0
  27. package/dist/NumDiscreteEditor-4VYL7IOM.js +170 -0
  28. package/dist/NumDiscreteEditor.unit.spec-CSORXLUZ.js +233 -0
  29. package/dist/NumRegularBinEditor-NSPZ7ZHQ.js +33 -0
  30. package/dist/NumRegularBinEditor.unit.spec-77FOOCQ7.js +278 -0
  31. package/dist/NumSplineEditor-CWZGMWF5.js +210 -0
  32. package/dist/NumSplineEditor.unit.spec-E6ITDOHV.js +224 -0
  33. package/dist/NumericDensity-TVXZG4E5.js +33 -0
  34. package/dist/NumericDensity.unit.spec-O6SIEDAM.js +418 -0
  35. package/dist/NumericHandler-LNQG3OWJ.js +34 -0
  36. package/dist/NumericHandler.unit.spec-3IJCPTRH.js +214 -0
  37. package/dist/ProteomeInput-SIYPPLOB.js +388 -0
  38. package/dist/Regression-EOITDTFO.js +1416 -0
  39. package/dist/RunChart2-7BIEDW6G.js +749 -0
  40. package/dist/SC-O4BKP23M.js +1107 -0
  41. package/dist/Violin-G35Y5F45.js +1082 -0
  42. package/dist/Volcano-DZVC5GSW.js +1649 -0
  43. package/dist/Wsi-LKBGTHZJ.js +431 -0
  44. package/dist/adSandbox-URTCAPSS.js +33 -0
  45. package/dist/animatedBubbleChart-KFIELJWN.js +547 -0
  46. package/dist/app-HOYLIBGB.js +42 -0
  47. package/dist/app-OPA44KOA.js +32 -0
  48. package/dist/app.js +17 -17
  49. package/dist/bam-JEC3YMC3.js +876 -0
  50. package/dist/barchart-UQU75RJP.js +42 -0
  51. package/dist/barchart2-3Z62N7NL.js +309 -0
  52. package/dist/block-HJ6F6LXQ.js +6249 -0
  53. package/dist/block.init-AYWLW2HT.js +33 -0
  54. package/dist/block.mds.expressionrank-HLZA7FAG.js +354 -0
  55. package/dist/block.mds.geneboxplot-3G2QSHDL.js +823 -0
  56. package/dist/block.mds.junction-DX4LWDH7.js +1539 -0
  57. package/dist/block.mds.svcnv-JZ33BUGK.js +6796 -0
  58. package/dist/block.svg-63BVZVV2.js +159 -0
  59. package/dist/block.tk.aicheck-KSNJ3JLB.js +278 -0
  60. package/dist/block.tk.ase-URSPZ66D.js +360 -0
  61. package/dist/block.tk.bam-DZ57VTOD.js +1901 -0
  62. package/dist/block.tk.bedgraphdot-QCC65WUI.js +379 -0
  63. package/dist/block.tk.bigwig.ui-3TGOK5PM.js +206 -0
  64. package/dist/block.tk.hicstraw-RASPIPEB.js +818 -0
  65. package/dist/block.tk.junction-HLJJSANL.js +2358 -0
  66. package/dist/block.tk.junction.textmatrixui-LPNEDD5D.js +194 -0
  67. package/dist/block.tk.ld-CDGBLDE2.js +94 -0
  68. package/dist/block.tk.menu-O7DLZOZZ.js +1024 -0
  69. package/dist/block.tk.pgv-2EGZS2II.js +938 -0
  70. package/dist/brainImaging-I7K3QOOA.js +515 -0
  71. package/dist/brainRegions-DNODMT67.js +217 -0
  72. package/dist/brainRegions-DNODMT67.js.map +7 -0
  73. package/dist/bubbleHeatmap-JOFBJ3N4.js +378 -0
  74. package/dist/cellTypeBubbleHeatmap-PUOOUMPO.js +278 -0
  75. package/dist/chunk-2SQEVMAL.js +446 -0
  76. package/dist/chunk-3CHQGKF6.js +54 -0
  77. package/dist/chunk-3FVFG3YR.js +134 -0
  78. package/dist/chunk-3PJZWZRS.js +70 -0
  79. package/dist/chunk-3W76UZR2.js +2853 -0
  80. package/dist/chunk-4DXQJGJ7.js +31 -0
  81. package/dist/chunk-4F57QD3H.js +42 -0
  82. package/dist/chunk-4FO3INHF.js +158 -0
  83. package/dist/chunk-4OLM3KSB.js +2708 -0
  84. package/dist/chunk-4OLM3KSB.js.map +7 -0
  85. package/dist/chunk-5ILEFNXJ.js +402 -0
  86. package/dist/chunk-5T63JJ62.js +14 -0
  87. package/dist/chunk-5UO7MKCO.js +59 -0
  88. package/dist/chunk-62ARCEIQ.js +160 -0
  89. package/dist/chunk-6HWGOT52.js +55 -0
  90. package/dist/chunk-6U3GF7DK.js +4311 -0
  91. package/dist/chunk-7RNXSOMF.js +626 -0
  92. package/dist/chunk-7X6NF7NI.js +96 -0
  93. package/dist/chunk-A3JOQX4P.js +294 -0
  94. package/dist/chunk-ADLFLOFC.js +1339 -0
  95. package/dist/chunk-AGUZCQDL.js +550 -0
  96. package/dist/chunk-ANGLZ4XR.js +26 -0
  97. package/dist/chunk-AVWIILXH.js +34 -0
  98. package/dist/chunk-BMQDU7KN.js +38 -0
  99. package/dist/chunk-C5TU4AYP.js +281 -0
  100. package/dist/chunk-CMO5BR2S.js +203 -0
  101. package/dist/chunk-EF4QV5YH.js +1986 -0
  102. package/dist/chunk-EGKHDALO.js +382 -0
  103. package/dist/chunk-EQDKO7MX.js +1720 -0
  104. package/dist/chunk-EREMALJK.js +240 -0
  105. package/dist/chunk-F4DM3WS4.js +194 -0
  106. package/dist/chunk-F5YU7J4P.js +783 -0
  107. package/dist/chunk-GR4XPNAA.js +272 -0
  108. package/dist/chunk-GUH5IG5N.js +480 -0
  109. package/dist/chunk-HMJOZAKA.js +102 -0
  110. package/dist/chunk-HPGWCCJ2.js +677 -0
  111. package/dist/chunk-IANG6AGL.js +103 -0
  112. package/dist/chunk-ILEXRHF7.js +367 -0
  113. package/dist/chunk-ILEXRHF7.js.map +7 -0
  114. package/dist/chunk-IUREQGFN.js +141 -0
  115. package/dist/chunk-IZUYLFOX.js +1608 -0
  116. package/dist/chunk-IZUYLFOX.js.map +7 -0
  117. package/dist/chunk-JC55A4A2.js +5071 -0
  118. package/dist/chunk-JPMHCMOP.js +50 -0
  119. package/dist/chunk-KYMTFHB5.js +518 -0
  120. package/dist/chunk-L32KMIC3.js +54 -0
  121. package/dist/chunk-LDWMVZYF.js +562 -0
  122. package/dist/chunk-M367Y7ML.js +140 -0
  123. package/dist/chunk-M3OQ7GXG.js +6360 -0
  124. package/dist/chunk-M4XXKTH2.js +339 -0
  125. package/dist/chunk-N7DVQTPC.js +119 -0
  126. package/dist/chunk-NJ7N2VFX.js +263 -0
  127. package/dist/chunk-OQBGN6FW.js +1233 -0
  128. package/dist/chunk-OQBGN6FW.js.map +7 -0
  129. package/dist/chunk-OVPEMVXT.js +397 -0
  130. package/dist/chunk-OXWLQQXL.js +274 -0
  131. package/dist/chunk-PBUV4CPQ.js +302 -0
  132. package/dist/chunk-QABGFKK3.js +129 -0
  133. package/dist/chunk-QGBHBSGS.js +123 -0
  134. package/dist/chunk-QUODDEQH.js +339 -0
  135. package/dist/chunk-QW7BQPKP.js +464 -0
  136. package/dist/chunk-QXB4CBIS.js +176 -0
  137. package/dist/chunk-RF3GQYZJ.js +1275 -0
  138. package/dist/chunk-RJ4OKU4A.js +102 -0
  139. package/dist/chunk-RPDVFM7E.js +2133 -0
  140. package/dist/chunk-SWO6DZTG.js +170 -0
  141. package/dist/chunk-SYPSS3JQ.js +387 -0
  142. package/dist/chunk-THGHO5FN.js +243 -0
  143. package/dist/chunk-TU2E4653.js +178 -0
  144. package/dist/chunk-TUODNABC.js +98 -0
  145. package/dist/chunk-VCVKELHL.js +2784 -0
  146. package/dist/chunk-VVO3R5JV.js +217 -0
  147. package/dist/chunk-WO2Z53DQ.js +197 -0
  148. package/dist/chunk-WPEOBBLH.js +379 -0
  149. package/dist/chunk-X4CC7EZT.js +2327 -0
  150. package/dist/chunk-X63NSV33.js +276 -0
  151. package/dist/chunk-XDLCPJCK.js +24164 -0
  152. package/dist/chunk-XDLCPJCK.js.map +7 -0
  153. package/dist/chunk-XK2A6NRK.js +56 -0
  154. package/dist/chunk-Y3D6Y4DO.js +49 -0
  155. package/dist/chunk-YG5AY6GE.js +299 -0
  156. package/dist/chunk-YNAEXBB5.js +2676 -0
  157. package/dist/chunk-YY5WQQ3J.js +194 -0
  158. package/dist/chunk-Z2ZITHT4.js +4195 -0
  159. package/dist/cohort-75OBZ5EL.js +70 -0
  160. package/dist/condition-XSIDDH5P.js +327 -0
  161. package/dist/controls-UVEY3Z57.js +34 -0
  162. package/dist/controls.config-M325HV4N.js +34 -0
  163. package/dist/correlation-HVQDCYQJ.js +95 -0
  164. package/dist/customdata.inputui-KMCJ4UFU.js +284 -0
  165. package/dist/dataDownload-MJNMZPR6.js +329 -0
  166. package/dist/databrowser.ui-O7KNP5RH.js +425 -0
  167. package/dist/dictionary-LLGX2XNU.js +113 -0
  168. package/dist/dnaMethylation-MXRMFWGM.js +33 -0
  169. package/dist/dnaMethylation.integration.spec-GNF4AW32.js +198 -0
  170. package/dist/dofetch-F5XSHQIS.js +48 -0
  171. package/dist/e2pca-TNDATCU2.js +344 -0
  172. package/dist/ep-GH62BQS5.js +1249 -0
  173. package/dist/expclust.gdc.spec-3XBBPTZX.js +302 -0
  174. package/dist/facet-XQO2TMTJ.js +519 -0
  175. package/dist/gb-76QWZ2UI.js +81 -0
  176. package/dist/geneExpClustering-7EEK4LBZ.js +244 -0
  177. package/dist/geneExpression-4J2JRTUQ.js +33 -0
  178. package/dist/geneExpression-FXQ4L2J2.js +310 -0
  179. package/dist/geneExpression.unit.spec-JRLUIYIU.js +99 -0
  180. package/dist/geneORA-MQ3DRAFK.js +273 -0
  181. package/dist/geneRanking-LK5CSUYP.js +548 -0
  182. package/dist/geneVariant-HMOFSHIN.js +36 -0
  183. package/dist/geneVariant-IKM4MJZN.js +286 -0
  184. package/dist/geneVariant.integration.spec-ZIYVXRSQ.js +388 -0
  185. package/dist/genefusion.ui-UFSDMLZS.js +303 -0
  186. package/dist/geneset-IK43N3JG.js +203 -0
  187. package/dist/genomeBrowser.spec-GYBHE7HU.js +276 -0
  188. package/dist/grin2-K7OGPM66.js +1137 -0
  189. package/dist/grin2-QLVIYHOC.js +70 -0
  190. package/dist/hierCluster-2Y6D73N4.js +55 -0
  191. package/dist/hierCluster-YF52SKZD.js +59 -0
  192. package/dist/hierCluster.config-DDI7H2BF.js +36 -0
  193. package/dist/hierCluster.integration.spec-FTWZHMSN.js +483 -0
  194. package/dist/hierCluster.interactivity-Y2THXA6K.js +49 -0
  195. package/dist/hierCluster.renderers-P7JNIT3N.js +19 -0
  196. package/dist/imagePlot-DBMZYBSO.js +156 -0
  197. package/dist/importPlot-PY4B7BYA.js +8 -0
  198. package/dist/isoformExpression-HN3MNBKH.js +35 -0
  199. package/dist/isoformExpression.unit.spec-RBNLOC7Q.js +237 -0
  200. package/dist/junction-EGT73F5M.js +36 -0
  201. package/dist/junction.customTerm-FRYWSS4P.js +16 -0
  202. package/dist/junction.unit.spec-M4JN5LX7.js +182 -0
  203. package/dist/launch.adhoc-VDOXMXRP.js +37 -0
  204. package/dist/leftlabel.sample-L2D4LF75.js +258 -0
  205. package/dist/legacyDataset-IEFWFVS6.js +117 -0
  206. package/dist/lollipop-FBATR5JC.js +166 -0
  207. package/dist/maf-NV37MR7A.js +455 -0
  208. package/dist/maftimeline-L3R3YWPV.js +587 -0
  209. package/dist/matrix-F5YVDLLQ.js +54 -0
  210. package/dist/matrix-NEEZS7HQ.js +59 -0
  211. package/dist/matrix.cells-ZFKVIPDC.js +26 -0
  212. package/dist/matrix.config-37V4NZU2.js +37 -0
  213. package/dist/matrix.data-NCGZPNWR.js +23 -0
  214. package/dist/matrix.groups-XQJTGM6M.js +26 -0
  215. package/dist/matrix.integration.spec-MRQUAGQN.js +3160 -0
  216. package/dist/matrix.interactivity-NR2KH4CG.js +37 -0
  217. package/dist/matrix.layout-7FXNBXWB.js +39 -0
  218. package/dist/matrix.legend-U36VCS46.js +20 -0
  219. package/dist/matrix.renderers-TKNU75PG.js +34 -0
  220. package/dist/matrix.serieses-AW7XBXLJ.js +19 -0
  221. package/dist/matrix.sort-7PMECLOE.js +26 -0
  222. package/dist/matrix.sort.unit.spec-S7Z2HDDD.js +468 -0
  223. package/dist/matrix.sorterUi-J6PRUT6J.js +16 -0
  224. package/dist/matrix.sorterUi.unit.spec-PCR7U67A.js +338 -0
  225. package/dist/matrix.unit.spec-GSOK3M34.js +150 -0
  226. package/dist/mavb-QP64LXJ5.js +727 -0
  227. package/dist/mds.fimo-JS52GPE4.js +513 -0
  228. package/dist/mds.samplescatterplot-RY5PA35G.js +1545 -0
  229. package/dist/mds.survivalplot-PG5VHT4W.js +477 -0
  230. package/dist/multivalue-EG2OGEET.js +83 -0
  231. package/dist/numericDictTermCluster-5AKP6ICC.js +63 -0
  232. package/dist/oncomatrix-JUGMZ7X7.js +290 -0
  233. package/dist/oncomatrix.spec-76PSNGCH.js +443 -0
  234. package/dist/plot.2dvaf-WXOEUEE7.js +372 -0
  235. package/dist/plot.app-ON6AY4A3.js +36 -0
  236. package/dist/plot.barplot-WX3KM6KS.js +97 -0
  237. package/dist/plot.boxplot-L4PT7YVS.js +146 -0
  238. package/dist/plot.brainImaging-4JY67ZEV.js +51 -0
  239. package/dist/plot.disco-3NY3P37U.js +99 -0
  240. package/dist/plot.ssgq-3YHZPC4V.js +134 -0
  241. package/dist/plot.vaf2cov-PJJN2GCQ.js +253 -0
  242. package/dist/polar2-5WVM7HGK.js +232 -0
  243. package/dist/profileForms-MZNIQSE5.js +941 -0
  244. package/dist/profilePlot-2F5KXRFX.js +49 -0
  245. package/dist/proteinView-67EGJJCL.js +1357 -0
  246. package/dist/proteinView-67EGJJCL.js.map +7 -0
  247. package/dist/proteomeCohortCompare-3BSF4SP5.js +912 -0
  248. package/dist/proteomeCohortCompare-3BSF4SP5.js.map +7 -0
  249. package/dist/pseudbulk.unit.spec-AHI6LHZY.js +86 -0
  250. package/dist/pseudobulk-I4I733CJ.js +35 -0
  251. package/dist/qualitative-G7MKJJNX.js +38 -0
  252. package/dist/radar2-XJCS6ZUN.js +327 -0
  253. package/dist/radarFacility2-GDTKB4KP.js +335 -0
  254. package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +211 -0
  255. package/dist/render-G7TGAAPN.js +33 -0
  256. package/dist/report-PKYTJRKJ.js +217 -0
  257. package/dist/sampleView-QSB3PW33.js +43 -0
  258. package/dist/samplelst-N33FNNIM.js +106 -0
  259. package/dist/samplematrix-4CVVIXWR.js +2193 -0
  260. package/dist/sc-LENH35VN.js +81 -0
  261. package/dist/scatter-5G272VMO.js +88 -0
  262. package/dist/scatter-A3TK5TR5.js +880 -0
  263. package/dist/selectGenomeWithTklst-CP25JXDJ.js +129 -0
  264. package/dist/singleCellCellType-5ZLTPHVY.js +33 -0
  265. package/dist/singleCellCellType.unit.spec-3JIUZS6Z.js +154 -0
  266. package/dist/singleCellGeneExpression-UTUK4JAM.js +33 -0
  267. package/dist/singleCellGeneExpression.unit.spec-LRRBT5YG.js +148 -0
  268. package/dist/singleCellPlot-QXTJCGSI.js +49 -0
  269. package/dist/singlecell-BS2HYXK2.js +81 -0
  270. package/dist/singlecell-KG4WCPCW.js +1566 -0
  271. package/dist/snp-X7AVONSN.js +33 -0
  272. package/dist/snp.unit.spec-RNOIV6IA.js +171 -0
  273. package/dist/snplocus-DS6E47B6.js +203 -0
  274. package/dist/spliceevent.a53ss.diagram-MUB6Y74Z.js +146 -0
  275. package/dist/spliceevent.exonskip.diagram-47IHL2WK.js +278 -0
  276. package/dist/spliceevent.noeventdiagram-EMHYY3LK.js +455 -0
  277. package/dist/ssGSEA-XJVB4KXR.js +33 -0
  278. package/dist/ssGSEA.unit.spec-DV6XJRPZ.js +83 -0
  279. package/dist/stattable-45LHJWVF.js +117 -0
  280. package/dist/studyCatalog-UC5BVZBU.js +414 -0
  281. package/dist/studyCatalog-UC5BVZBU.js.map +7 -0
  282. package/dist/summarizeCnvGeneexp-RBFYEF4F.js +158 -0
  283. package/dist/summarizeGeneexpSurvival-2MTLML7E.js +105 -0
  284. package/dist/summarizeMutationCnv-6YEOAUA6.js +159 -0
  285. package/dist/summarizeMutationDiagnosis-GMGPKNVC.js +35 -0
  286. package/dist/summarizeMutationSurvival-63LEMNOV.js +99 -0
  287. package/dist/summary-TUL6Z35N.js +42 -0
  288. package/dist/summary.integration.spec-X22T3LB4.js +409 -0
  289. package/dist/summaryInput-YBMESKTV.js +242 -0
  290. package/dist/sunburst-QVK3JOKT.js +278 -0
  291. package/dist/survival-WQR2JVXU.js +1248 -0
  292. package/dist/survival-ZDWBE2JO.js +53 -0
  293. package/dist/survival.integration.spec-6ONUUJRS.js +613 -0
  294. package/dist/survival.integration.spec-6ONUUJRS.js.map +7 -0
  295. package/dist/svgraph-XFA7GFTF.js +1382 -0
  296. package/dist/svmr-WCNU5AM4.js +3837 -0
  297. package/dist/table-FT7OWBPC.js +197 -0
  298. package/dist/termCollection-JIBZNZS6.js +252 -0
  299. package/dist/termCollection-MGMWCQ2O.js +33 -0
  300. package/dist/termCollection.unit.spec-4OI4OIHR.js +299 -0
  301. package/dist/termCollectionFractionSelection-AFIJHB3Z.js +42 -0
  302. package/dist/termCollectionFractionSelection.unit.spec-MG7W4M7F.js +188 -0
  303. package/dist/tk-23G2PAGW.js +41 -0
  304. package/dist/tk-OQ72O2QL.js +1121 -0
  305. package/dist/tp.ui-M5D3MNIR.js +1454 -0
  306. package/dist/tvs.dt-T7EQO547.js +34 -0
  307. package/dist/tvs.dtcnv.categorical-4HIP3F24.js +35 -0
  308. package/dist/tvs.dtcnv.continuous-KVJWKU7Q.js +67 -0
  309. package/dist/tvs.dtfusion-C4AXERQA.js +35 -0
  310. package/dist/tvs.dtitd-KUZRPWA3.js +35 -0
  311. package/dist/tvs.dtsnvindel-DJYY7MG3.js +35 -0
  312. package/dist/tvs.dtsv-RRO45ITI.js +35 -0
  313. package/dist/tvs.numeric-22AHXO5K.js +20 -0
  314. package/dist/tvs.samplelst-M27QVSNU.js +98 -0
  315. package/dist/tvs.termCollection-6S2524FW.js +124 -0
  316. package/dist/vocabulary-YGPUDI4D.js +36 -0
  317. package/dist/wsi.direct-SGGSZTWZ.js +8184 -0
  318. package/package.json +3 -3
  319. package/dist/2dmaf-ZQ7ACPAD.js +0 -1367
  320. package/dist/AggMatrixInput-EACGUIQA.js +0 -277
  321. package/dist/AggregateMatrix-TC5DTSYN.js +0 -41
  322. package/dist/AppHeader-PHI6US5B.js +0 -830
  323. package/dist/BoxPlot-QWKK3IJ7.js +0 -1211
  324. package/dist/CorrelationVolcano-QJJN7FVP.js +0 -614
  325. package/dist/Cuminc-6F2C5C4E.js +0 -1219
  326. package/dist/DE-HRJH6ZQL.js +0 -89
  327. package/dist/DEinput-T3MPAYPH.js +0 -499
  328. package/dist/DM-PEG4ED2X.js +0 -90
  329. package/dist/DifferentialAnalysis-XGXHWGPI.js +0 -237
  330. package/dist/Disco-7SRTTB3X.js +0 -3389
  331. package/dist/Disco.UI-CKKZ5MMK.js +0 -243
  332. package/dist/DmrPlot-N4CT4J2I.js +0 -637
  333. package/dist/GB-NVCLPRWN.js +0 -1391
  334. package/dist/GSEA-UZUNJG7Z.js +0 -851
  335. package/dist/GeneExpInput-3MDN2CAW.js +0 -362
  336. package/dist/Geomap-ZUF2PE5A.js +0 -84
  337. package/dist/HicApp-OIJT5TFU.js +0 -2245
  338. package/dist/IDCViewer-ZSH2E57L.js +0 -10812
  339. package/dist/NumBinaryEditor-74ZPGT7L.js +0 -279
  340. package/dist/NumBinaryEditor.unit.spec-T2I66SO5.js +0 -312
  341. package/dist/NumContEditor-M2GARZXM.js +0 -105
  342. package/dist/NumContEditor.unit.spec-G2QBBNH7.js +0 -164
  343. package/dist/NumCustomBinEditor-P44G67KS.js +0 -33
  344. package/dist/NumCustomBinEditor.unit.spec-AZHJN3V6.js +0 -397
  345. package/dist/NumDiscreteEditor-VOZ63LZY.js +0 -170
  346. package/dist/NumDiscreteEditor.unit.spec-CFSVPNBA.js +0 -233
  347. package/dist/NumRegularBinEditor-I6GJQR7W.js +0 -33
  348. package/dist/NumRegularBinEditor.unit.spec-IDJE7H6S.js +0 -278
  349. package/dist/NumSplineEditor-BCGWE52A.js +0 -210
  350. package/dist/NumSplineEditor.unit.spec-YQAL7L2E.js +0 -224
  351. package/dist/NumericDensity-P25W63RV.js +0 -33
  352. package/dist/NumericDensity.unit.spec-N7CQ5W5L.js +0 -418
  353. package/dist/NumericHandler-R7JWIFEO.js +0 -34
  354. package/dist/NumericHandler.unit.spec-LMGIAGZJ.js +0 -214
  355. package/dist/ProteomeInput-PRYKKF5E.js +0 -388
  356. package/dist/Regression-PSHH7ZXN.js +0 -1416
  357. package/dist/RunChart2-KJ2UWVCE.js +0 -749
  358. package/dist/SC-R6ZIJZ6F.js +0 -1107
  359. package/dist/Violin-GTQAUJ7B.js +0 -1082
  360. package/dist/Volcano-NER64J7W.js +0 -1649
  361. package/dist/Wsi-GXNGL7O6.js +0 -431
  362. package/dist/adSandbox-SXSHVG4P.js +0 -33
  363. package/dist/animatedBubbleChart-Q4NEETEH.js +0 -547
  364. package/dist/app-MX4PL2QO.js +0 -42
  365. package/dist/app-R5CTEVAC.js +0 -32
  366. package/dist/bam-45N3FEEM.js +0 -876
  367. package/dist/barchart-YCTKQJQX.js +0 -42
  368. package/dist/barchart2-252GS3CA.js +0 -309
  369. package/dist/block-CR75JHV3.js +0 -6249
  370. package/dist/block.init-U3JMED2E.js +0 -33
  371. package/dist/block.mds.expressionrank-TAN3BDPS.js +0 -354
  372. package/dist/block.mds.geneboxplot-EN344GEP.js +0 -823
  373. package/dist/block.mds.junction-RFVVJUTR.js +0 -1539
  374. package/dist/block.mds.svcnv-SSUMXEWD.js +0 -6796
  375. package/dist/block.svg-LRPGNFFI.js +0 -159
  376. package/dist/block.tk.aicheck-YY23FT2G.js +0 -278
  377. package/dist/block.tk.ase-JCGPFKFT.js +0 -360
  378. package/dist/block.tk.bam-NZDC4H7Y.js +0 -1901
  379. package/dist/block.tk.bedgraphdot-NCNZPZH6.js +0 -379
  380. package/dist/block.tk.bigwig.ui-Z7G6ZITU.js +0 -206
  381. package/dist/block.tk.hicstraw-VVDP4UF5.js +0 -818
  382. package/dist/block.tk.junction-L4YBPAHM.js +0 -2358
  383. package/dist/block.tk.junction.textmatrixui-6CMKKUB5.js +0 -194
  384. package/dist/block.tk.ld-VCP2R5UO.js +0 -94
  385. package/dist/block.tk.menu-ZJYGMEDX.js +0 -1024
  386. package/dist/block.tk.pgv-M5WNUIVS.js +0 -938
  387. package/dist/brainImaging-JGECJHZO.js +0 -515
  388. package/dist/brainRegions-NTEAXNZJ.js +0 -234
  389. package/dist/brainRegions-NTEAXNZJ.js.map +0 -7
  390. package/dist/bubbleHeatmap-7DQNWBQ2.js +0 -378
  391. package/dist/cellTypeBubbleHeatmap-LAE7U3RF.js +0 -278
  392. package/dist/chunk-2AQT3ZWL.js +0 -626
  393. package/dist/chunk-2GLNPB5J.js +0 -203
  394. package/dist/chunk-2O4CS3EZ.js +0 -274
  395. package/dist/chunk-2Z4ZSINZ.js +0 -323
  396. package/dist/chunk-2Z4ZSINZ.js.map +0 -7
  397. package/dist/chunk-3MFFZRH3.js +0 -6360
  398. package/dist/chunk-3PHXBY3Z.js +0 -1275
  399. package/dist/chunk-4AQQ3BXD.js +0 -70
  400. package/dist/chunk-4PPZYVWZ.js +0 -281
  401. package/dist/chunk-4WEA7HHH.js +0 -26
  402. package/dist/chunk-57NYHASA.js +0 -38
  403. package/dist/chunk-5AAAH4OZ.js +0 -141
  404. package/dist/chunk-5BCNVZIW.js +0 -480
  405. package/dist/chunk-6JBLNS4D.js +0 -387
  406. package/dist/chunk-6JBQLOJW.js +0 -1339
  407. package/dist/chunk-756KZF5Y.js +0 -158
  408. package/dist/chunk-ABTO5QSB.js +0 -276
  409. package/dist/chunk-ALEZQQOK.js +0 -299
  410. package/dist/chunk-APK7TUJX.js +0 -102
  411. package/dist/chunk-AQAFURQM.js +0 -59
  412. package/dist/chunk-BEJJS2HC.js +0 -194
  413. package/dist/chunk-CZ5QLVWK.js +0 -49
  414. package/dist/chunk-D2MZT7CC.js +0 -176
  415. package/dist/chunk-D6G64XPJ.js +0 -96
  416. package/dist/chunk-DE3F7FAP.js +0 -34
  417. package/dist/chunk-DF3IMIR2.js +0 -464
  418. package/dist/chunk-E4WIMTK4.js +0 -446
  419. package/dist/chunk-E7TJXNIL.js +0 -42
  420. package/dist/chunk-G3JNTWCX.js +0 -103
  421. package/dist/chunk-GN2IIC6U.js +0 -160
  422. package/dist/chunk-GRI74AXV.js +0 -294
  423. package/dist/chunk-HDTFYTEL.js +0 -2694
  424. package/dist/chunk-HDTFYTEL.js.map +0 -7
  425. package/dist/chunk-IAE3KWN5.js +0 -550
  426. package/dist/chunk-IB4NE4SI.js +0 -397
  427. package/dist/chunk-IK2BO37K.js +0 -1608
  428. package/dist/chunk-IK2BO37K.js.map +0 -7
  429. package/dist/chunk-IS4VLUEX.js +0 -382
  430. package/dist/chunk-J2DICGKC.js +0 -194
  431. package/dist/chunk-J7JDCNLU.js +0 -24141
  432. package/dist/chunk-J7JDCNLU.js.map +0 -7
  433. package/dist/chunk-JBUEQ4E6.js +0 -263
  434. package/dist/chunk-JIDJBM2R.js +0 -2676
  435. package/dist/chunk-JNVWSFNC.js +0 -54
  436. package/dist/chunk-JYOIO5UY.js +0 -2133
  437. package/dist/chunk-KAFDQKN7.js +0 -1720
  438. package/dist/chunk-L743GRJE.js +0 -783
  439. package/dist/chunk-LGOTIL62.js +0 -54
  440. package/dist/chunk-LHP7RXET.js +0 -243
  441. package/dist/chunk-LK2GHBUH.js +0 -123
  442. package/dist/chunk-MAVDQAZE.js +0 -518
  443. package/dist/chunk-MKT4OJ3G.js +0 -102
  444. package/dist/chunk-N635HDJ4.js +0 -178
  445. package/dist/chunk-NFAE6VNU.js +0 -2327
  446. package/dist/chunk-NG7K5KYO.js +0 -56
  447. package/dist/chunk-NXVUL3EY.js +0 -2853
  448. package/dist/chunk-ODMLC5FN.js +0 -55
  449. package/dist/chunk-OJ4TDGPQ.js +0 -339
  450. package/dist/chunk-OXLBPSJ6.js +0 -379
  451. package/dist/chunk-P5GRGXH4.js +0 -98
  452. package/dist/chunk-POWG4MPT.js +0 -31
  453. package/dist/chunk-Q25DABNW.js +0 -217
  454. package/dist/chunk-QHJGWCH3.js +0 -4311
  455. package/dist/chunk-R5OIIFSF.js +0 -197
  456. package/dist/chunk-RJFCT67B.js +0 -2784
  457. package/dist/chunk-RN4BOWRH.js +0 -402
  458. package/dist/chunk-RZFJ6K77.js +0 -302
  459. package/dist/chunk-S5UN4VIQ.js +0 -272
  460. package/dist/chunk-SDMNZJ7X.js +0 -50
  461. package/dist/chunk-SWZAHJYP.js +0 -170
  462. package/dist/chunk-SY63UUF7.js +0 -562
  463. package/dist/chunk-T46FA72N.js +0 -119
  464. package/dist/chunk-TBPVP3KZ.js +0 -1986
  465. package/dist/chunk-UM5NWVMA.js +0 -140
  466. package/dist/chunk-VIBK253J.js +0 -134
  467. package/dist/chunk-XKL2D2NN.js +0 -240
  468. package/dist/chunk-XXJT7DSL.js +0 -677
  469. package/dist/chunk-YHA3AYAM.js +0 -5071
  470. package/dist/chunk-YLJOZP4P.js +0 -4195
  471. package/dist/chunk-YN5NY3D3.js +0 -339
  472. package/dist/chunk-YX6FIREB.js +0 -14
  473. package/dist/chunk-ZXU4ALLZ.js +0 -129
  474. package/dist/cohort-75FUW3UO.js +0 -70
  475. package/dist/condition-VW43Q6ZE.js +0 -327
  476. package/dist/controls-HOP2AFHD.js +0 -34
  477. package/dist/controls.config-CMIFSKQE.js +0 -34
  478. package/dist/correlation-PN7BS5OR.js +0 -95
  479. package/dist/customdata.inputui-ZBZX63PS.js +0 -284
  480. package/dist/dataDownload-LGA4LAUF.js +0 -329
  481. package/dist/databrowser.ui-IQRDVL66.js +0 -425
  482. package/dist/dictionary-BPWD77LJ.js +0 -113
  483. package/dist/dnaMethylation-A3XPPBBB.js +0 -33
  484. package/dist/dnaMethylation.integration.spec-554ITDQC.js +0 -198
  485. package/dist/dofetch-FQ42AX7C.js +0 -48
  486. package/dist/e2pca-F3GWG7WZ.js +0 -344
  487. package/dist/ep-QAVN472H.js +0 -1249
  488. package/dist/expclust.gdc.spec-DQNX7FTL.js +0 -302
  489. package/dist/facet-DH7OOZTJ.js +0 -519
  490. package/dist/gb-OCXOLAMD.js +0 -81
  491. package/dist/geneExpClustering-DWYRZGTS.js +0 -244
  492. package/dist/geneExpression-2NKSKZR6.js +0 -33
  493. package/dist/geneExpression-BGFR3KQE.js +0 -310
  494. package/dist/geneExpression.unit.spec-63EKKMET.js +0 -99
  495. package/dist/geneORA-BED6XL4D.js +0 -273
  496. package/dist/geneRanking-UB5RCQNP.js +0 -548
  497. package/dist/geneVariant-WJEONTTY.js +0 -286
  498. package/dist/geneVariant-Y4C2FPJK.js +0 -36
  499. package/dist/geneVariant.integration.spec-VFYLC47N.js +0 -388
  500. package/dist/genefusion.ui-P3NBIMLE.js +0 -303
  501. package/dist/geneset-O22RQAED.js +0 -203
  502. package/dist/genomeBrowser.spec-MM7WZUGI.js +0 -276
  503. package/dist/grin2-3YBIRKUT.js +0 -70
  504. package/dist/grin2-O637DNDS.js +0 -1137
  505. package/dist/hierCluster-3X3BQVNE.js +0 -59
  506. package/dist/hierCluster-7P7M75TU.js +0 -55
  507. package/dist/hierCluster.config-XFUOLLDK.js +0 -36
  508. package/dist/hierCluster.integration.spec-HKYGSDDG.js +0 -483
  509. package/dist/hierCluster.interactivity-JUZSWCM7.js +0 -49
  510. package/dist/hierCluster.renderers-NGPPAYFM.js +0 -19
  511. package/dist/imagePlot-LKGAFJO7.js +0 -156
  512. package/dist/importPlot-SRWQA2FH.js +0 -8
  513. package/dist/isoformExpression-RYIZQIVX.js +0 -35
  514. package/dist/isoformExpression.unit.spec-DP4ECITF.js +0 -237
  515. package/dist/junction-D7QQ3YSG.js +0 -36
  516. package/dist/junction.customTerm-ZEVNCVU7.js +0 -16
  517. package/dist/junction.unit.spec-6MAKIB3R.js +0 -182
  518. package/dist/launch.adhoc-FAHRZFYG.js +0 -37
  519. package/dist/leftlabel.sample-PDZLWLJ4.js +0 -258
  520. package/dist/legacyDataset-27L4DMCL.js +0 -117
  521. package/dist/lollipop-VWGJUHNX.js +0 -166
  522. package/dist/maf-W52H44WK.js +0 -455
  523. package/dist/maftimeline-5JV3HZLE.js +0 -587
  524. package/dist/matrix-CEVGKXSK.js +0 -54
  525. package/dist/matrix-EXNYXYLK.js +0 -59
  526. package/dist/matrix.cells-DVPWSLJW.js +0 -26
  527. package/dist/matrix.config-RLSTWDXC.js +0 -37
  528. package/dist/matrix.data-Z6GUACVZ.js +0 -23
  529. package/dist/matrix.groups-3ZSTUWRK.js +0 -26
  530. package/dist/matrix.integration.spec-4U2R3UB2.js +0 -3160
  531. package/dist/matrix.interactivity-DJZFQ7DN.js +0 -37
  532. package/dist/matrix.layout-RQJ6VB4P.js +0 -39
  533. package/dist/matrix.legend-YQ36NWKW.js +0 -20
  534. package/dist/matrix.renderers-MWDFI6HW.js +0 -34
  535. package/dist/matrix.serieses-LTC4RLYD.js +0 -19
  536. package/dist/matrix.sort-5VFYLABY.js +0 -26
  537. package/dist/matrix.sort.unit.spec-2RUEKUT4.js +0 -468
  538. package/dist/matrix.sorterUi-EEMYZLPI.js +0 -16
  539. package/dist/matrix.sorterUi.unit.spec-ZXGSPRFZ.js +0 -338
  540. package/dist/matrix.unit.spec-HTF6UV4L.js +0 -150
  541. package/dist/mavb-GGQRDCO6.js +0 -727
  542. package/dist/mds.fimo-YKV5OIYV.js +0 -513
  543. package/dist/mds.samplescatterplot-RQOEW2AW.js +0 -1545
  544. package/dist/mds.survivalplot-TN636DED.js +0 -477
  545. package/dist/multivalue-MDQY64EH.js +0 -83
  546. package/dist/numericDictTermCluster-E73TJCLI.js +0 -63
  547. package/dist/oncomatrix-AENXQMLL.js +0 -290
  548. package/dist/oncomatrix.spec-UD6U462U.js +0 -443
  549. package/dist/plot.2dvaf-XMRV6KEG.js +0 -372
  550. package/dist/plot.app-A6JKLYQQ.js +0 -36
  551. package/dist/plot.barplot-UIX7LVWR.js +0 -97
  552. package/dist/plot.boxplot-DIFWVLMA.js +0 -146
  553. package/dist/plot.brainImaging-ZRPVE2UK.js +0 -51
  554. package/dist/plot.disco-I56MT3PC.js +0 -99
  555. package/dist/plot.ssgq-FCKFSZTV.js +0 -134
  556. package/dist/plot.vaf2cov-E5C7RJ7Z.js +0 -253
  557. package/dist/polar2-SKVBB4FD.js +0 -232
  558. package/dist/profileForms-5B3MTUNP.js +0 -941
  559. package/dist/profilePlot-MCYCGEWT.js +0 -49
  560. package/dist/proteinView-5X55JWVL.js +0 -1562
  561. package/dist/proteinView-5X55JWVL.js.map +0 -7
  562. package/dist/proteomeCohortCompare-WZBMBLFD.js +0 -780
  563. package/dist/proteomeCohortCompare-WZBMBLFD.js.map +0 -7
  564. package/dist/pseudbulk.unit.spec-Q4YTIPH7.js +0 -86
  565. package/dist/pseudobulk-3UIWCCCQ.js +0 -35
  566. package/dist/qualitative-6TJRXZFV.js +0 -38
  567. package/dist/radar2-6X4XW5IZ.js +0 -327
  568. package/dist/radarFacility2-UVPXWPV5.js +0 -335
  569. package/dist/rememberedGvQ.unit.spec-GVRFRVSO.js +0 -211
  570. package/dist/render-G7V6R4PV.js +0 -33
  571. package/dist/report-O7D46EKQ.js +0 -217
  572. package/dist/sampleView-6Y3OOOMW.js +0 -43
  573. package/dist/samplelst-JRVC4GYC.js +0 -106
  574. package/dist/samplematrix-VP5RQVRH.js +0 -2193
  575. package/dist/sc-BPHVEP6N.js +0 -81
  576. package/dist/scatter-2YYRZCSW.js +0 -88
  577. package/dist/scatter-Y4BIG2PW.js +0 -880
  578. package/dist/selectGenomeWithTklst-2BVZU5SW.js +0 -129
  579. package/dist/singleCellCellType-XBGCSIQT.js +0 -33
  580. package/dist/singleCellCellType.unit.spec-T4GFRLVZ.js +0 -154
  581. package/dist/singleCellGeneExpression-5ZPWLSVW.js +0 -33
  582. package/dist/singleCellGeneExpression.unit.spec-4O5UBUDU.js +0 -148
  583. package/dist/singleCellPlot-CZLQBGVU.js +0 -49
  584. package/dist/singlecell-IIUYX7OG.js +0 -1566
  585. package/dist/singlecell-O3P5BLWT.js +0 -81
  586. package/dist/snp-ZCYBF3ZQ.js +0 -33
  587. package/dist/snp.unit.spec-TAGD2DRL.js +0 -171
  588. package/dist/snplocus-TL25OOPE.js +0 -203
  589. package/dist/spliceevent.a53ss.diagram-I7J4PQZT.js +0 -146
  590. package/dist/spliceevent.exonskip.diagram-SB4454HB.js +0 -278
  591. package/dist/spliceevent.noeventdiagram-FOSDNYLH.js +0 -455
  592. package/dist/ssGSEA-WANB2X5L.js +0 -33
  593. package/dist/ssGSEA.unit.spec-4XXWU4XV.js +0 -83
  594. package/dist/stattable-FNTJLVNB.js +0 -117
  595. package/dist/studyCatalog-7KEOFLO2.js +0 -378
  596. package/dist/studyCatalog-7KEOFLO2.js.map +0 -7
  597. package/dist/summarizeCnvGeneexp-P4AFZMKD.js +0 -158
  598. package/dist/summarizeGeneexpSurvival-YL2J7F4R.js +0 -105
  599. package/dist/summarizeMutationCnv-BHBHST5F.js +0 -159
  600. package/dist/summarizeMutationDiagnosis-Z7ZHTV27.js +0 -35
  601. package/dist/summarizeMutationSurvival-PZ4TYHT7.js +0 -99
  602. package/dist/summary-ZMNPO65S.js +0 -42
  603. package/dist/summary.integration.spec-DPJR2ZBE.js +0 -409
  604. package/dist/summaryInput-6JUFJZ5P.js +0 -242
  605. package/dist/sunburst-OWAUI3HC.js +0 -278
  606. package/dist/survival-6JPKG3VA.js +0 -53
  607. package/dist/survival-7EXICNK7.js +0 -1248
  608. package/dist/survival.integration.spec-A6NUJLL6.js +0 -613
  609. package/dist/survival.integration.spec-A6NUJLL6.js.map +0 -7
  610. package/dist/svgraph-34IKFHUS.js +0 -1382
  611. package/dist/svmr-4XNPSVVQ.js +0 -3837
  612. package/dist/table-LPZATFLC.js +0 -197
  613. package/dist/termCollection-DYY5FXU5.js +0 -252
  614. package/dist/termCollection-WOAUFFIC.js +0 -33
  615. package/dist/termCollection.unit.spec-WTICTZ7H.js +0 -299
  616. package/dist/termCollectionFractionSelection-K5HPDEFP.js +0 -42
  617. package/dist/termCollectionFractionSelection.unit.spec-D7DG2HOI.js +0 -188
  618. package/dist/tk-DD2LWVGM.js +0 -1121
  619. package/dist/tk-NV7NBLT6.js +0 -41
  620. package/dist/tp.ui-B5J3UUVB.js +0 -1454
  621. package/dist/tvs.dt-XLKQT64T.js +0 -34
  622. package/dist/tvs.dtcnv.categorical-XIC3RH2D.js +0 -35
  623. package/dist/tvs.dtcnv.continuous-OA2K4LHF.js +0 -67
  624. package/dist/tvs.dtfusion-ZGNKALZB.js +0 -35
  625. package/dist/tvs.dtitd-6QSG4E34.js +0 -35
  626. package/dist/tvs.dtsnvindel-5CXXOGPH.js +0 -35
  627. package/dist/tvs.dtsv-QYYEYUD3.js +0 -35
  628. package/dist/tvs.numeric-3UXW4JHJ.js +0 -20
  629. package/dist/tvs.samplelst-X77ODFFR.js +0 -98
  630. package/dist/tvs.termCollection-VXROWAPS.js +0 -124
  631. package/dist/vocabulary-DKWYTZRC.js +0 -36
  632. package/dist/wsi.direct-C3HQEC2V.js +0 -8184
  633. /package/dist/{2dmaf-ZQ7ACPAD.js.map → 2dmaf-XWKIQYRN.js.map} +0 -0
  634. /package/dist/{AggMatrixInput-EACGUIQA.js.map → AggMatrixInput-D3HJXDOD.js.map} +0 -0
  635. /package/dist/{AggregateMatrix-TC5DTSYN.js.map → AggregateMatrix-E2JZY5N5.js.map} +0 -0
  636. /package/dist/{AppHeader-PHI6US5B.js.map → AppHeader-SR6LMFTW.js.map} +0 -0
  637. /package/dist/{BoxPlot-QWKK3IJ7.js.map → BoxPlot-G2LRWABH.js.map} +0 -0
  638. /package/dist/{CorrelationVolcano-QJJN7FVP.js.map → CorrelationVolcano-CCQGOSR7.js.map} +0 -0
  639. /package/dist/{Cuminc-6F2C5C4E.js.map → Cuminc-QB6GE5MI.js.map} +0 -0
  640. /package/dist/{DE-HRJH6ZQL.js.map → DE-JI7E7ZXU.js.map} +0 -0
  641. /package/dist/{DEinput-T3MPAYPH.js.map → DEinput-B4A5UV4P.js.map} +0 -0
  642. /package/dist/{DM-PEG4ED2X.js.map → DM-4OAF6WPS.js.map} +0 -0
  643. /package/dist/{DifferentialAnalysis-XGXHWGPI.js.map → DifferentialAnalysis-6JMGV5JF.js.map} +0 -0
  644. /package/dist/{Disco-7SRTTB3X.js.map → Disco-F4HZYRGX.js.map} +0 -0
  645. /package/dist/{Disco.UI-CKKZ5MMK.js.map → Disco.UI-KCIEUVNG.js.map} +0 -0
  646. /package/dist/{DmrPlot-N4CT4J2I.js.map → DmrPlot-5M7E7NBT.js.map} +0 -0
  647. /package/dist/{GB-NVCLPRWN.js.map → GB-KHKZQN5I.js.map} +0 -0
  648. /package/dist/{GSEA-UZUNJG7Z.js.map → GSEA-CDGWJUFE.js.map} +0 -0
  649. /package/dist/{GeneExpInput-3MDN2CAW.js.map → GeneExpInput-CQVMNIRI.js.map} +0 -0
  650. /package/dist/{Geomap-ZUF2PE5A.js.map → Geomap-3F6FO54H.js.map} +0 -0
  651. /package/dist/{HicApp-OIJT5TFU.js.map → HicApp-R3V46WEK.js.map} +0 -0
  652. /package/dist/{IDCViewer-ZSH2E57L.js.map → IDCViewer-2CGUU7EW.js.map} +0 -0
  653. /package/dist/{NumBinaryEditor-74ZPGT7L.js.map → NumBinaryEditor-3LF334ID.js.map} +0 -0
  654. /package/dist/{NumBinaryEditor.unit.spec-T2I66SO5.js.map → NumBinaryEditor.unit.spec-EIR7WOOV.js.map} +0 -0
  655. /package/dist/{NumContEditor-M2GARZXM.js.map → NumContEditor-CJEBKLS4.js.map} +0 -0
  656. /package/dist/{NumContEditor.unit.spec-G2QBBNH7.js.map → NumContEditor.unit.spec-BKF3HKHP.js.map} +0 -0
  657. /package/dist/{NumCustomBinEditor-P44G67KS.js.map → NumCustomBinEditor-BQI2NVI2.js.map} +0 -0
  658. /package/dist/{NumCustomBinEditor.unit.spec-AZHJN3V6.js.map → NumCustomBinEditor.unit.spec-YWQL7STR.js.map} +0 -0
  659. /package/dist/{NumDiscreteEditor-VOZ63LZY.js.map → NumDiscreteEditor-4VYL7IOM.js.map} +0 -0
  660. /package/dist/{NumDiscreteEditor.unit.spec-CFSVPNBA.js.map → NumDiscreteEditor.unit.spec-CSORXLUZ.js.map} +0 -0
  661. /package/dist/{NumRegularBinEditor-I6GJQR7W.js.map → NumRegularBinEditor-NSPZ7ZHQ.js.map} +0 -0
  662. /package/dist/{NumRegularBinEditor.unit.spec-IDJE7H6S.js.map → NumRegularBinEditor.unit.spec-77FOOCQ7.js.map} +0 -0
  663. /package/dist/{NumSplineEditor-BCGWE52A.js.map → NumSplineEditor-CWZGMWF5.js.map} +0 -0
  664. /package/dist/{NumSplineEditor.unit.spec-YQAL7L2E.js.map → NumSplineEditor.unit.spec-E6ITDOHV.js.map} +0 -0
  665. /package/dist/{NumericDensity-P25W63RV.js.map → NumericDensity-TVXZG4E5.js.map} +0 -0
  666. /package/dist/{NumericDensity.unit.spec-N7CQ5W5L.js.map → NumericDensity.unit.spec-O6SIEDAM.js.map} +0 -0
  667. /package/dist/{NumericHandler-R7JWIFEO.js.map → NumericHandler-LNQG3OWJ.js.map} +0 -0
  668. /package/dist/{NumericHandler.unit.spec-LMGIAGZJ.js.map → NumericHandler.unit.spec-3IJCPTRH.js.map} +0 -0
  669. /package/dist/{ProteomeInput-PRYKKF5E.js.map → ProteomeInput-SIYPPLOB.js.map} +0 -0
  670. /package/dist/{Regression-PSHH7ZXN.js.map → Regression-EOITDTFO.js.map} +0 -0
  671. /package/dist/{RunChart2-KJ2UWVCE.js.map → RunChart2-7BIEDW6G.js.map} +0 -0
  672. /package/dist/{SC-R6ZIJZ6F.js.map → SC-O4BKP23M.js.map} +0 -0
  673. /package/dist/{Violin-GTQAUJ7B.js.map → Violin-G35Y5F45.js.map} +0 -0
  674. /package/dist/{Volcano-NER64J7W.js.map → Volcano-DZVC5GSW.js.map} +0 -0
  675. /package/dist/{Wsi-GXNGL7O6.js.map → Wsi-LKBGTHZJ.js.map} +0 -0
  676. /package/dist/{adSandbox-SXSHVG4P.js.map → adSandbox-URTCAPSS.js.map} +0 -0
  677. /package/dist/{animatedBubbleChart-Q4NEETEH.js.map → animatedBubbleChart-KFIELJWN.js.map} +0 -0
  678. /package/dist/{app-MX4PL2QO.js.map → app-HOYLIBGB.js.map} +0 -0
  679. /package/dist/{app-R5CTEVAC.js.map → app-OPA44KOA.js.map} +0 -0
  680. /package/dist/{bam-45N3FEEM.js.map → bam-JEC3YMC3.js.map} +0 -0
  681. /package/dist/{barchart-YCTKQJQX.js.map → barchart-UQU75RJP.js.map} +0 -0
  682. /package/dist/{barchart2-252GS3CA.js.map → barchart2-3Z62N7NL.js.map} +0 -0
  683. /package/dist/{block-CR75JHV3.js.map → block-HJ6F6LXQ.js.map} +0 -0
  684. /package/dist/{block.init-U3JMED2E.js.map → block.init-AYWLW2HT.js.map} +0 -0
  685. /package/dist/{block.mds.expressionrank-TAN3BDPS.js.map → block.mds.expressionrank-HLZA7FAG.js.map} +0 -0
  686. /package/dist/{block.mds.geneboxplot-EN344GEP.js.map → block.mds.geneboxplot-3G2QSHDL.js.map} +0 -0
  687. /package/dist/{block.mds.junction-RFVVJUTR.js.map → block.mds.junction-DX4LWDH7.js.map} +0 -0
  688. /package/dist/{block.mds.svcnv-SSUMXEWD.js.map → block.mds.svcnv-JZ33BUGK.js.map} +0 -0
  689. /package/dist/{block.svg-LRPGNFFI.js.map → block.svg-63BVZVV2.js.map} +0 -0
  690. /package/dist/{block.tk.aicheck-YY23FT2G.js.map → block.tk.aicheck-KSNJ3JLB.js.map} +0 -0
  691. /package/dist/{block.tk.ase-JCGPFKFT.js.map → block.tk.ase-URSPZ66D.js.map} +0 -0
  692. /package/dist/{block.tk.bam-NZDC4H7Y.js.map → block.tk.bam-DZ57VTOD.js.map} +0 -0
  693. /package/dist/{block.tk.bedgraphdot-NCNZPZH6.js.map → block.tk.bedgraphdot-QCC65WUI.js.map} +0 -0
  694. /package/dist/{block.tk.bigwig.ui-Z7G6ZITU.js.map → block.tk.bigwig.ui-3TGOK5PM.js.map} +0 -0
  695. /package/dist/{block.tk.hicstraw-VVDP4UF5.js.map → block.tk.hicstraw-RASPIPEB.js.map} +0 -0
  696. /package/dist/{block.tk.junction-L4YBPAHM.js.map → block.tk.junction-HLJJSANL.js.map} +0 -0
  697. /package/dist/{block.tk.junction.textmatrixui-6CMKKUB5.js.map → block.tk.junction.textmatrixui-LPNEDD5D.js.map} +0 -0
  698. /package/dist/{block.tk.ld-VCP2R5UO.js.map → block.tk.ld-CDGBLDE2.js.map} +0 -0
  699. /package/dist/{block.tk.menu-ZJYGMEDX.js.map → block.tk.menu-O7DLZOZZ.js.map} +0 -0
  700. /package/dist/{block.tk.pgv-M5WNUIVS.js.map → block.tk.pgv-2EGZS2II.js.map} +0 -0
  701. /package/dist/{brainImaging-JGECJHZO.js.map → brainImaging-I7K3QOOA.js.map} +0 -0
  702. /package/dist/{bubbleHeatmap-7DQNWBQ2.js.map → bubbleHeatmap-JOFBJ3N4.js.map} +0 -0
  703. /package/dist/{cellTypeBubbleHeatmap-LAE7U3RF.js.map → cellTypeBubbleHeatmap-PUOOUMPO.js.map} +0 -0
  704. /package/dist/{chunk-E4WIMTK4.js.map → chunk-2SQEVMAL.js.map} +0 -0
  705. /package/dist/{chunk-LGOTIL62.js.map → chunk-3CHQGKF6.js.map} +0 -0
  706. /package/dist/{chunk-VIBK253J.js.map → chunk-3FVFG3YR.js.map} +0 -0
  707. /package/dist/{chunk-4AQQ3BXD.js.map → chunk-3PJZWZRS.js.map} +0 -0
  708. /package/dist/{chunk-NXVUL3EY.js.map → chunk-3W76UZR2.js.map} +0 -0
  709. /package/dist/{chunk-POWG4MPT.js.map → chunk-4DXQJGJ7.js.map} +0 -0
  710. /package/dist/{chunk-E7TJXNIL.js.map → chunk-4F57QD3H.js.map} +0 -0
  711. /package/dist/{chunk-756KZF5Y.js.map → chunk-4FO3INHF.js.map} +0 -0
  712. /package/dist/{chunk-RN4BOWRH.js.map → chunk-5ILEFNXJ.js.map} +0 -0
  713. /package/dist/{chunk-YX6FIREB.js.map → chunk-5T63JJ62.js.map} +0 -0
  714. /package/dist/{chunk-AQAFURQM.js.map → chunk-5UO7MKCO.js.map} +0 -0
  715. /package/dist/{chunk-GN2IIC6U.js.map → chunk-62ARCEIQ.js.map} +0 -0
  716. /package/dist/{chunk-ODMLC5FN.js.map → chunk-6HWGOT52.js.map} +0 -0
  717. /package/dist/{chunk-QHJGWCH3.js.map → chunk-6U3GF7DK.js.map} +0 -0
  718. /package/dist/{chunk-2AQT3ZWL.js.map → chunk-7RNXSOMF.js.map} +0 -0
  719. /package/dist/{chunk-D6G64XPJ.js.map → chunk-7X6NF7NI.js.map} +0 -0
  720. /package/dist/{chunk-GRI74AXV.js.map → chunk-A3JOQX4P.js.map} +0 -0
  721. /package/dist/{chunk-6JBQLOJW.js.map → chunk-ADLFLOFC.js.map} +0 -0
  722. /package/dist/{chunk-IAE3KWN5.js.map → chunk-AGUZCQDL.js.map} +0 -0
  723. /package/dist/{chunk-4WEA7HHH.js.map → chunk-ANGLZ4XR.js.map} +0 -0
  724. /package/dist/{chunk-DE3F7FAP.js.map → chunk-AVWIILXH.js.map} +0 -0
  725. /package/dist/{chunk-57NYHASA.js.map → chunk-BMQDU7KN.js.map} +0 -0
  726. /package/dist/{chunk-4PPZYVWZ.js.map → chunk-C5TU4AYP.js.map} +0 -0
  727. /package/dist/{chunk-2GLNPB5J.js.map → chunk-CMO5BR2S.js.map} +0 -0
  728. /package/dist/{chunk-TBPVP3KZ.js.map → chunk-EF4QV5YH.js.map} +0 -0
  729. /package/dist/{chunk-IS4VLUEX.js.map → chunk-EGKHDALO.js.map} +0 -0
  730. /package/dist/{chunk-KAFDQKN7.js.map → chunk-EQDKO7MX.js.map} +0 -0
  731. /package/dist/{chunk-XKL2D2NN.js.map → chunk-EREMALJK.js.map} +0 -0
  732. /package/dist/{chunk-BEJJS2HC.js.map → chunk-F4DM3WS4.js.map} +0 -0
  733. /package/dist/{chunk-L743GRJE.js.map → chunk-F5YU7J4P.js.map} +0 -0
  734. /package/dist/{chunk-S5UN4VIQ.js.map → chunk-GR4XPNAA.js.map} +0 -0
  735. /package/dist/{chunk-5BCNVZIW.js.map → chunk-GUH5IG5N.js.map} +0 -0
  736. /package/dist/{chunk-APK7TUJX.js.map → chunk-HMJOZAKA.js.map} +0 -0
  737. /package/dist/{chunk-XXJT7DSL.js.map → chunk-HPGWCCJ2.js.map} +0 -0
  738. /package/dist/{chunk-G3JNTWCX.js.map → chunk-IANG6AGL.js.map} +0 -0
  739. /package/dist/{chunk-5AAAH4OZ.js.map → chunk-IUREQGFN.js.map} +0 -0
  740. /package/dist/{chunk-YHA3AYAM.js.map → chunk-JC55A4A2.js.map} +0 -0
  741. /package/dist/{chunk-SDMNZJ7X.js.map → chunk-JPMHCMOP.js.map} +0 -0
  742. /package/dist/{chunk-MAVDQAZE.js.map → chunk-KYMTFHB5.js.map} +0 -0
  743. /package/dist/{chunk-JNVWSFNC.js.map → chunk-L32KMIC3.js.map} +0 -0
  744. /package/dist/{chunk-SY63UUF7.js.map → chunk-LDWMVZYF.js.map} +0 -0
  745. /package/dist/{chunk-UM5NWVMA.js.map → chunk-M367Y7ML.js.map} +0 -0
  746. /package/dist/{chunk-3MFFZRH3.js.map → chunk-M3OQ7GXG.js.map} +0 -0
  747. /package/dist/{chunk-YN5NY3D3.js.map → chunk-M4XXKTH2.js.map} +0 -0
  748. /package/dist/{chunk-T46FA72N.js.map → chunk-N7DVQTPC.js.map} +0 -0
  749. /package/dist/{chunk-JBUEQ4E6.js.map → chunk-NJ7N2VFX.js.map} +0 -0
  750. /package/dist/{chunk-IB4NE4SI.js.map → chunk-OVPEMVXT.js.map} +0 -0
  751. /package/dist/{chunk-2O4CS3EZ.js.map → chunk-OXWLQQXL.js.map} +0 -0
  752. /package/dist/{chunk-RZFJ6K77.js.map → chunk-PBUV4CPQ.js.map} +0 -0
  753. /package/dist/{chunk-ZXU4ALLZ.js.map → chunk-QABGFKK3.js.map} +0 -0
  754. /package/dist/{chunk-LK2GHBUH.js.map → chunk-QGBHBSGS.js.map} +0 -0
  755. /package/dist/{chunk-OJ4TDGPQ.js.map → chunk-QUODDEQH.js.map} +0 -0
  756. /package/dist/{chunk-DF3IMIR2.js.map → chunk-QW7BQPKP.js.map} +0 -0
  757. /package/dist/{chunk-D2MZT7CC.js.map → chunk-QXB4CBIS.js.map} +0 -0
  758. /package/dist/{chunk-3PHXBY3Z.js.map → chunk-RF3GQYZJ.js.map} +0 -0
  759. /package/dist/{chunk-MKT4OJ3G.js.map → chunk-RJ4OKU4A.js.map} +0 -0
  760. /package/dist/{chunk-JYOIO5UY.js.map → chunk-RPDVFM7E.js.map} +0 -0
  761. /package/dist/{chunk-SWZAHJYP.js.map → chunk-SWO6DZTG.js.map} +0 -0
  762. /package/dist/{chunk-6JBLNS4D.js.map → chunk-SYPSS3JQ.js.map} +0 -0
  763. /package/dist/{chunk-LHP7RXET.js.map → chunk-THGHO5FN.js.map} +0 -0
  764. /package/dist/{chunk-N635HDJ4.js.map → chunk-TU2E4653.js.map} +0 -0
  765. /package/dist/{chunk-P5GRGXH4.js.map → chunk-TUODNABC.js.map} +0 -0
  766. /package/dist/{chunk-RJFCT67B.js.map → chunk-VCVKELHL.js.map} +0 -0
  767. /package/dist/{chunk-Q25DABNW.js.map → chunk-VVO3R5JV.js.map} +0 -0
  768. /package/dist/{chunk-R5OIIFSF.js.map → chunk-WO2Z53DQ.js.map} +0 -0
  769. /package/dist/{chunk-OXLBPSJ6.js.map → chunk-WPEOBBLH.js.map} +0 -0
  770. /package/dist/{chunk-NFAE6VNU.js.map → chunk-X4CC7EZT.js.map} +0 -0
  771. /package/dist/{chunk-ABTO5QSB.js.map → chunk-X63NSV33.js.map} +0 -0
  772. /package/dist/{chunk-NG7K5KYO.js.map → chunk-XK2A6NRK.js.map} +0 -0
  773. /package/dist/{chunk-CZ5QLVWK.js.map → chunk-Y3D6Y4DO.js.map} +0 -0
  774. /package/dist/{chunk-ALEZQQOK.js.map → chunk-YG5AY6GE.js.map} +0 -0
  775. /package/dist/{chunk-JIDJBM2R.js.map → chunk-YNAEXBB5.js.map} +0 -0
  776. /package/dist/{chunk-J2DICGKC.js.map → chunk-YY5WQQ3J.js.map} +0 -0
  777. /package/dist/{chunk-YLJOZP4P.js.map → chunk-Z2ZITHT4.js.map} +0 -0
  778. /package/dist/{cohort-75FUW3UO.js.map → cohort-75OBZ5EL.js.map} +0 -0
  779. /package/dist/{condition-VW43Q6ZE.js.map → condition-XSIDDH5P.js.map} +0 -0
  780. /package/dist/{controls-HOP2AFHD.js.map → controls-UVEY3Z57.js.map} +0 -0
  781. /package/dist/{controls.config-CMIFSKQE.js.map → controls.config-M325HV4N.js.map} +0 -0
  782. /package/dist/{correlation-PN7BS5OR.js.map → correlation-HVQDCYQJ.js.map} +0 -0
  783. /package/dist/{customdata.inputui-ZBZX63PS.js.map → customdata.inputui-KMCJ4UFU.js.map} +0 -0
  784. /package/dist/{dataDownload-LGA4LAUF.js.map → dataDownload-MJNMZPR6.js.map} +0 -0
  785. /package/dist/{databrowser.ui-IQRDVL66.js.map → databrowser.ui-O7KNP5RH.js.map} +0 -0
  786. /package/dist/{dictionary-BPWD77LJ.js.map → dictionary-LLGX2XNU.js.map} +0 -0
  787. /package/dist/{dnaMethylation-A3XPPBBB.js.map → dnaMethylation-MXRMFWGM.js.map} +0 -0
  788. /package/dist/{dnaMethylation.integration.spec-554ITDQC.js.map → dnaMethylation.integration.spec-GNF4AW32.js.map} +0 -0
  789. /package/dist/{dofetch-FQ42AX7C.js.map → dofetch-F5XSHQIS.js.map} +0 -0
  790. /package/dist/{e2pca-F3GWG7WZ.js.map → e2pca-TNDATCU2.js.map} +0 -0
  791. /package/dist/{ep-QAVN472H.js.map → ep-GH62BQS5.js.map} +0 -0
  792. /package/dist/{expclust.gdc.spec-DQNX7FTL.js.map → expclust.gdc.spec-3XBBPTZX.js.map} +0 -0
  793. /package/dist/{facet-DH7OOZTJ.js.map → facet-XQO2TMTJ.js.map} +0 -0
  794. /package/dist/{gb-OCXOLAMD.js.map → gb-76QWZ2UI.js.map} +0 -0
  795. /package/dist/{geneExpClustering-DWYRZGTS.js.map → geneExpClustering-7EEK4LBZ.js.map} +0 -0
  796. /package/dist/{geneExpression-2NKSKZR6.js.map → geneExpression-4J2JRTUQ.js.map} +0 -0
  797. /package/dist/{geneExpression-BGFR3KQE.js.map → geneExpression-FXQ4L2J2.js.map} +0 -0
  798. /package/dist/{geneExpression.unit.spec-63EKKMET.js.map → geneExpression.unit.spec-JRLUIYIU.js.map} +0 -0
  799. /package/dist/{geneORA-BED6XL4D.js.map → geneORA-MQ3DRAFK.js.map} +0 -0
  800. /package/dist/{geneRanking-UB5RCQNP.js.map → geneRanking-LK5CSUYP.js.map} +0 -0
  801. /package/dist/{geneVariant-Y4C2FPJK.js.map → geneVariant-HMOFSHIN.js.map} +0 -0
  802. /package/dist/{geneVariant-WJEONTTY.js.map → geneVariant-IKM4MJZN.js.map} +0 -0
  803. /package/dist/{geneVariant.integration.spec-VFYLC47N.js.map → geneVariant.integration.spec-ZIYVXRSQ.js.map} +0 -0
  804. /package/dist/{genefusion.ui-P3NBIMLE.js.map → genefusion.ui-UFSDMLZS.js.map} +0 -0
  805. /package/dist/{geneset-O22RQAED.js.map → geneset-IK43N3JG.js.map} +0 -0
  806. /package/dist/{genomeBrowser.spec-MM7WZUGI.js.map → genomeBrowser.spec-GYBHE7HU.js.map} +0 -0
  807. /package/dist/{grin2-O637DNDS.js.map → grin2-K7OGPM66.js.map} +0 -0
  808. /package/dist/{grin2-3YBIRKUT.js.map → grin2-QLVIYHOC.js.map} +0 -0
  809. /package/dist/{hierCluster-3X3BQVNE.js.map → hierCluster-2Y6D73N4.js.map} +0 -0
  810. /package/dist/{hierCluster-7P7M75TU.js.map → hierCluster-YF52SKZD.js.map} +0 -0
  811. /package/dist/{hierCluster.config-XFUOLLDK.js.map → hierCluster.config-DDI7H2BF.js.map} +0 -0
  812. /package/dist/{hierCluster.integration.spec-HKYGSDDG.js.map → hierCluster.integration.spec-FTWZHMSN.js.map} +0 -0
  813. /package/dist/{hierCluster.interactivity-JUZSWCM7.js.map → hierCluster.interactivity-Y2THXA6K.js.map} +0 -0
  814. /package/dist/{hierCluster.renderers-NGPPAYFM.js.map → hierCluster.renderers-P7JNIT3N.js.map} +0 -0
  815. /package/dist/{imagePlot-LKGAFJO7.js.map → imagePlot-DBMZYBSO.js.map} +0 -0
  816. /package/dist/{importPlot-SRWQA2FH.js.map → importPlot-PY4B7BYA.js.map} +0 -0
  817. /package/dist/{isoformExpression-RYIZQIVX.js.map → isoformExpression-HN3MNBKH.js.map} +0 -0
  818. /package/dist/{isoformExpression.unit.spec-DP4ECITF.js.map → isoformExpression.unit.spec-RBNLOC7Q.js.map} +0 -0
  819. /package/dist/{junction-D7QQ3YSG.js.map → junction-EGT73F5M.js.map} +0 -0
  820. /package/dist/{junction.customTerm-ZEVNCVU7.js.map → junction.customTerm-FRYWSS4P.js.map} +0 -0
  821. /package/dist/{junction.unit.spec-6MAKIB3R.js.map → junction.unit.spec-M4JN5LX7.js.map} +0 -0
  822. /package/dist/{launch.adhoc-FAHRZFYG.js.map → launch.adhoc-VDOXMXRP.js.map} +0 -0
  823. /package/dist/{leftlabel.sample-PDZLWLJ4.js.map → leftlabel.sample-L2D4LF75.js.map} +0 -0
  824. /package/dist/{legacyDataset-27L4DMCL.js.map → legacyDataset-IEFWFVS6.js.map} +0 -0
  825. /package/dist/{lollipop-VWGJUHNX.js.map → lollipop-FBATR5JC.js.map} +0 -0
  826. /package/dist/{maf-W52H44WK.js.map → maf-NV37MR7A.js.map} +0 -0
  827. /package/dist/{maftimeline-5JV3HZLE.js.map → maftimeline-L3R3YWPV.js.map} +0 -0
  828. /package/dist/{matrix-CEVGKXSK.js.map → matrix-F5YVDLLQ.js.map} +0 -0
  829. /package/dist/{matrix-EXNYXYLK.js.map → matrix-NEEZS7HQ.js.map} +0 -0
  830. /package/dist/{matrix.cells-DVPWSLJW.js.map → matrix.cells-ZFKVIPDC.js.map} +0 -0
  831. /package/dist/{matrix.config-RLSTWDXC.js.map → matrix.config-37V4NZU2.js.map} +0 -0
  832. /package/dist/{matrix.data-Z6GUACVZ.js.map → matrix.data-NCGZPNWR.js.map} +0 -0
  833. /package/dist/{matrix.groups-3ZSTUWRK.js.map → matrix.groups-XQJTGM6M.js.map} +0 -0
  834. /package/dist/{matrix.integration.spec-4U2R3UB2.js.map → matrix.integration.spec-MRQUAGQN.js.map} +0 -0
  835. /package/dist/{matrix.interactivity-DJZFQ7DN.js.map → matrix.interactivity-NR2KH4CG.js.map} +0 -0
  836. /package/dist/{matrix.layout-RQJ6VB4P.js.map → matrix.layout-7FXNBXWB.js.map} +0 -0
  837. /package/dist/{matrix.legend-YQ36NWKW.js.map → matrix.legend-U36VCS46.js.map} +0 -0
  838. /package/dist/{matrix.renderers-MWDFI6HW.js.map → matrix.renderers-TKNU75PG.js.map} +0 -0
  839. /package/dist/{matrix.serieses-LTC4RLYD.js.map → matrix.serieses-AW7XBXLJ.js.map} +0 -0
  840. /package/dist/{matrix.sort-5VFYLABY.js.map → matrix.sort-7PMECLOE.js.map} +0 -0
  841. /package/dist/{matrix.sort.unit.spec-2RUEKUT4.js.map → matrix.sort.unit.spec-S7Z2HDDD.js.map} +0 -0
  842. /package/dist/{matrix.sorterUi-EEMYZLPI.js.map → matrix.sorterUi-J6PRUT6J.js.map} +0 -0
  843. /package/dist/{matrix.sorterUi.unit.spec-ZXGSPRFZ.js.map → matrix.sorterUi.unit.spec-PCR7U67A.js.map} +0 -0
  844. /package/dist/{matrix.unit.spec-HTF6UV4L.js.map → matrix.unit.spec-GSOK3M34.js.map} +0 -0
  845. /package/dist/{mavb-GGQRDCO6.js.map → mavb-QP64LXJ5.js.map} +0 -0
  846. /package/dist/{mds.fimo-YKV5OIYV.js.map → mds.fimo-JS52GPE4.js.map} +0 -0
  847. /package/dist/{mds.samplescatterplot-RQOEW2AW.js.map → mds.samplescatterplot-RY5PA35G.js.map} +0 -0
  848. /package/dist/{mds.survivalplot-TN636DED.js.map → mds.survivalplot-PG5VHT4W.js.map} +0 -0
  849. /package/dist/{multivalue-MDQY64EH.js.map → multivalue-EG2OGEET.js.map} +0 -0
  850. /package/dist/{numericDictTermCluster-E73TJCLI.js.map → numericDictTermCluster-5AKP6ICC.js.map} +0 -0
  851. /package/dist/{oncomatrix-AENXQMLL.js.map → oncomatrix-JUGMZ7X7.js.map} +0 -0
  852. /package/dist/{oncomatrix.spec-UD6U462U.js.map → oncomatrix.spec-76PSNGCH.js.map} +0 -0
  853. /package/dist/{plot.2dvaf-XMRV6KEG.js.map → plot.2dvaf-WXOEUEE7.js.map} +0 -0
  854. /package/dist/{plot.app-A6JKLYQQ.js.map → plot.app-ON6AY4A3.js.map} +0 -0
  855. /package/dist/{plot.barplot-UIX7LVWR.js.map → plot.barplot-WX3KM6KS.js.map} +0 -0
  856. /package/dist/{plot.boxplot-DIFWVLMA.js.map → plot.boxplot-L4PT7YVS.js.map} +0 -0
  857. /package/dist/{plot.brainImaging-ZRPVE2UK.js.map → plot.brainImaging-4JY67ZEV.js.map} +0 -0
  858. /package/dist/{plot.disco-I56MT3PC.js.map → plot.disco-3NY3P37U.js.map} +0 -0
  859. /package/dist/{plot.ssgq-FCKFSZTV.js.map → plot.ssgq-3YHZPC4V.js.map} +0 -0
  860. /package/dist/{plot.vaf2cov-E5C7RJ7Z.js.map → plot.vaf2cov-PJJN2GCQ.js.map} +0 -0
  861. /package/dist/{polar2-SKVBB4FD.js.map → polar2-5WVM7HGK.js.map} +0 -0
  862. /package/dist/{profileForms-5B3MTUNP.js.map → profileForms-MZNIQSE5.js.map} +0 -0
  863. /package/dist/{profilePlot-MCYCGEWT.js.map → profilePlot-2F5KXRFX.js.map} +0 -0
  864. /package/dist/{pseudbulk.unit.spec-Q4YTIPH7.js.map → pseudbulk.unit.spec-AHI6LHZY.js.map} +0 -0
  865. /package/dist/{pseudobulk-3UIWCCCQ.js.map → pseudobulk-I4I733CJ.js.map} +0 -0
  866. /package/dist/{qualitative-6TJRXZFV.js.map → qualitative-G7MKJJNX.js.map} +0 -0
  867. /package/dist/{radar2-6X4XW5IZ.js.map → radar2-XJCS6ZUN.js.map} +0 -0
  868. /package/dist/{radarFacility2-UVPXWPV5.js.map → radarFacility2-GDTKB4KP.js.map} +0 -0
  869. /package/dist/{rememberedGvQ.unit.spec-GVRFRVSO.js.map → rememberedGvQ.unit.spec-N43O4YTF.js.map} +0 -0
  870. /package/dist/{render-G7V6R4PV.js.map → render-G7TGAAPN.js.map} +0 -0
  871. /package/dist/{report-O7D46EKQ.js.map → report-PKYTJRKJ.js.map} +0 -0
  872. /package/dist/{sampleView-6Y3OOOMW.js.map → sampleView-QSB3PW33.js.map} +0 -0
  873. /package/dist/{samplelst-JRVC4GYC.js.map → samplelst-N33FNNIM.js.map} +0 -0
  874. /package/dist/{samplematrix-VP5RQVRH.js.map → samplematrix-4CVVIXWR.js.map} +0 -0
  875. /package/dist/{sc-BPHVEP6N.js.map → sc-LENH35VN.js.map} +0 -0
  876. /package/dist/{scatter-2YYRZCSW.js.map → scatter-5G272VMO.js.map} +0 -0
  877. /package/dist/{scatter-Y4BIG2PW.js.map → scatter-A3TK5TR5.js.map} +0 -0
  878. /package/dist/{selectGenomeWithTklst-2BVZU5SW.js.map → selectGenomeWithTklst-CP25JXDJ.js.map} +0 -0
  879. /package/dist/{singleCellCellType-XBGCSIQT.js.map → singleCellCellType-5ZLTPHVY.js.map} +0 -0
  880. /package/dist/{singleCellCellType.unit.spec-T4GFRLVZ.js.map → singleCellCellType.unit.spec-3JIUZS6Z.js.map} +0 -0
  881. /package/dist/{singleCellGeneExpression-5ZPWLSVW.js.map → singleCellGeneExpression-UTUK4JAM.js.map} +0 -0
  882. /package/dist/{singleCellGeneExpression.unit.spec-4O5UBUDU.js.map → singleCellGeneExpression.unit.spec-LRRBT5YG.js.map} +0 -0
  883. /package/dist/{singleCellPlot-CZLQBGVU.js.map → singleCellPlot-QXTJCGSI.js.map} +0 -0
  884. /package/dist/{singlecell-O3P5BLWT.js.map → singlecell-BS2HYXK2.js.map} +0 -0
  885. /package/dist/{singlecell-IIUYX7OG.js.map → singlecell-KG4WCPCW.js.map} +0 -0
  886. /package/dist/{snp-ZCYBF3ZQ.js.map → snp-X7AVONSN.js.map} +0 -0
  887. /package/dist/{snp.unit.spec-TAGD2DRL.js.map → snp.unit.spec-RNOIV6IA.js.map} +0 -0
  888. /package/dist/{snplocus-TL25OOPE.js.map → snplocus-DS6E47B6.js.map} +0 -0
  889. /package/dist/{spliceevent.a53ss.diagram-I7J4PQZT.js.map → spliceevent.a53ss.diagram-MUB6Y74Z.js.map} +0 -0
  890. /package/dist/{spliceevent.exonskip.diagram-SB4454HB.js.map → spliceevent.exonskip.diagram-47IHL2WK.js.map} +0 -0
  891. /package/dist/{spliceevent.noeventdiagram-FOSDNYLH.js.map → spliceevent.noeventdiagram-EMHYY3LK.js.map} +0 -0
  892. /package/dist/{ssGSEA-WANB2X5L.js.map → ssGSEA-XJVB4KXR.js.map} +0 -0
  893. /package/dist/{ssGSEA.unit.spec-4XXWU4XV.js.map → ssGSEA.unit.spec-DV6XJRPZ.js.map} +0 -0
  894. /package/dist/{stattable-FNTJLVNB.js.map → stattable-45LHJWVF.js.map} +0 -0
  895. /package/dist/{summarizeCnvGeneexp-P4AFZMKD.js.map → summarizeCnvGeneexp-RBFYEF4F.js.map} +0 -0
  896. /package/dist/{summarizeGeneexpSurvival-YL2J7F4R.js.map → summarizeGeneexpSurvival-2MTLML7E.js.map} +0 -0
  897. /package/dist/{summarizeMutationCnv-BHBHST5F.js.map → summarizeMutationCnv-6YEOAUA6.js.map} +0 -0
  898. /package/dist/{summarizeMutationDiagnosis-Z7ZHTV27.js.map → summarizeMutationDiagnosis-GMGPKNVC.js.map} +0 -0
  899. /package/dist/{summarizeMutationSurvival-PZ4TYHT7.js.map → summarizeMutationSurvival-63LEMNOV.js.map} +0 -0
  900. /package/dist/{summary-ZMNPO65S.js.map → summary-TUL6Z35N.js.map} +0 -0
  901. /package/dist/{summary.integration.spec-DPJR2ZBE.js.map → summary.integration.spec-X22T3LB4.js.map} +0 -0
  902. /package/dist/{summaryInput-6JUFJZ5P.js.map → summaryInput-YBMESKTV.js.map} +0 -0
  903. /package/dist/{sunburst-OWAUI3HC.js.map → sunburst-QVK3JOKT.js.map} +0 -0
  904. /package/dist/{survival-7EXICNK7.js.map → survival-WQR2JVXU.js.map} +0 -0
  905. /package/dist/{survival-6JPKG3VA.js.map → survival-ZDWBE2JO.js.map} +0 -0
  906. /package/dist/{svgraph-34IKFHUS.js.map → svgraph-XFA7GFTF.js.map} +0 -0
  907. /package/dist/{svmr-4XNPSVVQ.js.map → svmr-WCNU5AM4.js.map} +0 -0
  908. /package/dist/{table-LPZATFLC.js.map → table-FT7OWBPC.js.map} +0 -0
  909. /package/dist/{termCollection-DYY5FXU5.js.map → termCollection-JIBZNZS6.js.map} +0 -0
  910. /package/dist/{termCollection-WOAUFFIC.js.map → termCollection-MGMWCQ2O.js.map} +0 -0
  911. /package/dist/{termCollection.unit.spec-WTICTZ7H.js.map → termCollection.unit.spec-4OI4OIHR.js.map} +0 -0
  912. /package/dist/{termCollectionFractionSelection-K5HPDEFP.js.map → termCollectionFractionSelection-AFIJHB3Z.js.map} +0 -0
  913. /package/dist/{termCollectionFractionSelection.unit.spec-D7DG2HOI.js.map → termCollectionFractionSelection.unit.spec-MG7W4M7F.js.map} +0 -0
  914. /package/dist/{tk-NV7NBLT6.js.map → tk-23G2PAGW.js.map} +0 -0
  915. /package/dist/{tk-DD2LWVGM.js.map → tk-OQ72O2QL.js.map} +0 -0
  916. /package/dist/{tp.ui-B5J3UUVB.js.map → tp.ui-M5D3MNIR.js.map} +0 -0
  917. /package/dist/{tvs.dt-XLKQT64T.js.map → tvs.dt-T7EQO547.js.map} +0 -0
  918. /package/dist/{tvs.dtcnv.categorical-XIC3RH2D.js.map → tvs.dtcnv.categorical-4HIP3F24.js.map} +0 -0
  919. /package/dist/{tvs.dtcnv.continuous-OA2K4LHF.js.map → tvs.dtcnv.continuous-KVJWKU7Q.js.map} +0 -0
  920. /package/dist/{tvs.dtfusion-ZGNKALZB.js.map → tvs.dtfusion-C4AXERQA.js.map} +0 -0
  921. /package/dist/{tvs.dtitd-6QSG4E34.js.map → tvs.dtitd-KUZRPWA3.js.map} +0 -0
  922. /package/dist/{tvs.dtsnvindel-5CXXOGPH.js.map → tvs.dtsnvindel-DJYY7MG3.js.map} +0 -0
  923. /package/dist/{tvs.dtsv-QYYEYUD3.js.map → tvs.dtsv-RRO45ITI.js.map} +0 -0
  924. /package/dist/{tvs.numeric-3UXW4JHJ.js.map → tvs.numeric-22AHXO5K.js.map} +0 -0
  925. /package/dist/{tvs.samplelst-X77ODFFR.js.map → tvs.samplelst-M27QVSNU.js.map} +0 -0
  926. /package/dist/{tvs.termCollection-VXROWAPS.js.map → tvs.termCollection-6S2524FW.js.map} +0 -0
  927. /package/dist/{vocabulary-DKWYTZRC.js.map → vocabulary-YGPUDI4D.js.map} +0 -0
  928. /package/dist/{wsi.direct-C3HQEC2V.js.map → wsi.direct-SGGSZTWZ.js.map} +0 -0
@@ -0,0 +1,1416 @@
1
+ import {
2
+ appInit
3
+ } from "./chunk-IUREQGFN.js";
4
+ import "./chunk-AGUZCQDL.js";
5
+ import {
6
+ getDefaultViolinSettings
7
+ } from "./chunk-BMQDU7KN.js";
8
+ import "./chunk-X46YA4CB.js";
9
+ import "./chunk-SKMFMGCD.js";
10
+ import {
11
+ mayRunSnplstTask
12
+ } from "./chunk-7OYOC7XY.js";
13
+ import {
14
+ RegressionResults
15
+ } from "./chunk-ADLFLOFC.js";
16
+ import {
17
+ PlotBase,
18
+ fillTermWrapper,
19
+ get$id,
20
+ getActiveCohortStr,
21
+ getCombinedTermFilter,
22
+ make_one_checkbox,
23
+ sayerror,
24
+ termsettingInit
25
+ } from "./chunk-XDLCPJCK.js";
26
+ import "./chunk-HJ6L54YS.js";
27
+ import "./chunk-KV4W2ACA.js";
28
+ import "./chunk-TU2E4653.js";
29
+ import "./chunk-N7DVQTPC.js";
30
+ import {
31
+ Menu
32
+ } from "./chunk-ELJX3QIQ.js";
33
+ import "./chunk-EEB5VE2A.js";
34
+ import "./chunk-6RRZRISL.js";
35
+ import "./chunk-2KM4PRQM.js";
36
+ import {
37
+ get_bin_label
38
+ } from "./chunk-RPDVFM7E.js";
39
+ import "./chunk-M4XXKTH2.js";
40
+ import {
41
+ dictionaryNumericTypes,
42
+ isDictionaryType,
43
+ isNumericTw,
44
+ numericTypes
45
+ } from "./chunk-5ILEFNXJ.js";
46
+ import "./chunk-IZUYLFOX.js";
47
+ import {
48
+ copyMerge,
49
+ getCompInit
50
+ } from "./chunk-WINIL2KN.js";
51
+ import "./chunk-PF4DSFDR.js";
52
+ import "./chunk-7X6NF7NI.js";
53
+ import {
54
+ getValueConversionFactor
55
+ } from "./chunk-W5J3LTYS.js";
56
+ import "./chunk-Z2ZITHT4.js";
57
+ import "./chunk-4OLM3KSB.js";
58
+ import "./chunk-FXQXCOII.js";
59
+ import {
60
+ roundValue
61
+ } from "./chunk-TLT4YIG3.js";
62
+ import "./chunk-5R63Q5KH.js";
63
+ import {
64
+ select_default
65
+ } from "./chunk-I6Y4O3RR.js";
66
+ import "./chunk-Q5RDQNIT.js";
67
+ import "./chunk-DQC5FFGV.js";
68
+ import "./chunk-HS5PO5ZQ.js";
69
+
70
+ // plots/regression/regression.inputs.values.table.ts
71
+ var row_hover_bgcolor = "#fff6dc";
72
+ var graytextcolor = "#555";
73
+ var InputValuesTable = class {
74
+ constructor(opts) {
75
+ this.opts = opts;
76
+ this.input = opts.input;
77
+ setRenderers(this);
78
+ this.setDOM(opts.holder);
79
+ }
80
+ main() {
81
+ try {
82
+ const term = this.input.term;
83
+ if (!term || !this.input.termStatus) {
84
+ this.dom.holder.style("display", "none");
85
+ this.dom.loading_div.style("display", "none");
86
+ return;
87
+ } else if (term) {
88
+ this.dom.holder.style("display", "block");
89
+ this.dom.loading_div.style("display", "block");
90
+ this.updateValueCount();
91
+ this.dom.loading_div.style("display", "none");
92
+ this.render();
93
+ return;
94
+ }
95
+ } catch (e) {
96
+ this.dom.loading_div.style("display", "none");
97
+ throw e;
98
+ }
99
+ }
100
+ updateValueCount() {
101
+ const i = this.input;
102
+ try {
103
+ if (i.pill && i.pill.validateQ) {
104
+ i.pill.validateQ({
105
+ term: i.term.term,
106
+ q: i.term.q,
107
+ sampleCounts: i.termStatus.sampleCounts
108
+ });
109
+ }
110
+ } catch (e) {
111
+ i.term.error = e;
112
+ }
113
+ }
114
+ };
115
+ function setRenderers(self) {
116
+ self.setDOM = (holder) => {
117
+ self.dom = {
118
+ holder: holder.style("margin", "10px").style("font-size", ".8em").style("text-align", "left").style("color", graytextcolor),
119
+ loading_div: holder.append("div").text("Loading..").style("display", "none"),
120
+ top_info_div: holder.append("div").style("padding-bottom", "5px"),
121
+ violin_div: holder.append("div").style("color", "black").style("padding-top", "5px"),
122
+ table_div: holder.append("table").style("margin", "5px 0px 15px 0px").style("border-collapse", "collapse").style("color", "black"),
123
+ bottom_info_div: holder.append("div"),
124
+ excluded_div: holder.append("table").style("display", "none").style("margin", "5px 10px").style("border-collapse", "collapse")
125
+ };
126
+ };
127
+ self.render = async () => {
128
+ const input = self.input;
129
+ renderTopInfo(input);
130
+ await renderValuesTable(input);
131
+ renderBottomInfo(input);
132
+ renderExcludedValues(input);
133
+ };
134
+ function renderTopInfo(input) {
135
+ if (input.termStatus.topInfoStatus?.length) {
136
+ self.dom.top_info_div.style("display", "block").html(input.termStatus.topInfoStatus.join("<br>"));
137
+ } else {
138
+ self.dom.top_info_div.style("display", "none");
139
+ }
140
+ }
141
+ async function renderValuesTable(input) {
142
+ if (input.term.q.mode == "continuous" || input.term.q.mode == "spline") {
143
+ self.dom.violin_div.style("display", "block");
144
+ self.dom.table_div.style("display", "none");
145
+ if (self.plotAppApi) {
146
+ const action = {
147
+ type: "app_refresh",
148
+ state: { termfilter: structuredClone(self.input.parent.state?.termfilter) },
149
+ subactions: [
150
+ {
151
+ type: "plot_edit",
152
+ id: self.violinApi.id,
153
+ config: {
154
+ term: input.term
155
+ }
156
+ }
157
+ ]
158
+ };
159
+ self.plotAppApi.dispatch(action);
160
+ } else {
161
+ const opts = {
162
+ holder: self.dom.violin_div,
163
+ vocabApi: self.input.parent.app.vocabApi,
164
+ state: {
165
+ vocab: {
166
+ genome: self.input.parent.app.vocabApi.genome,
167
+ dslabel: self.input.parent.app.vocabApi.dslabel
168
+ },
169
+ termfilter: structuredClone(self.input.parent.state?.termfilter),
170
+ plots: [
171
+ {
172
+ chartType: "violin",
173
+ term: input.term,
174
+ settings: {
175
+ violin: getDefaultViolinSettings(null, {
176
+ svgw: 350,
177
+ axisHeight: 25,
178
+ rightMargin: 10,
179
+ datasymbol: "rug",
180
+ radius: 8,
181
+ plotThickness: 80
182
+ })
183
+ }
184
+ }
185
+ ]
186
+ },
187
+ // global options for plotAppApi
188
+ // opts.violin will apply to all violin plots within the plotApp
189
+ // rx will pass options by component type, which are not tracked in state
190
+ // examples are callbacks, event listeners, etc
191
+ violin: {
192
+ mode: "minimal"
193
+ }
194
+ };
195
+ self.plotAppApi = await appInit(opts);
196
+ const plotId = self.plotAppApi.getState().plots[0].id;
197
+ self.violinApi = self.plotAppApi.getComponents(`plots.${plotId}`);
198
+ }
199
+ } else {
200
+ self.dom.violin_div.style("display", "none");
201
+ const data = input.termStatus.sampleCounts;
202
+ if (!data || !data.length) {
203
+ self.dom.table_div.style("display", "none");
204
+ return;
205
+ }
206
+ self.dom.table_div.style("display", "block").attr("data-testid", "sjpp-regression-barchart");
207
+ const l = self.input.orderedLabels;
208
+ const sortFxn = l && l.length ? (a, b) => l.indexOf(a.label) - l.indexOf(b.label) : (a, b) => b.samplecount - a.samplecount;
209
+ const tr_data = data.sort(sortFxn);
210
+ const maxCount = Math.max(...tr_data.map((v) => v.samplecount), 0);
211
+ tr_data.forEach((v) => v.bar_width_frac = Number((1 - (maxCount - v.samplecount) / maxCount).toFixed(4)));
212
+ self.dom.table_div.selectAll("tr").remove();
213
+ const trs = self.dom.table_div.selectAll("tr").data(tr_data, (b) => b.key);
214
+ trs.enter().append("tr").each(trEnter);
215
+ }
216
+ }
217
+ function renderBottomInfo(input) {
218
+ if (input.termStatus.bottomSummaryStatus) {
219
+ self.dom.bottom_info_div.style("display", "block").html(input.termStatus.bottomSummaryStatus);
220
+ } else {
221
+ self.dom.bottom_info_div.style("display", "none");
222
+ }
223
+ }
224
+ function renderExcludedValues(input) {
225
+ const data = input.termStatus.excludeCounts;
226
+ if (!data || !data.length) {
227
+ self.dom.excluded_div.style("display", "none");
228
+ return;
229
+ }
230
+ self.dom.excluded_div.style("display", "block").selectAll("tr").remove();
231
+ const trs = self.dom.excluded_div.selectAll("tr").data(data, (b) => b.key);
232
+ trs.enter().append("tr").each(trEnter);
233
+ self.dom.excluded_div.selectAll("td").style("color", graytextcolor);
234
+ }
235
+ function trEnter(item) {
236
+ const tr = select_default(this);
237
+ const input = this.parentNode.__data__;
238
+ const maxBarWidth = 150;
239
+ tr.style("text-align", "left").style("cursor", input.termStatus.allowToSelectRefGrp ? "pointer" : "default");
240
+ const tdSpacing = "1px 10px 1px 0px";
241
+ tr.append("td").style("padding", tdSpacing).style("text-align", "left").style("color", "black").text(item.samplecount !== void 0 ? "n=" + item.samplecount : "");
242
+ tr.append("td").style("padding", tdSpacing).style("text-align", "left").style("color", "black").text(item.label);
243
+ const bar_td = tr.append("td").style("padding", tdSpacing);
244
+ const barWidth = maxBarWidth * item.bar_width_frac;
245
+ bar_td.append("div").style("margin", tdSpacing).style("width", barWidth + "px").style("height", "15px").style("background-color", "#ddd");
246
+ addTrBehavior({ input, item, tr, rendered: false });
247
+ }
248
+ function addTrBehavior({ input, item, tr, rendered }) {
249
+ if (!item.bar_width_frac) return;
250
+ const t = input.term;
251
+ const hover_flag = input.termStatus.allowToSelectRefGrp;
252
+ let ref_text;
253
+ if (rendered) {
254
+ tr.style("background", "white");
255
+ ref_text = select_default(tr.node().lastChild).select("div").style("display", item.key === t.refGrp && hover_flag ? "inline-block" : "none").style("border", item.key === t.refGrp && hover_flag ? "1px solid #bbb" : "");
256
+ } else if (input.term.q.mode != "cutoff") {
257
+ const reference_td = tr.append("td").style("padding", "1px 5px").style("text-align", "left");
258
+ ref_text = reference_td.append("div").style("display", item.key === t.refGrp && hover_flag ? "inline-block" : "none").style("padding", "2px 10px").style("border", item.key === t.refGrp && hover_flag ? "1px solid #bbb" : "").style("border-radius", "10px").style("color", graytextcolor).style("font-size", ".7em").text("REFERENCE");
259
+ if (hover_flag) {
260
+ tr.on("mouseover", () => {
261
+ if (t.refGrp !== item.key) {
262
+ tr.style("background", row_hover_bgcolor);
263
+ ref_text.style("display", "inline-block").style("border", "").text("Set as reference");
264
+ } else tr.style("background", "white");
265
+ }).on("mouseout", () => {
266
+ tr.style("background", "white");
267
+ if (t.refGrp !== item.key) ref_text.style("display", "none");
268
+ }).on("click", () => {
269
+ t.refGrp = item.key;
270
+ ref_text.style("border", "1px solid #bbb").text("REFERENCE");
271
+ self.opts.callback(t);
272
+ });
273
+ }
274
+ }
275
+ }
276
+ }
277
+
278
+ // plots/regression/regression.inputs.term.ts
279
+ var graytextcolor2 = "#555";
280
+ var InputTerm = class {
281
+ constructor(opts) {
282
+ this.opts = opts;
283
+ this.section = opts.section;
284
+ this.term = opts.term;
285
+ this.parent = opts.parent;
286
+ this.vocabApi = this.parent.parent.vocabApi;
287
+ }
288
+ async init(holder) {
289
+ const termRow = holder.append("div");
290
+ const pillDiv = termRow.append("span").style("display", "inline-block");
291
+ const interactionDiv = termRow.append("span").style("margin-left", "20px");
292
+ this.dom = {
293
+ holder,
294
+ termRow,
295
+ pillDiv,
296
+ interactionDiv,
297
+ err_div: holder.append("div").style("display", "none").style("padding", "5px").style("background-color", "rgba(255,100,100,0.2)"),
298
+ infoDiv: holder.append("div"),
299
+ tip: new Menu()
300
+ };
301
+ try {
302
+ const { app, config, state, disable_terms } = this.parent;
303
+ const arg = {
304
+ placeholder: this.section.selectPrompt,
305
+ placeholderIcon: this.section.placeholderIcon,
306
+ holder: this.dom.pillDiv,
307
+ vocabApi: this.vocabApi,
308
+ noTermPromptOptions: this.opts.noTermPromptOptions,
309
+ activeCohort: state.activeCohort,
310
+ debug: app.opts.debug,
311
+ menuOptions: this.getMenuOptions(),
312
+ usecase: { target: "regression", detail: this.section.configKey, regressionType: config.regressionType },
313
+ disable_terms,
314
+ abbrCutoff: 50,
315
+ genomeObj: this.parent.parent.genomeObj,
316
+ // required for snplocus
317
+ defaultQ4fillTW: get_defaultQ4fillTW(config.regressionType, this.section.configKey),
318
+ callback: (term) => {
319
+ this.parent.editConfig(this, term);
320
+ }
321
+ };
322
+ this.furbishTsConstructorArg(arg);
323
+ this.pill = await termsettingInit(arg);
324
+ if (this.section.configKey == "outcome") {
325
+ this.setQ = getQSetter4outcome(config.regressionType);
326
+ }
327
+ this.valuesTable = new InputValuesTable({
328
+ holder: this.dom.infoDiv,
329
+ input: this,
330
+ callback: (term) => {
331
+ this.parent.editConfig(this, term);
332
+ }
333
+ });
334
+ } catch (e) {
335
+ this.displayError([e]);
336
+ }
337
+ }
338
+ furbishTsConstructorArg(arg) {
339
+ const type = this.parent.config.regressionType;
340
+ if (this.section.configKey == "outcome") {
341
+ if (type == "logistic") {
342
+ arg.numericEditMenuVersion = ["binary"];
343
+ return;
344
+ }
345
+ if (type == "linear") {
346
+ arg.numericEditMenuVersion = ["continuous"];
347
+ return;
348
+ }
349
+ if (type == "cox") {
350
+ return;
351
+ }
352
+ throw "unknown regressionType";
353
+ }
354
+ if (this.section.configKey == "independent") {
355
+ arg.numericEditMenuVersion = ["continuous", "discrete", "spline"];
356
+ arg.geneVariantEditMenuOnlyGrp = true;
357
+ return;
358
+ }
359
+ throw "unknown section.configKey: " + this.section.configKey;
360
+ }
361
+ displayError(errors) {
362
+ this.hasError = true;
363
+ this.dom.err_div.selectAll("*").remove();
364
+ this.dom.err_div.style("display", "block").selectAll("div").data(Array.isArray(errors) ? errors : [errors]).enter().append("div").text((e) => e);
365
+ this.parent.handleError();
366
+ console.error(errors);
367
+ }
368
+ async main() {
369
+ const tw = this.term;
370
+ if (tw) {
371
+ delete tw.error;
372
+ }
373
+ this.dom.err_div.style("display", "none").text("");
374
+ this.hasError = false;
375
+ const errors = [];
376
+ try {
377
+ if (tw && this.setQ) {
378
+ const {
379
+ /*app,*/
380
+ state
381
+ } = this.parent;
382
+ await this.setQ[tw.term.type](tw, this.vocabApi, this.parent.parent.filter, state);
383
+ }
384
+ try {
385
+ await this.updateTerm();
386
+ } catch (e2) {
387
+ errors.push(e2);
388
+ }
389
+ await this.pill.main(this.getPillArgs());
390
+ this.renderInteractionPrompt();
391
+ await this.valuesTable.main();
392
+ if (tw && !tw.$id) tw.$id = await get$id(this.vocabApi.getTwMinCopy(tw));
393
+ const e = tw && tw.error || this.pill.error;
394
+ if (e) errors.push(e);
395
+ if (errors.length) throw errors;
396
+ } catch (errors2) {
397
+ this.displayError(errors2);
398
+ }
399
+ }
400
+ async updateTerm() {
401
+ const tw = this.term;
402
+ if (!tw) return;
403
+ if (!tw.q) throw ".term.q missing on this input";
404
+ if (!tw.q.mode && isDictionaryType(tw.term.type)) {
405
+ if (tw.term.type == "categorical" || tw.term.type == "condition" || tw.term.type == "survival" || tw.term.type == "samplelst")
406
+ tw.q.mode = "discrete";
407
+ else tw.q.mode = "continuous";
408
+ }
409
+ const body = tw.term.type == "snplst" || tw.term.type == "snplocus" ? { cacheid: tw.q.cacheid } : {};
410
+ const wait = this.dom.holder.append("div").style("padding", "5px").text("Loading...");
411
+ let data;
412
+ try {
413
+ data = await this.vocabApi.getTwCategories(tw, this.parent.parent.filter, body);
414
+ if (!data) throw `no data for term.id='${tw.term.id}'`;
415
+ if (data.error) throw data.error;
416
+ } finally {
417
+ wait.remove();
418
+ }
419
+ mayRunSnplstTask(tw, data);
420
+ this.termStatus = {
421
+ topInfoStatus: [],
422
+ bottomSummaryStatus: void 0,
423
+ sampleCounts: void 0,
424
+ excludeCounts: void 0,
425
+ allowToSelectRefGrp: false
426
+ };
427
+ if (tw.q.numOfSampleWithAnyValidGT) {
428
+ const invalid_snps_count = tw.term.snps.reduce((i, j) => i + (j.invalid ? 1 : 0), 0);
429
+ this.termStatus.topInfoStatus.push(
430
+ `${tw.q.numOfSampleWithAnyValidGT} samples with valid genotypes` + (invalid_snps_count > 0 ? ` ${invalid_snps_count} invalid SNP${invalid_snps_count > 1 ? "s" : ""}.` : "")
431
+ );
432
+ }
433
+ if ("geneticModel" in tw.q) {
434
+ this.termStatus.topInfoStatus.push(
435
+ "Genetic model: " + (tw.q.geneticModel == 0 ? "Additive" : tw.q.geneticModel == 1 ? "Dominant" : tw.q.geneticModel == 2 ? "Recessive" : "By genotype")
436
+ );
437
+ }
438
+ if (tw.q.restrictAncestry) {
439
+ this.termStatus.topInfoStatus.push("Analyzing " + tw.q.restrictAncestry.name);
440
+ if (tw.q.restrictAncestry.PCcount) {
441
+ this.termStatus.topInfoStatus.push(
442
+ `Adjusting for top ${tw.q.restrictAncestry.PCcount} ancestry principal components`
443
+ );
444
+ }
445
+ }
446
+ if (tw.term.reachedVariantLimit) {
447
+ this.termStatus.topInfoStatus.push(
448
+ `<span class=sja_mcdot style="background:#aaa;font-size:1em">
449
+ &nbsp;&#9888; Restricted to first ${tw.term.snps.length}
450
+ variants of this region.&nbsp;</span> Try zooming in.`
451
+ );
452
+ }
453
+ this.orderedLabels = data.orderedLabels;
454
+ if (data.lst) {
455
+ this.summarizeSample(tw, data.lst);
456
+ if (isNumericTw(tw)) {
457
+ if (tw.q.mode != "continuous" && tw.q.mode != "spline") {
458
+ this.termStatus.allowToSelectRefGrp = true;
459
+ }
460
+ if (tw.q.scale && tw.q.scale != 1) this.termStatus.topInfoStatus.push(`Scale: Per ${tw.q.scale}`);
461
+ if (tw.q.mode == "discrete") {
462
+ this.termStatus.topInfoStatus.push(`Discrete variable with ${this.termStatus?.sampleCounts?.length} bins`);
463
+ }
464
+ const vc = tw.term.valueConversion;
465
+ const isConverted = vc && (tw.q.mode == "continuous" || tw.q.mode == "spline");
466
+ if (isConverted) {
467
+ this.termStatus.topInfoStatus.push(`Analyzed by the unit of ${vc.toUnit}, converted from ${vc.fromUnit}`);
468
+ }
469
+ if (tw.q.mode == "spline") {
470
+ const f = getValueConversionFactor(tw.term);
471
+ this.termStatus.topInfoStatus.push(
472
+ `Cubic spline variable with ${tw.q.knots.length} knots: ${tw.q.knots.map((x) => Number(x.value) * f).sort((a, b) => a - b).map((v) => f == 1 ? v : roundValue(v, 2)).join(", ")}${isConverted ? ` ${vc.toUnit}s` : ""}`
473
+ );
474
+ }
475
+ } else if (tw.term.type == "categorical" || tw.term.type == "geneVariant" || tw.term.type == "samplelst") {
476
+ this.termStatus.allowToSelectRefGrp = true;
477
+ } else if (tw.term.type == "condition") {
478
+ if (this.section.configKey == "outcome" && this.parent.opts.regressionType == "logistic") {
479
+ this.termStatus.allowToSelectRefGrp = true;
480
+ }
481
+ if (this.section.configKey == "outcome" && this.parent.opts.regressionType == "cox") {
482
+ if (!["age", "time"].includes(tw.q.timeScale)) throw "invalid q.timeScale";
483
+ const tdb = this.vocabApi.termdbConfig;
484
+ this.termStatus.topInfoStatus.push(`Time axis: ${tw.q.timeScale == "time" ? tdb.timeUnit : "age"}`);
485
+ this.termStatus.topInfoStatus.push(
486
+ `<span style="padding-left: 10px;">-start: ${tw.q.timeScale == "time" ? " " : "age at "}entry into the cohort (i.e., ${tdb.cohortStartTimeMsg})</span>`
487
+ );
488
+ this.termStatus.topInfoStatus.push(
489
+ `<span style="padding-left: 10px;">-end: ${tw.q.timeScale == "time" ? " " : "age at "}event or censoring/death</span>`
490
+ );
491
+ const grades = Object.keys(tw.term.values).map(Number);
492
+ const maxgrade = Math.max(...grades);
493
+ this.termStatus.topInfoStatus.push(
494
+ `<div style="padding-top: 8px;">Event: first occurrence of grade ${tw.q.breaks[0] === maxgrade ? tw.q.breaks[0] : `${tw.q.breaks[0]}-${maxgrade}</div>`}`
495
+ );
496
+ }
497
+ }
498
+ this.maySet_refGrp(tw);
499
+ if (this.section.configKey == "outcome") {
500
+ if (this.parent.config.regressionType == "logistic") {
501
+ tw.nonRefGrp = getLogisticOutcomeNonref(tw);
502
+ } else if (this.parent.config.regressionType == "cox") {
503
+ tw.eventLabel = getCoxOutcomeEventLabel(tw);
504
+ }
505
+ }
506
+ }
507
+ }
508
+ summarizeSample(tw, datalst) {
509
+ const excluded_values = /* @__PURE__ */ new Set();
510
+ if (tw.term.values) {
511
+ for (const i in tw.term.values) {
512
+ if (tw.term.values[i].uncomputable) excluded_values.add(tw.term.values[i].label);
513
+ }
514
+ }
515
+ if (tw.q.mode == "cox") {
516
+ const toExclude = datalst.find((x) => x.key == -1);
517
+ if (toExclude) excluded_values.add(toExclude.label);
518
+ }
519
+ const sampleCounts = this.termStatus.sampleCounts = datalst.filter((v) => !excluded_values.has(v.label));
520
+ const excludeCounts = this.termStatus.excludeCounts = datalst.filter((v) => excluded_values.has(v.label));
521
+ const totalCount = { included: 0, excluded: 0, total: 0 };
522
+ sampleCounts.forEach((v) => totalCount.included += v.samplecount);
523
+ excludeCounts.forEach((v) => totalCount.excluded += v.samplecount);
524
+ totalCount.total = totalCount.included + totalCount.excluded;
525
+ if (tw.term.type == "condition" && totalCount.total) {
526
+ totalCount.excluded = totalCount.total - totalCount.included;
527
+ }
528
+ this.termStatus.bottomSummaryStatus = `${totalCount.included} samples included` + (totalCount.excluded ? `. ${totalCount.excluded} samples excluded:` : "");
529
+ if (tw && tw.q.mode !== "continuous" && sampleCounts.length < 2)
530
+ throw `there should be two or more discrete values with samples for variable='${tw.term.name}'`;
531
+ }
532
+ maySet_refGrp(tw) {
533
+ if (this.section.configKey == "outcome" && this.parent.config.regressionType == "cox") {
534
+ return;
535
+ }
536
+ if (tw.q.mode == "continuous") {
537
+ tw.refGrp = "NA";
538
+ return;
539
+ }
540
+ const sc = this.termStatus.sampleCounts;
541
+ if (!sc) throw new Error("termStatus.sampleCounts missing");
542
+ if (!("refGrp" in tw) || !sc.find((i) => i.key == tw.refGrp)) {
543
+ if (tw.term.type == "geneVariant") {
544
+ const wtGrp = getGeneVariantWildtypeGrp(tw, sc);
545
+ if (wtGrp) {
546
+ tw.refGrp = wtGrp;
547
+ return;
548
+ }
549
+ }
550
+ const o = this.orderedLabels;
551
+ if (o && o.length) sc.sort((a, b) => o.indexOf(a.key) - o.indexOf(b.key));
552
+ else sc.sort((a, b) => a.samplecount < b.samplecount ? 1 : -1);
553
+ tw.refGrp = sc[0].key;
554
+ }
555
+ }
556
+ /*
557
+ recomputed on every main() and not just at init(), since switching cohort can change whether the
558
+ outcome term is the only one this dataset offers
559
+ */
560
+ getMenuOptions() {
561
+ const { config, state } = this.parent;
562
+ if (this.section.configKey != "outcome") return "{edit,reuse,remove}";
563
+ return isLoneOutcome(config.regressionType, this.vocabApi.termdbConfig, state.activeCohort) ? "{edit,reuse}" : "{edit,reuse,replace}";
564
+ }
565
+ getPillArgs() {
566
+ const section = this.section;
567
+ const { config, state, disable_terms } = this.parent;
568
+ const args = Object.assign(
569
+ {
570
+ activeCohort: state.activeCohort,
571
+ disable_terms,
572
+ menuOptions: this.getMenuOptions(),
573
+ usecase: {
574
+ target: "regression",
575
+ detail: section.configKey,
576
+ regressionType: config.regressionType
577
+ }
578
+ },
579
+ this.term
580
+ );
581
+ args.filter = this.parent.parent.filter;
582
+ return args;
583
+ }
584
+ remove() {
585
+ this.dom.termRow.transition().duration(500).style("opacity", 0).remove();
586
+ for (const key in this.dom) {
587
+ delete this.dom[key];
588
+ }
589
+ }
590
+ renderInteractionPrompt() {
591
+ this.dom.interactionDiv.style("display", "none");
592
+ if (!this.term) return;
593
+ if (this.section.configKey != "independent") return;
594
+ if (this.term.q.mode == "spline") return;
595
+ if (this.vocabApi.termdbConfig.regression?.settings?.disableInteractions) return;
596
+ {
597
+ let count = 0;
598
+ for (const input of this.section.inputLst) {
599
+ if (input.term && input.term.q.mode != "spline") {
600
+ count++;
601
+ }
602
+ }
603
+ if (count < 2) return;
604
+ }
605
+ const n = this.term.interactions.length;
606
+ this.dom.interactionDiv.style("display", "inline").html(n == 0 ? "Add interactions" : `${n} interaction${n > 1 ? "s" : ""}`).style("padding", "5px").style("background-color", n == 0 ? "" : "#ececec").style("border-radius", n == 0 ? "" : "6px").style("color", n == 0 ? graytextcolor2 : "#000").style("font-size", n == 0 ? "0.8em" : "").style("cursor", "pointer").on("click", () => this.renderInteractionOptions());
607
+ }
608
+ renderInteractionOptions() {
609
+ const self = this;
610
+ this.dom.tip.clear().showunder(this.dom.interactionDiv.node());
611
+ if (this.parent.config.includeUnivariate) {
612
+ const label = this.parent.dom.univariateCheckboxDiv.select("label").text().trim();
613
+ this.dom.tip.d.append("div").text(`Cannot add interactions. Please uncheck the "${label}" checkbox.`);
614
+ return;
615
+ }
616
+ this.dom.tip.d.append("div").style("padding", "5px").style("font-size", "0.8em").style("color", graytextcolor2).html(`Selected variables will each form pairwise interaction with ${this.term.term.name}`);
617
+ this.dom.tip.d.append("div").selectAll("div").data(this.parent.config.independent.filter((tw) => tw && tw.$id != this.term.$id && tw.q.mode != "spline")).enter().append("div").style("margin", "5px").each(function(tw) {
618
+ const elem = select_default(this).append("label");
619
+ elem.append("input").attr("type", "checkbox").property("checked", self.term.interactions.includes(tw.$id));
620
+ elem.append("span").text(" " + tw.term.name);
621
+ });
622
+ this.dom.tip.d.append("button").text("Apply").style("margin", "5px").on("click", () => {
623
+ this.dom.tip.hide();
624
+ this.term.interactions = [];
625
+ this.dom.tip.d.selectAll("input").each(function(tw) {
626
+ if (select_default(this).property("checked")) self.term.interactions.push(tw.$id);
627
+ });
628
+ for (const tw of this.parent.config.independent) {
629
+ const interactions = new Set(tw.interactions);
630
+ if (this.term.interactions.includes(tw.$id)) interactions.add(this.term.$id);
631
+ else interactions.delete(this.term.$id);
632
+ tw.interactions = [...interactions];
633
+ }
634
+ this.parent.editConfig(this, this.term);
635
+ });
636
+ }
637
+ };
638
+ function getQSetter4outcome(regressionType) {
639
+ return {
640
+ integer: regressionType == "logistic" ? maySetTwoBins : setContMode,
641
+ float: regressionType == "logistic" ? maySetTwoBins : setContMode,
642
+ geneExpression: regressionType == "logistic" ? maySetTwoBins : setContMode,
643
+ //Added geneExpression, but still breaks, need to fix
644
+ categorical: maySetTwoGroups,
645
+ condition: setQ4tteOutcome,
646
+ survival: setQ4tteOutcome
647
+ };
648
+ }
649
+ async function maySetTwoBins(tw, vocabApi, _, state) {
650
+ if (tw.q.mode == "binary" && tw.q.lst && tw.q.lst.length == 2) {
651
+ tw.q.mode = "binary";
652
+ return;
653
+ }
654
+ const data = await vocabApi.getPercentile(tw.term, [50], state.termfilter);
655
+ if (data.error || !data.values.length || !Number.isFinite(data.values[0]))
656
+ throw "cannot get median value: " + (data.error || "no data");
657
+ const median = tw.term.type == "integer" ? Math.round(data.values[0]) : Number(data.values[0].toFixed(2));
658
+ tw.q = {
659
+ mode: "binary",
660
+ type: "custom-bin",
661
+ lst: [
662
+ {
663
+ startunbounded: true,
664
+ stopinclusive: true,
665
+ stop: median
666
+ },
667
+ {
668
+ stopunbounded: true,
669
+ startinclusive: false,
670
+ start: median
671
+ }
672
+ ]
673
+ };
674
+ tw.q.lst.forEach((bin) => {
675
+ bin.label = get_bin_label(bin, tw.q);
676
+ });
677
+ tw.refGrp = tw.q.lst[0].label;
678
+ }
679
+ function setQ4tteOutcome(tw, vocabApi, filter, state) {
680
+ if (state.config.regressionType == "logistic") {
681
+ if (!tw.refGrp) tw.refGrp = tw.q.groups[0].name;
682
+ }
683
+ if (state.config.regressionType == "cox") {
684
+ if (!tw.q.timeScale) tw.q.timeScale = "time";
685
+ }
686
+ }
687
+ async function maySetTwoGroups(tw, vocabApi, filter, state) {
688
+ const { term, q } = tw;
689
+ if (q.mode == "binary") {
690
+ if (q.type == "values" && Object.keys(term.values).length == 2) return;
691
+ if (q.type == "predefined-groupset") {
692
+ const idx = q.predefined_groupset_idx;
693
+ const t_gs2 = term.groupsetting;
694
+ if (t_gs2[idx] && Object.keys(t_gs2[idx]).length == 2) return;
695
+ }
696
+ if (q.type == "custom-groupset") {
697
+ const gs = q.customset;
698
+ if (gs.groups.filter((g) => !g.uncomputable).length == 2) return;
699
+ }
700
+ }
701
+ const data = await vocabApi.getCategories(term, filter);
702
+ if (data.error) throw "cannot get categories: " + data.error;
703
+ const category2samplecount = /* @__PURE__ */ new Map();
704
+ const computableCategories = [];
705
+ const uncomputableCategories = [];
706
+ for (const i of data.lst) {
707
+ category2samplecount.set(i.key, i.samplecount);
708
+ if (term.values && term.values[i.key] && term.values[i.key].uncomputable) uncomputableCategories.push(i.key);
709
+ else computableCategories.push(i.key);
710
+ }
711
+ if (computableCategories.length < 2) {
712
+ q.type = "values";
713
+ tw.error = "less than 2 categories/grades - cannot create separate groups";
714
+ return;
715
+ }
716
+ if (computableCategories.length == 2) {
717
+ q.type = "values";
718
+ return;
719
+ }
720
+ const t_gs = term.groupsetting;
721
+ if (q.customset && q.customset.groups && q.customset.groups.length == 2 && groupsetNoEmptyGroup(q.customset, category2samplecount)) {
722
+ q.type = "custom-groupset";
723
+ return;
724
+ }
725
+ if (t_gs && t_gs.lst) {
726
+ if (q.predefined_groupset_idx >= 0 && t_gs.lst[q.predefined_groupset_idx] && t_gs.lst[q.predefined_groupset_idx].groups.length == 2 && groupsetNoEmptyGroup(t_gs.lst[q.predefined_groupset_idx], category2samplecount)) {
727
+ q.type = "predefined-groupset";
728
+ return;
729
+ }
730
+ const i = t_gs.lst.findIndex((g) => g.groups.length == 2);
731
+ if (i != -1 && groupsetNoEmptyGroup(t_gs.lst[i], category2samplecount)) {
732
+ q.predefined_groupset_idx = i;
733
+ q.type = "predefined-groupset";
734
+ return;
735
+ }
736
+ }
737
+ const customset = {
738
+ activeCohort: state.activeCohort,
739
+ // creating 3 groups instead of 2 groups since current groupset UI expects first group to be excluded group
740
+ // TODO: refactor client/termsetting/handlers/qualitative.ts to not consider the first group (i.e. group.currentIdx === 0) as the excluded group, but rather to consider group.excluded=true as the excluded group
741
+ groups: [
742
+ {
743
+ name: "Excluded categories",
744
+ type: "values",
745
+ values: uncomputableCategories.map((v) => {
746
+ return { key: v };
747
+ })
748
+ },
749
+ {
750
+ name: "Group 1",
751
+ type: "values",
752
+ values: []
753
+ },
754
+ {
755
+ name: "Group 2",
756
+ type: "values",
757
+ values: []
758
+ }
759
+ ]
760
+ };
761
+ const group_i_cutoff = Math.round(computableCategories.length / 2);
762
+ for (const [i, v] of computableCategories.entries()) {
763
+ if (i < group_i_cutoff) customset.groups[1].values.push({ key: v });
764
+ else customset.groups[2].values.push({ key: v });
765
+ }
766
+ q.customset = customset;
767
+ q.type = "custom-groupset";
768
+ }
769
+ function setContMode(tw) {
770
+ tw.q.mode = "continuous";
771
+ }
772
+ function groupsetNoEmptyGroup(gs, c2s) {
773
+ for (const g of gs.groups) {
774
+ let total = 0;
775
+ if (g.type == "values") {
776
+ for (const i of g.values) total += c2s.get(i.key) || 0;
777
+ if (total == 0) return false;
778
+ }
779
+ }
780
+ return true;
781
+ }
782
+ function getGeneVariantWildtypeGrp(tw, sampleCounts) {
783
+ const groupset = tw.q.type == "predefined-groupset" ? tw.term.groupsetting?.lst?.[tw.q.predefined_groupset_idx] : tw.q.type == "custom-groupset" ? tw.q.customset : null;
784
+ if (!groupset?.groups) return;
785
+ for (const g of groupset.groups) {
786
+ if (g.type != "filter") continue;
787
+ const isWt = g.filter?.lst?.some((i) => i.tvs && (i.tvs.genotype == "wt" || i.tvs.cnvWT));
788
+ if (!isWt) continue;
789
+ if (sampleCounts.find((i) => i.key == g.name)) return g.name;
790
+ }
791
+ }
792
+ function getLogisticOutcomeNonref(outcome) {
793
+ if (outcome.term.type == "condition") {
794
+ for (const i of outcome.q.groups) {
795
+ if (i.name != outcome.refGrp) return i.name;
796
+ }
797
+ throw "nonref group not found for logistic outcome";
798
+ }
799
+ if (outcome.q.type == "predefined-groupset") {
800
+ if (!Number.isInteger(outcome.q.predefined_groupset_idx))
801
+ throw 'outcome.q.predefined_groupset_idx not integer when q.type is "predefined-groupset"';
802
+ if (!outcome.term.groupsetting) throw "outcome.term.groupsetting missing";
803
+ const grpset = outcome.term.groupsetting.lst[outcome.q.predefined_groupset_idx];
804
+ if (!grpset) throw "groupset not found by outcome.q.predefined_groupset_idx";
805
+ const nonrefgrp = grpset.groups.find((i) => i.name != outcome.refGrp);
806
+ if (!nonrefgrp) throw "non-ref group not found for predefined-groupset";
807
+ return nonrefgrp.name;
808
+ }
809
+ if (outcome.q.type == "custom-groupset") {
810
+ if (!outcome.q.customset) throw "outcome.q.customset missing";
811
+ const nonrefgrp = outcome.q.customset.groups.find((i) => i.name != outcome.refGrp);
812
+ if (!nonrefgrp) throw "non-ref group not found for custom-groupset";
813
+ return nonrefgrp.name;
814
+ }
815
+ if (outcome.q.type == "values") {
816
+ if (!outcome.term.values) throw "outcome.term.values{} missing";
817
+ for (const k in outcome.term.values) {
818
+ const v = outcome.term.values[k];
819
+ if (v.label != outcome.refGrp) return v.label;
820
+ }
821
+ throw "unknown nonref group from outcome.term.values";
822
+ }
823
+ if (outcome.q.type == "custom-bin") {
824
+ const nonrefbin = outcome.q.lst.find((i) => i.label != outcome.refGrp);
825
+ if (!nonrefbin) throw "non-ref bin is not found for custom-bin";
826
+ return nonrefbin.label;
827
+ }
828
+ if (outcome.q.type == "regular-bin") {
829
+ throw "do not know a way to find computed bin list for type=regular-bin";
830
+ }
831
+ throw "unknown outcome.q.type";
832
+ }
833
+ function getCoxOutcomeEventLabel(tw) {
834
+ let eventLabel;
835
+ if (!tw.term.values) throw "tw.term.values missing";
836
+ if (tw.term.type == "condition") {
837
+ const grades = Object.keys(tw.term.values).map((k) => {
838
+ const grade = Number(k);
839
+ if (!Number.isFinite(grade)) throw "grade is not a number";
840
+ return grade;
841
+ });
842
+ const startGrade = tw.q.breaks[0];
843
+ const endGrade = Math.max(...grades);
844
+ eventLabel = `Grades ${startGrade}-${endGrade}`;
845
+ } else if (tw.term.type == "survival") {
846
+ const exitCodes = Object.keys(tw.term.values).map((k) => {
847
+ const code = Number(k);
848
+ if (!Number.isFinite(code)) throw "exit code is not a number";
849
+ return code;
850
+ });
851
+ eventLabel = tw.term.values[Math.max(...exitCodes)].label;
852
+ } else {
853
+ throw "unexpected tw.term.type";
854
+ }
855
+ return eventLabel;
856
+ }
857
+
858
+ // plots/regression/regression.inputs.ts
859
+ var allNonDictionaryTerms = [
860
+ {
861
+ termtype: "snplst",
862
+ //html: 'A list of SNPs <span style="font-size:.7em">All SNPs are analyzed in one model</span>'
863
+ html: "A list of variants"
864
+ },
865
+ {
866
+ termtype: "snplocus",
867
+ //html: 'Variants in a locus <span style="font-size:.7em">Variants are analyzed individually</span>'
868
+ html: "Variants in a locus"
869
+ },
870
+ {
871
+ termtype: "prs",
872
+ text: "Polygenic risk score"
873
+ }
874
+ ];
875
+ var RegressionInputs = class {
876
+ constructor(opts) {
877
+ this.hasError = false;
878
+ this.disable_terms = [];
879
+ this.opts = opts;
880
+ this.app = opts.app;
881
+ this.parent = opts.parent;
882
+ setInteractivity(this);
883
+ setRenderers2(this);
884
+ this.createSectionConfigs();
885
+ this.initUI();
886
+ }
887
+ createSectionConfigs() {
888
+ this.outcome = {
889
+ /*** static configuration ***/
890
+ heading: "Outcome variable",
891
+ selectPrompt: this.opts.regressionType == "linear" ? "Select continuous outcome variable" : "Select outcome variable",
892
+ placeholderIcon: "+",
893
+ configKey: "outcome",
894
+ limit: 1,
895
+ usecase: { target: "regression", regressionType: this.opts.regressionType, detail: "outcome" },
896
+ /*** dynamic configuration ***/
897
+ inputLst: [],
898
+ /*** tracker for this section's DOM elements ***/
899
+ dom: {}
900
+ };
901
+ this.independent = {
902
+ /*** static configuration ***/
903
+ heading: "Independent variable(s)",
904
+ selectPrompt: "Add independent variable",
905
+ placeholderIcon: "+",
906
+ configKey: "independent",
907
+ limit: 10,
908
+ usecase: { target: "regression", regressionType: this.opts.regressionType, detail: "independent" },
909
+ /*** dynamic configuration ***/
910
+ inputLst: [],
911
+ /*** tracker for this section's DOM elements ***/
912
+ dom: {}
913
+ };
914
+ this.sections = [this.outcome, this.independent];
915
+ }
916
+ async main() {
917
+ try {
918
+ this.config = this.parent.config;
919
+ this.state = this.parent.state;
920
+ this.hasError = false;
921
+ this.setDisableTerms();
922
+ const updates = [];
923
+ for (const section of this.sections) {
924
+ await this.renderSection(section);
925
+ for (const input of section.inputLst) {
926
+ input.dom.holder.style("border-left", input.term ? "1px solid #bbb" : "");
927
+ updates.push(input.main());
928
+ }
929
+ }
930
+ await Promise.all(updates);
931
+ for (const section of this.sections) {
932
+ for (const input of section.inputLst) {
933
+ if (input.term && input.term.error || input.hasError) {
934
+ this.hasError = true;
935
+ }
936
+ }
937
+ }
938
+ } catch (e) {
939
+ this.hasError = true;
940
+ throw e;
941
+ }
942
+ }
943
+ setDisableTerms() {
944
+ this.disable_terms = [];
945
+ if (this.config.outcome && this.config.outcome.term) this.disable_terms.push(this.config.outcome.term);
946
+ if (this.config.independent) {
947
+ for (const vb of this.config.independent) {
948
+ this.disable_terms.push(vb.term);
949
+ }
950
+ }
951
+ }
952
+ handleError() {
953
+ this.hasError = true;
954
+ this.dom.submitBtn.property("disabled", true);
955
+ }
956
+ getNoTermPromptOptions(section) {
957
+ if (section.configKey != "independent") return;
958
+ const lst = [];
959
+ for (const i of structuredClone(allNonDictionaryTerms)) {
960
+ const item = i;
961
+ if (!this.state.allowedTermTypes.includes(item.termtype)) {
962
+ continue;
963
+ }
964
+ if (section.inputLst.find((i2) => i2.term && i2.term.term.type == item.termtype)) {
965
+ continue;
966
+ }
967
+ if (item.termtype == "snplocus") {
968
+ if (this.config.includeUnivariate) {
969
+ item.invalid = true;
970
+ const label = this.dom.univariateCheckboxDiv.select("label").text().trim();
971
+ item.invalidMsg = `Cannot add this variable. Please uncheck the "${label}" checkbox.`;
972
+ }
973
+ }
974
+ lst.push(item);
975
+ }
976
+ if (lst.length) {
977
+ lst.unshift({
978
+ isDictionary: true,
979
+ text: "Dictionary variable"
980
+ });
981
+ }
982
+ return lst;
983
+ }
984
+ };
985
+ function setRenderers2(self) {
986
+ self.initUI = () => {
987
+ const controls = self.opts.holder.append("div").style("display", "block");
988
+ self.dom = {
989
+ div: self.opts.holder,
990
+ //.style('margin', '10px 0px'),
991
+ controls,
992
+ body: controls.append("div"),
993
+ foot: controls.append("div").style("margin", "0px 20px").style("display", "flex").style("align-items", "center").style("gap", "20px")
994
+ };
995
+ self.dom.submitBtn = self.dom.foot.append("div").append("button").style("display", "none").style("padding", "5px 15px").style("border-radius", "15px").style("cursor", "pointer").text("Run analysis").on("click", self.submit);
996
+ self.dom.univariateCheckboxDiv = self.dom.foot.append("div").style("display", "none");
997
+ self.dom.univariateCheckbox = make_one_checkbox({
998
+ labeltext: "Include univariate results",
999
+ checked: false,
1000
+ holder: self.dom.univariateCheckboxDiv,
1001
+ callback: (checked) => {
1002
+ const invalid = self.config.independent.find((v) => v.interactions.length || v.term.type == "snplocus");
1003
+ if (invalid) {
1004
+ self.dom.univariateCheckbox.property("checked", false);
1005
+ const tip = new Menu();
1006
+ tip.showunder(self.dom.univariateCheckboxDiv.node());
1007
+ const msg = `Cannot include univariate results. Please remove ${invalid.interactions.length ? "all interactions" : `the "${invalid.term.name}" variable`}.`;
1008
+ tip.d.append("div").text(msg);
1009
+ return;
1010
+ }
1011
+ self.app.dispatch({
1012
+ type: "plot_edit",
1013
+ id: self.parent.id,
1014
+ chartType: "regression",
1015
+ config: {
1016
+ hasUnsubmittedEdits: true,
1017
+ includeUnivariate: checked
1018
+ }
1019
+ });
1020
+ }
1021
+ });
1022
+ self.dom.submitMsgs = self.dom.foot.append("div").style("color", "#cc0000").style("font-style", "italic").style("font-size", "0.8em");
1023
+ self.submitMsgs = {};
1024
+ for (const section of self.sections) {
1025
+ const div = self.dom.body.append("div");
1026
+ self.addSection(section, div);
1027
+ }
1028
+ };
1029
+ self.addSection = function(section, div) {
1030
+ div.style("display", "none").style("margin", "3px 5px").style("padding", "3px 5px").attr("data-testid", section.configKey);
1031
+ section.dom = {
1032
+ holder: div,
1033
+ headingDiv: div.append("div").style("margin", "3px 5px 20px 5px").style("font-size", "17px").style("color", "#555").text(section.heading),
1034
+ inputsDiv: div.append("div")
1035
+ };
1036
+ };
1037
+ self.renderSection = function(section) {
1038
+ section.dom.holder.style("display", section.configKey == "outcome" || self.config.outcome ? "block" : "none");
1039
+ syncInputsWithConfig(section);
1040
+ const inputs = section.dom.inputsDiv.selectAll(":scope > div").data(section.inputLst, (input) => input.term && (input.term.term.id || input.term.term.name));
1041
+ inputs.exit().each(removeInput);
1042
+ inputs.enter().append("div").each(addInput);
1043
+ };
1044
+ function syncInputsWithConfig(section) {
1045
+ const selected = self.config[section.configKey];
1046
+ const selectedArray = Array.isArray(selected) ? selected : selected ? [selected] : [];
1047
+ mayConvertInteractionIds(selectedArray, section);
1048
+ for (const variable of selectedArray) {
1049
+ if (section.configKey == "independent") {
1050
+ if (!variable.interactions) variable.interactions = [];
1051
+ for (const id of variable.interactions) {
1052
+ const tw = selectedArray.find((i) => i.$id == id);
1053
+ if (!tw) throw "interacting partner not found in independents: " + id;
1054
+ if (!tw.interactions) tw.interactions = [];
1055
+ if (!tw.interactions.includes(variable.$id)) tw.interactions.push(variable.$id);
1056
+ }
1057
+ }
1058
+ const input = section.inputLst.find((input2) => input2.term?.$id == variable.$id);
1059
+ if (!input) {
1060
+ section.inputLst.push(
1061
+ new InputTerm({
1062
+ section,
1063
+ term: variable,
1064
+ parent: self
1065
+ })
1066
+ );
1067
+ } else {
1068
+ input.term = variable;
1069
+ }
1070
+ }
1071
+ mayAddBlankInput(section, self);
1072
+ }
1073
+ function mayConvertInteractionIds(selectedArray, section) {
1074
+ if (section.configKey != "independent") return;
1075
+ const id2$id = /* @__PURE__ */ new Map();
1076
+ for (const v of selectedArray) {
1077
+ if (v.id) id2$id.set(v.id, v.$id);
1078
+ }
1079
+ for (const v of selectedArray) {
1080
+ if (v.interactions?.length) {
1081
+ for (const [i, id] of v.interactions.entries()) {
1082
+ const $id = id2$id.get(id);
1083
+ if ($id) v.interactions[i] = $id;
1084
+ }
1085
+ }
1086
+ }
1087
+ }
1088
+ async function addInput(input) {
1089
+ await input.init(
1090
+ select_default(this).style("width", "fit-content").style("margin", "0px 15px 35px 25px").style("padding", "0px 5px")
1091
+ );
1092
+ }
1093
+ function removeInput(input) {
1094
+ input.remove();
1095
+ for (const key in input.dom) {
1096
+ delete input.dom[key];
1097
+ }
1098
+ const div = select_default(this);
1099
+ div.transition().duration(500).style("opacity", 0).remove();
1100
+ }
1101
+ self.resetSubmitButton = () => {
1102
+ self.dom.submitBtn.text("Run analysis").style("display", self.config.outcome && self.config.independent.length ? "block" : "none").property("disabled", self.hasError);
1103
+ };
1104
+ self.mayShowUnivariateCheckbox = () => {
1105
+ if (!self.config.outcome || self.config.independent.length < 2) {
1106
+ self.dom.univariateCheckboxDiv.style("display", "none");
1107
+ return;
1108
+ }
1109
+ self.dom.univariateCheckboxDiv.style("display", "block");
1110
+ self.dom.univariateCheckbox.property("checked", self.config.includeUnivariate);
1111
+ };
1112
+ self.mayShowSubmitMsgs = () => {
1113
+ self.dom.submitMsgs.selectAll("div").data(Object.values(self.submitMsgs)).join("div").text((d) => d);
1114
+ };
1115
+ }
1116
+ function setInteractivity(self) {
1117
+ self.editConfig = async (input, variable) => {
1118
+ if (!variable) {
1119
+ const i = input.section.inputLst.findIndex((d) => d === input);
1120
+ if (i == -1) throw `deleting an unknown input`;
1121
+ input.section.inputLst.splice(i, 1);
1122
+ if (input.term) {
1123
+ for (const other of input.section.inputLst) {
1124
+ if (!other.term || !other.term.interactions?.length) continue;
1125
+ const i2 = other.term.interactions.indexOf(input.term.$id);
1126
+ if (i2 != -1) other.term.interactions.splice(i2, 1);
1127
+ }
1128
+ }
1129
+ } else {
1130
+ const prevTerm = input.term;
1131
+ if (prevTerm && variable.term.id === prevTerm.term.id) {
1132
+ for (const k in prevTerm) {
1133
+ if (!(k in variable)) variable[k] = prevTerm[k];
1134
+ }
1135
+ }
1136
+ input.term = variable;
1137
+ if (variable.q.mode == "spline" && variable.interactions) {
1138
+ for (const other of input.section.inputLst) {
1139
+ if (!other.term || !other.term.interactions) continue;
1140
+ const i = other.term.interactions.indexOf(input.term.$id);
1141
+ if (i != -1) other.term.interactions.splice(i, 1);
1142
+ }
1143
+ variable.interactions = [];
1144
+ }
1145
+ }
1146
+ const selected = [];
1147
+ for (const i of input.section.inputLst) {
1148
+ if (i.term) selected.push(i.term);
1149
+ }
1150
+ const key = input.section.configKey;
1151
+ const configValue = Array.isArray(self.config[key]) ? selected : selected[0];
1152
+ self.app.dispatch({
1153
+ type: "plot_edit",
1154
+ id: self.parent.id,
1155
+ chartType: "regression",
1156
+ config: {
1157
+ hasUnsubmittedEdits: true,
1158
+ // replace config.outcome or config.independent
1159
+ [key]: JSON.parse(JSON.stringify(configValue))
1160
+ }
1161
+ });
1162
+ };
1163
+ self.submit = () => {
1164
+ self.dom.submitBtn.property("disabled", true);
1165
+ if (self.hasError) {
1166
+ alert("Please fix the input variable errors (highlighted in red background).");
1167
+ return;
1168
+ }
1169
+ const config = JSON.parse(JSON.stringify(self.config));
1170
+ config.hasUnsubmittedEdits = false;
1171
+ self.app.dispatch({
1172
+ type: "plot_edit",
1173
+ id: self.parent.id,
1174
+ chartType: "regression",
1175
+ config
1176
+ });
1177
+ };
1178
+ }
1179
+ function mayAddBlankInput(section, self) {
1180
+ if (section.inputLst.length >= section.limit) {
1181
+ return;
1182
+ }
1183
+ const blankInput = section.inputLst.find((i) => !i.term);
1184
+ if (blankInput) {
1185
+ const noTermPromptOptions = self.getNoTermPromptOptions(section);
1186
+ if (noTermPromptOptions) {
1187
+ blankInput.pill.main({ noTermPromptOptions });
1188
+ }
1189
+ return;
1190
+ }
1191
+ section.inputLst.push(
1192
+ new InputTerm({
1193
+ section,
1194
+ parent: self,
1195
+ noTermPromptOptions: self.getNoTermPromptOptions(section)
1196
+ })
1197
+ );
1198
+ }
1199
+
1200
+ // plots/regression/Regression.ts
1201
+ var Regression = class _Regression extends PlotBase {
1202
+ static {
1203
+ this.type = "regression";
1204
+ }
1205
+ constructor(opts, api) {
1206
+ super(opts, api);
1207
+ this.type = _Regression.type;
1208
+ this.genomeObj = opts.app.opts.genome;
1209
+ }
1210
+ async init(appState) {
1211
+ this.dom = {
1212
+ header: this.opts.header,
1213
+ // header is optional
1214
+ errordiv: this.opts.holder.append("div"),
1215
+ inputs: this.opts.holder.append("div").style("margin", "20px 10px"),
1216
+ results: this.opts.holder.append("div").style("margin-left", "40px")
1217
+ };
1218
+ const config = appState.plots.find((p) => p.id === this.id);
1219
+ this.inputs = new RegressionInputs({
1220
+ app: this.app,
1221
+ parent: this,
1222
+ id: this.id,
1223
+ holder: this.dom.inputs,
1224
+ regressionType: config.regressionType
1225
+ });
1226
+ this.results = new RegressionResults({
1227
+ app: this.app,
1228
+ parent: this,
1229
+ id: this.id,
1230
+ holder: this.dom.results,
1231
+ regressionType: config.regressionType
1232
+ });
1233
+ }
1234
+ getState(appState) {
1235
+ const config = appState.plots.find((p) => p.id === this.id);
1236
+ if (!config) {
1237
+ throw `No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`;
1238
+ }
1239
+ if (!config.regressionType) throw "regressionType is required";
1240
+ const parentConfig = this.parentId && appState.plots.find((p) => p.id === this.parentId);
1241
+ const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
1242
+ return {
1243
+ vocab: appState.vocab,
1244
+ formIsComplete: config.outcome && config.independent.length,
1245
+ activeCohort: appState.activeCohort,
1246
+ termfilter,
1247
+ config,
1248
+ allowedTermTypes: appState.termdbConfig.allowedTermTypes,
1249
+ minTimeSinceDx: appState.termdbConfig.minTimeSinceDx
1250
+ };
1251
+ }
1252
+ /* do not set reactsTo
1253
+ so it reacts to all actions matching with the plot id (controlled by store method)
1254
+ including filter/cohort change
1255
+ */
1256
+ async main() {
1257
+ try {
1258
+ this.config = JSON.parse(JSON.stringify(this.state.config));
1259
+ this.mayUpdateSandboxHeader();
1260
+ this.getFilter();
1261
+ await this.inputs.main();
1262
+ await this.results.main();
1263
+ this.inputs.resetSubmitButton();
1264
+ this.inputs.mayShowUnivariateCheckbox();
1265
+ this.inputs.mayShowSubmitMsgs();
1266
+ } catch (e) {
1267
+ if (this.inputs.hasError) {
1268
+ this.results.main();
1269
+ }
1270
+ sayerror(this.dom.errordiv, "Error: " + (e.error || e));
1271
+ if (e.stack) console.log(e.stack);
1272
+ }
1273
+ }
1274
+ mayUpdateSandboxHeader() {
1275
+ if (!this.dom.header) return;
1276
+ const o = this.config.outcome;
1277
+ this.dom.header.html(
1278
+ (o ? o.term.name : "") + '<span style="opacity:.6;font-size:.7em;margin-left:10px;">' + this.config.regressionType.toUpperCase() + " REGRESSION</span>"
1279
+ );
1280
+ }
1281
+ getFilter() {
1282
+ const filters = [];
1283
+ if (this.state.termfilter?.filter) filters.push(this.state.termfilter.filter);
1284
+ const tws = [this.config.outcome, ...this.config.independent];
1285
+ const tws_restrictAncestry = tws.filter((tw) => tw?.q.restrictAncestry);
1286
+ if (tws_restrictAncestry.length) {
1287
+ if (tws_restrictAncestry.length > 1) {
1288
+ const ancestries = new Set(tws_restrictAncestry.map((tw2) => tw2.q.restrictAncestry.name));
1289
+ if (ancestries.size > 1) throw "samples cannot be restricted to more than 1 ancestry";
1290
+ }
1291
+ const tw = tws_restrictAncestry[0];
1292
+ filters.push({ type: "tvs", tvs: tw.q.restrictAncestry.tvs });
1293
+ this.inputs.submitMsgs.restrictAncestry = `Restricting analysis to samples of ${tw.q.restrictAncestry.name}`;
1294
+ } else {
1295
+ delete this.inputs.submitMsgs.restrictAncestry;
1296
+ }
1297
+ this.filter = { type: "tvslst", join: "and", lst: filters };
1298
+ }
1299
+ };
1300
+ var regressionInit = getCompInit(Regression);
1301
+ var componentInit = regressionInit;
1302
+ var _ID_ = 1;
1303
+ async function getPlotConfig(opts, app, activeCohort) {
1304
+ if (!opts.outcome) opts.outcome = mayGetLoneOutcome(opts.regressionType, app, activeCohort);
1305
+ const id = "id" in opts ? opts.id : `_REGRESSION_${_ID_++}`;
1306
+ const config = { id };
1307
+ if (opts.outcome) {
1308
+ await fillTermWrapper(opts.outcome, app.vocabApi, getDefaultQ4tw(opts.outcome, opts.regressionType, "outcome"));
1309
+ config.outcome = opts.outcome;
1310
+ }
1311
+ if (opts.independent) {
1312
+ if (!Array.isArray(opts.independent)) throw ".independent[] is not array";
1313
+ for (const t of opts.independent) {
1314
+ await fillTermWrapper(
1315
+ t,
1316
+ app.vocabApi,
1317
+ t.q?.mode ? void 0 : getDefaultQ4tw(t, opts.regressionType, "independent")
1318
+ );
1319
+ }
1320
+ config.independent = opts.independent;
1321
+ } else {
1322
+ config.independent = [];
1323
+ }
1324
+ return copyMerge(config, opts);
1325
+ }
1326
+ function mayGetLoneOutcome(regressionType, app, activeCohort) {
1327
+ if (regressionType != "cox") return;
1328
+ const byType = getLoneTermByType(app.vocabApi.termdbConfig, activeCohort);
1329
+ const t1 = byType?.survival;
1330
+ const t2 = byType?.condition;
1331
+ if (t1 && t2) return;
1332
+ if (t1) return { term: structuredClone(t1) };
1333
+ if (t2) return { term: structuredClone(t2) };
1334
+ return;
1335
+ }
1336
+ var coxOutcomeTypes = ["survival", "condition"];
1337
+ function getLoneTermByType(termdbConfig, activeCohort) {
1338
+ if (!termdbConfig?.loneTermByType) return;
1339
+ if (termdbConfig.selectCohort && !Number.isInteger(activeCohort)) return;
1340
+ return termdbConfig.loneTermByType[getActiveCohortStr({ termdbConfig, activeCohort })];
1341
+ }
1342
+ function isLoneOutcome(regressionType, termdbConfig, activeCohort) {
1343
+ if (regressionType != "cox") return false;
1344
+ const byType = getLoneTermByType(termdbConfig, activeCohort);
1345
+ if (!byType) return false;
1346
+ const loneTypes = coxOutcomeTypes.filter((type) => byType[type]);
1347
+ if (loneTypes.length != 1) return false;
1348
+ const otherType = coxOutcomeTypes.find((type) => type != loneTypes[0]);
1349
+ return !termdbConfig.allowedTermTypes?.includes(otherType);
1350
+ }
1351
+ function get_defaultQ4fillTW(regressionType, useCase = "") {
1352
+ const defaultQ = {};
1353
+ defaultQ["numeric"] = regressionType == "logistic" && useCase == "outcome" ? { mode: "binary" } : { mode: "discrete" };
1354
+ for (const t of numericTypes) {
1355
+ if (dictionaryNumericTypes.has(t)) continue;
1356
+ defaultQ[t] = regressionType == "logistic" && useCase == "outcome" ? { mode: "binary" } : { mode: "discrete", type: "custom-bin", preferredBins: "median" };
1357
+ }
1358
+ defaultQ["categorical"] = regressionType == "logistic" && useCase == "outcome" ? { mode: "binary" } : { mode: "discrete" };
1359
+ if (useCase == "outcome") {
1360
+ if (regressionType == "cox") {
1361
+ defaultQ.condition = { mode: "cox" };
1362
+ }
1363
+ if (regressionType == "logistic") {
1364
+ defaultQ.condition = { mode: "binary" };
1365
+ }
1366
+ }
1367
+ defaultQ["geneVariant"] = { type: "predefined-groupset" };
1368
+ return defaultQ;
1369
+ }
1370
+ function getDefaultQ4tw(tw, regressionType, useCase) {
1371
+ const defaultQ = get_defaultQ4fillTW(regressionType, useCase);
1372
+ if (tw?.term?.type == "geneVariant" && tw.q?.type) delete defaultQ.geneVariant;
1373
+ return defaultQ;
1374
+ }
1375
+ async function makeChartBtnMenu(holder, chartsInstance) {
1376
+ const allMethods = [
1377
+ { label: "Linear", type: "linear" },
1378
+ { label: "Logistic", type: "logistic" },
1379
+ { label: "Cox", type: "cox" }
1380
+ ];
1381
+ const useMethods = allMethods.filter((i) => chartsInstance.state.currentCohortChartTypes.includes(i.type));
1382
+ if (useMethods.length == 0) return holder.append("div").text("Error: no methods available");
1383
+ if (useMethods.length == 1) {
1384
+ chartsInstance.dom.tip.hide();
1385
+ chartsInstance.prepPlot({ config: await getPrepConfig(useMethods[0].type, chartsInstance) });
1386
+ return;
1387
+ }
1388
+ for (const { label, type } of useMethods) {
1389
+ holder.append("div").attr("class", "sja_menuoption sja_sharp_border").text(label).on("click", async () => {
1390
+ chartsInstance.dom.tip.hide();
1391
+ chartsInstance.prepPlot({ config: await getPrepConfig(type, chartsInstance) });
1392
+ });
1393
+ }
1394
+ }
1395
+ async function getPrepConfig(regressionType, chartsInstance) {
1396
+ const config = { chartType: "regression", regressionType, independent: [] };
1397
+ const { app, state } = chartsInstance;
1398
+ const outcome = mayGetLoneOutcome(regressionType, app, state.activeCohort);
1399
+ if (!outcome) return config;
1400
+ try {
1401
+ await fillTermWrapper(outcome, app.vocabApi, get_defaultQ4fillTW(regressionType, "outcome"));
1402
+ config.outcome = outcome;
1403
+ } catch (e) {
1404
+ console.error(`cannot prefill ${regressionType} outcome with "${outcome.term.id}": ${e}`);
1405
+ }
1406
+ return config;
1407
+ }
1408
+ export {
1409
+ componentInit,
1410
+ getPlotConfig,
1411
+ get_defaultQ4fillTW,
1412
+ isLoneOutcome,
1413
+ makeChartBtnMenu,
1414
+ regressionInit
1415
+ };
1416
+ //# sourceMappingURL=Regression-EOITDTFO.js.map