@sjcrh/proteinpaint-client 2.210.1 → 2.211.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (954) hide show
  1. package/dist/2dmaf-FEZRNHDF.js +1367 -0
  2. package/dist/AggMatrixInput-6FJIELYO.js +406 -0
  3. package/dist/AggregateMatrix-MUPBUGIZ.js +41 -0
  4. package/dist/AppHeader-ZTNZ62UL.js +830 -0
  5. package/dist/BoxPlot-P5SVFYSB.js +1208 -0
  6. package/dist/BoxPlot-P5SVFYSB.js.map +7 -0
  7. package/dist/CorrelationVolcano-42NYXAXG.js +617 -0
  8. package/dist/Cuminc-6AKLT6HF.js +1219 -0
  9. package/dist/DE-KJHFZWND.js +89 -0
  10. package/dist/DEinput-HXB3LYZW.js +501 -0
  11. package/dist/DM-AAHX4PLH.js +90 -0
  12. package/dist/DifferentialAnalysis-JX4EDEOY.js +239 -0
  13. package/dist/Disco-GXKO4QQH.js +3389 -0
  14. package/dist/Disco.UI-DGD4RXJP.js +243 -0
  15. package/dist/DmrPlot-DQ3XTMTN.js +362 -0
  16. package/dist/GB-OUWNNBBK.js +1392 -0
  17. package/dist/GSEA-DSKGFAPG.js +875 -0
  18. package/dist/GeneExpInput-FZLOBE2Q.js +42 -0
  19. package/dist/Geomap-GP5KD3OX.js +84 -0
  20. package/dist/HicApp-2N6WYWZX.js +2245 -0
  21. package/dist/IDCViewer-MSUC7IXX.js +10812 -0
  22. package/dist/NumBinaryEditor-C4G2IH36.js +279 -0
  23. package/dist/NumBinaryEditor.unit.spec-ZAVAUGXA.js +312 -0
  24. package/dist/NumContEditor-VEEMMWHX.js +105 -0
  25. package/dist/NumContEditor.unit.spec-65ORC42O.js +164 -0
  26. package/dist/NumCustomBinEditor-YIUHJAXP.js +33 -0
  27. package/dist/NumCustomBinEditor.unit.spec-NT5VK2LO.js +397 -0
  28. package/dist/NumDiscreteEditor-A4WELAJH.js +170 -0
  29. package/dist/NumDiscreteEditor.unit.spec-7QABM6KK.js +233 -0
  30. package/dist/NumRegularBinEditor-IPVPLSQY.js +33 -0
  31. package/dist/NumRegularBinEditor.unit.spec-Q4DMWATB.js +278 -0
  32. package/dist/NumSplineEditor-5E6CIWLP.js +210 -0
  33. package/dist/NumSplineEditor.unit.spec-DHJF5F6H.js +224 -0
  34. package/dist/NumericDensity-GXMWWK2A.js +33 -0
  35. package/dist/NumericDensity.unit.spec-OAPOMSEW.js +418 -0
  36. package/dist/NumericHandler-H5WHGFXD.js +34 -0
  37. package/dist/NumericHandler.unit.spec-PBNOJEMS.js +214 -0
  38. package/dist/ProteomeInput-ZA7R5S43.js +388 -0
  39. package/dist/Regression-WSWTSXFX.js +1416 -0
  40. package/dist/RunChart2-J5CTJI5C.js +749 -0
  41. package/dist/SC-POCQDMWZ.js +1181 -0
  42. package/dist/SC-POCQDMWZ.js.map +7 -0
  43. package/dist/Violin-VA6FBRUQ.js +1064 -0
  44. package/dist/Violin-VA6FBRUQ.js.map +7 -0
  45. package/dist/Volcano-4IEQIEDS.js +2456 -0
  46. package/dist/Wsi-LJ6AY5RI.js +629 -0
  47. package/dist/adSandbox-EIN4KEML.js +33 -0
  48. package/dist/animatedBubbleChart-LINYUKMD.js +547 -0
  49. package/dist/app-SE7UQ5DB.js +42 -0
  50. package/dist/app-VGMZNGWP.js +32 -0
  51. package/dist/app.js +16 -16
  52. package/dist/bam-ZXEZWRSZ.js +876 -0
  53. package/dist/barchart-N4B4C2FO.js +42 -0
  54. package/dist/barchart2-EDVEWTVX.js +309 -0
  55. package/dist/block-E7YUGCHL.js +6250 -0
  56. package/dist/block.init-FSOCF2IM.js +33 -0
  57. package/dist/block.mds.expressionrank-EDBTITXU.js +354 -0
  58. package/dist/block.mds.geneboxplot-GG5672SY.js +823 -0
  59. package/dist/block.mds.junction-HUC4S24K.js +1539 -0
  60. package/dist/block.mds.svcnv-EQHYCIBU.js +6796 -0
  61. package/dist/block.svg-HBVPUQJ2.js +159 -0
  62. package/dist/block.tk.aicheck-TRJ5IIWZ.js +278 -0
  63. package/dist/block.tk.ase-COV7YYYO.js +360 -0
  64. package/dist/block.tk.bam-MDSLY6NH.js +1901 -0
  65. package/dist/block.tk.bedgraphdot-MKWEL53X.js +379 -0
  66. package/dist/block.tk.bigwig.ui-UKKJX7TA.js +206 -0
  67. package/dist/block.tk.hicstraw-6LNXEIOF.js +818 -0
  68. package/dist/block.tk.junction-F3SERFFD.js +2358 -0
  69. package/dist/block.tk.junction.textmatrixui-2XUMSKLS.js +194 -0
  70. package/dist/block.tk.ld-COP5RUJJ.js +94 -0
  71. package/dist/block.tk.menu-SRDPD44N.js +1024 -0
  72. package/dist/block.tk.pgv-3SVINTXN.js +938 -0
  73. package/dist/brainImaging-UNBA4KA3.js +555 -0
  74. package/dist/brainRegions-DC6TQB53.js +217 -0
  75. package/dist/bubbleHeatmap-X3W3AZJY.js +378 -0
  76. package/dist/cellTypeBubbleHeatmap-LFI6TGOO.js +278 -0
  77. package/dist/chunk-2ANFUNS3.js +102 -0
  78. package/dist/chunk-2G4SFRWC.js +1278 -0
  79. package/dist/chunk-2WKGE7BO.js +54 -0
  80. package/dist/chunk-3CGMCYZB.js +237 -0
  81. package/dist/chunk-3I4DBVLM.js +55 -0
  82. package/dist/chunk-42VFF74T.js +397 -0
  83. package/dist/chunk-4ENIOXIT.js +133 -0
  84. package/dist/chunk-4ENIOXIT.js.map +7 -0
  85. package/dist/chunk-4HTRCXLS.js +98 -0
  86. package/dist/chunk-55T2AMJ3.js +281 -0
  87. package/dist/chunk-57Z4VYLM.js +1616 -0
  88. package/dist/chunk-57Z4VYLM.js.map +7 -0
  89. package/dist/chunk-5JDG5NNA.js +203 -0
  90. package/dist/chunk-6AFMWQXZ.js +339 -0
  91. package/dist/chunk-6ECKCC4X.js +294 -0
  92. package/dist/chunk-6QMC7LFA.js +299 -0
  93. package/dist/chunk-6XKAOSQE.js +116 -0
  94. package/dist/chunk-6XKAOSQE.js.map +7 -0
  95. package/dist/chunk-72L6NTNT.js +14 -0
  96. package/dist/chunk-7ISAV37C.js +194 -0
  97. package/dist/chunk-7MFY22IZ.js +2902 -0
  98. package/dist/chunk-7MFY22IZ.js.map +7 -0
  99. package/dist/chunk-7XZA2XR2.js +424 -0
  100. package/dist/chunk-7XZA2XR2.js.map +7 -0
  101. package/dist/chunk-A32XQLMP.js +49 -0
  102. package/dist/chunk-A3MYBXG3.js +274 -0
  103. package/dist/chunk-AU3Y6IQF.js +1339 -0
  104. package/dist/chunk-AXL3CC4U.js +468 -0
  105. package/dist/chunk-BSWVDH75.js +26 -0
  106. package/dist/chunk-CME6DYDH.js +424 -0
  107. package/dist/chunk-D637XDOT.js +417 -0
  108. package/dist/chunk-D637XDOT.js.map +7 -0
  109. package/dist/chunk-DD3DWHUY.js +119 -0
  110. package/dist/chunk-DKED35KW.js +2327 -0
  111. package/dist/chunk-DPGALT5N.js +255 -0
  112. package/dist/chunk-DPTGY4BW.js +129 -0
  113. package/dist/chunk-DQD4MTK4.js +379 -0
  114. package/dist/chunk-EFLRT7JY.js +243 -0
  115. package/dist/chunk-EMSO3BNW.js +34 -0
  116. package/dist/chunk-F2LWFF7V.js +158 -0
  117. package/dist/chunk-F2LWFF7V.js.map +7 -0
  118. package/dist/chunk-F5QB5YEE.js +276 -0
  119. package/dist/chunk-FKSR53VK.js +182 -0
  120. package/dist/chunk-FSWBNSQD.js +178 -0
  121. package/dist/chunk-G6ZIO5T3.js +37 -0
  122. package/dist/chunk-GP4VLNMZ.js +2149 -0
  123. package/dist/chunk-GP4VLNMZ.js.map +7 -0
  124. package/dist/chunk-HTZJQNHP.js +562 -0
  125. package/dist/chunk-ITYNHDDD.js +56 -0
  126. package/dist/chunk-IWVCFZHQ.js +170 -0
  127. package/dist/chunk-J4WRX5G6.js +263 -0
  128. package/dist/chunk-JZLIHI6A.js +339 -0
  129. package/dist/chunk-K7HFOAR7.js +25008 -0
  130. package/dist/chunk-K7HFOAR7.js.map +7 -0
  131. package/dist/chunk-KJGYGPJZ.js +103 -0
  132. package/dist/chunk-L3UFI52T.js +217 -0
  133. package/dist/chunk-L4ZPMF7E.js +692 -0
  134. package/dist/chunk-L62JI5UL.js +302 -0
  135. package/dist/chunk-MRPYHLFW.js +518 -0
  136. package/dist/chunk-MVWJHZ5G.js +783 -0
  137. package/dist/chunk-NGWU4QLU.js +134 -0
  138. package/dist/chunk-OC2FSBFB.js +176 -0
  139. package/dist/chunk-OGRDLK57.js +140 -0
  140. package/dist/chunk-OYBYKZUR.js +6360 -0
  141. package/dist/chunk-PFRPC2SY.js +382 -0
  142. package/dist/chunk-PLHOCPJD.js +272 -0
  143. package/dist/chunk-PQDZLOY7.js +102 -0
  144. package/dist/chunk-QDNUIS2Y.js +70 -0
  145. package/dist/chunk-RHOMR2GY.js +2676 -0
  146. package/dist/chunk-SKF6HQ74.js +31 -0
  147. package/dist/chunk-SLPZ6SBN.js +626 -0
  148. package/dist/chunk-SLPZ6SBN.js.map +7 -0
  149. package/dist/chunk-SPFK5XZH.js +446 -0
  150. package/dist/chunk-SQGAWR2L.js +141 -0
  151. package/dist/chunk-TGKWEAUE.js +84 -0
  152. package/dist/chunk-UKOOGNUF.js +1233 -0
  153. package/dist/chunk-UL5PEVZW.js +123 -0
  154. package/dist/chunk-UTMIX2H2.js +2784 -0
  155. package/dist/chunk-UZNFOCE7.js +56 -0
  156. package/dist/chunk-V7UVHM57.js +550 -0
  157. package/dist/chunk-VP2JWT5W.js +1988 -0
  158. package/dist/chunk-VSTHBKQW.js +480 -0
  159. package/dist/chunk-W7A4QXZ7.js +38 -0
  160. package/dist/chunk-WKCVZIN7.js +59 -0
  161. package/dist/chunk-X7TJBXJJ.js +54 -0
  162. package/dist/chunk-XEEMCYP6.js +4375 -0
  163. package/dist/chunk-XTQWAVWJ.js +54 -0
  164. package/dist/chunk-YAN2MOON.js +5071 -0
  165. package/dist/chunk-YCBENC6R.js +1769 -0
  166. package/dist/chunk-YCBENC6R.js.map +7 -0
  167. package/dist/chunk-YCORHJ64.js +240 -0
  168. package/dist/chunk-YOBTHZVU.js +80 -0
  169. package/dist/chunk-ZTT6ZHU5.js +217 -0
  170. package/dist/cohort-RF4FT2NT.js +70 -0
  171. package/dist/condition-WXE2CFYT.js +327 -0
  172. package/dist/controls-AYF4H7UG.js +34 -0
  173. package/dist/controls.config-TXZKQNYC.js +34 -0
  174. package/dist/correlation-UAYMVVUS.js +95 -0
  175. package/dist/customdata.inputui-I7RFOGYM.js +284 -0
  176. package/dist/dataDownload-4AGSDSEO.js +329 -0
  177. package/dist/databrowser.ui-RGJEA2BI.js +425 -0
  178. package/dist/dictionary-AWWQXIRP.js +113 -0
  179. package/dist/dnaMethylation-PICKZS2M.js +33 -0
  180. package/dist/dnaMethylation.integration.spec-JUSB3CFZ.js +198 -0
  181. package/dist/dofetch-ZJMKEYN2.js +48 -0
  182. package/dist/e2pca-K4W7ZJZG.js +344 -0
  183. package/dist/ep-OY5YQMEF.js +1249 -0
  184. package/dist/expclust.gdc.spec-LYDBM3TZ.js +302 -0
  185. package/dist/facet-7NJHLLCZ.js +519 -0
  186. package/dist/gb-COV44BMA.js +81 -0
  187. package/dist/geneExpClustering-EQR5XX4J.js +244 -0
  188. package/dist/geneExpression-2BNDQ6S6.js +310 -0
  189. package/dist/geneExpression-PGB6WF5H.js +33 -0
  190. package/dist/geneExpression.unit.spec-OUNGGOJP.js +128 -0
  191. package/dist/geneORA-EKNEVQOS.js +273 -0
  192. package/dist/geneRanking-XUXLRERA.js +548 -0
  193. package/dist/geneVariant-JZDYV6LS.js +36 -0
  194. package/dist/geneVariant-KPZ2FYLK.js +289 -0
  195. package/dist/geneVariant.integration.spec-ISMLGTKC.js +503 -0
  196. package/dist/genefusion.ui-GRUXFC4U.js +303 -0
  197. package/dist/geneset-RM4XIX23.js +203 -0
  198. package/dist/genomeBrowser.spec-X7EOK2LS.js +276 -0
  199. package/dist/grin2-5XRUMYQO.js +949 -0
  200. package/dist/grin2-SWZLKD52.js +70 -0
  201. package/dist/hierCluster-I6T4XD3P.js +55 -0
  202. package/dist/hierCluster-XVDGUOW7.js +59 -0
  203. package/dist/hierCluster.config-66CKAAPG.js +36 -0
  204. package/dist/hierCluster.integration.spec-OEHHO2RT.js +483 -0
  205. package/dist/hierCluster.integration.spec-OEHHO2RT.js.map +7 -0
  206. package/dist/hierCluster.interactivity-B5ZNFF4R.js +49 -0
  207. package/dist/hierCluster.renderers-R2DTKTLI.js +19 -0
  208. package/dist/imagePlot-ZM4IVDJT.js +156 -0
  209. package/dist/importPlot-FQ65CZRI.js +8 -0
  210. package/dist/isoformExpression-BFCLGD2U.js +35 -0
  211. package/dist/isoformExpression.unit.spec-KYI4HI7U.js +237 -0
  212. package/dist/junction-BKH6RWOP.js +36 -0
  213. package/dist/junction.customTerm-VNQKP5I4.js +16 -0
  214. package/dist/junction.unit.spec-MQIHKSNE.js +182 -0
  215. package/dist/launch.adhoc-AHTCA2BP.js +37 -0
  216. package/dist/leftlabel.sample-LIBMKP22.js +258 -0
  217. package/dist/lollipop-26ZQH3EL.js +166 -0
  218. package/dist/maf-W3W2XJ5B.js +455 -0
  219. package/dist/maftimeline-LCJD5O2M.js +587 -0
  220. package/dist/matrix-H634EZWK.js +59 -0
  221. package/dist/matrix-O2AINT5M.js +54 -0
  222. package/dist/matrix.cells-3U3CUU5I.js +26 -0
  223. package/dist/matrix.config-F6IPB5B5.js +37 -0
  224. package/dist/matrix.data-KQNBNYC6.js +23 -0
  225. package/dist/matrix.dom-YQNX4IQO.js +11 -0
  226. package/dist/matrix.groups-QFL2ZDHD.js +26 -0
  227. package/dist/matrix.integration.spec-OVGSXJWO.js +3160 -0
  228. package/dist/matrix.interactivity-Q5ODZPDL.js +37 -0
  229. package/dist/matrix.layout-YPYM7FRY.js +39 -0
  230. package/dist/matrix.legend-ZO57ENXP.js +20 -0
  231. package/dist/matrix.renderers-NIGONKWO.js +34 -0
  232. package/dist/matrix.serieses-ZQD2U6RF.js +19 -0
  233. package/dist/matrix.sort-RZU65LR2.js +26 -0
  234. package/dist/matrix.sort.unit.spec-NDFK2A5C.js +468 -0
  235. package/dist/matrix.sorterUi-MVUI25W7.js +16 -0
  236. package/dist/matrix.sorterUi.unit.spec-4ZKNOV2L.js +338 -0
  237. package/dist/matrix.unit.spec-V5XNLECG.js +150 -0
  238. package/dist/mavb-LF7A7BDK.js +727 -0
  239. package/dist/mds.fimo-KJ4HPMZP.js +513 -0
  240. package/dist/mds.samplescatterplot-ZHNWWWYI.js +1545 -0
  241. package/dist/mds.survivalplot-DNG7I22N.js +477 -0
  242. package/dist/multivalue-SJQF7PHU.js +83 -0
  243. package/dist/numericDictTermCluster-O6PKT2FJ.js +63 -0
  244. package/dist/oncomatrix-YJCPKS72.js +290 -0
  245. package/dist/oncomatrix.spec-MWGBQCIQ.js +443 -0
  246. package/dist/plot.2dvaf-KIPQYNEH.js +372 -0
  247. package/dist/plot.app-WHG3SEOG.js +36 -0
  248. package/dist/plot.barplot-DTSYFUPC.js +97 -0
  249. package/dist/plot.boxplot-MQDULP3P.js +146 -0
  250. package/dist/plot.brainImaging-DGVJQSCH.js +51 -0
  251. package/dist/plot.disco-HYPRBLMQ.js +99 -0
  252. package/dist/plot.ssgq-J5MMN7OD.js +134 -0
  253. package/dist/plot.vaf2cov-CID7GQB5.js +253 -0
  254. package/dist/polar2-QTSO2HCB.js +232 -0
  255. package/dist/profileForms-SRR2M5OS.js +941 -0
  256. package/dist/profilePlot-NDC4S2SC.js +49 -0
  257. package/dist/proteinView-EFNQL3LD.js +1357 -0
  258. package/dist/proteomeCohortCompare-WMR53HEL.js +912 -0
  259. package/dist/pseudbulk.unit.spec-6MRZNXFI.js +86 -0
  260. package/dist/pseudobulk-O5EC44RY.js +35 -0
  261. package/dist/qualitative-W6MFYG7Z.js +38 -0
  262. package/dist/radar2-GIQILMWK.js +327 -0
  263. package/dist/radarFacility2-5YJZ5JCK.js +335 -0
  264. package/dist/rememberedGvQ.unit.spec-B6RQM5LQ.js +211 -0
  265. package/dist/render-2J4LR3UI.js +33 -0
  266. package/dist/report-MUMQK6XY.js +217 -0
  267. package/dist/sampleView-NKZMNBMH.js +43 -0
  268. package/dist/samplelst-X74JZMTR.js +106 -0
  269. package/dist/samplematrix-QDQXB5ZG.js +2193 -0
  270. package/dist/sc-FGHV5CBJ.js +81 -0
  271. package/dist/scatter-QFVRBA7F.js +925 -0
  272. package/dist/scatter-YXF5VQGZ.js +88 -0
  273. package/dist/selectGenomeWithTklst-DP4RPV7U.js +129 -0
  274. package/dist/singleCellCellType-XCHCMRR6.js +33 -0
  275. package/dist/singleCellCellType.unit.spec-S3JTP235.js +154 -0
  276. package/dist/singleCellGeneExpression-FD6REV7Y.js +33 -0
  277. package/dist/singleCellGeneExpression.unit.spec-PVMZYD4G.js +148 -0
  278. package/dist/singleCellNumericValue-SIITQPMD.js +33 -0
  279. package/dist/singleCellNumericValue.unit.spec-7PJEHLF7.js +416 -0
  280. package/dist/singleCellPlot-YJCFAYJW.js +48 -0
  281. package/dist/singlecell-6R7YK5P3.js +1566 -0
  282. package/dist/singlecell-KHMH732Y.js +81 -0
  283. package/dist/snp-HXCVSW2F.js +33 -0
  284. package/dist/snp.unit.spec-HXMFR4QS.js +171 -0
  285. package/dist/snplocus-YQVHAKBC.js +203 -0
  286. package/dist/spliceevent.a53ss.diagram-4IBTR3JD.js +146 -0
  287. package/dist/spliceevent.exonskip.diagram-5ZTG65CE.js +278 -0
  288. package/dist/spliceevent.noeventdiagram-WO5KSC45.js +455 -0
  289. package/dist/ssGSEA-VJ3LVYJV.js +33 -0
  290. package/dist/ssGSEA.unit.spec-JQIJ4NZP.js +83 -0
  291. package/dist/stattable-COVQSHRZ.js +117 -0
  292. package/dist/studyCatalog-EXVRH4FI.js +414 -0
  293. package/dist/summarizeCnvGeneexp-UJBTMXXH.js +158 -0
  294. package/dist/summarizeGeneexpSurvival-XLQJGDRY.js +105 -0
  295. package/dist/summarizeMutationCnv-7RWSXB6F.js +159 -0
  296. package/dist/summarizeMutationDiagnosis-42MG737O.js +35 -0
  297. package/dist/summarizeMutationSurvival-FWVKVEHK.js +99 -0
  298. package/dist/summary-NR26ZPQB.js +44 -0
  299. package/dist/summary.integration.spec-Z7JSUTGK.js +409 -0
  300. package/dist/summaryInput-DGKUOJVC.js +242 -0
  301. package/dist/sunburst-C5JNGFT7.js +278 -0
  302. package/dist/survival-GCEX3EAZ.js +53 -0
  303. package/dist/survival-OAQA5JQN.js +1248 -0
  304. package/dist/survival.integration.spec-ZX5RD6VQ.js +613 -0
  305. package/dist/svgraph-XCFZ2WAG.js +1382 -0
  306. package/dist/svmr-4XTTURHA.js +3837 -0
  307. package/dist/table-FQZ4UAH6.js +197 -0
  308. package/dist/termCollection-5QCR6LED.js +33 -0
  309. package/dist/termCollection-DN6A6HJU.js +252 -0
  310. package/dist/termCollection.unit.spec-RSSSXDHU.js +299 -0
  311. package/dist/termCollectionFractionSelection-OSN7FITY.js +42 -0
  312. package/dist/termCollectionFractionSelection.unit.spec-UW6D3DVK.js +188 -0
  313. package/dist/tk-4CZCVYBP.js +41 -0
  314. package/dist/tk-BIPJNXBZ.js +1121 -0
  315. package/dist/tp.ui-NI4U7567.js +1454 -0
  316. package/dist/tvs.density-CB24PXDE.js +19 -0
  317. package/dist/tvs.dt-YRDNDXUU.js +34 -0
  318. package/dist/tvs.dtcnv.categorical-REP4T33P.js +35 -0
  319. package/dist/tvs.dtcnv.continuous-K7OREEP5.js +67 -0
  320. package/dist/tvs.dtfusion-AB5MPH3Q.js +35 -0
  321. package/dist/tvs.dtitd-AFWU7ACY.js +35 -0
  322. package/dist/tvs.dtsnvindel-G7XQEKEO.js +35 -0
  323. package/dist/tvs.dtsv-Y6BEY4J2.js +35 -0
  324. package/dist/tvs.numeric-GF4XF5OF.js +20 -0
  325. package/dist/tvs.samplelst-XRRWPC2E.js +98 -0
  326. package/dist/tvs.termCollection-PL4AN3GA.js +122 -0
  327. package/dist/tvs.termCollection-PL4AN3GA.js.map +7 -0
  328. package/dist/vocabulary-DJZWOO6Q.js +36 -0
  329. package/dist/wsi.direct-XUWANMKV.js +8343 -0
  330. package/package.json +2 -2
  331. package/dist/2dmaf-7VZ536T5.js +0 -1367
  332. package/dist/AggMatrixInput-UTUOXTGA.js +0 -406
  333. package/dist/AggregateMatrix-X75HUZYO.js +0 -41
  334. package/dist/AppHeader-X2DR6VSM.js +0 -830
  335. package/dist/BoxPlot-NQMPJICU.js +0 -1211
  336. package/dist/BoxPlot-NQMPJICU.js.map +0 -7
  337. package/dist/CorrelationVolcano-IDBUJH2E.js +0 -617
  338. package/dist/Cuminc-BYFIMOLO.js +0 -1219
  339. package/dist/DE-BI7DHHW4.js +0 -89
  340. package/dist/DEinput-W66CT4U2.js +0 -501
  341. package/dist/DM-62TEJA3C.js +0 -90
  342. package/dist/DifferentialAnalysis-PRTA6CYW.js +0 -239
  343. package/dist/Disco-4JQP3FRW.js +0 -3389
  344. package/dist/Disco.UI-6RHAA5KU.js +0 -243
  345. package/dist/DmrPlot-VYQYMTQ7.js +0 -362
  346. package/dist/GB-LULUM5LH.js +0 -1392
  347. package/dist/GSEA-DT3SYXOZ.js +0 -875
  348. package/dist/GeneExpInput-UILWAGRH.js +0 -42
  349. package/dist/Geomap-AFKEGMR5.js +0 -84
  350. package/dist/HicApp-APDL5POY.js +0 -2245
  351. package/dist/IDCViewer-DQXAORHT.js +0 -10812
  352. package/dist/NumBinaryEditor-OUVIOEH7.js +0 -279
  353. package/dist/NumBinaryEditor.unit.spec-VBX2X4CT.js +0 -312
  354. package/dist/NumContEditor-JVPRBZPW.js +0 -105
  355. package/dist/NumContEditor.unit.spec-EQNB6RMI.js +0 -164
  356. package/dist/NumCustomBinEditor-E2SXZDF4.js +0 -33
  357. package/dist/NumCustomBinEditor.unit.spec-VLR7MGNL.js +0 -397
  358. package/dist/NumDiscreteEditor-CUA55FU3.js +0 -170
  359. package/dist/NumDiscreteEditor.unit.spec-7IPCMUDQ.js +0 -233
  360. package/dist/NumRegularBinEditor-CWU7YBEP.js +0 -33
  361. package/dist/NumRegularBinEditor.unit.spec-RGV3EUPC.js +0 -278
  362. package/dist/NumSplineEditor-PC5X7AUJ.js +0 -210
  363. package/dist/NumSplineEditor.unit.spec-QCR3RL5W.js +0 -224
  364. package/dist/NumericDensity-CFUEE5ZN.js +0 -33
  365. package/dist/NumericDensity.unit.spec-JOCVEC32.js +0 -418
  366. package/dist/NumericHandler-VL2Z55KF.js +0 -34
  367. package/dist/NumericHandler.unit.spec-ULM5FSSA.js +0 -214
  368. package/dist/ProteomeInput-3WKTVCYT.js +0 -388
  369. package/dist/Regression-M7AQTYXL.js +0 -1416
  370. package/dist/RunChart2-54SVOXJR.js +0 -749
  371. package/dist/SC-QRWDGHB2.js +0 -1183
  372. package/dist/SC-QRWDGHB2.js.map +0 -7
  373. package/dist/Violin-2AD6QRJB.js +0 -1081
  374. package/dist/Violin-2AD6QRJB.js.map +0 -7
  375. package/dist/Volcano-T57VFSWR.js +0 -2456
  376. package/dist/Wsi-U3U3EILE.js +0 -629
  377. package/dist/adSandbox-S3JP7XF3.js +0 -33
  378. package/dist/animatedBubbleChart-LZKNERIM.js +0 -547
  379. package/dist/app-2MERLGNJ.js +0 -42
  380. package/dist/app-ZNSUUOFJ.js +0 -32
  381. package/dist/bam-ESRPS4TQ.js +0 -876
  382. package/dist/barchart-BPUEO4RK.js +0 -42
  383. package/dist/barchart2-Z36PNSM2.js +0 -309
  384. package/dist/block-GEG4UUOU.js +0 -6250
  385. package/dist/block.init-SB6OX35E.js +0 -33
  386. package/dist/block.mds.expressionrank-2JLMS334.js +0 -354
  387. package/dist/block.mds.geneboxplot-BZMGG6G3.js +0 -823
  388. package/dist/block.mds.junction-636PWE2O.js +0 -1539
  389. package/dist/block.mds.svcnv-S4L2HMZW.js +0 -6796
  390. package/dist/block.svg-A7EABUXG.js +0 -159
  391. package/dist/block.tk.aicheck-KNFJVUTW.js +0 -278
  392. package/dist/block.tk.ase-BPU25OLX.js +0 -360
  393. package/dist/block.tk.bam-VC4CZCUS.js +0 -1901
  394. package/dist/block.tk.bedgraphdot-FQS4Z4RC.js +0 -379
  395. package/dist/block.tk.bigwig.ui-7STXSD3X.js +0 -206
  396. package/dist/block.tk.hicstraw-CVDCOMPP.js +0 -818
  397. package/dist/block.tk.junction-PG4RZFH3.js +0 -2358
  398. package/dist/block.tk.junction.textmatrixui-JRW4ZJIK.js +0 -194
  399. package/dist/block.tk.ld-DLDP2NHJ.js +0 -94
  400. package/dist/block.tk.menu-PWGFMKBQ.js +0 -1024
  401. package/dist/block.tk.pgv-HOBOXQIN.js +0 -938
  402. package/dist/brainImaging-GUQTOHQF.js +0 -555
  403. package/dist/brainRegions-JWBIBCTG.js +0 -217
  404. package/dist/bubbleHeatmap-EUO3DUVT.js +0 -378
  405. package/dist/cellTypeBubbleHeatmap-TIBGPZTB.js +0 -278
  406. package/dist/chunk-3CGAABHZ.js +0 -176
  407. package/dist/chunk-3ELYMSGO.js +0 -26
  408. package/dist/chunk-3QL3U6FU.js +0 -2853
  409. package/dist/chunk-3QL3U6FU.js.map +0 -7
  410. package/dist/chunk-3TV5WWUN.js +0 -339
  411. package/dist/chunk-4Y5W26UF.js +0 -424
  412. package/dist/chunk-5XE3WSUX.js +0 -6360
  413. package/dist/chunk-665X7R7S.js +0 -382
  414. package/dist/chunk-67URJYN7.js +0 -84
  415. package/dist/chunk-6MQPXWOR.js +0 -55
  416. package/dist/chunk-7DSL65G7.js +0 -14
  417. package/dist/chunk-A6F3CSXP.js +0 -626
  418. package/dist/chunk-A6F3CSXP.js.map +0 -7
  419. package/dist/chunk-A7OWXDYA.js +0 -129
  420. package/dist/chunk-A7OWXDYA.js.map +0 -7
  421. package/dist/chunk-AB6JQFIQ.js +0 -129
  422. package/dist/chunk-ACOHIDWO.js +0 -240
  423. package/dist/chunk-AIVPAC5Q.js +0 -102
  424. package/dist/chunk-AKKJFMW5.js +0 -4375
  425. package/dist/chunk-AR2UIN77.js +0 -255
  426. package/dist/chunk-AXF6SVNQ.js +0 -56
  427. package/dist/chunk-BLYD6SQO.js +0 -98
  428. package/dist/chunk-BSWPONNA.js +0 -550
  429. package/dist/chunk-BX3P73XH.js +0 -299
  430. package/dist/chunk-CSAS3PVJ.js +0 -24956
  431. package/dist/chunk-CSAS3PVJ.js.map +0 -7
  432. package/dist/chunk-CW35X5ZL.js +0 -5071
  433. package/dist/chunk-D4XHYQNS.js +0 -281
  434. package/dist/chunk-DH74ZT37.js +0 -141
  435. package/dist/chunk-E76UYIT2.js +0 -182
  436. package/dist/chunk-ELJX3QIQ.js +0 -424
  437. package/dist/chunk-ELJX3QIQ.js.map +0 -7
  438. package/dist/chunk-EM6KUVI5.js +0 -194
  439. package/dist/chunk-F4GYWCRF.js +0 -302
  440. package/dist/chunk-FJ3JD7B3.js +0 -59
  441. package/dist/chunk-FW3ME75U.js +0 -54
  442. package/dist/chunk-FXQXCOII.js +0 -101
  443. package/dist/chunk-FXQXCOII.js.map +0 -7
  444. package/dist/chunk-G2X2PN74.js +0 -783
  445. package/dist/chunk-G3QKTYUT.js +0 -2676
  446. package/dist/chunk-G5USS6FI.js +0 -56
  447. package/dist/chunk-GLPTPX45.js +0 -203
  448. package/dist/chunk-GPY6SBCX.js +0 -339
  449. package/dist/chunk-GWHIKECP.js +0 -1731
  450. package/dist/chunk-GWHIKECP.js.map +0 -7
  451. package/dist/chunk-GWVVEOYX.js +0 -263
  452. package/dist/chunk-HDV3LHCN.js +0 -379
  453. package/dist/chunk-HGXSYPU6.js +0 -2327
  454. package/dist/chunk-HMKEVTRM.js +0 -446
  455. package/dist/chunk-HPCKKXRK.js +0 -1233
  456. package/dist/chunk-IAB2PRIH.js +0 -396
  457. package/dist/chunk-IAB2PRIH.js.map +0 -7
  458. package/dist/chunk-J5JBHGRN.js +0 -31
  459. package/dist/chunk-JHOGTGIS.js +0 -1988
  460. package/dist/chunk-KCX54MGS.js +0 -480
  461. package/dist/chunk-KVRSO2OZ.js +0 -34
  462. package/dist/chunk-M367Y7ML.js +0 -140
  463. package/dist/chunk-M4PUW3ML.js +0 -243
  464. package/dist/chunk-ME325OQC.js +0 -562
  465. package/dist/chunk-NJWNKBRC.js +0 -468
  466. package/dist/chunk-O5FUHCNU.js +0 -397
  467. package/dist/chunk-ODHQPTHU.js +0 -134
  468. package/dist/chunk-PTQ4GQCS.js +0 -692
  469. package/dist/chunk-PUSSP76H.js +0 -70
  470. package/dist/chunk-Q3PAXUCU.js +0 -54
  471. package/dist/chunk-QWBKN2IC.js +0 -80
  472. package/dist/chunk-R4E7BXC6.js +0 -49
  473. package/dist/chunk-SDYFM3UL.js +0 -274
  474. package/dist/chunk-SP6WCXY6.js +0 -217
  475. package/dist/chunk-SRTZQOK7.js +0 -102
  476. package/dist/chunk-T4RYLTR3.js +0 -178
  477. package/dist/chunk-TANWA6SU.js +0 -54
  478. package/dist/chunk-TBIHBC5V.js +0 -170
  479. package/dist/chunk-TGTCOCPF.js +0 -1278
  480. package/dist/chunk-TOFOT2BN.js +0 -294
  481. package/dist/chunk-UOYIPBTX.js +0 -217
  482. package/dist/chunk-USULBM4V.js +0 -2784
  483. package/dist/chunk-UYKJOBRO.js +0 -1616
  484. package/dist/chunk-UYKJOBRO.js.map +0 -7
  485. package/dist/chunk-V3WSMWBF.js +0 -123
  486. package/dist/chunk-VTHZGUSZ.js +0 -2146
  487. package/dist/chunk-VTHZGUSZ.js.map +0 -7
  488. package/dist/chunk-WMQDFVJK.js +0 -103
  489. package/dist/chunk-WTQQWFV4.js +0 -38
  490. package/dist/chunk-XDLKYVYU.js +0 -276
  491. package/dist/chunk-XNJN5J3U.js +0 -37
  492. package/dist/chunk-XQLOEZ7T.js +0 -158
  493. package/dist/chunk-XQLOEZ7T.js.map +0 -7
  494. package/dist/chunk-Y3SDMRDX.js +0 -119
  495. package/dist/chunk-Y5FE3G6J.js +0 -518
  496. package/dist/chunk-YMEWZVRG.js +0 -237
  497. package/dist/chunk-YPHFEKWI.js +0 -1339
  498. package/dist/chunk-Z4HW3FEE.js +0 -272
  499. package/dist/cohort-NYFUILFO.js +0 -70
  500. package/dist/condition-6M4AVISY.js +0 -327
  501. package/dist/controls-LMTWS3SY.js +0 -34
  502. package/dist/controls.config-4PK7HLFJ.js +0 -34
  503. package/dist/correlation-X6GB6ITK.js +0 -95
  504. package/dist/customdata.inputui-MDG3BTTG.js +0 -284
  505. package/dist/dataDownload-TFRI3VFM.js +0 -329
  506. package/dist/databrowser.ui-L2K7VVDW.js +0 -425
  507. package/dist/dictionary-MS6R3VNY.js +0 -113
  508. package/dist/dnaMethylation-2KYSQWNE.js +0 -33
  509. package/dist/dnaMethylation.integration.spec-2BHNKOGN.js +0 -198
  510. package/dist/dofetch-BETN7HEX.js +0 -48
  511. package/dist/e2pca-QC2EI5JM.js +0 -344
  512. package/dist/ep-BTRMR4OT.js +0 -1249
  513. package/dist/expclust.gdc.spec-C5ZMBCGO.js +0 -302
  514. package/dist/facet-LPXKLX53.js +0 -519
  515. package/dist/gb-PHJ2SM5D.js +0 -81
  516. package/dist/geneExpClustering-OXZJHEPD.js +0 -244
  517. package/dist/geneExpression-54RGEGML.js +0 -310
  518. package/dist/geneExpression-FLBQXMSX.js +0 -33
  519. package/dist/geneExpression.unit.spec-ZCE7G6HI.js +0 -128
  520. package/dist/geneORA-TELI5AFV.js +0 -273
  521. package/dist/geneRanking-7YZA5GNG.js +0 -548
  522. package/dist/geneVariant-NJYUEY4C.js +0 -36
  523. package/dist/geneVariant-VKWTXUMK.js +0 -289
  524. package/dist/geneVariant.integration.spec-RWYP523U.js +0 -503
  525. package/dist/genefusion.ui-B6J7I3RA.js +0 -303
  526. package/dist/geneset-VG4SFYML.js +0 -203
  527. package/dist/genomeBrowser.spec-5IS5Y2NG.js +0 -276
  528. package/dist/grin2-3T6KRC34.js +0 -70
  529. package/dist/grin2-FOOH736B.js +0 -949
  530. package/dist/hierCluster-WLAFGZAT.js +0 -55
  531. package/dist/hierCluster-XBL2TOOL.js +0 -59
  532. package/dist/hierCluster.config-VCBRBGDZ.js +0 -36
  533. package/dist/hierCluster.integration.spec-TNJD2QT6.js +0 -483
  534. package/dist/hierCluster.integration.spec-TNJD2QT6.js.map +0 -7
  535. package/dist/hierCluster.interactivity-PEEJ3BRC.js +0 -49
  536. package/dist/hierCluster.renderers-7ESGKIGM.js +0 -19
  537. package/dist/imagePlot-LWL6JMKM.js +0 -156
  538. package/dist/importPlot-CLBY6QZN.js +0 -8
  539. package/dist/isoformExpression-36P3BBN7.js +0 -35
  540. package/dist/isoformExpression.unit.spec-SF2SPTRC.js +0 -237
  541. package/dist/junction-B7DSIG4E.js +0 -36
  542. package/dist/junction.customTerm-7VZS4JDE.js +0 -16
  543. package/dist/junction.unit.spec-4MWU36MR.js +0 -182
  544. package/dist/launch.adhoc-3B34GV4S.js +0 -37
  545. package/dist/leftlabel.sample-6OM5H67E.js +0 -258
  546. package/dist/lollipop-SL2F5G6K.js +0 -166
  547. package/dist/maf-FRYGN5GR.js +0 -455
  548. package/dist/maftimeline-3UFWS73J.js +0 -587
  549. package/dist/matrix-DDKSOJ4C.js +0 -59
  550. package/dist/matrix-H2ZH2QKC.js +0 -54
  551. package/dist/matrix.cells-JTMC35SK.js +0 -26
  552. package/dist/matrix.config-EUBXWEBS.js +0 -37
  553. package/dist/matrix.data-CO5RBWY5.js +0 -23
  554. package/dist/matrix.dom-2SA43BPT.js +0 -11
  555. package/dist/matrix.groups-AKOJ2W6U.js +0 -26
  556. package/dist/matrix.integration.spec-66KNZO3S.js +0 -3160
  557. package/dist/matrix.interactivity-DY5YJIYB.js +0 -37
  558. package/dist/matrix.layout-MQQNHBI2.js +0 -39
  559. package/dist/matrix.legend-CGU7T6GF.js +0 -20
  560. package/dist/matrix.renderers-HC7PJN4B.js +0 -34
  561. package/dist/matrix.serieses-W4L6ZO37.js +0 -19
  562. package/dist/matrix.sort-T74DWFB2.js +0 -26
  563. package/dist/matrix.sort.unit.spec-EQEHQXTO.js +0 -468
  564. package/dist/matrix.sorterUi-GFQG4HFV.js +0 -16
  565. package/dist/matrix.sorterUi.unit.spec-XQHFOEYE.js +0 -338
  566. package/dist/matrix.unit.spec-4ZWUGZUC.js +0 -150
  567. package/dist/mavb-3CL5OHWB.js +0 -727
  568. package/dist/mds.fimo-2RFJQKJM.js +0 -513
  569. package/dist/mds.samplescatterplot-X6CXMY4C.js +0 -1545
  570. package/dist/mds.survivalplot-57NIKSSH.js +0 -477
  571. package/dist/multivalue-3TUGYL4J.js +0 -83
  572. package/dist/numericDictTermCluster-RLX5CLTN.js +0 -63
  573. package/dist/oncomatrix-COK76MJN.js +0 -290
  574. package/dist/oncomatrix.spec-SO3ZN5BF.js +0 -443
  575. package/dist/plot.2dvaf-TETCE4VG.js +0 -372
  576. package/dist/plot.app-5YUAVZA4.js +0 -36
  577. package/dist/plot.barplot-JUGY5Z7A.js +0 -97
  578. package/dist/plot.boxplot-QZXICT7J.js +0 -146
  579. package/dist/plot.brainImaging-2F6E6QS4.js +0 -51
  580. package/dist/plot.disco-H4P4B6QS.js +0 -99
  581. package/dist/plot.ssgq-LEQF3STZ.js +0 -134
  582. package/dist/plot.vaf2cov-UBMD2CN7.js +0 -253
  583. package/dist/polar2-AVEZM2T5.js +0 -232
  584. package/dist/profileForms-CUSUGTPC.js +0 -941
  585. package/dist/profilePlot-67Z7AXQ4.js +0 -49
  586. package/dist/proteinView-7K7VHGX3.js +0 -1357
  587. package/dist/proteomeCohortCompare-MRGH6HHI.js +0 -912
  588. package/dist/pseudbulk.unit.spec-ZHDL6GIM.js +0 -86
  589. package/dist/pseudobulk-ZNXPF7QB.js +0 -35
  590. package/dist/qualitative-QXMZHDWU.js +0 -38
  591. package/dist/radar2-QJDGNLED.js +0 -327
  592. package/dist/radarFacility2-LGGOOWX4.js +0 -335
  593. package/dist/rememberedGvQ.unit.spec-YKUMMYFT.js +0 -211
  594. package/dist/render-LSSRZJY3.js +0 -33
  595. package/dist/report-TTECPO44.js +0 -217
  596. package/dist/sampleView-EFS2UBRS.js +0 -43
  597. package/dist/samplelst-FXULLJBO.js +0 -106
  598. package/dist/samplematrix-MNFCXOWO.js +0 -2193
  599. package/dist/sc-2BUOXML2.js +0 -81
  600. package/dist/scatter-AVRTALYY.js +0 -925
  601. package/dist/scatter-CPEIVL3K.js +0 -88
  602. package/dist/selectGenomeWithTklst-3BG2ZPPN.js +0 -129
  603. package/dist/singleCellCellType-QLAEBVN2.js +0 -33
  604. package/dist/singleCellCellType.unit.spec-P4NAWYKL.js +0 -154
  605. package/dist/singleCellGeneExpression-IZ2PMDDL.js +0 -33
  606. package/dist/singleCellGeneExpression.unit.spec-DKBZICJM.js +0 -148
  607. package/dist/singleCellNumericValue-NB3QFH7H.js +0 -33
  608. package/dist/singleCellNumericValue.unit.spec-ZKK2KWRQ.js +0 -416
  609. package/dist/singleCellPlot-ZU655L4Z.js +0 -48
  610. package/dist/singlecell-NKPTXVHW.js +0 -1566
  611. package/dist/singlecell-PEIEFXVU.js +0 -81
  612. package/dist/snp-G55JGINX.js +0 -33
  613. package/dist/snp.unit.spec-47CCZKJO.js +0 -171
  614. package/dist/snplocus-TRVAEAPF.js +0 -203
  615. package/dist/spliceevent.a53ss.diagram-FL2R6F22.js +0 -146
  616. package/dist/spliceevent.exonskip.diagram-XDZWTJXR.js +0 -278
  617. package/dist/spliceevent.noeventdiagram-L322N534.js +0 -455
  618. package/dist/ssGSEA-DZY4LFQY.js +0 -33
  619. package/dist/ssGSEA.unit.spec-P6C3VTVZ.js +0 -83
  620. package/dist/stattable-R7O6OIMB.js +0 -117
  621. package/dist/studyCatalog-OMDE4JRD.js +0 -414
  622. package/dist/summarizeCnvGeneexp-A7HW6FJI.js +0 -158
  623. package/dist/summarizeGeneexpSurvival-ODI4HGFH.js +0 -105
  624. package/dist/summarizeMutationCnv-C2YB73OL.js +0 -159
  625. package/dist/summarizeMutationDiagnosis-4Y322NYU.js +0 -35
  626. package/dist/summarizeMutationSurvival-7IHNURLC.js +0 -99
  627. package/dist/summary-E4L5MZTF.js +0 -44
  628. package/dist/summary.integration.spec-SDCGE6BQ.js +0 -409
  629. package/dist/summaryInput-DHIMU5DM.js +0 -242
  630. package/dist/sunburst-ULNPFEAM.js +0 -278
  631. package/dist/survival-CU4N5KZO.js +0 -53
  632. package/dist/survival-KWWH6REE.js +0 -1248
  633. package/dist/survival.integration.spec-UW6SYVLP.js +0 -613
  634. package/dist/svgraph-HFI6NNF3.js +0 -1382
  635. package/dist/svmr-VHS7Z4SO.js +0 -3837
  636. package/dist/table-GJUXHKQI.js +0 -197
  637. package/dist/termCollection-CCZ4BFIU.js +0 -33
  638. package/dist/termCollection-O5CQ472U.js +0 -252
  639. package/dist/termCollection.unit.spec-KR5G6JFU.js +0 -299
  640. package/dist/termCollectionFractionSelection-IKU5MFBT.js +0 -42
  641. package/dist/termCollectionFractionSelection.unit.spec-6ZWHNGES.js +0 -188
  642. package/dist/tk-3DLMAFW7.js +0 -41
  643. package/dist/tk-CAYWF7LX.js +0 -1121
  644. package/dist/tp.ui-NF5ZYOHW.js +0 -1454
  645. package/dist/tvs.density-V6ZXSFGF.js +0 -19
  646. package/dist/tvs.dt-43A4SSLG.js +0 -34
  647. package/dist/tvs.dtcnv.categorical-DYXHUNP2.js +0 -35
  648. package/dist/tvs.dtcnv.continuous-NOKNP4UG.js +0 -67
  649. package/dist/tvs.dtfusion-4NAOCC2X.js +0 -35
  650. package/dist/tvs.dtitd-SZC6EITI.js +0 -35
  651. package/dist/tvs.dtsnvindel-EYSBCNQK.js +0 -35
  652. package/dist/tvs.dtsv-VSPWIIFO.js +0 -35
  653. package/dist/tvs.numeric-M5LH3PRH.js +0 -20
  654. package/dist/tvs.samplelst-3YQ4GKNG.js +0 -98
  655. package/dist/tvs.termCollection-EVM4ATPW.js +0 -124
  656. package/dist/tvs.termCollection-EVM4ATPW.js.map +0 -7
  657. package/dist/vocabulary-HCPEIO2P.js +0 -36
  658. package/dist/wsi.direct-K2J6GGWY.js +0 -8343
  659. /package/dist/{2dmaf-7VZ536T5.js.map → 2dmaf-FEZRNHDF.js.map} +0 -0
  660. /package/dist/{AggMatrixInput-UTUOXTGA.js.map → AggMatrixInput-6FJIELYO.js.map} +0 -0
  661. /package/dist/{AggregateMatrix-X75HUZYO.js.map → AggregateMatrix-MUPBUGIZ.js.map} +0 -0
  662. /package/dist/{AppHeader-X2DR6VSM.js.map → AppHeader-ZTNZ62UL.js.map} +0 -0
  663. /package/dist/{CorrelationVolcano-IDBUJH2E.js.map → CorrelationVolcano-42NYXAXG.js.map} +0 -0
  664. /package/dist/{Cuminc-BYFIMOLO.js.map → Cuminc-6AKLT6HF.js.map} +0 -0
  665. /package/dist/{DE-BI7DHHW4.js.map → DE-KJHFZWND.js.map} +0 -0
  666. /package/dist/{DEinput-W66CT4U2.js.map → DEinput-HXB3LYZW.js.map} +0 -0
  667. /package/dist/{DM-62TEJA3C.js.map → DM-AAHX4PLH.js.map} +0 -0
  668. /package/dist/{DifferentialAnalysis-PRTA6CYW.js.map → DifferentialAnalysis-JX4EDEOY.js.map} +0 -0
  669. /package/dist/{Disco-4JQP3FRW.js.map → Disco-GXKO4QQH.js.map} +0 -0
  670. /package/dist/{Disco.UI-6RHAA5KU.js.map → Disco.UI-DGD4RXJP.js.map} +0 -0
  671. /package/dist/{DmrPlot-VYQYMTQ7.js.map → DmrPlot-DQ3XTMTN.js.map} +0 -0
  672. /package/dist/{GB-LULUM5LH.js.map → GB-OUWNNBBK.js.map} +0 -0
  673. /package/dist/{GSEA-DT3SYXOZ.js.map → GSEA-DSKGFAPG.js.map} +0 -0
  674. /package/dist/{GeneExpInput-UILWAGRH.js.map → GeneExpInput-FZLOBE2Q.js.map} +0 -0
  675. /package/dist/{Geomap-AFKEGMR5.js.map → Geomap-GP5KD3OX.js.map} +0 -0
  676. /package/dist/{HicApp-APDL5POY.js.map → HicApp-2N6WYWZX.js.map} +0 -0
  677. /package/dist/{IDCViewer-DQXAORHT.js.map → IDCViewer-MSUC7IXX.js.map} +0 -0
  678. /package/dist/{NumBinaryEditor-OUVIOEH7.js.map → NumBinaryEditor-C4G2IH36.js.map} +0 -0
  679. /package/dist/{NumBinaryEditor.unit.spec-VBX2X4CT.js.map → NumBinaryEditor.unit.spec-ZAVAUGXA.js.map} +0 -0
  680. /package/dist/{NumContEditor-JVPRBZPW.js.map → NumContEditor-VEEMMWHX.js.map} +0 -0
  681. /package/dist/{NumContEditor.unit.spec-EQNB6RMI.js.map → NumContEditor.unit.spec-65ORC42O.js.map} +0 -0
  682. /package/dist/{NumCustomBinEditor-E2SXZDF4.js.map → NumCustomBinEditor-YIUHJAXP.js.map} +0 -0
  683. /package/dist/{NumCustomBinEditor.unit.spec-VLR7MGNL.js.map → NumCustomBinEditor.unit.spec-NT5VK2LO.js.map} +0 -0
  684. /package/dist/{NumDiscreteEditor-CUA55FU3.js.map → NumDiscreteEditor-A4WELAJH.js.map} +0 -0
  685. /package/dist/{NumDiscreteEditor.unit.spec-7IPCMUDQ.js.map → NumDiscreteEditor.unit.spec-7QABM6KK.js.map} +0 -0
  686. /package/dist/{NumRegularBinEditor-CWU7YBEP.js.map → NumRegularBinEditor-IPVPLSQY.js.map} +0 -0
  687. /package/dist/{NumRegularBinEditor.unit.spec-RGV3EUPC.js.map → NumRegularBinEditor.unit.spec-Q4DMWATB.js.map} +0 -0
  688. /package/dist/{NumSplineEditor-PC5X7AUJ.js.map → NumSplineEditor-5E6CIWLP.js.map} +0 -0
  689. /package/dist/{NumSplineEditor.unit.spec-QCR3RL5W.js.map → NumSplineEditor.unit.spec-DHJF5F6H.js.map} +0 -0
  690. /package/dist/{NumericDensity-CFUEE5ZN.js.map → NumericDensity-GXMWWK2A.js.map} +0 -0
  691. /package/dist/{NumericDensity.unit.spec-JOCVEC32.js.map → NumericDensity.unit.spec-OAPOMSEW.js.map} +0 -0
  692. /package/dist/{NumericHandler-VL2Z55KF.js.map → NumericHandler-H5WHGFXD.js.map} +0 -0
  693. /package/dist/{NumericHandler.unit.spec-ULM5FSSA.js.map → NumericHandler.unit.spec-PBNOJEMS.js.map} +0 -0
  694. /package/dist/{ProteomeInput-3WKTVCYT.js.map → ProteomeInput-ZA7R5S43.js.map} +0 -0
  695. /package/dist/{Regression-M7AQTYXL.js.map → Regression-WSWTSXFX.js.map} +0 -0
  696. /package/dist/{RunChart2-54SVOXJR.js.map → RunChart2-J5CTJI5C.js.map} +0 -0
  697. /package/dist/{Volcano-T57VFSWR.js.map → Volcano-4IEQIEDS.js.map} +0 -0
  698. /package/dist/{Wsi-U3U3EILE.js.map → Wsi-LJ6AY5RI.js.map} +0 -0
  699. /package/dist/{adSandbox-S3JP7XF3.js.map → adSandbox-EIN4KEML.js.map} +0 -0
  700. /package/dist/{animatedBubbleChart-LZKNERIM.js.map → animatedBubbleChart-LINYUKMD.js.map} +0 -0
  701. /package/dist/{app-2MERLGNJ.js.map → app-SE7UQ5DB.js.map} +0 -0
  702. /package/dist/{app-ZNSUUOFJ.js.map → app-VGMZNGWP.js.map} +0 -0
  703. /package/dist/{bam-ESRPS4TQ.js.map → bam-ZXEZWRSZ.js.map} +0 -0
  704. /package/dist/{barchart-BPUEO4RK.js.map → barchart-N4B4C2FO.js.map} +0 -0
  705. /package/dist/{barchart2-Z36PNSM2.js.map → barchart2-EDVEWTVX.js.map} +0 -0
  706. /package/dist/{block-GEG4UUOU.js.map → block-E7YUGCHL.js.map} +0 -0
  707. /package/dist/{block.init-SB6OX35E.js.map → block.init-FSOCF2IM.js.map} +0 -0
  708. /package/dist/{block.mds.expressionrank-2JLMS334.js.map → block.mds.expressionrank-EDBTITXU.js.map} +0 -0
  709. /package/dist/{block.mds.geneboxplot-BZMGG6G3.js.map → block.mds.geneboxplot-GG5672SY.js.map} +0 -0
  710. /package/dist/{block.mds.junction-636PWE2O.js.map → block.mds.junction-HUC4S24K.js.map} +0 -0
  711. /package/dist/{block.mds.svcnv-S4L2HMZW.js.map → block.mds.svcnv-EQHYCIBU.js.map} +0 -0
  712. /package/dist/{block.svg-A7EABUXG.js.map → block.svg-HBVPUQJ2.js.map} +0 -0
  713. /package/dist/{block.tk.aicheck-KNFJVUTW.js.map → block.tk.aicheck-TRJ5IIWZ.js.map} +0 -0
  714. /package/dist/{block.tk.ase-BPU25OLX.js.map → block.tk.ase-COV7YYYO.js.map} +0 -0
  715. /package/dist/{block.tk.bam-VC4CZCUS.js.map → block.tk.bam-MDSLY6NH.js.map} +0 -0
  716. /package/dist/{block.tk.bedgraphdot-FQS4Z4RC.js.map → block.tk.bedgraphdot-MKWEL53X.js.map} +0 -0
  717. /package/dist/{block.tk.bigwig.ui-7STXSD3X.js.map → block.tk.bigwig.ui-UKKJX7TA.js.map} +0 -0
  718. /package/dist/{block.tk.hicstraw-CVDCOMPP.js.map → block.tk.hicstraw-6LNXEIOF.js.map} +0 -0
  719. /package/dist/{block.tk.junction-PG4RZFH3.js.map → block.tk.junction-F3SERFFD.js.map} +0 -0
  720. /package/dist/{block.tk.junction.textmatrixui-JRW4ZJIK.js.map → block.tk.junction.textmatrixui-2XUMSKLS.js.map} +0 -0
  721. /package/dist/{block.tk.ld-DLDP2NHJ.js.map → block.tk.ld-COP5RUJJ.js.map} +0 -0
  722. /package/dist/{block.tk.menu-PWGFMKBQ.js.map → block.tk.menu-SRDPD44N.js.map} +0 -0
  723. /package/dist/{block.tk.pgv-HOBOXQIN.js.map → block.tk.pgv-3SVINTXN.js.map} +0 -0
  724. /package/dist/{brainImaging-GUQTOHQF.js.map → brainImaging-UNBA4KA3.js.map} +0 -0
  725. /package/dist/{brainRegions-JWBIBCTG.js.map → brainRegions-DC6TQB53.js.map} +0 -0
  726. /package/dist/{bubbleHeatmap-EUO3DUVT.js.map → bubbleHeatmap-X3W3AZJY.js.map} +0 -0
  727. /package/dist/{cellTypeBubbleHeatmap-TIBGPZTB.js.map → cellTypeBubbleHeatmap-LFI6TGOO.js.map} +0 -0
  728. /package/dist/{chunk-SRTZQOK7.js.map → chunk-2ANFUNS3.js.map} +0 -0
  729. /package/dist/{chunk-TGTCOCPF.js.map → chunk-2G4SFRWC.js.map} +0 -0
  730. /package/dist/{chunk-Q3PAXUCU.js.map → chunk-2WKGE7BO.js.map} +0 -0
  731. /package/dist/{chunk-YMEWZVRG.js.map → chunk-3CGMCYZB.js.map} +0 -0
  732. /package/dist/{chunk-6MQPXWOR.js.map → chunk-3I4DBVLM.js.map} +0 -0
  733. /package/dist/{chunk-O5FUHCNU.js.map → chunk-42VFF74T.js.map} +0 -0
  734. /package/dist/{chunk-BLYD6SQO.js.map → chunk-4HTRCXLS.js.map} +0 -0
  735. /package/dist/{chunk-D4XHYQNS.js.map → chunk-55T2AMJ3.js.map} +0 -0
  736. /package/dist/{chunk-GLPTPX45.js.map → chunk-5JDG5NNA.js.map} +0 -0
  737. /package/dist/{chunk-3TV5WWUN.js.map → chunk-6AFMWQXZ.js.map} +0 -0
  738. /package/dist/{chunk-TOFOT2BN.js.map → chunk-6ECKCC4X.js.map} +0 -0
  739. /package/dist/{chunk-BX3P73XH.js.map → chunk-6QMC7LFA.js.map} +0 -0
  740. /package/dist/{chunk-7DSL65G7.js.map → chunk-72L6NTNT.js.map} +0 -0
  741. /package/dist/{chunk-EM6KUVI5.js.map → chunk-7ISAV37C.js.map} +0 -0
  742. /package/dist/{chunk-R4E7BXC6.js.map → chunk-A32XQLMP.js.map} +0 -0
  743. /package/dist/{chunk-SDYFM3UL.js.map → chunk-A3MYBXG3.js.map} +0 -0
  744. /package/dist/{chunk-YPHFEKWI.js.map → chunk-AU3Y6IQF.js.map} +0 -0
  745. /package/dist/{chunk-NJWNKBRC.js.map → chunk-AXL3CC4U.js.map} +0 -0
  746. /package/dist/{chunk-3ELYMSGO.js.map → chunk-BSWVDH75.js.map} +0 -0
  747. /package/dist/{chunk-4Y5W26UF.js.map → chunk-CME6DYDH.js.map} +0 -0
  748. /package/dist/{chunk-Y3SDMRDX.js.map → chunk-DD3DWHUY.js.map} +0 -0
  749. /package/dist/{chunk-HGXSYPU6.js.map → chunk-DKED35KW.js.map} +0 -0
  750. /package/dist/{chunk-AR2UIN77.js.map → chunk-DPGALT5N.js.map} +0 -0
  751. /package/dist/{chunk-AB6JQFIQ.js.map → chunk-DPTGY4BW.js.map} +0 -0
  752. /package/dist/{chunk-HDV3LHCN.js.map → chunk-DQD4MTK4.js.map} +0 -0
  753. /package/dist/{chunk-M4PUW3ML.js.map → chunk-EFLRT7JY.js.map} +0 -0
  754. /package/dist/{chunk-KVRSO2OZ.js.map → chunk-EMSO3BNW.js.map} +0 -0
  755. /package/dist/{chunk-XDLKYVYU.js.map → chunk-F5QB5YEE.js.map} +0 -0
  756. /package/dist/{chunk-E76UYIT2.js.map → chunk-FKSR53VK.js.map} +0 -0
  757. /package/dist/{chunk-T4RYLTR3.js.map → chunk-FSWBNSQD.js.map} +0 -0
  758. /package/dist/{chunk-XNJN5J3U.js.map → chunk-G6ZIO5T3.js.map} +0 -0
  759. /package/dist/{chunk-ME325OQC.js.map → chunk-HTZJQNHP.js.map} +0 -0
  760. /package/dist/{chunk-G5USS6FI.js.map → chunk-ITYNHDDD.js.map} +0 -0
  761. /package/dist/{chunk-TBIHBC5V.js.map → chunk-IWVCFZHQ.js.map} +0 -0
  762. /package/dist/{chunk-GWVVEOYX.js.map → chunk-J4WRX5G6.js.map} +0 -0
  763. /package/dist/{chunk-GPY6SBCX.js.map → chunk-JZLIHI6A.js.map} +0 -0
  764. /package/dist/{chunk-WMQDFVJK.js.map → chunk-KJGYGPJZ.js.map} +0 -0
  765. /package/dist/{chunk-UOYIPBTX.js.map → chunk-L3UFI52T.js.map} +0 -0
  766. /package/dist/{chunk-PTQ4GQCS.js.map → chunk-L4ZPMF7E.js.map} +0 -0
  767. /package/dist/{chunk-F4GYWCRF.js.map → chunk-L62JI5UL.js.map} +0 -0
  768. /package/dist/{chunk-Y5FE3G6J.js.map → chunk-MRPYHLFW.js.map} +0 -0
  769. /package/dist/{chunk-G2X2PN74.js.map → chunk-MVWJHZ5G.js.map} +0 -0
  770. /package/dist/{chunk-ODHQPTHU.js.map → chunk-NGWU4QLU.js.map} +0 -0
  771. /package/dist/{chunk-3CGAABHZ.js.map → chunk-OC2FSBFB.js.map} +0 -0
  772. /package/dist/{chunk-M367Y7ML.js.map → chunk-OGRDLK57.js.map} +0 -0
  773. /package/dist/{chunk-5XE3WSUX.js.map → chunk-OYBYKZUR.js.map} +0 -0
  774. /package/dist/{chunk-665X7R7S.js.map → chunk-PFRPC2SY.js.map} +0 -0
  775. /package/dist/{chunk-Z4HW3FEE.js.map → chunk-PLHOCPJD.js.map} +0 -0
  776. /package/dist/{chunk-AIVPAC5Q.js.map → chunk-PQDZLOY7.js.map} +0 -0
  777. /package/dist/{chunk-PUSSP76H.js.map → chunk-QDNUIS2Y.js.map} +0 -0
  778. /package/dist/{chunk-G3QKTYUT.js.map → chunk-RHOMR2GY.js.map} +0 -0
  779. /package/dist/{chunk-J5JBHGRN.js.map → chunk-SKF6HQ74.js.map} +0 -0
  780. /package/dist/{chunk-HMKEVTRM.js.map → chunk-SPFK5XZH.js.map} +0 -0
  781. /package/dist/{chunk-DH74ZT37.js.map → chunk-SQGAWR2L.js.map} +0 -0
  782. /package/dist/{chunk-67URJYN7.js.map → chunk-TGKWEAUE.js.map} +0 -0
  783. /package/dist/{chunk-HPCKKXRK.js.map → chunk-UKOOGNUF.js.map} +0 -0
  784. /package/dist/{chunk-V3WSMWBF.js.map → chunk-UL5PEVZW.js.map} +0 -0
  785. /package/dist/{chunk-USULBM4V.js.map → chunk-UTMIX2H2.js.map} +0 -0
  786. /package/dist/{chunk-AXF6SVNQ.js.map → chunk-UZNFOCE7.js.map} +0 -0
  787. /package/dist/{chunk-BSWPONNA.js.map → chunk-V7UVHM57.js.map} +0 -0
  788. /package/dist/{chunk-JHOGTGIS.js.map → chunk-VP2JWT5W.js.map} +0 -0
  789. /package/dist/{chunk-KCX54MGS.js.map → chunk-VSTHBKQW.js.map} +0 -0
  790. /package/dist/{chunk-WTQQWFV4.js.map → chunk-W7A4QXZ7.js.map} +0 -0
  791. /package/dist/{chunk-FJ3JD7B3.js.map → chunk-WKCVZIN7.js.map} +0 -0
  792. /package/dist/{chunk-TANWA6SU.js.map → chunk-X7TJBXJJ.js.map} +0 -0
  793. /package/dist/{chunk-AKKJFMW5.js.map → chunk-XEEMCYP6.js.map} +0 -0
  794. /package/dist/{chunk-FW3ME75U.js.map → chunk-XTQWAVWJ.js.map} +0 -0
  795. /package/dist/{chunk-CW35X5ZL.js.map → chunk-YAN2MOON.js.map} +0 -0
  796. /package/dist/{chunk-ACOHIDWO.js.map → chunk-YCORHJ64.js.map} +0 -0
  797. /package/dist/{chunk-QWBKN2IC.js.map → chunk-YOBTHZVU.js.map} +0 -0
  798. /package/dist/{chunk-SP6WCXY6.js.map → chunk-ZTT6ZHU5.js.map} +0 -0
  799. /package/dist/{cohort-NYFUILFO.js.map → cohort-RF4FT2NT.js.map} +0 -0
  800. /package/dist/{condition-6M4AVISY.js.map → condition-WXE2CFYT.js.map} +0 -0
  801. /package/dist/{controls-LMTWS3SY.js.map → controls-AYF4H7UG.js.map} +0 -0
  802. /package/dist/{controls.config-4PK7HLFJ.js.map → controls.config-TXZKQNYC.js.map} +0 -0
  803. /package/dist/{correlation-X6GB6ITK.js.map → correlation-UAYMVVUS.js.map} +0 -0
  804. /package/dist/{customdata.inputui-MDG3BTTG.js.map → customdata.inputui-I7RFOGYM.js.map} +0 -0
  805. /package/dist/{dataDownload-TFRI3VFM.js.map → dataDownload-4AGSDSEO.js.map} +0 -0
  806. /package/dist/{databrowser.ui-L2K7VVDW.js.map → databrowser.ui-RGJEA2BI.js.map} +0 -0
  807. /package/dist/{dictionary-MS6R3VNY.js.map → dictionary-AWWQXIRP.js.map} +0 -0
  808. /package/dist/{dnaMethylation-2KYSQWNE.js.map → dnaMethylation-PICKZS2M.js.map} +0 -0
  809. /package/dist/{dnaMethylation.integration.spec-2BHNKOGN.js.map → dnaMethylation.integration.spec-JUSB3CFZ.js.map} +0 -0
  810. /package/dist/{dofetch-BETN7HEX.js.map → dofetch-ZJMKEYN2.js.map} +0 -0
  811. /package/dist/{e2pca-QC2EI5JM.js.map → e2pca-K4W7ZJZG.js.map} +0 -0
  812. /package/dist/{ep-BTRMR4OT.js.map → ep-OY5YQMEF.js.map} +0 -0
  813. /package/dist/{expclust.gdc.spec-C5ZMBCGO.js.map → expclust.gdc.spec-LYDBM3TZ.js.map} +0 -0
  814. /package/dist/{facet-LPXKLX53.js.map → facet-7NJHLLCZ.js.map} +0 -0
  815. /package/dist/{gb-PHJ2SM5D.js.map → gb-COV44BMA.js.map} +0 -0
  816. /package/dist/{geneExpClustering-OXZJHEPD.js.map → geneExpClustering-EQR5XX4J.js.map} +0 -0
  817. /package/dist/{geneExpression-54RGEGML.js.map → geneExpression-2BNDQ6S6.js.map} +0 -0
  818. /package/dist/{geneExpression-FLBQXMSX.js.map → geneExpression-PGB6WF5H.js.map} +0 -0
  819. /package/dist/{geneExpression.unit.spec-ZCE7G6HI.js.map → geneExpression.unit.spec-OUNGGOJP.js.map} +0 -0
  820. /package/dist/{geneORA-TELI5AFV.js.map → geneORA-EKNEVQOS.js.map} +0 -0
  821. /package/dist/{geneRanking-7YZA5GNG.js.map → geneRanking-XUXLRERA.js.map} +0 -0
  822. /package/dist/{geneVariant-NJYUEY4C.js.map → geneVariant-JZDYV6LS.js.map} +0 -0
  823. /package/dist/{geneVariant-VKWTXUMK.js.map → geneVariant-KPZ2FYLK.js.map} +0 -0
  824. /package/dist/{geneVariant.integration.spec-RWYP523U.js.map → geneVariant.integration.spec-ISMLGTKC.js.map} +0 -0
  825. /package/dist/{genefusion.ui-B6J7I3RA.js.map → genefusion.ui-GRUXFC4U.js.map} +0 -0
  826. /package/dist/{geneset-VG4SFYML.js.map → geneset-RM4XIX23.js.map} +0 -0
  827. /package/dist/{genomeBrowser.spec-5IS5Y2NG.js.map → genomeBrowser.spec-X7EOK2LS.js.map} +0 -0
  828. /package/dist/{grin2-FOOH736B.js.map → grin2-5XRUMYQO.js.map} +0 -0
  829. /package/dist/{grin2-3T6KRC34.js.map → grin2-SWZLKD52.js.map} +0 -0
  830. /package/dist/{hierCluster-WLAFGZAT.js.map → hierCluster-I6T4XD3P.js.map} +0 -0
  831. /package/dist/{hierCluster-XBL2TOOL.js.map → hierCluster-XVDGUOW7.js.map} +0 -0
  832. /package/dist/{hierCluster.config-VCBRBGDZ.js.map → hierCluster.config-66CKAAPG.js.map} +0 -0
  833. /package/dist/{hierCluster.interactivity-PEEJ3BRC.js.map → hierCluster.interactivity-B5ZNFF4R.js.map} +0 -0
  834. /package/dist/{hierCluster.renderers-7ESGKIGM.js.map → hierCluster.renderers-R2DTKTLI.js.map} +0 -0
  835. /package/dist/{imagePlot-LWL6JMKM.js.map → imagePlot-ZM4IVDJT.js.map} +0 -0
  836. /package/dist/{importPlot-CLBY6QZN.js.map → importPlot-FQ65CZRI.js.map} +0 -0
  837. /package/dist/{isoformExpression-36P3BBN7.js.map → isoformExpression-BFCLGD2U.js.map} +0 -0
  838. /package/dist/{isoformExpression.unit.spec-SF2SPTRC.js.map → isoformExpression.unit.spec-KYI4HI7U.js.map} +0 -0
  839. /package/dist/{junction-B7DSIG4E.js.map → junction-BKH6RWOP.js.map} +0 -0
  840. /package/dist/{junction.customTerm-7VZS4JDE.js.map → junction.customTerm-VNQKP5I4.js.map} +0 -0
  841. /package/dist/{junction.unit.spec-4MWU36MR.js.map → junction.unit.spec-MQIHKSNE.js.map} +0 -0
  842. /package/dist/{launch.adhoc-3B34GV4S.js.map → launch.adhoc-AHTCA2BP.js.map} +0 -0
  843. /package/dist/{leftlabel.sample-6OM5H67E.js.map → leftlabel.sample-LIBMKP22.js.map} +0 -0
  844. /package/dist/{lollipop-SL2F5G6K.js.map → lollipop-26ZQH3EL.js.map} +0 -0
  845. /package/dist/{maf-FRYGN5GR.js.map → maf-W3W2XJ5B.js.map} +0 -0
  846. /package/dist/{maftimeline-3UFWS73J.js.map → maftimeline-LCJD5O2M.js.map} +0 -0
  847. /package/dist/{matrix-DDKSOJ4C.js.map → matrix-H634EZWK.js.map} +0 -0
  848. /package/dist/{matrix-H2ZH2QKC.js.map → matrix-O2AINT5M.js.map} +0 -0
  849. /package/dist/{matrix.cells-JTMC35SK.js.map → matrix.cells-3U3CUU5I.js.map} +0 -0
  850. /package/dist/{matrix.config-EUBXWEBS.js.map → matrix.config-F6IPB5B5.js.map} +0 -0
  851. /package/dist/{matrix.data-CO5RBWY5.js.map → matrix.data-KQNBNYC6.js.map} +0 -0
  852. /package/dist/{matrix.dom-2SA43BPT.js.map → matrix.dom-YQNX4IQO.js.map} +0 -0
  853. /package/dist/{matrix.groups-AKOJ2W6U.js.map → matrix.groups-QFL2ZDHD.js.map} +0 -0
  854. /package/dist/{matrix.integration.spec-66KNZO3S.js.map → matrix.integration.spec-OVGSXJWO.js.map} +0 -0
  855. /package/dist/{matrix.interactivity-DY5YJIYB.js.map → matrix.interactivity-Q5ODZPDL.js.map} +0 -0
  856. /package/dist/{matrix.layout-MQQNHBI2.js.map → matrix.layout-YPYM7FRY.js.map} +0 -0
  857. /package/dist/{matrix.legend-CGU7T6GF.js.map → matrix.legend-ZO57ENXP.js.map} +0 -0
  858. /package/dist/{matrix.renderers-HC7PJN4B.js.map → matrix.renderers-NIGONKWO.js.map} +0 -0
  859. /package/dist/{matrix.serieses-W4L6ZO37.js.map → matrix.serieses-ZQD2U6RF.js.map} +0 -0
  860. /package/dist/{matrix.sort-T74DWFB2.js.map → matrix.sort-RZU65LR2.js.map} +0 -0
  861. /package/dist/{matrix.sort.unit.spec-EQEHQXTO.js.map → matrix.sort.unit.spec-NDFK2A5C.js.map} +0 -0
  862. /package/dist/{matrix.sorterUi-GFQG4HFV.js.map → matrix.sorterUi-MVUI25W7.js.map} +0 -0
  863. /package/dist/{matrix.sorterUi.unit.spec-XQHFOEYE.js.map → matrix.sorterUi.unit.spec-4ZKNOV2L.js.map} +0 -0
  864. /package/dist/{matrix.unit.spec-4ZWUGZUC.js.map → matrix.unit.spec-V5XNLECG.js.map} +0 -0
  865. /package/dist/{mavb-3CL5OHWB.js.map → mavb-LF7A7BDK.js.map} +0 -0
  866. /package/dist/{mds.fimo-2RFJQKJM.js.map → mds.fimo-KJ4HPMZP.js.map} +0 -0
  867. /package/dist/{mds.samplescatterplot-X6CXMY4C.js.map → mds.samplescatterplot-ZHNWWWYI.js.map} +0 -0
  868. /package/dist/{mds.survivalplot-57NIKSSH.js.map → mds.survivalplot-DNG7I22N.js.map} +0 -0
  869. /package/dist/{multivalue-3TUGYL4J.js.map → multivalue-SJQF7PHU.js.map} +0 -0
  870. /package/dist/{numericDictTermCluster-RLX5CLTN.js.map → numericDictTermCluster-O6PKT2FJ.js.map} +0 -0
  871. /package/dist/{oncomatrix-COK76MJN.js.map → oncomatrix-YJCPKS72.js.map} +0 -0
  872. /package/dist/{oncomatrix.spec-SO3ZN5BF.js.map → oncomatrix.spec-MWGBQCIQ.js.map} +0 -0
  873. /package/dist/{plot.2dvaf-TETCE4VG.js.map → plot.2dvaf-KIPQYNEH.js.map} +0 -0
  874. /package/dist/{plot.app-5YUAVZA4.js.map → plot.app-WHG3SEOG.js.map} +0 -0
  875. /package/dist/{plot.barplot-JUGY5Z7A.js.map → plot.barplot-DTSYFUPC.js.map} +0 -0
  876. /package/dist/{plot.boxplot-QZXICT7J.js.map → plot.boxplot-MQDULP3P.js.map} +0 -0
  877. /package/dist/{plot.brainImaging-2F6E6QS4.js.map → plot.brainImaging-DGVJQSCH.js.map} +0 -0
  878. /package/dist/{plot.disco-H4P4B6QS.js.map → plot.disco-HYPRBLMQ.js.map} +0 -0
  879. /package/dist/{plot.ssgq-LEQF3STZ.js.map → plot.ssgq-J5MMN7OD.js.map} +0 -0
  880. /package/dist/{plot.vaf2cov-UBMD2CN7.js.map → plot.vaf2cov-CID7GQB5.js.map} +0 -0
  881. /package/dist/{polar2-AVEZM2T5.js.map → polar2-QTSO2HCB.js.map} +0 -0
  882. /package/dist/{profileForms-CUSUGTPC.js.map → profileForms-SRR2M5OS.js.map} +0 -0
  883. /package/dist/{profilePlot-67Z7AXQ4.js.map → profilePlot-NDC4S2SC.js.map} +0 -0
  884. /package/dist/{proteinView-7K7VHGX3.js.map → proteinView-EFNQL3LD.js.map} +0 -0
  885. /package/dist/{proteomeCohortCompare-MRGH6HHI.js.map → proteomeCohortCompare-WMR53HEL.js.map} +0 -0
  886. /package/dist/{pseudbulk.unit.spec-ZHDL6GIM.js.map → pseudbulk.unit.spec-6MRZNXFI.js.map} +0 -0
  887. /package/dist/{pseudobulk-ZNXPF7QB.js.map → pseudobulk-O5EC44RY.js.map} +0 -0
  888. /package/dist/{qualitative-QXMZHDWU.js.map → qualitative-W6MFYG7Z.js.map} +0 -0
  889. /package/dist/{radar2-QJDGNLED.js.map → radar2-GIQILMWK.js.map} +0 -0
  890. /package/dist/{radarFacility2-LGGOOWX4.js.map → radarFacility2-5YJZ5JCK.js.map} +0 -0
  891. /package/dist/{rememberedGvQ.unit.spec-YKUMMYFT.js.map → rememberedGvQ.unit.spec-B6RQM5LQ.js.map} +0 -0
  892. /package/dist/{render-LSSRZJY3.js.map → render-2J4LR3UI.js.map} +0 -0
  893. /package/dist/{report-TTECPO44.js.map → report-MUMQK6XY.js.map} +0 -0
  894. /package/dist/{sampleView-EFS2UBRS.js.map → sampleView-NKZMNBMH.js.map} +0 -0
  895. /package/dist/{samplelst-FXULLJBO.js.map → samplelst-X74JZMTR.js.map} +0 -0
  896. /package/dist/{samplematrix-MNFCXOWO.js.map → samplematrix-QDQXB5ZG.js.map} +0 -0
  897. /package/dist/{sc-2BUOXML2.js.map → sc-FGHV5CBJ.js.map} +0 -0
  898. /package/dist/{scatter-AVRTALYY.js.map → scatter-QFVRBA7F.js.map} +0 -0
  899. /package/dist/{scatter-CPEIVL3K.js.map → scatter-YXF5VQGZ.js.map} +0 -0
  900. /package/dist/{selectGenomeWithTklst-3BG2ZPPN.js.map → selectGenomeWithTklst-DP4RPV7U.js.map} +0 -0
  901. /package/dist/{singleCellCellType-QLAEBVN2.js.map → singleCellCellType-XCHCMRR6.js.map} +0 -0
  902. /package/dist/{singleCellCellType.unit.spec-P4NAWYKL.js.map → singleCellCellType.unit.spec-S3JTP235.js.map} +0 -0
  903. /package/dist/{singleCellGeneExpression-IZ2PMDDL.js.map → singleCellGeneExpression-FD6REV7Y.js.map} +0 -0
  904. /package/dist/{singleCellGeneExpression.unit.spec-DKBZICJM.js.map → singleCellGeneExpression.unit.spec-PVMZYD4G.js.map} +0 -0
  905. /package/dist/{singleCellNumericValue-NB3QFH7H.js.map → singleCellNumericValue-SIITQPMD.js.map} +0 -0
  906. /package/dist/{singleCellNumericValue.unit.spec-ZKK2KWRQ.js.map → singleCellNumericValue.unit.spec-7PJEHLF7.js.map} +0 -0
  907. /package/dist/{singleCellPlot-ZU655L4Z.js.map → singleCellPlot-YJCFAYJW.js.map} +0 -0
  908. /package/dist/{singlecell-NKPTXVHW.js.map → singlecell-6R7YK5P3.js.map} +0 -0
  909. /package/dist/{singlecell-PEIEFXVU.js.map → singlecell-KHMH732Y.js.map} +0 -0
  910. /package/dist/{snp-G55JGINX.js.map → snp-HXCVSW2F.js.map} +0 -0
  911. /package/dist/{snp.unit.spec-47CCZKJO.js.map → snp.unit.spec-HXMFR4QS.js.map} +0 -0
  912. /package/dist/{snplocus-TRVAEAPF.js.map → snplocus-YQVHAKBC.js.map} +0 -0
  913. /package/dist/{spliceevent.a53ss.diagram-FL2R6F22.js.map → spliceevent.a53ss.diagram-4IBTR3JD.js.map} +0 -0
  914. /package/dist/{spliceevent.exonskip.diagram-XDZWTJXR.js.map → spliceevent.exonskip.diagram-5ZTG65CE.js.map} +0 -0
  915. /package/dist/{spliceevent.noeventdiagram-L322N534.js.map → spliceevent.noeventdiagram-WO5KSC45.js.map} +0 -0
  916. /package/dist/{ssGSEA-DZY4LFQY.js.map → ssGSEA-VJ3LVYJV.js.map} +0 -0
  917. /package/dist/{ssGSEA.unit.spec-P6C3VTVZ.js.map → ssGSEA.unit.spec-JQIJ4NZP.js.map} +0 -0
  918. /package/dist/{stattable-R7O6OIMB.js.map → stattable-COVQSHRZ.js.map} +0 -0
  919. /package/dist/{studyCatalog-OMDE4JRD.js.map → studyCatalog-EXVRH4FI.js.map} +0 -0
  920. /package/dist/{summarizeCnvGeneexp-A7HW6FJI.js.map → summarizeCnvGeneexp-UJBTMXXH.js.map} +0 -0
  921. /package/dist/{summarizeGeneexpSurvival-ODI4HGFH.js.map → summarizeGeneexpSurvival-XLQJGDRY.js.map} +0 -0
  922. /package/dist/{summarizeMutationCnv-C2YB73OL.js.map → summarizeMutationCnv-7RWSXB6F.js.map} +0 -0
  923. /package/dist/{summarizeMutationDiagnosis-4Y322NYU.js.map → summarizeMutationDiagnosis-42MG737O.js.map} +0 -0
  924. /package/dist/{summarizeMutationSurvival-7IHNURLC.js.map → summarizeMutationSurvival-FWVKVEHK.js.map} +0 -0
  925. /package/dist/{summary-E4L5MZTF.js.map → summary-NR26ZPQB.js.map} +0 -0
  926. /package/dist/{summary.integration.spec-SDCGE6BQ.js.map → summary.integration.spec-Z7JSUTGK.js.map} +0 -0
  927. /package/dist/{summaryInput-DHIMU5DM.js.map → summaryInput-DGKUOJVC.js.map} +0 -0
  928. /package/dist/{sunburst-ULNPFEAM.js.map → sunburst-C5JNGFT7.js.map} +0 -0
  929. /package/dist/{survival-CU4N5KZO.js.map → survival-GCEX3EAZ.js.map} +0 -0
  930. /package/dist/{survival-KWWH6REE.js.map → survival-OAQA5JQN.js.map} +0 -0
  931. /package/dist/{survival.integration.spec-UW6SYVLP.js.map → survival.integration.spec-ZX5RD6VQ.js.map} +0 -0
  932. /package/dist/{svgraph-HFI6NNF3.js.map → svgraph-XCFZ2WAG.js.map} +0 -0
  933. /package/dist/{svmr-VHS7Z4SO.js.map → svmr-4XTTURHA.js.map} +0 -0
  934. /package/dist/{table-GJUXHKQI.js.map → table-FQZ4UAH6.js.map} +0 -0
  935. /package/dist/{termCollection-CCZ4BFIU.js.map → termCollection-5QCR6LED.js.map} +0 -0
  936. /package/dist/{termCollection-O5CQ472U.js.map → termCollection-DN6A6HJU.js.map} +0 -0
  937. /package/dist/{termCollection.unit.spec-KR5G6JFU.js.map → termCollection.unit.spec-RSSSXDHU.js.map} +0 -0
  938. /package/dist/{termCollectionFractionSelection-IKU5MFBT.js.map → termCollectionFractionSelection-OSN7FITY.js.map} +0 -0
  939. /package/dist/{termCollectionFractionSelection.unit.spec-6ZWHNGES.js.map → termCollectionFractionSelection.unit.spec-UW6D3DVK.js.map} +0 -0
  940. /package/dist/{tk-3DLMAFW7.js.map → tk-4CZCVYBP.js.map} +0 -0
  941. /package/dist/{tk-CAYWF7LX.js.map → tk-BIPJNXBZ.js.map} +0 -0
  942. /package/dist/{tp.ui-NF5ZYOHW.js.map → tp.ui-NI4U7567.js.map} +0 -0
  943. /package/dist/{tvs.density-V6ZXSFGF.js.map → tvs.density-CB24PXDE.js.map} +0 -0
  944. /package/dist/{tvs.dt-43A4SSLG.js.map → tvs.dt-YRDNDXUU.js.map} +0 -0
  945. /package/dist/{tvs.dtcnv.categorical-DYXHUNP2.js.map → tvs.dtcnv.categorical-REP4T33P.js.map} +0 -0
  946. /package/dist/{tvs.dtcnv.continuous-NOKNP4UG.js.map → tvs.dtcnv.continuous-K7OREEP5.js.map} +0 -0
  947. /package/dist/{tvs.dtfusion-4NAOCC2X.js.map → tvs.dtfusion-AB5MPH3Q.js.map} +0 -0
  948. /package/dist/{tvs.dtitd-SZC6EITI.js.map → tvs.dtitd-AFWU7ACY.js.map} +0 -0
  949. /package/dist/{tvs.dtsnvindel-EYSBCNQK.js.map → tvs.dtsnvindel-G7XQEKEO.js.map} +0 -0
  950. /package/dist/{tvs.dtsv-VSPWIIFO.js.map → tvs.dtsv-Y6BEY4J2.js.map} +0 -0
  951. /package/dist/{tvs.numeric-M5LH3PRH.js.map → tvs.numeric-GF4XF5OF.js.map} +0 -0
  952. /package/dist/{tvs.samplelst-3YQ4GKNG.js.map → tvs.samplelst-XRRWPC2E.js.map} +0 -0
  953. /package/dist/{vocabulary-HCPEIO2P.js.map → vocabulary-DJZWOO6Q.js.map} +0 -0
  954. /package/dist/{wsi.direct-K2J6GGWY.js.map → wsi.direct-XUWANMKV.js.map} +0 -0
@@ -0,0 +1,1416 @@
1
+ import {
2
+ appInit
3
+ } from "./chunk-SQGAWR2L.js";
4
+ import "./chunk-V7UVHM57.js";
5
+ import {
6
+ getDefaultViolinSettings
7
+ } from "./chunk-W7A4QXZ7.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-AU3Y6IQF.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-K7HFOAR7.js";
26
+ import "./chunk-HJ6L54YS.js";
27
+ import "./chunk-KV4W2ACA.js";
28
+ import "./chunk-FSWBNSQD.js";
29
+ import {
30
+ Menu
31
+ } from "./chunk-7XZA2XR2.js";
32
+ import "./chunk-DD3DWHUY.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-GP4VLNMZ.js";
39
+ import "./chunk-6AFMWQXZ.js";
40
+ import {
41
+ dictionaryNumericTypes,
42
+ isDictionaryType,
43
+ isNumericTw,
44
+ numericTypes
45
+ } from "./chunk-CME6DYDH.js";
46
+ import "./chunk-57Z4VYLM.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-6XKAOSQE.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="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-WSWTSXFX.js.map