@sjcrh/proteinpaint-client 2.205.0 → 2.206.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (928) hide show
  1. package/dist/2dmaf-XWKIQYRN.js +1367 -0
  2. package/dist/AggMatrixInput-D3HJXDOD.js +277 -0
  3. package/dist/AggregateMatrix-E2JZY5N5.js +41 -0
  4. package/dist/AppHeader-SR6LMFTW.js +830 -0
  5. package/dist/BoxPlot-G2LRWABH.js +1211 -0
  6. package/dist/CorrelationVolcano-CCQGOSR7.js +614 -0
  7. package/dist/Cuminc-QB6GE5MI.js +1219 -0
  8. package/dist/DE-JI7E7ZXU.js +89 -0
  9. package/dist/DEinput-B4A5UV4P.js +499 -0
  10. package/dist/DM-4OAF6WPS.js +90 -0
  11. package/dist/DifferentialAnalysis-6JMGV5JF.js +237 -0
  12. package/dist/Disco-F4HZYRGX.js +3389 -0
  13. package/dist/Disco.UI-KCIEUVNG.js +243 -0
  14. package/dist/DmrPlot-5M7E7NBT.js +637 -0
  15. package/dist/GB-KHKZQN5I.js +1391 -0
  16. package/dist/GSEA-CDGWJUFE.js +851 -0
  17. package/dist/GeneExpInput-CQVMNIRI.js +362 -0
  18. package/dist/Geomap-3F6FO54H.js +84 -0
  19. package/dist/HicApp-R3V46WEK.js +2245 -0
  20. package/dist/IDCViewer-2CGUU7EW.js +10812 -0
  21. package/dist/NumBinaryEditor-3LF334ID.js +279 -0
  22. package/dist/NumBinaryEditor.unit.spec-EIR7WOOV.js +312 -0
  23. package/dist/NumContEditor-CJEBKLS4.js +105 -0
  24. package/dist/NumContEditor.unit.spec-BKF3HKHP.js +164 -0
  25. package/dist/NumCustomBinEditor-BQI2NVI2.js +33 -0
  26. package/dist/NumCustomBinEditor.unit.spec-YWQL7STR.js +397 -0
  27. package/dist/NumDiscreteEditor-4VYL7IOM.js +170 -0
  28. package/dist/NumDiscreteEditor.unit.spec-CSORXLUZ.js +233 -0
  29. package/dist/NumRegularBinEditor-NSPZ7ZHQ.js +33 -0
  30. package/dist/NumRegularBinEditor.unit.spec-77FOOCQ7.js +278 -0
  31. package/dist/NumSplineEditor-CWZGMWF5.js +210 -0
  32. package/dist/NumSplineEditor.unit.spec-E6ITDOHV.js +224 -0
  33. package/dist/NumericDensity-TVXZG4E5.js +33 -0
  34. package/dist/NumericDensity.unit.spec-O6SIEDAM.js +418 -0
  35. package/dist/NumericHandler-LNQG3OWJ.js +34 -0
  36. package/dist/NumericHandler.unit.spec-3IJCPTRH.js +214 -0
  37. package/dist/ProteomeInput-SIYPPLOB.js +388 -0
  38. package/dist/Regression-EOITDTFO.js +1416 -0
  39. package/dist/RunChart2-7BIEDW6G.js +749 -0
  40. package/dist/SC-O4BKP23M.js +1107 -0
  41. package/dist/Violin-G35Y5F45.js +1082 -0
  42. package/dist/Volcano-DZVC5GSW.js +1649 -0
  43. package/dist/Wsi-LKBGTHZJ.js +431 -0
  44. package/dist/adSandbox-URTCAPSS.js +33 -0
  45. package/dist/animatedBubbleChart-KFIELJWN.js +547 -0
  46. package/dist/app-HOYLIBGB.js +42 -0
  47. package/dist/app-OPA44KOA.js +32 -0
  48. package/dist/app.js +17 -17
  49. package/dist/bam-JEC3YMC3.js +876 -0
  50. package/dist/barchart-UQU75RJP.js +42 -0
  51. package/dist/barchart2-3Z62N7NL.js +309 -0
  52. package/dist/block-HJ6F6LXQ.js +6249 -0
  53. package/dist/block.init-AYWLW2HT.js +33 -0
  54. package/dist/block.mds.expressionrank-HLZA7FAG.js +354 -0
  55. package/dist/block.mds.geneboxplot-3G2QSHDL.js +823 -0
  56. package/dist/block.mds.junction-DX4LWDH7.js +1539 -0
  57. package/dist/block.mds.svcnv-JZ33BUGK.js +6796 -0
  58. package/dist/block.svg-63BVZVV2.js +159 -0
  59. package/dist/block.tk.aicheck-KSNJ3JLB.js +278 -0
  60. package/dist/block.tk.ase-URSPZ66D.js +360 -0
  61. package/dist/block.tk.bam-DZ57VTOD.js +1901 -0
  62. package/dist/block.tk.bedgraphdot-QCC65WUI.js +379 -0
  63. package/dist/block.tk.bigwig.ui-3TGOK5PM.js +206 -0
  64. package/dist/block.tk.hicstraw-RASPIPEB.js +818 -0
  65. package/dist/block.tk.junction-HLJJSANL.js +2358 -0
  66. package/dist/block.tk.junction.textmatrixui-LPNEDD5D.js +194 -0
  67. package/dist/block.tk.ld-CDGBLDE2.js +94 -0
  68. package/dist/block.tk.menu-O7DLZOZZ.js +1024 -0
  69. package/dist/block.tk.pgv-2EGZS2II.js +938 -0
  70. package/dist/brainImaging-I7K3QOOA.js +515 -0
  71. package/dist/brainRegions-DNODMT67.js +217 -0
  72. package/dist/brainRegions-DNODMT67.js.map +7 -0
  73. package/dist/bubbleHeatmap-JOFBJ3N4.js +378 -0
  74. package/dist/cellTypeBubbleHeatmap-PUOOUMPO.js +278 -0
  75. package/dist/chunk-2SQEVMAL.js +446 -0
  76. package/dist/chunk-3CHQGKF6.js +54 -0
  77. package/dist/chunk-3FVFG3YR.js +134 -0
  78. package/dist/chunk-3PJZWZRS.js +70 -0
  79. package/dist/chunk-3W76UZR2.js +2853 -0
  80. package/dist/chunk-4DXQJGJ7.js +31 -0
  81. package/dist/chunk-4F57QD3H.js +42 -0
  82. package/dist/chunk-4FO3INHF.js +158 -0
  83. package/dist/chunk-4OLM3KSB.js +2708 -0
  84. package/dist/chunk-4OLM3KSB.js.map +7 -0
  85. package/dist/chunk-5ILEFNXJ.js +402 -0
  86. package/dist/chunk-5T63JJ62.js +14 -0
  87. package/dist/chunk-5UO7MKCO.js +59 -0
  88. package/dist/chunk-62ARCEIQ.js +160 -0
  89. package/dist/chunk-6HWGOT52.js +55 -0
  90. package/dist/chunk-6U3GF7DK.js +4311 -0
  91. package/dist/chunk-7RNXSOMF.js +626 -0
  92. package/dist/chunk-7X6NF7NI.js +96 -0
  93. package/dist/chunk-A3JOQX4P.js +294 -0
  94. package/dist/chunk-ADLFLOFC.js +1339 -0
  95. package/dist/chunk-AGUZCQDL.js +550 -0
  96. package/dist/chunk-ANGLZ4XR.js +26 -0
  97. package/dist/chunk-AVWIILXH.js +34 -0
  98. package/dist/chunk-BMQDU7KN.js +38 -0
  99. package/dist/chunk-C5TU4AYP.js +281 -0
  100. package/dist/chunk-CMO5BR2S.js +203 -0
  101. package/dist/chunk-EF4QV5YH.js +1986 -0
  102. package/dist/chunk-EGKHDALO.js +382 -0
  103. package/dist/chunk-EQDKO7MX.js +1720 -0
  104. package/dist/chunk-EREMALJK.js +240 -0
  105. package/dist/chunk-F4DM3WS4.js +194 -0
  106. package/dist/chunk-F5YU7J4P.js +783 -0
  107. package/dist/chunk-GR4XPNAA.js +272 -0
  108. package/dist/chunk-GUH5IG5N.js +480 -0
  109. package/dist/chunk-HMJOZAKA.js +102 -0
  110. package/dist/chunk-HPGWCCJ2.js +677 -0
  111. package/dist/chunk-IANG6AGL.js +103 -0
  112. package/dist/chunk-ILEXRHF7.js +367 -0
  113. package/dist/chunk-ILEXRHF7.js.map +7 -0
  114. package/dist/chunk-IUREQGFN.js +141 -0
  115. package/dist/chunk-IZUYLFOX.js +1608 -0
  116. package/dist/chunk-IZUYLFOX.js.map +7 -0
  117. package/dist/chunk-JC55A4A2.js +5071 -0
  118. package/dist/chunk-JPMHCMOP.js +50 -0
  119. package/dist/chunk-KYMTFHB5.js +518 -0
  120. package/dist/chunk-L32KMIC3.js +54 -0
  121. package/dist/chunk-LDWMVZYF.js +562 -0
  122. package/dist/chunk-M367Y7ML.js +140 -0
  123. package/dist/chunk-M3OQ7GXG.js +6360 -0
  124. package/dist/chunk-M4XXKTH2.js +339 -0
  125. package/dist/chunk-N7DVQTPC.js +119 -0
  126. package/dist/chunk-NJ7N2VFX.js +263 -0
  127. package/dist/chunk-OQBGN6FW.js +1233 -0
  128. package/dist/chunk-OQBGN6FW.js.map +7 -0
  129. package/dist/chunk-OVPEMVXT.js +397 -0
  130. package/dist/chunk-OXWLQQXL.js +274 -0
  131. package/dist/chunk-PBUV4CPQ.js +302 -0
  132. package/dist/chunk-QABGFKK3.js +129 -0
  133. package/dist/chunk-QGBHBSGS.js +123 -0
  134. package/dist/chunk-QUODDEQH.js +339 -0
  135. package/dist/chunk-QW7BQPKP.js +464 -0
  136. package/dist/chunk-QXB4CBIS.js +176 -0
  137. package/dist/chunk-RF3GQYZJ.js +1275 -0
  138. package/dist/chunk-RJ4OKU4A.js +102 -0
  139. package/dist/chunk-RPDVFM7E.js +2133 -0
  140. package/dist/chunk-SWO6DZTG.js +170 -0
  141. package/dist/chunk-SYPSS3JQ.js +387 -0
  142. package/dist/chunk-THGHO5FN.js +243 -0
  143. package/dist/chunk-TU2E4653.js +178 -0
  144. package/dist/chunk-TUODNABC.js +98 -0
  145. package/dist/chunk-VCVKELHL.js +2784 -0
  146. package/dist/chunk-VVO3R5JV.js +217 -0
  147. package/dist/chunk-WO2Z53DQ.js +197 -0
  148. package/dist/chunk-WPEOBBLH.js +379 -0
  149. package/dist/chunk-X4CC7EZT.js +2327 -0
  150. package/dist/chunk-X63NSV33.js +276 -0
  151. package/dist/chunk-XDLCPJCK.js +24164 -0
  152. package/dist/chunk-XDLCPJCK.js.map +7 -0
  153. package/dist/chunk-XK2A6NRK.js +56 -0
  154. package/dist/chunk-Y3D6Y4DO.js +49 -0
  155. package/dist/chunk-YG5AY6GE.js +299 -0
  156. package/dist/chunk-YNAEXBB5.js +2676 -0
  157. package/dist/chunk-YY5WQQ3J.js +194 -0
  158. package/dist/chunk-Z2ZITHT4.js +4195 -0
  159. package/dist/cohort-75OBZ5EL.js +70 -0
  160. package/dist/condition-XSIDDH5P.js +327 -0
  161. package/dist/controls-UVEY3Z57.js +34 -0
  162. package/dist/controls.config-M325HV4N.js +34 -0
  163. package/dist/correlation-HVQDCYQJ.js +95 -0
  164. package/dist/customdata.inputui-KMCJ4UFU.js +284 -0
  165. package/dist/dataDownload-MJNMZPR6.js +329 -0
  166. package/dist/databrowser.ui-O7KNP5RH.js +425 -0
  167. package/dist/dictionary-LLGX2XNU.js +113 -0
  168. package/dist/dnaMethylation-MXRMFWGM.js +33 -0
  169. package/dist/dnaMethylation.integration.spec-GNF4AW32.js +198 -0
  170. package/dist/dofetch-F5XSHQIS.js +48 -0
  171. package/dist/e2pca-TNDATCU2.js +344 -0
  172. package/dist/ep-GH62BQS5.js +1249 -0
  173. package/dist/expclust.gdc.spec-3XBBPTZX.js +302 -0
  174. package/dist/facet-XQO2TMTJ.js +519 -0
  175. package/dist/gb-76QWZ2UI.js +81 -0
  176. package/dist/geneExpClustering-7EEK4LBZ.js +244 -0
  177. package/dist/geneExpression-4J2JRTUQ.js +33 -0
  178. package/dist/geneExpression-FXQ4L2J2.js +310 -0
  179. package/dist/geneExpression.unit.spec-JRLUIYIU.js +99 -0
  180. package/dist/geneORA-MQ3DRAFK.js +273 -0
  181. package/dist/geneRanking-LK5CSUYP.js +548 -0
  182. package/dist/geneVariant-HMOFSHIN.js +36 -0
  183. package/dist/geneVariant-IKM4MJZN.js +286 -0
  184. package/dist/geneVariant.integration.spec-ZIYVXRSQ.js +388 -0
  185. package/dist/genefusion.ui-UFSDMLZS.js +303 -0
  186. package/dist/geneset-IK43N3JG.js +203 -0
  187. package/dist/genomeBrowser.spec-GYBHE7HU.js +276 -0
  188. package/dist/grin2-K7OGPM66.js +1137 -0
  189. package/dist/grin2-QLVIYHOC.js +70 -0
  190. package/dist/hierCluster-2Y6D73N4.js +55 -0
  191. package/dist/hierCluster-YF52SKZD.js +59 -0
  192. package/dist/hierCluster.config-DDI7H2BF.js +36 -0
  193. package/dist/hierCluster.integration.spec-FTWZHMSN.js +483 -0
  194. package/dist/hierCluster.interactivity-Y2THXA6K.js +49 -0
  195. package/dist/hierCluster.renderers-P7JNIT3N.js +19 -0
  196. package/dist/imagePlot-DBMZYBSO.js +156 -0
  197. package/dist/importPlot-PY4B7BYA.js +8 -0
  198. package/dist/isoformExpression-HN3MNBKH.js +35 -0
  199. package/dist/isoformExpression.unit.spec-RBNLOC7Q.js +237 -0
  200. package/dist/junction-EGT73F5M.js +36 -0
  201. package/dist/junction.customTerm-FRYWSS4P.js +16 -0
  202. package/dist/junction.unit.spec-M4JN5LX7.js +182 -0
  203. package/dist/launch.adhoc-VDOXMXRP.js +37 -0
  204. package/dist/leftlabel.sample-L2D4LF75.js +258 -0
  205. package/dist/legacyDataset-IEFWFVS6.js +117 -0
  206. package/dist/lollipop-FBATR5JC.js +166 -0
  207. package/dist/maf-NV37MR7A.js +455 -0
  208. package/dist/maftimeline-L3R3YWPV.js +587 -0
  209. package/dist/matrix-F5YVDLLQ.js +54 -0
  210. package/dist/matrix-NEEZS7HQ.js +59 -0
  211. package/dist/matrix.cells-ZFKVIPDC.js +26 -0
  212. package/dist/matrix.config-37V4NZU2.js +37 -0
  213. package/dist/matrix.data-NCGZPNWR.js +23 -0
  214. package/dist/matrix.groups-XQJTGM6M.js +26 -0
  215. package/dist/matrix.integration.spec-MRQUAGQN.js +3160 -0
  216. package/dist/matrix.interactivity-NR2KH4CG.js +37 -0
  217. package/dist/matrix.layout-7FXNBXWB.js +39 -0
  218. package/dist/matrix.legend-U36VCS46.js +20 -0
  219. package/dist/matrix.renderers-TKNU75PG.js +34 -0
  220. package/dist/matrix.serieses-AW7XBXLJ.js +19 -0
  221. package/dist/matrix.sort-7PMECLOE.js +26 -0
  222. package/dist/matrix.sort.unit.spec-S7Z2HDDD.js +468 -0
  223. package/dist/matrix.sorterUi-J6PRUT6J.js +16 -0
  224. package/dist/matrix.sorterUi.unit.spec-PCR7U67A.js +338 -0
  225. package/dist/matrix.unit.spec-GSOK3M34.js +150 -0
  226. package/dist/mavb-QP64LXJ5.js +727 -0
  227. package/dist/mds.fimo-JS52GPE4.js +513 -0
  228. package/dist/mds.samplescatterplot-RY5PA35G.js +1545 -0
  229. package/dist/mds.survivalplot-PG5VHT4W.js +477 -0
  230. package/dist/multivalue-EG2OGEET.js +83 -0
  231. package/dist/numericDictTermCluster-5AKP6ICC.js +63 -0
  232. package/dist/oncomatrix-JUGMZ7X7.js +290 -0
  233. package/dist/oncomatrix.spec-76PSNGCH.js +443 -0
  234. package/dist/plot.2dvaf-WXOEUEE7.js +372 -0
  235. package/dist/plot.app-ON6AY4A3.js +36 -0
  236. package/dist/plot.barplot-WX3KM6KS.js +97 -0
  237. package/dist/plot.boxplot-L4PT7YVS.js +146 -0
  238. package/dist/plot.brainImaging-4JY67ZEV.js +51 -0
  239. package/dist/plot.disco-3NY3P37U.js +99 -0
  240. package/dist/plot.ssgq-3YHZPC4V.js +134 -0
  241. package/dist/plot.vaf2cov-PJJN2GCQ.js +253 -0
  242. package/dist/polar2-5WVM7HGK.js +232 -0
  243. package/dist/profileForms-MZNIQSE5.js +941 -0
  244. package/dist/profilePlot-2F5KXRFX.js +49 -0
  245. package/dist/proteinView-67EGJJCL.js +1357 -0
  246. package/dist/proteinView-67EGJJCL.js.map +7 -0
  247. package/dist/proteomeCohortCompare-3BSF4SP5.js +912 -0
  248. package/dist/proteomeCohortCompare-3BSF4SP5.js.map +7 -0
  249. package/dist/pseudbulk.unit.spec-AHI6LHZY.js +86 -0
  250. package/dist/pseudobulk-I4I733CJ.js +35 -0
  251. package/dist/qualitative-G7MKJJNX.js +38 -0
  252. package/dist/radar2-XJCS6ZUN.js +327 -0
  253. package/dist/radarFacility2-GDTKB4KP.js +335 -0
  254. package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +211 -0
  255. package/dist/render-G7TGAAPN.js +33 -0
  256. package/dist/report-PKYTJRKJ.js +217 -0
  257. package/dist/sampleView-QSB3PW33.js +43 -0
  258. package/dist/samplelst-N33FNNIM.js +106 -0
  259. package/dist/samplematrix-4CVVIXWR.js +2193 -0
  260. package/dist/sc-LENH35VN.js +81 -0
  261. package/dist/scatter-5G272VMO.js +88 -0
  262. package/dist/scatter-A3TK5TR5.js +880 -0
  263. package/dist/selectGenomeWithTklst-CP25JXDJ.js +129 -0
  264. package/dist/singleCellCellType-5ZLTPHVY.js +33 -0
  265. package/dist/singleCellCellType.unit.spec-3JIUZS6Z.js +154 -0
  266. package/dist/singleCellGeneExpression-UTUK4JAM.js +33 -0
  267. package/dist/singleCellGeneExpression.unit.spec-LRRBT5YG.js +148 -0
  268. package/dist/singleCellPlot-QXTJCGSI.js +49 -0
  269. package/dist/singlecell-BS2HYXK2.js +81 -0
  270. package/dist/singlecell-KG4WCPCW.js +1566 -0
  271. package/dist/snp-X7AVONSN.js +33 -0
  272. package/dist/snp.unit.spec-RNOIV6IA.js +171 -0
  273. package/dist/snplocus-DS6E47B6.js +203 -0
  274. package/dist/spliceevent.a53ss.diagram-MUB6Y74Z.js +146 -0
  275. package/dist/spliceevent.exonskip.diagram-47IHL2WK.js +278 -0
  276. package/dist/spliceevent.noeventdiagram-EMHYY3LK.js +455 -0
  277. package/dist/ssGSEA-XJVB4KXR.js +33 -0
  278. package/dist/ssGSEA.unit.spec-DV6XJRPZ.js +83 -0
  279. package/dist/stattable-45LHJWVF.js +117 -0
  280. package/dist/studyCatalog-UC5BVZBU.js +414 -0
  281. package/dist/studyCatalog-UC5BVZBU.js.map +7 -0
  282. package/dist/summarizeCnvGeneexp-RBFYEF4F.js +158 -0
  283. package/dist/summarizeGeneexpSurvival-2MTLML7E.js +105 -0
  284. package/dist/summarizeMutationCnv-6YEOAUA6.js +159 -0
  285. package/dist/summarizeMutationDiagnosis-GMGPKNVC.js +35 -0
  286. package/dist/summarizeMutationSurvival-63LEMNOV.js +99 -0
  287. package/dist/summary-TUL6Z35N.js +42 -0
  288. package/dist/summary.integration.spec-X22T3LB4.js +409 -0
  289. package/dist/summaryInput-YBMESKTV.js +242 -0
  290. package/dist/sunburst-QVK3JOKT.js +278 -0
  291. package/dist/survival-WQR2JVXU.js +1248 -0
  292. package/dist/survival-ZDWBE2JO.js +53 -0
  293. package/dist/survival.integration.spec-6ONUUJRS.js +613 -0
  294. package/dist/survival.integration.spec-6ONUUJRS.js.map +7 -0
  295. package/dist/svgraph-XFA7GFTF.js +1382 -0
  296. package/dist/svmr-WCNU5AM4.js +3837 -0
  297. package/dist/table-FT7OWBPC.js +197 -0
  298. package/dist/termCollection-JIBZNZS6.js +252 -0
  299. package/dist/termCollection-MGMWCQ2O.js +33 -0
  300. package/dist/termCollection.unit.spec-4OI4OIHR.js +299 -0
  301. package/dist/termCollectionFractionSelection-AFIJHB3Z.js +42 -0
  302. package/dist/termCollectionFractionSelection.unit.spec-MG7W4M7F.js +188 -0
  303. package/dist/tk-23G2PAGW.js +41 -0
  304. package/dist/tk-OQ72O2QL.js +1121 -0
  305. package/dist/tp.ui-M5D3MNIR.js +1454 -0
  306. package/dist/tvs.dt-T7EQO547.js +34 -0
  307. package/dist/tvs.dtcnv.categorical-4HIP3F24.js +35 -0
  308. package/dist/tvs.dtcnv.continuous-KVJWKU7Q.js +67 -0
  309. package/dist/tvs.dtfusion-C4AXERQA.js +35 -0
  310. package/dist/tvs.dtitd-KUZRPWA3.js +35 -0
  311. package/dist/tvs.dtsnvindel-DJYY7MG3.js +35 -0
  312. package/dist/tvs.dtsv-RRO45ITI.js +35 -0
  313. package/dist/tvs.numeric-22AHXO5K.js +20 -0
  314. package/dist/tvs.samplelst-M27QVSNU.js +98 -0
  315. package/dist/tvs.termCollection-6S2524FW.js +124 -0
  316. package/dist/vocabulary-YGPUDI4D.js +36 -0
  317. package/dist/wsi.direct-SGGSZTWZ.js +8184 -0
  318. package/package.json +3 -3
  319. package/dist/2dmaf-ZQ7ACPAD.js +0 -1367
  320. package/dist/AggMatrixInput-EACGUIQA.js +0 -277
  321. package/dist/AggregateMatrix-TC5DTSYN.js +0 -41
  322. package/dist/AppHeader-PHI6US5B.js +0 -830
  323. package/dist/BoxPlot-QWKK3IJ7.js +0 -1211
  324. package/dist/CorrelationVolcano-QJJN7FVP.js +0 -614
  325. package/dist/Cuminc-6F2C5C4E.js +0 -1219
  326. package/dist/DE-HRJH6ZQL.js +0 -89
  327. package/dist/DEinput-T3MPAYPH.js +0 -499
  328. package/dist/DM-PEG4ED2X.js +0 -90
  329. package/dist/DifferentialAnalysis-XGXHWGPI.js +0 -237
  330. package/dist/Disco-7SRTTB3X.js +0 -3389
  331. package/dist/Disco.UI-CKKZ5MMK.js +0 -243
  332. package/dist/DmrPlot-N4CT4J2I.js +0 -637
  333. package/dist/GB-NVCLPRWN.js +0 -1391
  334. package/dist/GSEA-UZUNJG7Z.js +0 -851
  335. package/dist/GeneExpInput-3MDN2CAW.js +0 -362
  336. package/dist/Geomap-ZUF2PE5A.js +0 -84
  337. package/dist/HicApp-OIJT5TFU.js +0 -2245
  338. package/dist/IDCViewer-ZSH2E57L.js +0 -10812
  339. package/dist/NumBinaryEditor-74ZPGT7L.js +0 -279
  340. package/dist/NumBinaryEditor.unit.spec-T2I66SO5.js +0 -312
  341. package/dist/NumContEditor-M2GARZXM.js +0 -105
  342. package/dist/NumContEditor.unit.spec-G2QBBNH7.js +0 -164
  343. package/dist/NumCustomBinEditor-P44G67KS.js +0 -33
  344. package/dist/NumCustomBinEditor.unit.spec-AZHJN3V6.js +0 -397
  345. package/dist/NumDiscreteEditor-VOZ63LZY.js +0 -170
  346. package/dist/NumDiscreteEditor.unit.spec-CFSVPNBA.js +0 -233
  347. package/dist/NumRegularBinEditor-I6GJQR7W.js +0 -33
  348. package/dist/NumRegularBinEditor.unit.spec-IDJE7H6S.js +0 -278
  349. package/dist/NumSplineEditor-BCGWE52A.js +0 -210
  350. package/dist/NumSplineEditor.unit.spec-YQAL7L2E.js +0 -224
  351. package/dist/NumericDensity-P25W63RV.js +0 -33
  352. package/dist/NumericDensity.unit.spec-N7CQ5W5L.js +0 -418
  353. package/dist/NumericHandler-R7JWIFEO.js +0 -34
  354. package/dist/NumericHandler.unit.spec-LMGIAGZJ.js +0 -214
  355. package/dist/ProteomeInput-PRYKKF5E.js +0 -388
  356. package/dist/Regression-PSHH7ZXN.js +0 -1416
  357. package/dist/RunChart2-KJ2UWVCE.js +0 -749
  358. package/dist/SC-R6ZIJZ6F.js +0 -1107
  359. package/dist/Violin-GTQAUJ7B.js +0 -1082
  360. package/dist/Volcano-NER64J7W.js +0 -1649
  361. package/dist/Wsi-GXNGL7O6.js +0 -431
  362. package/dist/adSandbox-SXSHVG4P.js +0 -33
  363. package/dist/animatedBubbleChart-Q4NEETEH.js +0 -547
  364. package/dist/app-MX4PL2QO.js +0 -42
  365. package/dist/app-R5CTEVAC.js +0 -32
  366. package/dist/bam-45N3FEEM.js +0 -876
  367. package/dist/barchart-YCTKQJQX.js +0 -42
  368. package/dist/barchart2-252GS3CA.js +0 -309
  369. package/dist/block-CR75JHV3.js +0 -6249
  370. package/dist/block.init-U3JMED2E.js +0 -33
  371. package/dist/block.mds.expressionrank-TAN3BDPS.js +0 -354
  372. package/dist/block.mds.geneboxplot-EN344GEP.js +0 -823
  373. package/dist/block.mds.junction-RFVVJUTR.js +0 -1539
  374. package/dist/block.mds.svcnv-SSUMXEWD.js +0 -6796
  375. package/dist/block.svg-LRPGNFFI.js +0 -159
  376. package/dist/block.tk.aicheck-YY23FT2G.js +0 -278
  377. package/dist/block.tk.ase-JCGPFKFT.js +0 -360
  378. package/dist/block.tk.bam-NZDC4H7Y.js +0 -1901
  379. package/dist/block.tk.bedgraphdot-NCNZPZH6.js +0 -379
  380. package/dist/block.tk.bigwig.ui-Z7G6ZITU.js +0 -206
  381. package/dist/block.tk.hicstraw-VVDP4UF5.js +0 -818
  382. package/dist/block.tk.junction-L4YBPAHM.js +0 -2358
  383. package/dist/block.tk.junction.textmatrixui-6CMKKUB5.js +0 -194
  384. package/dist/block.tk.ld-VCP2R5UO.js +0 -94
  385. package/dist/block.tk.menu-ZJYGMEDX.js +0 -1024
  386. package/dist/block.tk.pgv-M5WNUIVS.js +0 -938
  387. package/dist/brainImaging-JGECJHZO.js +0 -515
  388. package/dist/brainRegions-NTEAXNZJ.js +0 -234
  389. package/dist/brainRegions-NTEAXNZJ.js.map +0 -7
  390. package/dist/bubbleHeatmap-7DQNWBQ2.js +0 -378
  391. package/dist/cellTypeBubbleHeatmap-LAE7U3RF.js +0 -278
  392. package/dist/chunk-2AQT3ZWL.js +0 -626
  393. package/dist/chunk-2GLNPB5J.js +0 -203
  394. package/dist/chunk-2O4CS3EZ.js +0 -274
  395. package/dist/chunk-2Z4ZSINZ.js +0 -323
  396. package/dist/chunk-2Z4ZSINZ.js.map +0 -7
  397. package/dist/chunk-3MFFZRH3.js +0 -6360
  398. package/dist/chunk-3PHXBY3Z.js +0 -1275
  399. package/dist/chunk-4AQQ3BXD.js +0 -70
  400. package/dist/chunk-4PPZYVWZ.js +0 -281
  401. package/dist/chunk-4WEA7HHH.js +0 -26
  402. package/dist/chunk-57NYHASA.js +0 -38
  403. package/dist/chunk-5AAAH4OZ.js +0 -141
  404. package/dist/chunk-5BCNVZIW.js +0 -480
  405. package/dist/chunk-6JBLNS4D.js +0 -387
  406. package/dist/chunk-6JBQLOJW.js +0 -1339
  407. package/dist/chunk-756KZF5Y.js +0 -158
  408. package/dist/chunk-ABTO5QSB.js +0 -276
  409. package/dist/chunk-ALEZQQOK.js +0 -299
  410. package/dist/chunk-APK7TUJX.js +0 -102
  411. package/dist/chunk-AQAFURQM.js +0 -59
  412. package/dist/chunk-BEJJS2HC.js +0 -194
  413. package/dist/chunk-CZ5QLVWK.js +0 -49
  414. package/dist/chunk-D2MZT7CC.js +0 -176
  415. package/dist/chunk-D6G64XPJ.js +0 -96
  416. package/dist/chunk-DE3F7FAP.js +0 -34
  417. package/dist/chunk-DF3IMIR2.js +0 -464
  418. package/dist/chunk-E4WIMTK4.js +0 -446
  419. package/dist/chunk-E7TJXNIL.js +0 -42
  420. package/dist/chunk-G3JNTWCX.js +0 -103
  421. package/dist/chunk-GN2IIC6U.js +0 -160
  422. package/dist/chunk-GRI74AXV.js +0 -294
  423. package/dist/chunk-HDTFYTEL.js +0 -2694
  424. package/dist/chunk-HDTFYTEL.js.map +0 -7
  425. package/dist/chunk-IAE3KWN5.js +0 -550
  426. package/dist/chunk-IB4NE4SI.js +0 -397
  427. package/dist/chunk-IK2BO37K.js +0 -1608
  428. package/dist/chunk-IK2BO37K.js.map +0 -7
  429. package/dist/chunk-IS4VLUEX.js +0 -382
  430. package/dist/chunk-J2DICGKC.js +0 -194
  431. package/dist/chunk-J7JDCNLU.js +0 -24141
  432. package/dist/chunk-J7JDCNLU.js.map +0 -7
  433. package/dist/chunk-JBUEQ4E6.js +0 -263
  434. package/dist/chunk-JIDJBM2R.js +0 -2676
  435. package/dist/chunk-JNVWSFNC.js +0 -54
  436. package/dist/chunk-JYOIO5UY.js +0 -2133
  437. package/dist/chunk-KAFDQKN7.js +0 -1720
  438. package/dist/chunk-L743GRJE.js +0 -783
  439. package/dist/chunk-LGOTIL62.js +0 -54
  440. package/dist/chunk-LHP7RXET.js +0 -243
  441. package/dist/chunk-LK2GHBUH.js +0 -123
  442. package/dist/chunk-MAVDQAZE.js +0 -518
  443. package/dist/chunk-MKT4OJ3G.js +0 -102
  444. package/dist/chunk-N635HDJ4.js +0 -178
  445. package/dist/chunk-NFAE6VNU.js +0 -2327
  446. package/dist/chunk-NG7K5KYO.js +0 -56
  447. package/dist/chunk-NXVUL3EY.js +0 -2853
  448. package/dist/chunk-ODMLC5FN.js +0 -55
  449. package/dist/chunk-OJ4TDGPQ.js +0 -339
  450. package/dist/chunk-OXLBPSJ6.js +0 -379
  451. package/dist/chunk-P5GRGXH4.js +0 -98
  452. package/dist/chunk-POWG4MPT.js +0 -31
  453. package/dist/chunk-Q25DABNW.js +0 -217
  454. package/dist/chunk-QHJGWCH3.js +0 -4311
  455. package/dist/chunk-R5OIIFSF.js +0 -197
  456. package/dist/chunk-RJFCT67B.js +0 -2784
  457. package/dist/chunk-RN4BOWRH.js +0 -402
  458. package/dist/chunk-RZFJ6K77.js +0 -302
  459. package/dist/chunk-S5UN4VIQ.js +0 -272
  460. package/dist/chunk-SDMNZJ7X.js +0 -50
  461. package/dist/chunk-SWZAHJYP.js +0 -170
  462. package/dist/chunk-SY63UUF7.js +0 -562
  463. package/dist/chunk-T46FA72N.js +0 -119
  464. package/dist/chunk-TBPVP3KZ.js +0 -1986
  465. package/dist/chunk-UM5NWVMA.js +0 -140
  466. package/dist/chunk-VIBK253J.js +0 -134
  467. package/dist/chunk-XKL2D2NN.js +0 -240
  468. package/dist/chunk-XXJT7DSL.js +0 -677
  469. package/dist/chunk-YHA3AYAM.js +0 -5071
  470. package/dist/chunk-YLJOZP4P.js +0 -4195
  471. package/dist/chunk-YN5NY3D3.js +0 -339
  472. package/dist/chunk-YX6FIREB.js +0 -14
  473. package/dist/chunk-ZXU4ALLZ.js +0 -129
  474. package/dist/cohort-75FUW3UO.js +0 -70
  475. package/dist/condition-VW43Q6ZE.js +0 -327
  476. package/dist/controls-HOP2AFHD.js +0 -34
  477. package/dist/controls.config-CMIFSKQE.js +0 -34
  478. package/dist/correlation-PN7BS5OR.js +0 -95
  479. package/dist/customdata.inputui-ZBZX63PS.js +0 -284
  480. package/dist/dataDownload-LGA4LAUF.js +0 -329
  481. package/dist/databrowser.ui-IQRDVL66.js +0 -425
  482. package/dist/dictionary-BPWD77LJ.js +0 -113
  483. package/dist/dnaMethylation-A3XPPBBB.js +0 -33
  484. package/dist/dnaMethylation.integration.spec-554ITDQC.js +0 -198
  485. package/dist/dofetch-FQ42AX7C.js +0 -48
  486. package/dist/e2pca-F3GWG7WZ.js +0 -344
  487. package/dist/ep-QAVN472H.js +0 -1249
  488. package/dist/expclust.gdc.spec-DQNX7FTL.js +0 -302
  489. package/dist/facet-DH7OOZTJ.js +0 -519
  490. package/dist/gb-OCXOLAMD.js +0 -81
  491. package/dist/geneExpClustering-DWYRZGTS.js +0 -244
  492. package/dist/geneExpression-2NKSKZR6.js +0 -33
  493. package/dist/geneExpression-BGFR3KQE.js +0 -310
  494. package/dist/geneExpression.unit.spec-63EKKMET.js +0 -99
  495. package/dist/geneORA-BED6XL4D.js +0 -273
  496. package/dist/geneRanking-UB5RCQNP.js +0 -548
  497. package/dist/geneVariant-WJEONTTY.js +0 -286
  498. package/dist/geneVariant-Y4C2FPJK.js +0 -36
  499. package/dist/geneVariant.integration.spec-VFYLC47N.js +0 -388
  500. package/dist/genefusion.ui-P3NBIMLE.js +0 -303
  501. package/dist/geneset-O22RQAED.js +0 -203
  502. package/dist/genomeBrowser.spec-MM7WZUGI.js +0 -276
  503. package/dist/grin2-3YBIRKUT.js +0 -70
  504. package/dist/grin2-O637DNDS.js +0 -1137
  505. package/dist/hierCluster-3X3BQVNE.js +0 -59
  506. package/dist/hierCluster-7P7M75TU.js +0 -55
  507. package/dist/hierCluster.config-XFUOLLDK.js +0 -36
  508. package/dist/hierCluster.integration.spec-HKYGSDDG.js +0 -483
  509. package/dist/hierCluster.interactivity-JUZSWCM7.js +0 -49
  510. package/dist/hierCluster.renderers-NGPPAYFM.js +0 -19
  511. package/dist/imagePlot-LKGAFJO7.js +0 -156
  512. package/dist/importPlot-SRWQA2FH.js +0 -8
  513. package/dist/isoformExpression-RYIZQIVX.js +0 -35
  514. package/dist/isoformExpression.unit.spec-DP4ECITF.js +0 -237
  515. package/dist/junction-D7QQ3YSG.js +0 -36
  516. package/dist/junction.customTerm-ZEVNCVU7.js +0 -16
  517. package/dist/junction.unit.spec-6MAKIB3R.js +0 -182
  518. package/dist/launch.adhoc-FAHRZFYG.js +0 -37
  519. package/dist/leftlabel.sample-PDZLWLJ4.js +0 -258
  520. package/dist/legacyDataset-27L4DMCL.js +0 -117
  521. package/dist/lollipop-VWGJUHNX.js +0 -166
  522. package/dist/maf-W52H44WK.js +0 -455
  523. package/dist/maftimeline-5JV3HZLE.js +0 -587
  524. package/dist/matrix-CEVGKXSK.js +0 -54
  525. package/dist/matrix-EXNYXYLK.js +0 -59
  526. package/dist/matrix.cells-DVPWSLJW.js +0 -26
  527. package/dist/matrix.config-RLSTWDXC.js +0 -37
  528. package/dist/matrix.data-Z6GUACVZ.js +0 -23
  529. package/dist/matrix.groups-3ZSTUWRK.js +0 -26
  530. package/dist/matrix.integration.spec-4U2R3UB2.js +0 -3160
  531. package/dist/matrix.interactivity-DJZFQ7DN.js +0 -37
  532. package/dist/matrix.layout-RQJ6VB4P.js +0 -39
  533. package/dist/matrix.legend-YQ36NWKW.js +0 -20
  534. package/dist/matrix.renderers-MWDFI6HW.js +0 -34
  535. package/dist/matrix.serieses-LTC4RLYD.js +0 -19
  536. package/dist/matrix.sort-5VFYLABY.js +0 -26
  537. package/dist/matrix.sort.unit.spec-2RUEKUT4.js +0 -468
  538. package/dist/matrix.sorterUi-EEMYZLPI.js +0 -16
  539. package/dist/matrix.sorterUi.unit.spec-ZXGSPRFZ.js +0 -338
  540. package/dist/matrix.unit.spec-HTF6UV4L.js +0 -150
  541. package/dist/mavb-GGQRDCO6.js +0 -727
  542. package/dist/mds.fimo-YKV5OIYV.js +0 -513
  543. package/dist/mds.samplescatterplot-RQOEW2AW.js +0 -1545
  544. package/dist/mds.survivalplot-TN636DED.js +0 -477
  545. package/dist/multivalue-MDQY64EH.js +0 -83
  546. package/dist/numericDictTermCluster-E73TJCLI.js +0 -63
  547. package/dist/oncomatrix-AENXQMLL.js +0 -290
  548. package/dist/oncomatrix.spec-UD6U462U.js +0 -443
  549. package/dist/plot.2dvaf-XMRV6KEG.js +0 -372
  550. package/dist/plot.app-A6JKLYQQ.js +0 -36
  551. package/dist/plot.barplot-UIX7LVWR.js +0 -97
  552. package/dist/plot.boxplot-DIFWVLMA.js +0 -146
  553. package/dist/plot.brainImaging-ZRPVE2UK.js +0 -51
  554. package/dist/plot.disco-I56MT3PC.js +0 -99
  555. package/dist/plot.ssgq-FCKFSZTV.js +0 -134
  556. package/dist/plot.vaf2cov-E5C7RJ7Z.js +0 -253
  557. package/dist/polar2-SKVBB4FD.js +0 -232
  558. package/dist/profileForms-5B3MTUNP.js +0 -941
  559. package/dist/profilePlot-MCYCGEWT.js +0 -49
  560. package/dist/proteinView-5X55JWVL.js +0 -1562
  561. package/dist/proteinView-5X55JWVL.js.map +0 -7
  562. package/dist/proteomeCohortCompare-WZBMBLFD.js +0 -780
  563. package/dist/proteomeCohortCompare-WZBMBLFD.js.map +0 -7
  564. package/dist/pseudbulk.unit.spec-Q4YTIPH7.js +0 -86
  565. package/dist/pseudobulk-3UIWCCCQ.js +0 -35
  566. package/dist/qualitative-6TJRXZFV.js +0 -38
  567. package/dist/radar2-6X4XW5IZ.js +0 -327
  568. package/dist/radarFacility2-UVPXWPV5.js +0 -335
  569. package/dist/rememberedGvQ.unit.spec-GVRFRVSO.js +0 -211
  570. package/dist/render-G7V6R4PV.js +0 -33
  571. package/dist/report-O7D46EKQ.js +0 -217
  572. package/dist/sampleView-6Y3OOOMW.js +0 -43
  573. package/dist/samplelst-JRVC4GYC.js +0 -106
  574. package/dist/samplematrix-VP5RQVRH.js +0 -2193
  575. package/dist/sc-BPHVEP6N.js +0 -81
  576. package/dist/scatter-2YYRZCSW.js +0 -88
  577. package/dist/scatter-Y4BIG2PW.js +0 -880
  578. package/dist/selectGenomeWithTklst-2BVZU5SW.js +0 -129
  579. package/dist/singleCellCellType-XBGCSIQT.js +0 -33
  580. package/dist/singleCellCellType.unit.spec-T4GFRLVZ.js +0 -154
  581. package/dist/singleCellGeneExpression-5ZPWLSVW.js +0 -33
  582. package/dist/singleCellGeneExpression.unit.spec-4O5UBUDU.js +0 -148
  583. package/dist/singleCellPlot-CZLQBGVU.js +0 -49
  584. package/dist/singlecell-IIUYX7OG.js +0 -1566
  585. package/dist/singlecell-O3P5BLWT.js +0 -81
  586. package/dist/snp-ZCYBF3ZQ.js +0 -33
  587. package/dist/snp.unit.spec-TAGD2DRL.js +0 -171
  588. package/dist/snplocus-TL25OOPE.js +0 -203
  589. package/dist/spliceevent.a53ss.diagram-I7J4PQZT.js +0 -146
  590. package/dist/spliceevent.exonskip.diagram-SB4454HB.js +0 -278
  591. package/dist/spliceevent.noeventdiagram-FOSDNYLH.js +0 -455
  592. package/dist/ssGSEA-WANB2X5L.js +0 -33
  593. package/dist/ssGSEA.unit.spec-4XXWU4XV.js +0 -83
  594. package/dist/stattable-FNTJLVNB.js +0 -117
  595. package/dist/studyCatalog-7KEOFLO2.js +0 -378
  596. package/dist/studyCatalog-7KEOFLO2.js.map +0 -7
  597. package/dist/summarizeCnvGeneexp-P4AFZMKD.js +0 -158
  598. package/dist/summarizeGeneexpSurvival-YL2J7F4R.js +0 -105
  599. package/dist/summarizeMutationCnv-BHBHST5F.js +0 -159
  600. package/dist/summarizeMutationDiagnosis-Z7ZHTV27.js +0 -35
  601. package/dist/summarizeMutationSurvival-PZ4TYHT7.js +0 -99
  602. package/dist/summary-ZMNPO65S.js +0 -42
  603. package/dist/summary.integration.spec-DPJR2ZBE.js +0 -409
  604. package/dist/summaryInput-6JUFJZ5P.js +0 -242
  605. package/dist/sunburst-OWAUI3HC.js +0 -278
  606. package/dist/survival-6JPKG3VA.js +0 -53
  607. package/dist/survival-7EXICNK7.js +0 -1248
  608. package/dist/survival.integration.spec-A6NUJLL6.js +0 -613
  609. package/dist/survival.integration.spec-A6NUJLL6.js.map +0 -7
  610. package/dist/svgraph-34IKFHUS.js +0 -1382
  611. package/dist/svmr-4XNPSVVQ.js +0 -3837
  612. package/dist/table-LPZATFLC.js +0 -197
  613. package/dist/termCollection-DYY5FXU5.js +0 -252
  614. package/dist/termCollection-WOAUFFIC.js +0 -33
  615. package/dist/termCollection.unit.spec-WTICTZ7H.js +0 -299
  616. package/dist/termCollectionFractionSelection-K5HPDEFP.js +0 -42
  617. package/dist/termCollectionFractionSelection.unit.spec-D7DG2HOI.js +0 -188
  618. package/dist/tk-DD2LWVGM.js +0 -1121
  619. package/dist/tk-NV7NBLT6.js +0 -41
  620. package/dist/tp.ui-B5J3UUVB.js +0 -1454
  621. package/dist/tvs.dt-XLKQT64T.js +0 -34
  622. package/dist/tvs.dtcnv.categorical-XIC3RH2D.js +0 -35
  623. package/dist/tvs.dtcnv.continuous-OA2K4LHF.js +0 -67
  624. package/dist/tvs.dtfusion-ZGNKALZB.js +0 -35
  625. package/dist/tvs.dtitd-6QSG4E34.js +0 -35
  626. package/dist/tvs.dtsnvindel-5CXXOGPH.js +0 -35
  627. package/dist/tvs.dtsv-QYYEYUD3.js +0 -35
  628. package/dist/tvs.numeric-3UXW4JHJ.js +0 -20
  629. package/dist/tvs.samplelst-X77ODFFR.js +0 -98
  630. package/dist/tvs.termCollection-VXROWAPS.js +0 -124
  631. package/dist/vocabulary-DKWYTZRC.js +0 -36
  632. package/dist/wsi.direct-C3HQEC2V.js +0 -8184
  633. /package/dist/{2dmaf-ZQ7ACPAD.js.map → 2dmaf-XWKIQYRN.js.map} +0 -0
  634. /package/dist/{AggMatrixInput-EACGUIQA.js.map → AggMatrixInput-D3HJXDOD.js.map} +0 -0
  635. /package/dist/{AggregateMatrix-TC5DTSYN.js.map → AggregateMatrix-E2JZY5N5.js.map} +0 -0
  636. /package/dist/{AppHeader-PHI6US5B.js.map → AppHeader-SR6LMFTW.js.map} +0 -0
  637. /package/dist/{BoxPlot-QWKK3IJ7.js.map → BoxPlot-G2LRWABH.js.map} +0 -0
  638. /package/dist/{CorrelationVolcano-QJJN7FVP.js.map → CorrelationVolcano-CCQGOSR7.js.map} +0 -0
  639. /package/dist/{Cuminc-6F2C5C4E.js.map → Cuminc-QB6GE5MI.js.map} +0 -0
  640. /package/dist/{DE-HRJH6ZQL.js.map → DE-JI7E7ZXU.js.map} +0 -0
  641. /package/dist/{DEinput-T3MPAYPH.js.map → DEinput-B4A5UV4P.js.map} +0 -0
  642. /package/dist/{DM-PEG4ED2X.js.map → DM-4OAF6WPS.js.map} +0 -0
  643. /package/dist/{DifferentialAnalysis-XGXHWGPI.js.map → DifferentialAnalysis-6JMGV5JF.js.map} +0 -0
  644. /package/dist/{Disco-7SRTTB3X.js.map → Disco-F4HZYRGX.js.map} +0 -0
  645. /package/dist/{Disco.UI-CKKZ5MMK.js.map → Disco.UI-KCIEUVNG.js.map} +0 -0
  646. /package/dist/{DmrPlot-N4CT4J2I.js.map → DmrPlot-5M7E7NBT.js.map} +0 -0
  647. /package/dist/{GB-NVCLPRWN.js.map → GB-KHKZQN5I.js.map} +0 -0
  648. /package/dist/{GSEA-UZUNJG7Z.js.map → GSEA-CDGWJUFE.js.map} +0 -0
  649. /package/dist/{GeneExpInput-3MDN2CAW.js.map → GeneExpInput-CQVMNIRI.js.map} +0 -0
  650. /package/dist/{Geomap-ZUF2PE5A.js.map → Geomap-3F6FO54H.js.map} +0 -0
  651. /package/dist/{HicApp-OIJT5TFU.js.map → HicApp-R3V46WEK.js.map} +0 -0
  652. /package/dist/{IDCViewer-ZSH2E57L.js.map → IDCViewer-2CGUU7EW.js.map} +0 -0
  653. /package/dist/{NumBinaryEditor-74ZPGT7L.js.map → NumBinaryEditor-3LF334ID.js.map} +0 -0
  654. /package/dist/{NumBinaryEditor.unit.spec-T2I66SO5.js.map → NumBinaryEditor.unit.spec-EIR7WOOV.js.map} +0 -0
  655. /package/dist/{NumContEditor-M2GARZXM.js.map → NumContEditor-CJEBKLS4.js.map} +0 -0
  656. /package/dist/{NumContEditor.unit.spec-G2QBBNH7.js.map → NumContEditor.unit.spec-BKF3HKHP.js.map} +0 -0
  657. /package/dist/{NumCustomBinEditor-P44G67KS.js.map → NumCustomBinEditor-BQI2NVI2.js.map} +0 -0
  658. /package/dist/{NumCustomBinEditor.unit.spec-AZHJN3V6.js.map → NumCustomBinEditor.unit.spec-YWQL7STR.js.map} +0 -0
  659. /package/dist/{NumDiscreteEditor-VOZ63LZY.js.map → NumDiscreteEditor-4VYL7IOM.js.map} +0 -0
  660. /package/dist/{NumDiscreteEditor.unit.spec-CFSVPNBA.js.map → NumDiscreteEditor.unit.spec-CSORXLUZ.js.map} +0 -0
  661. /package/dist/{NumRegularBinEditor-I6GJQR7W.js.map → NumRegularBinEditor-NSPZ7ZHQ.js.map} +0 -0
  662. /package/dist/{NumRegularBinEditor.unit.spec-IDJE7H6S.js.map → NumRegularBinEditor.unit.spec-77FOOCQ7.js.map} +0 -0
  663. /package/dist/{NumSplineEditor-BCGWE52A.js.map → NumSplineEditor-CWZGMWF5.js.map} +0 -0
  664. /package/dist/{NumSplineEditor.unit.spec-YQAL7L2E.js.map → NumSplineEditor.unit.spec-E6ITDOHV.js.map} +0 -0
  665. /package/dist/{NumericDensity-P25W63RV.js.map → NumericDensity-TVXZG4E5.js.map} +0 -0
  666. /package/dist/{NumericDensity.unit.spec-N7CQ5W5L.js.map → NumericDensity.unit.spec-O6SIEDAM.js.map} +0 -0
  667. /package/dist/{NumericHandler-R7JWIFEO.js.map → NumericHandler-LNQG3OWJ.js.map} +0 -0
  668. /package/dist/{NumericHandler.unit.spec-LMGIAGZJ.js.map → NumericHandler.unit.spec-3IJCPTRH.js.map} +0 -0
  669. /package/dist/{ProteomeInput-PRYKKF5E.js.map → ProteomeInput-SIYPPLOB.js.map} +0 -0
  670. /package/dist/{Regression-PSHH7ZXN.js.map → Regression-EOITDTFO.js.map} +0 -0
  671. /package/dist/{RunChart2-KJ2UWVCE.js.map → RunChart2-7BIEDW6G.js.map} +0 -0
  672. /package/dist/{SC-R6ZIJZ6F.js.map → SC-O4BKP23M.js.map} +0 -0
  673. /package/dist/{Violin-GTQAUJ7B.js.map → Violin-G35Y5F45.js.map} +0 -0
  674. /package/dist/{Volcano-NER64J7W.js.map → Volcano-DZVC5GSW.js.map} +0 -0
  675. /package/dist/{Wsi-GXNGL7O6.js.map → Wsi-LKBGTHZJ.js.map} +0 -0
  676. /package/dist/{adSandbox-SXSHVG4P.js.map → adSandbox-URTCAPSS.js.map} +0 -0
  677. /package/dist/{animatedBubbleChart-Q4NEETEH.js.map → animatedBubbleChart-KFIELJWN.js.map} +0 -0
  678. /package/dist/{app-MX4PL2QO.js.map → app-HOYLIBGB.js.map} +0 -0
  679. /package/dist/{app-R5CTEVAC.js.map → app-OPA44KOA.js.map} +0 -0
  680. /package/dist/{bam-45N3FEEM.js.map → bam-JEC3YMC3.js.map} +0 -0
  681. /package/dist/{barchart-YCTKQJQX.js.map → barchart-UQU75RJP.js.map} +0 -0
  682. /package/dist/{barchart2-252GS3CA.js.map → barchart2-3Z62N7NL.js.map} +0 -0
  683. /package/dist/{block-CR75JHV3.js.map → block-HJ6F6LXQ.js.map} +0 -0
  684. /package/dist/{block.init-U3JMED2E.js.map → block.init-AYWLW2HT.js.map} +0 -0
  685. /package/dist/{block.mds.expressionrank-TAN3BDPS.js.map → block.mds.expressionrank-HLZA7FAG.js.map} +0 -0
  686. /package/dist/{block.mds.geneboxplot-EN344GEP.js.map → block.mds.geneboxplot-3G2QSHDL.js.map} +0 -0
  687. /package/dist/{block.mds.junction-RFVVJUTR.js.map → block.mds.junction-DX4LWDH7.js.map} +0 -0
  688. /package/dist/{block.mds.svcnv-SSUMXEWD.js.map → block.mds.svcnv-JZ33BUGK.js.map} +0 -0
  689. /package/dist/{block.svg-LRPGNFFI.js.map → block.svg-63BVZVV2.js.map} +0 -0
  690. /package/dist/{block.tk.aicheck-YY23FT2G.js.map → block.tk.aicheck-KSNJ3JLB.js.map} +0 -0
  691. /package/dist/{block.tk.ase-JCGPFKFT.js.map → block.tk.ase-URSPZ66D.js.map} +0 -0
  692. /package/dist/{block.tk.bam-NZDC4H7Y.js.map → block.tk.bam-DZ57VTOD.js.map} +0 -0
  693. /package/dist/{block.tk.bedgraphdot-NCNZPZH6.js.map → block.tk.bedgraphdot-QCC65WUI.js.map} +0 -0
  694. /package/dist/{block.tk.bigwig.ui-Z7G6ZITU.js.map → block.tk.bigwig.ui-3TGOK5PM.js.map} +0 -0
  695. /package/dist/{block.tk.hicstraw-VVDP4UF5.js.map → block.tk.hicstraw-RASPIPEB.js.map} +0 -0
  696. /package/dist/{block.tk.junction-L4YBPAHM.js.map → block.tk.junction-HLJJSANL.js.map} +0 -0
  697. /package/dist/{block.tk.junction.textmatrixui-6CMKKUB5.js.map → block.tk.junction.textmatrixui-LPNEDD5D.js.map} +0 -0
  698. /package/dist/{block.tk.ld-VCP2R5UO.js.map → block.tk.ld-CDGBLDE2.js.map} +0 -0
  699. /package/dist/{block.tk.menu-ZJYGMEDX.js.map → block.tk.menu-O7DLZOZZ.js.map} +0 -0
  700. /package/dist/{block.tk.pgv-M5WNUIVS.js.map → block.tk.pgv-2EGZS2II.js.map} +0 -0
  701. /package/dist/{brainImaging-JGECJHZO.js.map → brainImaging-I7K3QOOA.js.map} +0 -0
  702. /package/dist/{bubbleHeatmap-7DQNWBQ2.js.map → bubbleHeatmap-JOFBJ3N4.js.map} +0 -0
  703. /package/dist/{cellTypeBubbleHeatmap-LAE7U3RF.js.map → cellTypeBubbleHeatmap-PUOOUMPO.js.map} +0 -0
  704. /package/dist/{chunk-E4WIMTK4.js.map → chunk-2SQEVMAL.js.map} +0 -0
  705. /package/dist/{chunk-LGOTIL62.js.map → chunk-3CHQGKF6.js.map} +0 -0
  706. /package/dist/{chunk-VIBK253J.js.map → chunk-3FVFG3YR.js.map} +0 -0
  707. /package/dist/{chunk-4AQQ3BXD.js.map → chunk-3PJZWZRS.js.map} +0 -0
  708. /package/dist/{chunk-NXVUL3EY.js.map → chunk-3W76UZR2.js.map} +0 -0
  709. /package/dist/{chunk-POWG4MPT.js.map → chunk-4DXQJGJ7.js.map} +0 -0
  710. /package/dist/{chunk-E7TJXNIL.js.map → chunk-4F57QD3H.js.map} +0 -0
  711. /package/dist/{chunk-756KZF5Y.js.map → chunk-4FO3INHF.js.map} +0 -0
  712. /package/dist/{chunk-RN4BOWRH.js.map → chunk-5ILEFNXJ.js.map} +0 -0
  713. /package/dist/{chunk-YX6FIREB.js.map → chunk-5T63JJ62.js.map} +0 -0
  714. /package/dist/{chunk-AQAFURQM.js.map → chunk-5UO7MKCO.js.map} +0 -0
  715. /package/dist/{chunk-GN2IIC6U.js.map → chunk-62ARCEIQ.js.map} +0 -0
  716. /package/dist/{chunk-ODMLC5FN.js.map → chunk-6HWGOT52.js.map} +0 -0
  717. /package/dist/{chunk-QHJGWCH3.js.map → chunk-6U3GF7DK.js.map} +0 -0
  718. /package/dist/{chunk-2AQT3ZWL.js.map → chunk-7RNXSOMF.js.map} +0 -0
  719. /package/dist/{chunk-D6G64XPJ.js.map → chunk-7X6NF7NI.js.map} +0 -0
  720. /package/dist/{chunk-GRI74AXV.js.map → chunk-A3JOQX4P.js.map} +0 -0
  721. /package/dist/{chunk-6JBQLOJW.js.map → chunk-ADLFLOFC.js.map} +0 -0
  722. /package/dist/{chunk-IAE3KWN5.js.map → chunk-AGUZCQDL.js.map} +0 -0
  723. /package/dist/{chunk-4WEA7HHH.js.map → chunk-ANGLZ4XR.js.map} +0 -0
  724. /package/dist/{chunk-DE3F7FAP.js.map → chunk-AVWIILXH.js.map} +0 -0
  725. /package/dist/{chunk-57NYHASA.js.map → chunk-BMQDU7KN.js.map} +0 -0
  726. /package/dist/{chunk-4PPZYVWZ.js.map → chunk-C5TU4AYP.js.map} +0 -0
  727. /package/dist/{chunk-2GLNPB5J.js.map → chunk-CMO5BR2S.js.map} +0 -0
  728. /package/dist/{chunk-TBPVP3KZ.js.map → chunk-EF4QV5YH.js.map} +0 -0
  729. /package/dist/{chunk-IS4VLUEX.js.map → chunk-EGKHDALO.js.map} +0 -0
  730. /package/dist/{chunk-KAFDQKN7.js.map → chunk-EQDKO7MX.js.map} +0 -0
  731. /package/dist/{chunk-XKL2D2NN.js.map → chunk-EREMALJK.js.map} +0 -0
  732. /package/dist/{chunk-BEJJS2HC.js.map → chunk-F4DM3WS4.js.map} +0 -0
  733. /package/dist/{chunk-L743GRJE.js.map → chunk-F5YU7J4P.js.map} +0 -0
  734. /package/dist/{chunk-S5UN4VIQ.js.map → chunk-GR4XPNAA.js.map} +0 -0
  735. /package/dist/{chunk-5BCNVZIW.js.map → chunk-GUH5IG5N.js.map} +0 -0
  736. /package/dist/{chunk-APK7TUJX.js.map → chunk-HMJOZAKA.js.map} +0 -0
  737. /package/dist/{chunk-XXJT7DSL.js.map → chunk-HPGWCCJ2.js.map} +0 -0
  738. /package/dist/{chunk-G3JNTWCX.js.map → chunk-IANG6AGL.js.map} +0 -0
  739. /package/dist/{chunk-5AAAH4OZ.js.map → chunk-IUREQGFN.js.map} +0 -0
  740. /package/dist/{chunk-YHA3AYAM.js.map → chunk-JC55A4A2.js.map} +0 -0
  741. /package/dist/{chunk-SDMNZJ7X.js.map → chunk-JPMHCMOP.js.map} +0 -0
  742. /package/dist/{chunk-MAVDQAZE.js.map → chunk-KYMTFHB5.js.map} +0 -0
  743. /package/dist/{chunk-JNVWSFNC.js.map → chunk-L32KMIC3.js.map} +0 -0
  744. /package/dist/{chunk-SY63UUF7.js.map → chunk-LDWMVZYF.js.map} +0 -0
  745. /package/dist/{chunk-UM5NWVMA.js.map → chunk-M367Y7ML.js.map} +0 -0
  746. /package/dist/{chunk-3MFFZRH3.js.map → chunk-M3OQ7GXG.js.map} +0 -0
  747. /package/dist/{chunk-YN5NY3D3.js.map → chunk-M4XXKTH2.js.map} +0 -0
  748. /package/dist/{chunk-T46FA72N.js.map → chunk-N7DVQTPC.js.map} +0 -0
  749. /package/dist/{chunk-JBUEQ4E6.js.map → chunk-NJ7N2VFX.js.map} +0 -0
  750. /package/dist/{chunk-IB4NE4SI.js.map → chunk-OVPEMVXT.js.map} +0 -0
  751. /package/dist/{chunk-2O4CS3EZ.js.map → chunk-OXWLQQXL.js.map} +0 -0
  752. /package/dist/{chunk-RZFJ6K77.js.map → chunk-PBUV4CPQ.js.map} +0 -0
  753. /package/dist/{chunk-ZXU4ALLZ.js.map → chunk-QABGFKK3.js.map} +0 -0
  754. /package/dist/{chunk-LK2GHBUH.js.map → chunk-QGBHBSGS.js.map} +0 -0
  755. /package/dist/{chunk-OJ4TDGPQ.js.map → chunk-QUODDEQH.js.map} +0 -0
  756. /package/dist/{chunk-DF3IMIR2.js.map → chunk-QW7BQPKP.js.map} +0 -0
  757. /package/dist/{chunk-D2MZT7CC.js.map → chunk-QXB4CBIS.js.map} +0 -0
  758. /package/dist/{chunk-3PHXBY3Z.js.map → chunk-RF3GQYZJ.js.map} +0 -0
  759. /package/dist/{chunk-MKT4OJ3G.js.map → chunk-RJ4OKU4A.js.map} +0 -0
  760. /package/dist/{chunk-JYOIO5UY.js.map → chunk-RPDVFM7E.js.map} +0 -0
  761. /package/dist/{chunk-SWZAHJYP.js.map → chunk-SWO6DZTG.js.map} +0 -0
  762. /package/dist/{chunk-6JBLNS4D.js.map → chunk-SYPSS3JQ.js.map} +0 -0
  763. /package/dist/{chunk-LHP7RXET.js.map → chunk-THGHO5FN.js.map} +0 -0
  764. /package/dist/{chunk-N635HDJ4.js.map → chunk-TU2E4653.js.map} +0 -0
  765. /package/dist/{chunk-P5GRGXH4.js.map → chunk-TUODNABC.js.map} +0 -0
  766. /package/dist/{chunk-RJFCT67B.js.map → chunk-VCVKELHL.js.map} +0 -0
  767. /package/dist/{chunk-Q25DABNW.js.map → chunk-VVO3R5JV.js.map} +0 -0
  768. /package/dist/{chunk-R5OIIFSF.js.map → chunk-WO2Z53DQ.js.map} +0 -0
  769. /package/dist/{chunk-OXLBPSJ6.js.map → chunk-WPEOBBLH.js.map} +0 -0
  770. /package/dist/{chunk-NFAE6VNU.js.map → chunk-X4CC7EZT.js.map} +0 -0
  771. /package/dist/{chunk-ABTO5QSB.js.map → chunk-X63NSV33.js.map} +0 -0
  772. /package/dist/{chunk-NG7K5KYO.js.map → chunk-XK2A6NRK.js.map} +0 -0
  773. /package/dist/{chunk-CZ5QLVWK.js.map → chunk-Y3D6Y4DO.js.map} +0 -0
  774. /package/dist/{chunk-ALEZQQOK.js.map → chunk-YG5AY6GE.js.map} +0 -0
  775. /package/dist/{chunk-JIDJBM2R.js.map → chunk-YNAEXBB5.js.map} +0 -0
  776. /package/dist/{chunk-J2DICGKC.js.map → chunk-YY5WQQ3J.js.map} +0 -0
  777. /package/dist/{chunk-YLJOZP4P.js.map → chunk-Z2ZITHT4.js.map} +0 -0
  778. /package/dist/{cohort-75FUW3UO.js.map → cohort-75OBZ5EL.js.map} +0 -0
  779. /package/dist/{condition-VW43Q6ZE.js.map → condition-XSIDDH5P.js.map} +0 -0
  780. /package/dist/{controls-HOP2AFHD.js.map → controls-UVEY3Z57.js.map} +0 -0
  781. /package/dist/{controls.config-CMIFSKQE.js.map → controls.config-M325HV4N.js.map} +0 -0
  782. /package/dist/{correlation-PN7BS5OR.js.map → correlation-HVQDCYQJ.js.map} +0 -0
  783. /package/dist/{customdata.inputui-ZBZX63PS.js.map → customdata.inputui-KMCJ4UFU.js.map} +0 -0
  784. /package/dist/{dataDownload-LGA4LAUF.js.map → dataDownload-MJNMZPR6.js.map} +0 -0
  785. /package/dist/{databrowser.ui-IQRDVL66.js.map → databrowser.ui-O7KNP5RH.js.map} +0 -0
  786. /package/dist/{dictionary-BPWD77LJ.js.map → dictionary-LLGX2XNU.js.map} +0 -0
  787. /package/dist/{dnaMethylation-A3XPPBBB.js.map → dnaMethylation-MXRMFWGM.js.map} +0 -0
  788. /package/dist/{dnaMethylation.integration.spec-554ITDQC.js.map → dnaMethylation.integration.spec-GNF4AW32.js.map} +0 -0
  789. /package/dist/{dofetch-FQ42AX7C.js.map → dofetch-F5XSHQIS.js.map} +0 -0
  790. /package/dist/{e2pca-F3GWG7WZ.js.map → e2pca-TNDATCU2.js.map} +0 -0
  791. /package/dist/{ep-QAVN472H.js.map → ep-GH62BQS5.js.map} +0 -0
  792. /package/dist/{expclust.gdc.spec-DQNX7FTL.js.map → expclust.gdc.spec-3XBBPTZX.js.map} +0 -0
  793. /package/dist/{facet-DH7OOZTJ.js.map → facet-XQO2TMTJ.js.map} +0 -0
  794. /package/dist/{gb-OCXOLAMD.js.map → gb-76QWZ2UI.js.map} +0 -0
  795. /package/dist/{geneExpClustering-DWYRZGTS.js.map → geneExpClustering-7EEK4LBZ.js.map} +0 -0
  796. /package/dist/{geneExpression-2NKSKZR6.js.map → geneExpression-4J2JRTUQ.js.map} +0 -0
  797. /package/dist/{geneExpression-BGFR3KQE.js.map → geneExpression-FXQ4L2J2.js.map} +0 -0
  798. /package/dist/{geneExpression.unit.spec-63EKKMET.js.map → geneExpression.unit.spec-JRLUIYIU.js.map} +0 -0
  799. /package/dist/{geneORA-BED6XL4D.js.map → geneORA-MQ3DRAFK.js.map} +0 -0
  800. /package/dist/{geneRanking-UB5RCQNP.js.map → geneRanking-LK5CSUYP.js.map} +0 -0
  801. /package/dist/{geneVariant-Y4C2FPJK.js.map → geneVariant-HMOFSHIN.js.map} +0 -0
  802. /package/dist/{geneVariant-WJEONTTY.js.map → geneVariant-IKM4MJZN.js.map} +0 -0
  803. /package/dist/{geneVariant.integration.spec-VFYLC47N.js.map → geneVariant.integration.spec-ZIYVXRSQ.js.map} +0 -0
  804. /package/dist/{genefusion.ui-P3NBIMLE.js.map → genefusion.ui-UFSDMLZS.js.map} +0 -0
  805. /package/dist/{geneset-O22RQAED.js.map → geneset-IK43N3JG.js.map} +0 -0
  806. /package/dist/{genomeBrowser.spec-MM7WZUGI.js.map → genomeBrowser.spec-GYBHE7HU.js.map} +0 -0
  807. /package/dist/{grin2-O637DNDS.js.map → grin2-K7OGPM66.js.map} +0 -0
  808. /package/dist/{grin2-3YBIRKUT.js.map → grin2-QLVIYHOC.js.map} +0 -0
  809. /package/dist/{hierCluster-3X3BQVNE.js.map → hierCluster-2Y6D73N4.js.map} +0 -0
  810. /package/dist/{hierCluster-7P7M75TU.js.map → hierCluster-YF52SKZD.js.map} +0 -0
  811. /package/dist/{hierCluster.config-XFUOLLDK.js.map → hierCluster.config-DDI7H2BF.js.map} +0 -0
  812. /package/dist/{hierCluster.integration.spec-HKYGSDDG.js.map → hierCluster.integration.spec-FTWZHMSN.js.map} +0 -0
  813. /package/dist/{hierCluster.interactivity-JUZSWCM7.js.map → hierCluster.interactivity-Y2THXA6K.js.map} +0 -0
  814. /package/dist/{hierCluster.renderers-NGPPAYFM.js.map → hierCluster.renderers-P7JNIT3N.js.map} +0 -0
  815. /package/dist/{imagePlot-LKGAFJO7.js.map → imagePlot-DBMZYBSO.js.map} +0 -0
  816. /package/dist/{importPlot-SRWQA2FH.js.map → importPlot-PY4B7BYA.js.map} +0 -0
  817. /package/dist/{isoformExpression-RYIZQIVX.js.map → isoformExpression-HN3MNBKH.js.map} +0 -0
  818. /package/dist/{isoformExpression.unit.spec-DP4ECITF.js.map → isoformExpression.unit.spec-RBNLOC7Q.js.map} +0 -0
  819. /package/dist/{junction-D7QQ3YSG.js.map → junction-EGT73F5M.js.map} +0 -0
  820. /package/dist/{junction.customTerm-ZEVNCVU7.js.map → junction.customTerm-FRYWSS4P.js.map} +0 -0
  821. /package/dist/{junction.unit.spec-6MAKIB3R.js.map → junction.unit.spec-M4JN5LX7.js.map} +0 -0
  822. /package/dist/{launch.adhoc-FAHRZFYG.js.map → launch.adhoc-VDOXMXRP.js.map} +0 -0
  823. /package/dist/{leftlabel.sample-PDZLWLJ4.js.map → leftlabel.sample-L2D4LF75.js.map} +0 -0
  824. /package/dist/{legacyDataset-27L4DMCL.js.map → legacyDataset-IEFWFVS6.js.map} +0 -0
  825. /package/dist/{lollipop-VWGJUHNX.js.map → lollipop-FBATR5JC.js.map} +0 -0
  826. /package/dist/{maf-W52H44WK.js.map → maf-NV37MR7A.js.map} +0 -0
  827. /package/dist/{maftimeline-5JV3HZLE.js.map → maftimeline-L3R3YWPV.js.map} +0 -0
  828. /package/dist/{matrix-CEVGKXSK.js.map → matrix-F5YVDLLQ.js.map} +0 -0
  829. /package/dist/{matrix-EXNYXYLK.js.map → matrix-NEEZS7HQ.js.map} +0 -0
  830. /package/dist/{matrix.cells-DVPWSLJW.js.map → matrix.cells-ZFKVIPDC.js.map} +0 -0
  831. /package/dist/{matrix.config-RLSTWDXC.js.map → matrix.config-37V4NZU2.js.map} +0 -0
  832. /package/dist/{matrix.data-Z6GUACVZ.js.map → matrix.data-NCGZPNWR.js.map} +0 -0
  833. /package/dist/{matrix.groups-3ZSTUWRK.js.map → matrix.groups-XQJTGM6M.js.map} +0 -0
  834. /package/dist/{matrix.integration.spec-4U2R3UB2.js.map → matrix.integration.spec-MRQUAGQN.js.map} +0 -0
  835. /package/dist/{matrix.interactivity-DJZFQ7DN.js.map → matrix.interactivity-NR2KH4CG.js.map} +0 -0
  836. /package/dist/{matrix.layout-RQJ6VB4P.js.map → matrix.layout-7FXNBXWB.js.map} +0 -0
  837. /package/dist/{matrix.legend-YQ36NWKW.js.map → matrix.legend-U36VCS46.js.map} +0 -0
  838. /package/dist/{matrix.renderers-MWDFI6HW.js.map → matrix.renderers-TKNU75PG.js.map} +0 -0
  839. /package/dist/{matrix.serieses-LTC4RLYD.js.map → matrix.serieses-AW7XBXLJ.js.map} +0 -0
  840. /package/dist/{matrix.sort-5VFYLABY.js.map → matrix.sort-7PMECLOE.js.map} +0 -0
  841. /package/dist/{matrix.sort.unit.spec-2RUEKUT4.js.map → matrix.sort.unit.spec-S7Z2HDDD.js.map} +0 -0
  842. /package/dist/{matrix.sorterUi-EEMYZLPI.js.map → matrix.sorterUi-J6PRUT6J.js.map} +0 -0
  843. /package/dist/{matrix.sorterUi.unit.spec-ZXGSPRFZ.js.map → matrix.sorterUi.unit.spec-PCR7U67A.js.map} +0 -0
  844. /package/dist/{matrix.unit.spec-HTF6UV4L.js.map → matrix.unit.spec-GSOK3M34.js.map} +0 -0
  845. /package/dist/{mavb-GGQRDCO6.js.map → mavb-QP64LXJ5.js.map} +0 -0
  846. /package/dist/{mds.fimo-YKV5OIYV.js.map → mds.fimo-JS52GPE4.js.map} +0 -0
  847. /package/dist/{mds.samplescatterplot-RQOEW2AW.js.map → mds.samplescatterplot-RY5PA35G.js.map} +0 -0
  848. /package/dist/{mds.survivalplot-TN636DED.js.map → mds.survivalplot-PG5VHT4W.js.map} +0 -0
  849. /package/dist/{multivalue-MDQY64EH.js.map → multivalue-EG2OGEET.js.map} +0 -0
  850. /package/dist/{numericDictTermCluster-E73TJCLI.js.map → numericDictTermCluster-5AKP6ICC.js.map} +0 -0
  851. /package/dist/{oncomatrix-AENXQMLL.js.map → oncomatrix-JUGMZ7X7.js.map} +0 -0
  852. /package/dist/{oncomatrix.spec-UD6U462U.js.map → oncomatrix.spec-76PSNGCH.js.map} +0 -0
  853. /package/dist/{plot.2dvaf-XMRV6KEG.js.map → plot.2dvaf-WXOEUEE7.js.map} +0 -0
  854. /package/dist/{plot.app-A6JKLYQQ.js.map → plot.app-ON6AY4A3.js.map} +0 -0
  855. /package/dist/{plot.barplot-UIX7LVWR.js.map → plot.barplot-WX3KM6KS.js.map} +0 -0
  856. /package/dist/{plot.boxplot-DIFWVLMA.js.map → plot.boxplot-L4PT7YVS.js.map} +0 -0
  857. /package/dist/{plot.brainImaging-ZRPVE2UK.js.map → plot.brainImaging-4JY67ZEV.js.map} +0 -0
  858. /package/dist/{plot.disco-I56MT3PC.js.map → plot.disco-3NY3P37U.js.map} +0 -0
  859. /package/dist/{plot.ssgq-FCKFSZTV.js.map → plot.ssgq-3YHZPC4V.js.map} +0 -0
  860. /package/dist/{plot.vaf2cov-E5C7RJ7Z.js.map → plot.vaf2cov-PJJN2GCQ.js.map} +0 -0
  861. /package/dist/{polar2-SKVBB4FD.js.map → polar2-5WVM7HGK.js.map} +0 -0
  862. /package/dist/{profileForms-5B3MTUNP.js.map → profileForms-MZNIQSE5.js.map} +0 -0
  863. /package/dist/{profilePlot-MCYCGEWT.js.map → profilePlot-2F5KXRFX.js.map} +0 -0
  864. /package/dist/{pseudbulk.unit.spec-Q4YTIPH7.js.map → pseudbulk.unit.spec-AHI6LHZY.js.map} +0 -0
  865. /package/dist/{pseudobulk-3UIWCCCQ.js.map → pseudobulk-I4I733CJ.js.map} +0 -0
  866. /package/dist/{qualitative-6TJRXZFV.js.map → qualitative-G7MKJJNX.js.map} +0 -0
  867. /package/dist/{radar2-6X4XW5IZ.js.map → radar2-XJCS6ZUN.js.map} +0 -0
  868. /package/dist/{radarFacility2-UVPXWPV5.js.map → radarFacility2-GDTKB4KP.js.map} +0 -0
  869. /package/dist/{rememberedGvQ.unit.spec-GVRFRVSO.js.map → rememberedGvQ.unit.spec-N43O4YTF.js.map} +0 -0
  870. /package/dist/{render-G7V6R4PV.js.map → render-G7TGAAPN.js.map} +0 -0
  871. /package/dist/{report-O7D46EKQ.js.map → report-PKYTJRKJ.js.map} +0 -0
  872. /package/dist/{sampleView-6Y3OOOMW.js.map → sampleView-QSB3PW33.js.map} +0 -0
  873. /package/dist/{samplelst-JRVC4GYC.js.map → samplelst-N33FNNIM.js.map} +0 -0
  874. /package/dist/{samplematrix-VP5RQVRH.js.map → samplematrix-4CVVIXWR.js.map} +0 -0
  875. /package/dist/{sc-BPHVEP6N.js.map → sc-LENH35VN.js.map} +0 -0
  876. /package/dist/{scatter-2YYRZCSW.js.map → scatter-5G272VMO.js.map} +0 -0
  877. /package/dist/{scatter-Y4BIG2PW.js.map → scatter-A3TK5TR5.js.map} +0 -0
  878. /package/dist/{selectGenomeWithTklst-2BVZU5SW.js.map → selectGenomeWithTklst-CP25JXDJ.js.map} +0 -0
  879. /package/dist/{singleCellCellType-XBGCSIQT.js.map → singleCellCellType-5ZLTPHVY.js.map} +0 -0
  880. /package/dist/{singleCellCellType.unit.spec-T4GFRLVZ.js.map → singleCellCellType.unit.spec-3JIUZS6Z.js.map} +0 -0
  881. /package/dist/{singleCellGeneExpression-5ZPWLSVW.js.map → singleCellGeneExpression-UTUK4JAM.js.map} +0 -0
  882. /package/dist/{singleCellGeneExpression.unit.spec-4O5UBUDU.js.map → singleCellGeneExpression.unit.spec-LRRBT5YG.js.map} +0 -0
  883. /package/dist/{singleCellPlot-CZLQBGVU.js.map → singleCellPlot-QXTJCGSI.js.map} +0 -0
  884. /package/dist/{singlecell-O3P5BLWT.js.map → singlecell-BS2HYXK2.js.map} +0 -0
  885. /package/dist/{singlecell-IIUYX7OG.js.map → singlecell-KG4WCPCW.js.map} +0 -0
  886. /package/dist/{snp-ZCYBF3ZQ.js.map → snp-X7AVONSN.js.map} +0 -0
  887. /package/dist/{snp.unit.spec-TAGD2DRL.js.map → snp.unit.spec-RNOIV6IA.js.map} +0 -0
  888. /package/dist/{snplocus-TL25OOPE.js.map → snplocus-DS6E47B6.js.map} +0 -0
  889. /package/dist/{spliceevent.a53ss.diagram-I7J4PQZT.js.map → spliceevent.a53ss.diagram-MUB6Y74Z.js.map} +0 -0
  890. /package/dist/{spliceevent.exonskip.diagram-SB4454HB.js.map → spliceevent.exonskip.diagram-47IHL2WK.js.map} +0 -0
  891. /package/dist/{spliceevent.noeventdiagram-FOSDNYLH.js.map → spliceevent.noeventdiagram-EMHYY3LK.js.map} +0 -0
  892. /package/dist/{ssGSEA-WANB2X5L.js.map → ssGSEA-XJVB4KXR.js.map} +0 -0
  893. /package/dist/{ssGSEA.unit.spec-4XXWU4XV.js.map → ssGSEA.unit.spec-DV6XJRPZ.js.map} +0 -0
  894. /package/dist/{stattable-FNTJLVNB.js.map → stattable-45LHJWVF.js.map} +0 -0
  895. /package/dist/{summarizeCnvGeneexp-P4AFZMKD.js.map → summarizeCnvGeneexp-RBFYEF4F.js.map} +0 -0
  896. /package/dist/{summarizeGeneexpSurvival-YL2J7F4R.js.map → summarizeGeneexpSurvival-2MTLML7E.js.map} +0 -0
  897. /package/dist/{summarizeMutationCnv-BHBHST5F.js.map → summarizeMutationCnv-6YEOAUA6.js.map} +0 -0
  898. /package/dist/{summarizeMutationDiagnosis-Z7ZHTV27.js.map → summarizeMutationDiagnosis-GMGPKNVC.js.map} +0 -0
  899. /package/dist/{summarizeMutationSurvival-PZ4TYHT7.js.map → summarizeMutationSurvival-63LEMNOV.js.map} +0 -0
  900. /package/dist/{summary-ZMNPO65S.js.map → summary-TUL6Z35N.js.map} +0 -0
  901. /package/dist/{summary.integration.spec-DPJR2ZBE.js.map → summary.integration.spec-X22T3LB4.js.map} +0 -0
  902. /package/dist/{summaryInput-6JUFJZ5P.js.map → summaryInput-YBMESKTV.js.map} +0 -0
  903. /package/dist/{sunburst-OWAUI3HC.js.map → sunburst-QVK3JOKT.js.map} +0 -0
  904. /package/dist/{survival-7EXICNK7.js.map → survival-WQR2JVXU.js.map} +0 -0
  905. /package/dist/{survival-6JPKG3VA.js.map → survival-ZDWBE2JO.js.map} +0 -0
  906. /package/dist/{svgraph-34IKFHUS.js.map → svgraph-XFA7GFTF.js.map} +0 -0
  907. /package/dist/{svmr-4XNPSVVQ.js.map → svmr-WCNU5AM4.js.map} +0 -0
  908. /package/dist/{table-LPZATFLC.js.map → table-FT7OWBPC.js.map} +0 -0
  909. /package/dist/{termCollection-DYY5FXU5.js.map → termCollection-JIBZNZS6.js.map} +0 -0
  910. /package/dist/{termCollection-WOAUFFIC.js.map → termCollection-MGMWCQ2O.js.map} +0 -0
  911. /package/dist/{termCollection.unit.spec-WTICTZ7H.js.map → termCollection.unit.spec-4OI4OIHR.js.map} +0 -0
  912. /package/dist/{termCollectionFractionSelection-K5HPDEFP.js.map → termCollectionFractionSelection-AFIJHB3Z.js.map} +0 -0
  913. /package/dist/{termCollectionFractionSelection.unit.spec-D7DG2HOI.js.map → termCollectionFractionSelection.unit.spec-MG7W4M7F.js.map} +0 -0
  914. /package/dist/{tk-NV7NBLT6.js.map → tk-23G2PAGW.js.map} +0 -0
  915. /package/dist/{tk-DD2LWVGM.js.map → tk-OQ72O2QL.js.map} +0 -0
  916. /package/dist/{tp.ui-B5J3UUVB.js.map → tp.ui-M5D3MNIR.js.map} +0 -0
  917. /package/dist/{tvs.dt-XLKQT64T.js.map → tvs.dt-T7EQO547.js.map} +0 -0
  918. /package/dist/{tvs.dtcnv.categorical-XIC3RH2D.js.map → tvs.dtcnv.categorical-4HIP3F24.js.map} +0 -0
  919. /package/dist/{tvs.dtcnv.continuous-OA2K4LHF.js.map → tvs.dtcnv.continuous-KVJWKU7Q.js.map} +0 -0
  920. /package/dist/{tvs.dtfusion-ZGNKALZB.js.map → tvs.dtfusion-C4AXERQA.js.map} +0 -0
  921. /package/dist/{tvs.dtitd-6QSG4E34.js.map → tvs.dtitd-KUZRPWA3.js.map} +0 -0
  922. /package/dist/{tvs.dtsnvindel-5CXXOGPH.js.map → tvs.dtsnvindel-DJYY7MG3.js.map} +0 -0
  923. /package/dist/{tvs.dtsv-QYYEYUD3.js.map → tvs.dtsv-RRO45ITI.js.map} +0 -0
  924. /package/dist/{tvs.numeric-3UXW4JHJ.js.map → tvs.numeric-22AHXO5K.js.map} +0 -0
  925. /package/dist/{tvs.samplelst-X77ODFFR.js.map → tvs.samplelst-M27QVSNU.js.map} +0 -0
  926. /package/dist/{tvs.termCollection-VXROWAPS.js.map → tvs.termCollection-6S2524FW.js.map} +0 -0
  927. /package/dist/{vocabulary-DKWYTZRC.js.map → vocabulary-YGPUDI4D.js.map} +0 -0
  928. /package/dist/{wsi.direct-C3HQEC2V.js.map → wsi.direct-SGGSZTWZ.js.map} +0 -0
@@ -0,0 +1,1339 @@
1
+ import {
2
+ ColorScale,
3
+ axisstyle,
4
+ drawBoxplot,
5
+ first_genetrack_tolist,
6
+ makeSsmLink,
7
+ sayerror
8
+ } from "./chunk-XDLCPJCK.js";
9
+ import {
10
+ Menu
11
+ } from "./chunk-ELJX3QIQ.js";
12
+ import {
13
+ axisBottom,
14
+ axisTop
15
+ } from "./chunk-Z2ZITHT4.js";
16
+ import {
17
+ linear,
18
+ log
19
+ } from "./chunk-4OLM3KSB.js";
20
+ import {
21
+ roundValue
22
+ } from "./chunk-TLT4YIG3.js";
23
+ import {
24
+ rgb_default
25
+ } from "./chunk-Q5RDQNIT.js";
26
+
27
+ // plots/regression/estimateMsg.ts
28
+ var refGrp_NA = "NA";
29
+ function getEstimateMsg(arg) {
30
+ const {
31
+ est,
32
+ tw,
33
+ tw2,
34
+ categoryKey,
35
+ categoryKey2,
36
+ isIntercept,
37
+ isUnivariate,
38
+ outcomeTw,
39
+ independentTws,
40
+ termdbConfig,
41
+ getIndependentInput
42
+ } = arg;
43
+ const regtype = arg.regressionType;
44
+ const category = tw?.term?.values && tw.term.values[categoryKey] ? tw.term.values[categoryKey].label : categoryKey;
45
+ const category2 = tw2?.term?.values && tw2.term.values[categoryKey2] ? tw2.term.values[categoryKey2].label : categoryKey2;
46
+ const refGrp = tw?.term?.values && tw.term.values[tw.refGrp] ? tw.term.values[tw.refGrp].label : tw?.refGrp;
47
+ const refGrp2 = tw2?.term?.values && tw2.term.values[tw2.refGrp] ? tw2.term.values[tw2.refGrp].label : tw2?.refGrp;
48
+ if (!Number.isFinite(est) || regtype != "linear" && est <= 0) {
49
+ return "The estimate of this variable is not available.";
50
+ }
51
+ let msg;
52
+ if (regtype == "linear") {
53
+ msg = tw2 ? getInteractionMsg() : `Mean ${styleVariable(outcomeTw)} is`;
54
+ if (isIntercept) {
55
+ const baselines = getBaselines(independentTws);
56
+ return `${msg} ${est} ${unitsOf(outcomeTw)} when ${joinVariables(baselines)}.`;
57
+ }
58
+ msg += est == 0 ? " no different " : ` ${Math.abs(est)} ${unitsOf(outcomeTw)} ${est < 0 ? "lower" : "higher"} `;
59
+ } else if (regtype == "logistic") {
60
+ msg = tw2 ? getInteractionMsg() : `Odds of ${styleVariable(outcomeTw, outcomeTw.nonRefGrp)} is`;
61
+ if (isIntercept) {
62
+ const baselines = getBaselines(independentTws);
63
+ return `${msg} ${est} when ${joinVariables(baselines)}.`;
64
+ }
65
+ msg += getRatioMsg();
66
+ } else if (regtype == "cox") {
67
+ msg = tw2 ? getInteractionMsg() : `Hazard (instantaneous rate) of ${styleVariable(outcomeTw, outcomeTw.eventLabel)} is`;
68
+ msg += getRatioMsg();
69
+ } else {
70
+ throw "regression type not recognized";
71
+ }
72
+ const interactions = [];
73
+ const interactionsBaselines = [];
74
+ if (tw.interactions?.length && !tw2) {
75
+ for (const tid of tw.interactions) {
76
+ const t = getIndependentInput(tid).term;
77
+ if (t.term.snps) {
78
+ for (const snp of t.term.snps) interactions.push(snp.snpid);
79
+ } else {
80
+ interactions.push(tid);
81
+ }
82
+ }
83
+ if (!interactions.length) throw "interactions[] is empty";
84
+ const interactingTws = independentTws.filter((t) => interactions.includes(t.$id || t.id));
85
+ interactionsBaselines.push(...getBaselines(interactingTws));
86
+ }
87
+ if (category) {
88
+ msg += `in ${joinVariables([styleVariable(tw, category), ...interactionsBaselines])} compared to ${joinVariables([
89
+ styleVariable(tw, refGrp),
90
+ ...interactionsBaselines
91
+ ])}`;
92
+ } else if (tw.q.mode == "continuous") {
93
+ msg += `for every ${oneUnitOf(tw)} increase of ${styleVariable(tw)}`;
94
+ if (interactionsBaselines.length) msg += ` when ${joinVariables(interactionsBaselines)}`;
95
+ } else if (tw.q.geneticModel === 0) {
96
+ msg += `for every additional ${tw.effectAllele} allele of ${styleVariable(tw)}`;
97
+ if (interactionsBaselines.length) msg += ` when ${joinVariables(interactionsBaselines)}`;
98
+ } else if (tw.q.geneticModel == 1 || tw.q.geneticModel == 2) {
99
+ const gts = Object.keys(tw.gt2count);
100
+ const testGts = gts.filter((gt) => {
101
+ if (tw.q.geneticModel == 1) {
102
+ return gt.includes(tw.effectAllele);
103
+ } else {
104
+ return gt.replace(/[^a-zA-Z]/g, "").split("").every((c) => c == tw.effectAllele);
105
+ }
106
+ });
107
+ const refGts = gts.filter((gt) => !testGts.includes(gt));
108
+ msg += `in ${joinVariables([
109
+ styleVariable(tw, testGts.join(", ")),
110
+ ...interactionsBaselines
111
+ ])} compared to ${joinVariables([styleVariable(tw, refGts.join(", ")), ...interactionsBaselines])}`;
112
+ }
113
+ const tids = [tw.$id || tw.id];
114
+ if (tw.interactions?.length) {
115
+ if (tw2) tids.push(tw2.$id || tw2.id);
116
+ else tids.push(...interactions);
117
+ }
118
+ const covariates = independentTws.filter((t) => !tids.includes(t.$id || t.id)).map((t) => styleVariable(t));
119
+ if (covariates.length && !isUnivariate) msg += `, adjusting for ${joinVariables(covariates)}`;
120
+ msg += ".";
121
+ if (regtype == "cox") {
122
+ if (outcomeTw.q.timeScale == "age") {
123
+ msg += " Time is measured as attained age during follow-up.";
124
+ } else {
125
+ const unit = termdbConfig?.timeUnit ? ` in ${termdbConfig.timeUnit}` : "";
126
+ const start = termdbConfig?.cohortStartTimeMsg ? ` from ${termdbConfig.cohortStartTimeMsg}` : "";
127
+ if (unit || start) msg += ` Time is measured${unit}${start}.`;
128
+ }
129
+ }
130
+ return msg;
131
+ function oneUnitOf(tw3) {
132
+ const u = tw3?.term?.valueConversion?.toUnit;
133
+ return u ? `1 ${u}` : "one unit";
134
+ }
135
+ function unitsOf(tw3) {
136
+ const u = tw3?.term?.valueConversion?.toUnit;
137
+ return u ? `${u}s` : "units";
138
+ }
139
+ function getRatioMsg() {
140
+ if (est == 1) return " no different ";
141
+ return est > 1 ? ` ${est} times higher ` : ` ${roundValue(1 / est, 3)} times lower `;
142
+ }
143
+ function styleVariable(tw3, category3) {
144
+ const spans = [
145
+ `<span class="term_name_btn sja_filter_tag_btn" style="padding: 3px 6px; margin: 2.5px 0px; border-radius: ${category3 ? "6px 0px 0px 6px" : "6px"};">${tw3.term.name.length < 40 ? tw3.term.name : tw3.term.name.substring(0, 35) + " ..."}</span>`
146
+ ];
147
+ if (category3) {
148
+ spans.push(
149
+ `<span class="ts_summary_btn sja_filter_tag_btn" style="padding: 3px 6px; margin: 2.5px 0px; border-radius: 0px 6px 6px 0px; font-style: italic;">${category3}</span>`
150
+ );
151
+ }
152
+ return `<div style="display: inline; white-space: nowrap; font-size: 0.9em">${spans.join("")}</div>`;
153
+ }
154
+ function getInteractionMsg() {
155
+ let msg2 = regtype == "linear" ? `The difference in mean ${styleVariable(outcomeTw)}` : regtype == "logistic" ? `The difference in odds of ${styleVariable(outcomeTw, outcomeTw.nonRefGrp)}` : `The difference in hazard (instantaneous rate) of ${styleVariable(outcomeTw, outcomeTw.eventLabel)}`;
156
+ if (category2) {
157
+ msg2 += ` between ${styleVariable(tw2, category2)} and ${styleVariable(tw2, refGrp2)} is`;
158
+ } else if (tw2.q.mode == "continuous") {
159
+ msg2 += ` for every ${oneUnitOf(tw2)} increase of ${styleVariable(tw2)} is`;
160
+ } else if (tw2.q.geneticModel === 0) {
161
+ msg2 += ` for every additional ${tw2.effectAllele} allele of ${styleVariable(tw2)} is`;
162
+ } else if (tw2.q.geneticModel == 1 || tw2.q.geneticModel == 2) {
163
+ const gts = Object.keys(tw2.gt2count);
164
+ const testGts = gts.filter((gt) => {
165
+ if (tw2.q.geneticModel == 1) {
166
+ return gt.includes(tw2.effectAllele);
167
+ } else {
168
+ return gt.replace(/[^a-zA-Z]/g, "").split("").every((c) => c == tw2.effectAllele);
169
+ }
170
+ });
171
+ const refGts = gts.filter((gt) => !testGts.includes(gt));
172
+ msg2 += ` between ${styleVariable(tw2, testGts.join(", "))} and ${styleVariable(tw2, refGts.join(", "))} is`;
173
+ }
174
+ return msg2;
175
+ }
176
+ function getBaselines(tws) {
177
+ const baselines = tws.map((tw3) => {
178
+ if (tw3.q.mode != "spline" && "refGrp" in tw3 && tw3.refGrp != refGrp_NA) {
179
+ const refGrp3 = tw3?.term?.values && tw3.term.values[tw3.refGrp] ? tw3.term.values[tw3.refGrp].label : tw3?.refGrp;
180
+ return styleVariable(tw3, refGrp3);
181
+ } else if (tw3.q.mode == "continuous" || tw3.q.mode == "spline") {
182
+ return styleVariable(tw3, "0");
183
+ } else if (tw3.q.geneticModel === 0) {
184
+ return styleVariable(tw3, `No ${tw3.effectAllele} alleles`);
185
+ } else if (tw3.q.geneticModel == 1 || tw3.q.geneticModel == 2) {
186
+ const gts = Object.keys(tw3.gt2count);
187
+ const refGts = gts.filter((gt) => {
188
+ if (tw3.q.geneticModel == 1) {
189
+ return !gt.includes(tw3.effectAllele);
190
+ } else {
191
+ return !gt.replace(/[^a-zA-Z]/g, "").split("").every((c) => c == tw3.effectAllele);
192
+ }
193
+ });
194
+ return styleVariable(tw3, refGts.join(", "));
195
+ }
196
+ });
197
+ return baselines.filter(Boolean);
198
+ }
199
+ function joinVariables(variables) {
200
+ if (!variables.length) return "";
201
+ else if (variables.length == 1) return variables[0];
202
+ else if (variables.length == 2) return variables.join(" and ");
203
+ else return `${variables.slice(0, -1).join(", ")}, and ${variables.slice(-1)}`;
204
+ }
205
+ }
206
+
207
+ // plots/regression/regression.results.ts
208
+ var forestcolor = "#126e08";
209
+ var boxplotcolor = forestcolor;
210
+ var graytextcolor = "#555";
211
+ var graytextopacity = 0.75;
212
+ var RegressionResults = class {
213
+ constructor(opts) {
214
+ this.opts = opts;
215
+ this.app = opts.app;
216
+ this.parent = opts.parent;
217
+ this.vocabApi = this.parent.vocabApi;
218
+ this.type = "regression";
219
+ setRenderers(this);
220
+ const holder = this.opts.holder;
221
+ holder.append("div").style("margin-top", "10px").style("padding-top", "20px").style("font-size", "1.2em").style("opacity", graytextopacity).html("Results");
222
+ this.dom = {
223
+ holder,
224
+ err_div: holder.append("div"),
225
+ snplocusBlockDiv: holder.append("div"),
226
+ // is where newDiv() and displayResult_oneset() writes to
227
+ oneSetResultDiv: holder.append("div").style("margin", "10px"),
228
+ tip: new Menu({ padding: "9px" })
229
+ };
230
+ }
231
+ async main() {
232
+ try {
233
+ this.config = this.parent.config;
234
+ this.state = this.parent.state;
235
+ if (!this.state.formIsComplete || this.parent.inputs.hasError || this.config.hasUnsubmittedEdits && !this.hasUnsubmittedEdits_nullify_singleuse) {
236
+ delete this.snplocusBlock;
237
+ this.dom.snplocusBlockDiv.selectAll("*").remove();
238
+ this.dom.holder.style("display", "none");
239
+ return;
240
+ }
241
+ delete this.hasUnsubmittedEdits_nullify_singleuse;
242
+ if (this.snplocusBlock) {
243
+ this.snplocusBlock.cloakOn();
244
+ }
245
+ this.parent.inputs.dom.submitBtn.text("Running...");
246
+ this.parent.dom.inputs.style("opacity", 0.5).style("pointer-events", "none");
247
+ const data = await this.vocabApi.getRegressionData(this.getDataRequestOpts());
248
+ if (data.error) throw data.error;
249
+ this.dom.err_div.style("display", "none");
250
+ this.dom.oneSetResultDiv.selectAll("*").remove();
251
+ this.dom.holder.style("display", "block");
252
+ await this.displayResult(data);
253
+ const results_y = this.dom.holder.node().getBoundingClientRect().top + window.scrollY;
254
+ const nav_height = document.querySelector(".sjpp-nav")?.getBoundingClientRect().height;
255
+ if (!nav_height || isNaN(nav_height)) throw new Error("cannot get nav height");
256
+ window.scroll({ behavior: "smooth", top: results_y - nav_height });
257
+ } catch (e) {
258
+ this.hasError = true;
259
+ this.dom.holder.style("display", "block");
260
+ this.dom.err_div.style("display", "block");
261
+ sayerror(this.dom.err_div, "Error: " + (e.error || e));
262
+ this.parent.inputs.dom.submitBtn.property("disabled", true);
263
+ if (e.stack) console.log(e.stack);
264
+ console.error(e);
265
+ } finally {
266
+ this.parent.dom.inputs.style("opacity", 1).style("pointer-events", "auto");
267
+ }
268
+ }
269
+ // creates an opts object for the vocabApi.getRegressionData()
270
+ getDataRequestOpts() {
271
+ const c = this.config;
272
+ const opts = {
273
+ regressionType: c.regressionType,
274
+ outcome: c.outcome,
275
+ independent: c.independent,
276
+ includeUnivariate: c.includeUnivariate
277
+ };
278
+ opts.filter = this.parent.filter;
279
+ opts.filter0 = this.state.termfilter.filter0;
280
+ return opts;
281
+ }
282
+ getIndependentInput(tid) {
283
+ for (const i of this.parent.inputs.independent.inputLst) {
284
+ if (!i.term) continue;
285
+ if (i.term.term && i.term.term.snps) {
286
+ for (const snp of i.term.term.snps) {
287
+ if (snp.snpid == tid) {
288
+ const tw = {
289
+ id: tid,
290
+ q: {
291
+ geneticModel: i.term.q.geneticModel
292
+ },
293
+ term: {
294
+ id: tid,
295
+ name: tid
296
+ },
297
+ interactions: i.term.interactions,
298
+ effectAllele: i.term.q.snp2effAle[tid],
299
+ gt2count: snp.gt2count
300
+ };
301
+ if (i.term.q.snp2refGrp) {
302
+ tw.refGrp = i.term.q.snp2refGrp[tid];
303
+ }
304
+ if (snp.mlst) {
305
+ const m = snp.mlst.find((j) => j.alt == i.term.q.snp2effAle[tid]);
306
+ if (m) {
307
+ tw.term.name = m.mname;
308
+ } else {
309
+ tw.term.name = snp.mlst[0].mname;
310
+ }
311
+ }
312
+ return { term: tw };
313
+ }
314
+ }
315
+ }
316
+ if (i.term.$id == tid) return i;
317
+ }
318
+ return {
319
+ term: {
320
+ id: tid,
321
+ q: { mode: "continuous" },
322
+ term: { name: tid }
323
+ }
324
+ };
325
+ }
326
+ };
327
+ function setRenderers(self) {
328
+ self.displayResult = async (result) => {
329
+ const snplocusInput = self.parent.inputs.independent.inputLst.find((i) => i.term && i.term.term.type == "snplocus");
330
+ if (snplocusInput) {
331
+ if (!self.snplocusBlock) {
332
+ self.dom.snplocusBlockDiv.append("div").style("margin-top", "30px").style("opacity", graytextopacity).text("Click on a variant within the browser to view its regression results");
333
+ self.snplocusBlock = await createGenomebrowser(self, snplocusInput, result.resultLst);
334
+ } else {
335
+ await updateMds3Tk(self, snplocusInput, result.resultLst);
336
+ }
337
+ return;
338
+ }
339
+ delete self.snplocusBlock;
340
+ self.dom.snplocusBlockDiv.selectAll("*").remove();
341
+ if (!result.resultLst[0] || !result.resultLst[0].data) throw "result is not [ {data:{}} ]";
342
+ self.displayResult_oneset(result.resultLst[0].data);
343
+ };
344
+ self.displayResult_oneset = (result) => {
345
+ self.dom.oneSetResultDiv.selectAll("*").remove();
346
+ self.dom.LDresultDiv = self.dom.oneSetResultDiv.append("div");
347
+ self.mayshow_warn(result);
348
+ if (result.sampleSize) self.newDiv("Sample size:", result.sampleSize);
349
+ if (result.eventCnt) self.newDiv("Number of events:", result.eventCnt);
350
+ self.mayshow_headerRow(result);
351
+ self.mayshow_splinePlots(result);
352
+ self.mayshow_residuals(result);
353
+ self.mayshow_coefficients(result);
354
+ self.mayshow_coxDisclaimer();
355
+ self.mayshow_totalSnpEffect(result);
356
+ self.mayshow_type3(result);
357
+ self.mayshow_nonlinearity(result);
358
+ self.mayshow_tests(result);
359
+ self.mayshow_other(result);
360
+ self.mayshow_fisher(result);
361
+ self.mayshow_wilcoxon(result);
362
+ self.mayshow_cuminc(result);
363
+ };
364
+ self.newDiv = (label, label2, getrow) => {
365
+ const div = self.dom.oneSetResultDiv.append("div").style("margin", "20px 0px 10px 0px").attr("name", label);
366
+ const row = div.append("div");
367
+ row.append("span").style("text-decoration", "underline").text(label);
368
+ if (label2) {
369
+ row.append("span").html(label2).style("margin-left", "5px");
370
+ }
371
+ return getrow ? row : div.append("div").style("margin-left", "20px");
372
+ };
373
+ self.mayshow_warn = (result) => {
374
+ if (!result.warnings) return;
375
+ const div = self.newDiv("Warnings");
376
+ const warnings = new Set(result.warnings);
377
+ for (const line of warnings) {
378
+ div.append("p").style("margin", "5px").text(line);
379
+ }
380
+ };
381
+ self.mayshow_headerRow = (result) => {
382
+ if (!result.headerRow) return;
383
+ const k = result.headerRow.k;
384
+ const v = result.headerRow.v;
385
+ const snplocusInput = self.parent.inputs.independent.inputLst.find((i) => i.term && i.term.term.type == "snplocus");
386
+ if (snplocusInput) {
387
+ const snp = snplocusInput.term.term.snps.find((snp2) => snp2.snpid == v.snpid);
388
+ const m = snp.mlst[0];
389
+ m.chr = snp.chr;
390
+ const row = self.newDiv(k, null, true);
391
+ const snpLabelDom = row.append("span").text(`${m.chr}:${m.pos + 1} ${m.ref && m.alt ? m.ref + ">" + m.alt : ""}`).style("margin-left", "5px");
392
+ const urlConfig = self.app.vocabApi.termdbConfig.urlTemplates?.ssm || self.app.vocabApi.termdbConfig.queries?.snvindel?.ssmUrl;
393
+ if (urlConfig) {
394
+ const separateUrls = makeSsmLink(urlConfig, m, snpLabelDom, self.parent.genomeObj.name);
395
+ if (separateUrls?.length) {
396
+ row.append("span").style("margin-left", "10px").html(separateUrls.join(" "));
397
+ }
398
+ }
399
+ let labels;
400
+ const gt_label = `Genotypes: ${v.gtcounts.join(", ")}`;
401
+ if (v.monomorphic) {
402
+ labels = [gt_label];
403
+ } else {
404
+ const effale_label = `Effect allele: ${v.effAle}`;
405
+ const af_label = `Allele frequency: ${v.af}`;
406
+ labels = [effale_label, af_label, gt_label];
407
+ }
408
+ row.append("span").html(`&nbsp;&#65372;&nbsp;${labels.join("&nbsp;&#65372;&nbsp;")}`);
409
+ } else {
410
+ self.newDiv(k, v);
411
+ }
412
+ };
413
+ self.mayshow_splinePlots = (result) => {
414
+ if (!result.splinePlots) return;
415
+ const div = self.newDiv("Cubic spline plots");
416
+ div.style("display", "flex").style("align-items", "center");
417
+ result.splinePlots.sort((a, b) => {
418
+ if (a.type == "univariate" && b.type == "multivariate") return -1;
419
+ if (a.type == "multivariate" && b.type == "univariate") return 1;
420
+ return 0;
421
+ });
422
+ for (const plot of result.splinePlots) {
423
+ const plotDiv = div.append("div").style("margin", "0px 50px 5px 0px");
424
+ plotDiv.append("img").attr("src", plot.src).attr("width", 670);
425
+ }
426
+ };
427
+ self.mayshow_residuals = (result) => {
428
+ if (!result.residuals) return;
429
+ const div = self.newDiv(result.residuals.label);
430
+ const table = div.append("table").style("border-spacing", "8px").attr("name", "sjpp-residuals-table");
431
+ const tr1 = table.append("tr").style("opacity", graytextopacity);
432
+ const tr2 = table.append("tr");
433
+ for (let i = 0; i < result.residuals.header.length; i++) {
434
+ tr1.append("td").text(result.residuals.header[i]);
435
+ tr2.append("td").text(result.residuals.rows[i]);
436
+ }
437
+ };
438
+ self.mayshow_cuminc = async (result) => {
439
+ if (!result.cuminc) return;
440
+ const holder = self.newDiv(
441
+ "Cumulative incidence test:"
442
+ /*, 'p-value = ' + result.cuminc.pvalue*/
443
+ );
444
+ const _ = await import("./Cuminc-QB6GE5MI.js");
445
+ const plotter = new _.Cuminc({
446
+ holder,
447
+ config: {
448
+ term: self.config.outcome,
449
+ term2: {
450
+ term: {
451
+ name: "Variant",
452
+ values: {
453
+ 1: { key: 1, label: "Has minor allele" },
454
+ 2: { key: 2, label: "No minor allele" }
455
+ }
456
+ }
457
+ }
458
+ }
459
+ });
460
+ if (result.cuminc.ci_data) {
461
+ plotter.main(result.cuminc.ci_data);
462
+ } else {
463
+ holder.append("div").style("margin", "20px").text(result.cuminc.msg);
464
+ }
465
+ };
466
+ self.mayshow_wilcoxon = (result) => {
467
+ if (!result.wilcoxon) return;
468
+ const div = self.newDiv("Wilcoxon rank sum test:", "p-value = " + result.wilcoxon.pvalue);
469
+ if (result.wilcoxon.boxplots) {
470
+ const bs = result.wilcoxon.boxplots;
471
+ const boxplotHeight = 20, boxplotWidth = 400, leftLabelWidth = 160, axisheight = 40, labpad = 20, vpad = 10;
472
+ const scale = linear().domain([bs.minv, bs.maxv]).range([0, boxplotWidth]);
473
+ const svg = div.append("svg").style("margin-top", "10px").attr("width", leftLabelWidth + labpad + boxplotWidth + 10).attr("height", vpad * 3 + boxplotHeight * 2 + axisheight);
474
+ const g = svg.append("g").attr("transform", `translate(${leftLabelWidth + labpad},${vpad})`);
475
+ drawBoxplot({
476
+ g: g.append("g"),
477
+ bp: bs.hasEff,
478
+ scale,
479
+ rowheight: boxplotHeight,
480
+ color: boxplotcolor,
481
+ labpad
482
+ });
483
+ drawBoxplot({
484
+ g: g.append("g").attr("transform", `translate(0,${boxplotHeight + vpad})`),
485
+ bp: bs.noEff,
486
+ scale,
487
+ rowheight: boxplotHeight,
488
+ color: boxplotcolor,
489
+ labpad
490
+ });
491
+ {
492
+ const axisg = g.append("g").attr("transform", `translate(0,${boxplotHeight * 2 + vpad * 2})`);
493
+ const axis = axisBottom(scale);
494
+ axisstyle({
495
+ axis: axisg.call(axis),
496
+ color: boxplotcolor,
497
+ showline: true
498
+ });
499
+ axisg.append("text").text(self.config.outcome.term.name).attr("font-size", 15).attr("x", boxplotWidth / 2).attr("y", axisheight - 5).attr("text-anchor", "middle").attr("fill", boxplotcolor);
500
+ }
501
+ }
502
+ };
503
+ self.mayshow_fisher = (result) => {
504
+ if (!result.fisher) return;
505
+ const div = self.newDiv(
506
+ result.fisher.isChi ? "Chi-square test:" : "Fisher's exact test:",
507
+ "p-value = " + result.fisher.pvalue
508
+ );
509
+ const table = div.append("table").style("margin", "20px").style("border-spacing", "5px").style("border-collapse", "separate");
510
+ for (const r of result.fisher.rows) {
511
+ const tr = table.append("tr");
512
+ for (const c of r) {
513
+ tr.append("td").text(c);
514
+ }
515
+ }
516
+ };
517
+ self.mayshow_coefficients = (result) => {
518
+ if (!result.coefficients) {
519
+ if (result.coefficients_uni && result.coefficients_multi) {
520
+ self.mayshow_coefficients_uniMulti(result);
521
+ }
522
+ return;
523
+ }
524
+ const div = self.newDiv(result.coefficients.label);
525
+ const table = div.append("table").style("border-spacing", "0px").attr("data-testid", "sjpp-regression-resultCoefficientTable");
526
+ const forestPlotter = self.getForestPlotter(result.coefficients.terms, result.coefficients.interactions);
527
+ {
528
+ const tr = table.append("tr");
529
+ const header = result.coefficients.header;
530
+ tr.append("td").text(header.shift()).style("padding", "8px");
531
+ tr.append("td").text(header.shift()).style("padding", "8px");
532
+ if (self.config.regressionType == "cox") {
533
+ header.shift();
534
+ header.shift();
535
+ }
536
+ header.splice(1, 2, "95% CI");
537
+ self.fillDataHeaders(header, tr, void 0, void 0, forestPlotter);
538
+ }
539
+ self.independentTws = Object.keys(result.coefficients.terms).map((tid) => self.getIndependentInput(tid).term);
540
+ let varcount = 0;
541
+ const intercept = result.coefficients.intercept;
542
+ if (intercept) {
543
+ const tr = table.append("tr").style("background", ++varcount % 2 ? "#eee" : "none");
544
+ tr.append("td").text(intercept.shift()).style("padding", "8px");
545
+ tr.append("td").text(intercept.shift()).style("padding", "8px");
546
+ tr.append("td");
547
+ self.fillCoefDataCols({ tr, cols: intercept, isIntercept: true });
548
+ }
549
+ let rowcolor;
550
+ for (const tid in result.coefficients.terms) {
551
+ const termdata = result.coefficients.terms[tid];
552
+ const tw = self.getIndependentInput(tid).term;
553
+ rowcolor = ++varcount % 2 ? "#eee" : "none";
554
+ let tr = table.append("tr").style("background", rowcolor);
555
+ const termNameTd = tr.append("td").style("padding", "8px");
556
+ fillCoefficientTermname(tw, termNameTd);
557
+ if (termdata.fields) {
558
+ const cols = termdata.fields;
559
+ {
560
+ const td = tr.append("td").style("padding", "8px");
561
+ fillColumn2coefficientsTable(td, tw);
562
+ }
563
+ if (self.config.regressionType == "cox") {
564
+ cols.shift();
565
+ cols.shift();
566
+ }
567
+ forestPlotter(tr.append("td"), cols);
568
+ self.fillCoefDataCols({ tr, cols, tw });
569
+ } else if (termdata.categories) {
570
+ const orderedCategories = [];
571
+ const input = self.getIndependentInput(tid);
572
+ if (input.orderedLabels) {
573
+ for (const k of input.orderedLabels) {
574
+ if (termdata.categories[k]) orderedCategories.push(k);
575
+ }
576
+ }
577
+ for (const k in termdata.categories) {
578
+ if (!orderedCategories.includes(k)) orderedCategories.push(k);
579
+ }
580
+ termNameTd.attr("rowspan", orderedCategories.length).style("vertical-align", "top");
581
+ let isfirst = true;
582
+ for (const k of orderedCategories) {
583
+ if (!isfirst) {
584
+ tr = table.append("tr").style("background", rowcolor);
585
+ }
586
+ const cols = termdata.categories[k];
587
+ const td = tr.append("td").style("padding", "8px");
588
+ fillColumn2coefficientsTable(td, tw, k);
589
+ if (self.config.regressionType == "cox") {
590
+ if (tw.q.mode == "spline") {
591
+ cols.shift();
592
+ cols.shift();
593
+ } else {
594
+ const [samplesize_ref, samplesize_c] = cols.shift().split("/");
595
+ const [eventcnt_ref, eventcnt_c] = cols.shift().split("/");
596
+ if (isfirst) {
597
+ const variableBottomDiv = termNameTd.select(".sjpcb-coef-variable-bottom");
598
+ variableBottomDiv.style("align-items", "baseline");
599
+ const refGrpDiv = variableBottomDiv.selectAll("div").filter((d, i) => i === 1);
600
+ refGrpDiv.append("div").html(`n=${samplesize_ref}<br>events=${eventcnt_ref}`);
601
+ }
602
+ td.append("div").style("font-size", ".8em").html(`n=${samplesize_c}<br>events=${eventcnt_c}`);
603
+ }
604
+ }
605
+ forestPlotter(tr.append("td"), cols);
606
+ self.fillCoefDataCols({ tr, cols, tw, categoryKey: k });
607
+ isfirst = false;
608
+ }
609
+ } else {
610
+ tr.append("td").text("ERROR: no .fields[] or .categories{}");
611
+ }
612
+ }
613
+ for (const i of result.coefficients.interactions) {
614
+ rowcolor = ++varcount % 2 ? "#eee" : "none";
615
+ let tr = table.append("tr").style("background", rowcolor);
616
+ const term1 = self.getIndependentInput(i.term1).term;
617
+ const term2 = self.getIndependentInput(i.term2).term;
618
+ {
619
+ const td = tr.append("td").style("padding", "8px");
620
+ fillTdName(td.append("div"), term1 ? term1.term.name + " : " : i.term1 + " : ");
621
+ fillTdName(td.append("div"), term2 ? term2.term.name : i.term2);
622
+ td.attr("rowspan", i.categories.length).style("vertical-align", "top");
623
+ }
624
+ let isfirst = true;
625
+ for (const c of i.categories) {
626
+ if (!isfirst) tr = table.append("tr").style("background", rowcolor);
627
+ const td = tr.append("td").style("padding", "8px");
628
+ fillColumn2coefficientsTable(td.append("div"), term1, c.category1);
629
+ fillColumn2coefficientsTable(td.append("div"), term2, c.category2);
630
+ const cols = c.lst;
631
+ if (self.config.regressionType == "cox") {
632
+ cols.shift();
633
+ cols.shift();
634
+ }
635
+ forestPlotter(tr.append("td"), cols);
636
+ self.fillCoefDataCols({ tr, cols, tw: term1, tw2: term2, categoryKey: c.category1, categoryKey2: c.category2 });
637
+ isfirst = false;
638
+ }
639
+ }
640
+ };
641
+ self.mayshow_coefficients_uniMulti = (result) => {
642
+ if (!result.coefficients_uni || !result.coefficients_multi) return;
643
+ const div = self.newDiv(result.coefficients_uni.label);
644
+ div.style("margin-bottom", "200px");
645
+ const table = div.append("table").style("border-spacing", "0px").attr("data-testid", "sjpp-regression-resultCoefficientTable");
646
+ const forestPlotter_uni = self.getForestPlotter(result.coefficients_uni.terms, result.coefficients_uni.interactions);
647
+ const forestPlotter_multi = self.getForestPlotter(
648
+ result.coefficients_multi.terms,
649
+ result.coefficients_multi.interactions
650
+ );
651
+ {
652
+ const tr_label = table.append("tr").style("opacity", graytextopacity);
653
+ const tr = table.append("tr");
654
+ const header_uni = result.coefficients_uni.header;
655
+ const header_multi = result.coefficients_multi.header;
656
+ tr.append("td").text(header_uni.shift()).style("padding", "8px");
657
+ tr_label.append("td").style("padding", "8px");
658
+ header_multi.shift();
659
+ tr.append("td").text(header_uni.shift()).style("padding", "8px");
660
+ tr_label.append("td").style("padding", "8px");
661
+ header_multi.shift();
662
+ if (self.config.regressionType == "cox") {
663
+ header_uni.shift();
664
+ header_uni.shift();
665
+ header_multi.shift();
666
+ header_multi.shift();
667
+ }
668
+ header_uni.splice(1, 2, "95% CI");
669
+ header_multi.splice(1, 2, "95% CI");
670
+ self.fillDataHeaders(header_uni, tr, tr_label, "Univariate", forestPlotter_uni);
671
+ tr.append("td").style("width", "2px");
672
+ tr_label.append("td").style("width", "2px");
673
+ self.fillDataHeaders(header_multi, tr, tr_label, "Multivariable-adjusted", forestPlotter_multi);
674
+ }
675
+ self.independentTws = Object.keys(result.coefficients_uni.terms).map((tid) => self.getIndependentInput(tid).term);
676
+ let varcount = 0, rowcolor;
677
+ for (const tid in result.coefficients_uni.terms) {
678
+ const termdata = result.coefficients_uni.terms[tid];
679
+ const termdata_multi = result.coefficients_multi.terms[tid];
680
+ const tw = self.getIndependentInput(tid).term;
681
+ rowcolor = ++varcount % 2 ? "#eee" : "none";
682
+ let tr = table.append("tr").style("background", rowcolor);
683
+ const termNameTd = tr.append("td").style("padding", "8px");
684
+ fillCoefficientTermname(tw, termNameTd);
685
+ if (termdata.fields) {
686
+ const cols = termdata.fields;
687
+ const cols_multi = termdata_multi.fields;
688
+ {
689
+ const td = tr.append("td").style("padding", "8px");
690
+ fillColumn2coefficientsTable(td, tw);
691
+ }
692
+ if (self.config.regressionType == "cox") {
693
+ cols.shift();
694
+ cols.shift();
695
+ cols_multi.shift();
696
+ cols_multi.shift();
697
+ }
698
+ forestPlotter_uni(tr.append("td"), cols);
699
+ self.fillCoefDataCols({ tr, cols, tw, isUnivariate: true });
700
+ tr.append("td").style("width", "2px");
701
+ forestPlotter_multi(tr.append("td"), cols_multi);
702
+ self.fillCoefDataCols({ tr, cols: cols_multi, tw });
703
+ } else if (termdata.categories) {
704
+ const orderedCategories = [];
705
+ const input = self.getIndependentInput(tid);
706
+ if (input.orderedLabels) {
707
+ for (const k of input.orderedLabels) {
708
+ if (termdata.categories[k]) orderedCategories.push(k);
709
+ }
710
+ }
711
+ for (const k in termdata.categories) {
712
+ if (!orderedCategories.includes(k)) orderedCategories.push(k);
713
+ }
714
+ termNameTd.attr("rowspan", orderedCategories.length).style("vertical-align", "top");
715
+ let isfirst = true;
716
+ for (const k of orderedCategories) {
717
+ if (!isfirst) {
718
+ tr = table.append("tr").style("background", rowcolor);
719
+ }
720
+ const cols = termdata.categories[k];
721
+ const cols_multi = termdata_multi.categories[k];
722
+ const td = tr.append("td").style("padding", "8px");
723
+ fillColumn2coefficientsTable(td, tw, k);
724
+ if (self.config.regressionType == "cox") {
725
+ if (tw.q.mode == "spline") {
726
+ cols.shift();
727
+ cols.shift();
728
+ cols_multi.shift();
729
+ cols_multi.shift();
730
+ } else {
731
+ const [samplesize_ref, samplesize_c] = cols.shift().split("/");
732
+ const [eventcnt_ref, eventcnt_c] = cols.shift().split("/");
733
+ if (isfirst) {
734
+ const variableBottomDiv = termNameTd.select(".sjpcb-coef-variable-bottom");
735
+ variableBottomDiv.style("align-items", "baseline");
736
+ const refGrpDiv = variableBottomDiv.selectAll("div").filter((d, i) => i === 1);
737
+ refGrpDiv.append("div").html(`n=${samplesize_ref}<br>events=${eventcnt_ref}`);
738
+ }
739
+ td.append("div").style("font-size", ".8em").html(`n=${samplesize_c}<br>events=${eventcnt_c}`);
740
+ cols_multi.shift();
741
+ cols_multi.shift();
742
+ }
743
+ }
744
+ forestPlotter_uni(tr.append("td"), cols);
745
+ self.fillCoefDataCols({ tr, cols, tw, categoryKey: k, isUnivariate: true });
746
+ tr.append("td").style("width", "2px");
747
+ forestPlotter_multi(tr.append("td"), cols_multi);
748
+ self.fillCoefDataCols({ tr, cols: cols_multi, tw, categoryKey: k });
749
+ isfirst = false;
750
+ }
751
+ } else {
752
+ tr.append("td").text("ERROR: no .fields[] or .categories{}");
753
+ }
754
+ }
755
+ };
756
+ self.fillDataHeaders = (header, tr, tr_label, label, forestPlotter) => {
757
+ const startColN = tr.selectAll("td").size();
758
+ const forestTd = tr.append("td");
759
+ if (forestPlotter) {
760
+ forestTd.style("vertical-align", "bottom");
761
+ forestPlotter(forestTd);
762
+ }
763
+ header.forEach((h, i, arr) => {
764
+ if (i === 0) {
765
+ const est = h;
766
+ const estTd = tr.append("td").style("padding", "8px").text(est);
767
+ const estInfo = estTd.append("sup").style("cursor", "default").html("&nbsp;&#9432;");
768
+ estInfo.on("mouseover", (event) => {
769
+ const tip = self.dom.tip.clear();
770
+ tip.d.append("div").text("Hover over each value to view explanation of the result");
771
+ tip.showunder(event.target);
772
+ });
773
+ estInfo.on("mouseout", () => self.dom.tip.hide());
774
+ } else {
775
+ const td = tr.append("td").text(h).style("padding", "8px");
776
+ if (i === arr.length - 1) td.style("font-style", "italic");
777
+ }
778
+ });
779
+ if (tr_label) {
780
+ const endColN = tr.selectAll("td").size();
781
+ tr_label.append("td").attr("colspan", endColN - startColN).style("padding", "0px 8px").style("text-align", "center").append("div").text(label).style("border-bottom", "1px solid").style("padding", "5px");
782
+ }
783
+ };
784
+ self.fillCoefDataCols = (arg) => {
785
+ const { tr, cols, tw } = arg;
786
+ const est = cols.shift();
787
+ const estSpan = tr.append("td").style("padding", "8px").style("cursor", "default").append("span").text(est);
788
+ estSpan.on("mouseover", (event) => {
789
+ if (tw && tw.q.mode == "spline") return;
790
+ const tip = self.dom.tip.clear();
791
+ let estimateMsg = self.getEstimateMsg(Object.assign({ est: Number(est) }, arg));
792
+ if (tw) {
793
+ const pvalue = Number(cols[cols.length - 1]);
794
+ estimateMsg += `<br><br><span style="font-style: italic">This association is ${pvalue < 0.05 ? "statistically significant (P < 0.05)" : "not statistically significant (P \u2265 0.05)</span>"}.`;
795
+ }
796
+ tip.d.append("div").style("max-width", "500px").html(estimateMsg);
797
+ tip.showunder(event.target);
798
+ });
799
+ estSpan.on("mouseout", () => self.dom.tip.hide());
800
+ tr.append("td").html(`${cols.shift()} &ndash; ${cols.shift()}`).style("padding", "8px");
801
+ for (const v of cols) tr.append("td").text(v).style("padding", "8px");
802
+ };
803
+ self.getEstimateMsg = (arg) => getEstimateMsg(
804
+ Object.assign(
805
+ {
806
+ regressionType: self.config.regressionType,
807
+ outcomeTw: self.config.outcome,
808
+ independentTws: self.independentTws,
809
+ termdbConfig: self.app.vocabApi.termdbConfig,
810
+ getIndependentInput: (tid) => self.getIndependentInput(tid)
811
+ },
812
+ arg
813
+ )
814
+ );
815
+ self.mayshow_coxDisclaimer = () => {
816
+ const disclaimer = self.app.vocabApi.termdbConfig.regression?.settings?.coxDisclaimer;
817
+ if (disclaimer && self.config.regressionType == "cox") {
818
+ self.dom.oneSetResultDiv.append("div").style("white-space", "wrap").attr("data-testid", "sjpp-regression-result-coxDisclaimer").style("margin", "20px 0px 20px 10px").style("font-size", ".8em").style("text-align", "left").text(disclaimer);
819
+ }
820
+ };
821
+ self.mayshow_totalSnpEffect = (result) => {
822
+ if (!result.totalSnpEffect) return;
823
+ const div = self.newDiv(result.totalSnpEffect.label);
824
+ const table = div.append("table").style("border-spacing", "0px");
825
+ {
826
+ const tr2 = table.append("tr").style("opacity", graytextopacity);
827
+ for (const v of result.totalSnpEffect.header) {
828
+ tr2.append("td").text(v).style("padding", "8px");
829
+ }
830
+ }
831
+ const tr = table.append("tr").style("background", "#eee");
832
+ for (const v of result.totalSnpEffect.lst) {
833
+ tr.append("td").text(v).style("padding", "8px");
834
+ }
835
+ const snp = self.getIndependentInput(result.totalSnpEffect.snp).term;
836
+ const interactions = result.totalSnpEffect.interactions.map((interaction) => {
837
+ return {
838
+ t1: self.getIndependentInput(interaction.term1).term,
839
+ t2: self.getIndependentInput(interaction.term2).term
840
+ };
841
+ });
842
+ const bottomInfo = `Total: total effect of removing the snp (${snp.term.name}) and its interactions (${interactions.map((interaction) => interaction.t1.term.name + " : " + interaction.t2.term.name).join(" ; ")}) from the model`;
843
+ div.append("div").style("margin", "20px 0px 20px 10px").style("font-size", ".8em").style("text-align", "left").style("color", graytextcolor).text(bottomInfo);
844
+ };
845
+ self.mayshow_type3 = (result) => {
846
+ if (!result.type3 || self.app.vocabApi.termdbConfig.regression?.settings?.hideType3) return;
847
+ const div = self.newDiv(result.type3.label);
848
+ const table = div.append("table").style("border-spacing", "0px");
849
+ {
850
+ const tr = table.append("tr").style("opacity", graytextopacity);
851
+ for (const v of result.type3.header) {
852
+ tr.append("td").text(v).style("padding", "8px");
853
+ }
854
+ }
855
+ if (self.config.regressionType != "cox") {
856
+ const tr = table.append("tr").style("background", "#eee");
857
+ for (const v of result.type3.intercept) {
858
+ tr.append("td").text(v).style("padding", "8px");
859
+ }
860
+ }
861
+ let rowcount = self.config.regressionType == "cox" ? 1 : 0;
862
+ for (const tid in result.type3.terms) {
863
+ const termdata = result.type3.terms[tid];
864
+ const tw = self.getIndependentInput(tid).term;
865
+ const tr = table.append("tr").style("background", rowcount++ % 2 ? "#eee" : "none");
866
+ const termNameTd = tr.append("td").style("padding", "8px");
867
+ fillTdName(termNameTd, tw.term.name);
868
+ for (const v of termdata) {
869
+ tr.append("td").text(v).style("padding", "8px");
870
+ }
871
+ }
872
+ for (const row of result.type3.interactions) {
873
+ const tr = table.append("tr").style("background", rowcount++ % 2 ? "#eee" : "none");
874
+ const t1 = self.getIndependentInput(row.term1).term;
875
+ const t2 = self.getIndependentInput(row.term2).term;
876
+ const td = tr.append("td").style("padding", "8px");
877
+ fillTdName(td.append("div"), t1.term.name + " : ");
878
+ fillTdName(td.append("div"), t2.term.name);
879
+ for (const v of row.lst) {
880
+ tr.append("td").text(v).style("padding", "8px");
881
+ }
882
+ }
883
+ };
884
+ self.mayshow_nonlinearity = (result) => {
885
+ if (!result.nonlinearity) return;
886
+ const div = self.newDiv(result.nonlinearity.label);
887
+ const table = div.append("table").style("border-spacing", "0px");
888
+ {
889
+ const tr = table.append("tr").style("opacity", graytextopacity);
890
+ for (const v of result.nonlinearity.header) {
891
+ tr.append("td").text(v).style("padding", "8px");
892
+ }
893
+ }
894
+ let rowcount = 0;
895
+ for (const tid in result.nonlinearity.terms) {
896
+ const tw = self.getIndependentInput(tid).term;
897
+ const tr = table.append("tr").style("background", rowcount++ % 2 ? "none" : "#eee");
898
+ fillTdName(tr.append("td").style("padding", "8px"), tw.term.name);
899
+ for (const v of result.nonlinearity.terms[tid]) {
900
+ tr.append("td").text(v).style("padding", "8px");
901
+ }
902
+ }
903
+ div.append("div").style("margin", "10px 0px 0px 0px").style("font-size", ".8em").style("color", graytextcolor).text(
904
+ "Comparison of the cubic spline fit against a linear fit of the same variable. A small p-value indicates the effect of the variable departs from linearity."
905
+ );
906
+ };
907
+ self.mayshow_tests = (result) => {
908
+ if (!result.tests || self.app.vocabApi.termdbConfig.regression?.settings?.hideTests) return;
909
+ const div = self.newDiv(result.tests.label);
910
+ const table = div.append("table").style("border-spacing", "0px");
911
+ const header = table.append("tr").style("opacity", graytextopacity);
912
+ for (const cell of result.tests.header) {
913
+ header.append("td").text(cell).style("padding", "8px");
914
+ }
915
+ let rowcount = 0;
916
+ for (const row of result.tests.rows) {
917
+ const tr = table.append("tr").style("background", rowcount++ % 2 ? "none" : "#eee");
918
+ for (const cell of row) {
919
+ tr.append("td").text(cell).style("padding", "8px");
920
+ }
921
+ }
922
+ };
923
+ self.mayshow_other = (result) => {
924
+ if (!result.other) return;
925
+ const div = self.newDiv(result.other.label);
926
+ const table = div.append("table").style("border-spacing", "8px");
927
+ for (let i = 0; i < result.other.header.length; i++) {
928
+ const tr = table.append("tr");
929
+ tr.append("td").style("opacity", graytextopacity).text(result.other.header[i]);
930
+ tr.append("td").text(result.other.rows[i]);
931
+ }
932
+ };
933
+ self.getForestPlotter = (terms, interactions) => {
934
+ let midIdx, CIlow, CIhigh, axislab, baselineValue, capMin, capMax;
935
+ if (self.config.regressionType == "linear") {
936
+ midIdx = 0;
937
+ CIlow = 1;
938
+ CIhigh = 2;
939
+ axislab = "Beta value";
940
+ baselineValue = 0;
941
+ capMin = null;
942
+ capMax = null;
943
+ } else if (self.config.regressionType == "logistic") {
944
+ midIdx = 0;
945
+ CIlow = 1;
946
+ CIhigh = 2;
947
+ axislab = "Odds ratio";
948
+ baselineValue = 1;
949
+ capMin = 0.1;
950
+ capMax = 10;
951
+ } else if (self.config.regressionType == "cox") {
952
+ midIdx = 0;
953
+ CIlow = 1;
954
+ CIhigh = 2;
955
+ axislab = "Hazard ratio";
956
+ baselineValue = 1;
957
+ capMin = 0.1;
958
+ capMax = 10;
959
+ } else {
960
+ throw "unknown regressionType";
961
+ }
962
+ const values = [];
963
+ for (const tid in terms) {
964
+ const d = terms[tid];
965
+ if (d.fields) {
966
+ numbers2array(d.fields);
967
+ } else {
968
+ for (const k in d.categories) {
969
+ numbers2array(d.categories[k]);
970
+ }
971
+ }
972
+ }
973
+ for (const i of interactions) {
974
+ for (const k of i.categories) {
975
+ numbers2array(k.lst);
976
+ }
977
+ }
978
+ if (values.length == 0) {
979
+ return () => {
980
+ };
981
+ }
982
+ values.sort((a, b) => a - b);
983
+ if (capMin == null) {
984
+ capMin = values[0];
985
+ capMax = values[values.length - 1];
986
+ }
987
+ const width = 180;
988
+ const height = 20;
989
+ const xleftpad = 10, xrightpad = 10;
990
+ const scale = get_scale(values);
991
+ return (td, lst) => {
992
+ if (!scale) {
993
+ return;
994
+ }
995
+ const fontsize = 12;
996
+ const svg = td.append("svg").attr("width", width + xleftpad + xrightpad).attr("height", lst ? height : height + fontsize);
997
+ const g = svg.append("g").attr("transform", `translate(${xleftpad},${lst ? 0 : height + fontsize - 1})`);
998
+ if (!lst) {
999
+ const tickFormat = self.config.regressionType == "logistic" ? ".1r" : void 0;
1000
+ const axis = axisTop(scale).ticks(4, tickFormat);
1001
+ axisstyle({
1002
+ axis: g.call(axis),
1003
+ color: forestcolor,
1004
+ showline: true
1005
+ });
1006
+ g.append("text").attr("fill", forestcolor).text(axislab).attr("x", width / 2).attr("y", -height);
1007
+ return;
1008
+ }
1009
+ {
1010
+ const x = scale(baselineValue);
1011
+ g.append("line").attr("x1", x).attr("y1", 0).attr("x2", x).attr("y2", height).attr("stroke", "#ccc");
1012
+ }
1013
+ const mid = Number(lst[midIdx]), cilow = Number(lst[CIlow]), cihigh = Number(lst[CIhigh]);
1014
+ if (Number.isNaN(mid)) {
1015
+ return;
1016
+ }
1017
+ g.append("circle").attr("cx", scale(Math.min(Math.max(mid, capMin), capMax))).attr("cy", height / 2).attr("r", 3).attr("fill", forestcolor);
1018
+ if (Number.isNaN(cilow) || Number.isNaN(cihigh)) {
1019
+ return;
1020
+ }
1021
+ g.append("line").attr("x1", scale(Math.min(Math.max(cilow, capMin), capMax))).attr("y1", height / 2).attr("x2", scale(Math.min(Math.max(cihigh, capMin), capMax))).attr("y2", height / 2).attr("stroke", forestcolor);
1022
+ };
1023
+ function numbers2array(_lst) {
1024
+ const lst = self.config.regressionType == "cox" ? _lst.slice(2) : _lst;
1025
+ const m = Number(lst[midIdx]);
1026
+ if (!Number.isNaN(m)) values.push(m);
1027
+ const l = Number(lst[CIlow]), h = Number(lst[CIhigh]);
1028
+ if (!Number.isNaN(l) && !Number.isNaN(h)) {
1029
+ values.push(l);
1030
+ values.push(h);
1031
+ }
1032
+ }
1033
+ function get_scale(values2) {
1034
+ if (self.config.regressionType == "logistic") {
1035
+ let i = 0;
1036
+ while (values2[i] <= 0) {
1037
+ i++;
1038
+ }
1039
+ if (i >= values2.length || values2[i] <= 0) {
1040
+ return;
1041
+ }
1042
+ const min = values2[i];
1043
+ const max = values2[values2.length - 1];
1044
+ return log().domain([Math.max(min, capMin), Math.min(max, capMax)]).range([0, width]).nice();
1045
+ }
1046
+ if (self.config.regressionType == "linear" || self.config.regressionType == "cox") {
1047
+ return linear().domain([Math.max(values2[0], capMin), Math.min(values2[values2.length - 1], capMax)]).range([0, width]);
1048
+ }
1049
+ throw "unknown type";
1050
+ }
1051
+ };
1052
+ }
1053
+ function fillTdName(td, name) {
1054
+ if (name.length < 40) {
1055
+ td.text(name);
1056
+ } else {
1057
+ td.text(name.substring(0, 35) + " ...").attr("aria-label", name);
1058
+ }
1059
+ }
1060
+ function fillCoefficientTermname(tw, td) {
1061
+ fillTdName(td, tw.term.name || tw.term.id || "");
1062
+ const hasRefGrp = "refGrp" in tw && tw.refGrp != refGrp_NA && tw.q.mode != "spline";
1063
+ if (hasRefGrp || tw.effectAllele) {
1064
+ const bottomDiv = td.append("div").attr("class", "sjpcb-coef-variable-bottom").style("display", "flex").style("align-items", "center").style("margin-top", "2px").style("font-size", ".8em");
1065
+ let label;
1066
+ if (hasRefGrp) {
1067
+ label = tw.term.values && tw.term.values[tw.refGrp] ? tw.term.values[tw.refGrp].label : tw.refGrp;
1068
+ } else {
1069
+ label = tw.effectAllele;
1070
+ }
1071
+ bottomDiv.append("div").style("padding", "1px 5px").style("border", "1px solid #aaa").style("border-radius", "10px").style("font-size", ".7em").text(hasRefGrp ? "REF" : "EFFECT ALLELE");
1072
+ bottomDiv.append("div").style("padding", "1px 3px").text(label);
1073
+ }
1074
+ const toUnit = tw.term.valueConversion?.toUnit;
1075
+ if (toUnit && (tw.q.mode == "continuous" || tw.q.mode == "spline")) {
1076
+ td.append("div").style("margin-top", "2px").style("font-size", ".7em").style("opacity", 0.6).text(`per ${toUnit}`);
1077
+ }
1078
+ }
1079
+ function make_mds3_variants(tw, resultLst, regressionType) {
1080
+ const mlst = [];
1081
+ for (const snp of tw.term.snps) {
1082
+ const m = {
1083
+ chr: snp.chr,
1084
+ pos: snp.pos,
1085
+ ssm_id: snp.snpid
1086
+ // needed for highlighting dot
1087
+ };
1088
+ mlst.push(m);
1089
+ const effAle = tw.q.snp2effAle[snp.snpid];
1090
+ const m2 = snp.mlst.find((i) => i.alt == effAle);
1091
+ if (m2) {
1092
+ Object.assign(m, m2);
1093
+ } else {
1094
+ Object.assign(m, snp.mlst[0]);
1095
+ }
1096
+ m.regressionPvalue = "NA";
1097
+ m.mlpv = 0;
1098
+ const thisresult = resultLst.find((i) => i.id == snp.snpid);
1099
+ if (!thisresult) {
1100
+ m.regressionResult = {
1101
+ data: {
1102
+ err: ["No result for this variant at " + snp.snpid]
1103
+ }
1104
+ };
1105
+ continue;
1106
+ }
1107
+ m.regressionResult = thisresult;
1108
+ const d = thisresult.data;
1109
+ if (!d) throw ".data{} missing";
1110
+ if (d.type3) {
1111
+ const v = getSnpPvalueFromRegressionResults(d, snp.snpid);
1112
+ if (v == void 0) {
1113
+ } else {
1114
+ m.regressionPvalue = v;
1115
+ m.mlpv = -Math.log10(v);
1116
+ }
1117
+ if (!d.coefficients || !d.coefficients.terms) throw ".data.coefficients.terms{} missing";
1118
+ const r = d.coefficients.terms[snp.snpid];
1119
+ if (!r) throw "snp missing from data.coefficients.terms{}";
1120
+ if (Array.isArray(r.fields)) {
1121
+ m.regressionEstimate = regressionType == "cox" ? r.fields[2] : r.fields[0];
1122
+ } else if (r.categories) {
1123
+ const lst = [];
1124
+ for (const gt in r.categories) {
1125
+ lst.push(`${gt}:${regressionType == "cox" ? r.categories[gt][2] : r.categories[gt][0]}`);
1126
+ }
1127
+ m.regressionEstimate = " " + lst.join(" ");
1128
+ } else {
1129
+ throw "unknown way to get snp estimates from coefficients table";
1130
+ }
1131
+ } else if (d.fisher) {
1132
+ m.regressionPvalue = d.fisher.pvalue;
1133
+ m.mlpv = -Math.log10(d.fisher.pvalue);
1134
+ m.shape = "filledTriangle";
1135
+ } else if (d.wilcoxon) {
1136
+ m.regressionPvalue = d.wilcoxon.pvalue;
1137
+ m.mlpv = -Math.log10(d.wilcoxon.pvalue);
1138
+ m.shape = "filledTriangle";
1139
+ } else if (d.cuminc) {
1140
+ m.regressionPvalue = d.cuminc.pvalue;
1141
+ m.mlpv = -Math.log10(d.cuminc.pvalue);
1142
+ m.shape = "filledTriangle";
1143
+ } else {
1144
+ m.shape = "emptyCircle";
1145
+ }
1146
+ }
1147
+ return mlst;
1148
+ }
1149
+ async function createGenomebrowser(self, input, resultLst) {
1150
+ const arg = {
1151
+ holder: self.dom.snplocusBlockDiv,
1152
+ genome: self.parent.genomeObj,
1153
+ chr: input.term.q.chr,
1154
+ start: input.term.q.start,
1155
+ stop: input.term.q.stop,
1156
+ nobox: true,
1157
+ tklst: [],
1158
+ onCoordinateChange: async (rglst) => {
1159
+ for (const t of self.snplocusBlock.tklst) {
1160
+ if (t.type == "mds3") delete t.skewer.hlssmid;
1161
+ }
1162
+ const { chr, start, stop } = rglst[0];
1163
+ const overrideTw = {
1164
+ term: {
1165
+ id: input.term.term.id,
1166
+ type: "snplocus"
1167
+ },
1168
+ q: JSON.parse(JSON.stringify(input.term.q))
1169
+ };
1170
+ overrideTw.q.chr = chr;
1171
+ overrideTw.q.start = start;
1172
+ overrideTw.q.stop = stop;
1173
+ const _2 = await import("./snplocus-DS6E47B6.js");
1174
+ await _2.fillTW(overrideTw, self.vocabApi);
1175
+ self.hasUnsubmittedEdits_nullify_singleuse = true;
1176
+ input.pill.runCallback(overrideTw);
1177
+ }
1178
+ };
1179
+ arg.tklst.push({
1180
+ type: "mds3",
1181
+ // tkt.mds3
1182
+ name: "Variants",
1183
+ skewerModes: [
1184
+ {
1185
+ type: "numeric",
1186
+ byAttribute: "mlpv",
1187
+ // corresponds to the "mlpv" attribute in m{}, can be anything
1188
+ label: "-log10 p-value",
1189
+ inuse: true,
1190
+ tooltipPrintValue: (m) => getMtooltipValues(m, self.config.regressionType)
1191
+ }
1192
+ ],
1193
+ custom_variants: make_mds3_variants(input.term, resultLst, self.config.regressionType),
1194
+ legend: {
1195
+ customShapeLabels: {
1196
+ filledCircle: "common variants analyzed by model-fitting",
1197
+ filledTriangle: "rare variants analyzed by " + (self.config.regressionType == "linear" ? "Wilcoxon rank sum test" : self.config.regressionType == "logistic" ? "Fisher's exact test" : "Cumulative incidence test"),
1198
+ emptyCircle: "monomorphic variants skipped"
1199
+ }
1200
+ },
1201
+ click_snvindel: async (m) => {
1202
+ self.displayResult_oneset(structuredClone(m.regressionResult.data));
1203
+ await mayCheckLD(m, input, self);
1204
+ const result_y = self.dom.oneSetResultDiv.node().getBoundingClientRect().top + window.scrollY;
1205
+ const nav_height = document.querySelector(".sjpp-nav")?.getBoundingClientRect().height || 0;
1206
+ window.scroll({ behavior: "smooth", top: result_y - nav_height });
1207
+ }
1208
+ });
1209
+ first_genetrack_tolist(self.parent.genomeObj, arg.tklst);
1210
+ const _ = await import("./block-HJ6F6LXQ.js");
1211
+ return new _.Block(arg);
1212
+ }
1213
+ async function updateMds3Tk(self, input, resultLst) {
1214
+ const tk = self.snplocusBlock.tklst.find((i) => i.type == "mds3");
1215
+ tk.custom_variants = make_mds3_variants(input.term, resultLst, self.config.regressionType);
1216
+ const r = self.snplocusBlock.rglst[0];
1217
+ if (r.chr == input.term.q.chr && r.start == input.term.q.start && r.stop == input.term.q.stop) {
1218
+ tk.load();
1219
+ } else {
1220
+ await self.snplocusBlock.jump_1basedcoordinate(input.term.q);
1221
+ }
1222
+ self.snplocusBlock.cloakOff();
1223
+ }
1224
+ var LDcolor0 = "#2E6594";
1225
+ var LDcolor1 = "#ff0000";
1226
+ var LDcolorScale = rgb_default(LDcolor0, LDcolor1);
1227
+ async function mayCheckLD(m, input, self) {
1228
+ if (!input.term.q.restrictAncestry) {
1229
+ return;
1230
+ }
1231
+ const tk = self.snplocusBlock.tklst.find((i) => i.type == "mds3");
1232
+ if (!tk || !tk.skewer || !tk.skewer.nmg) return;
1233
+ for (const m2 of tk.custom_variants) delete m2.regressionR2;
1234
+ const wait = self.dom.LDresultDiv.append("span").text("Loading LD data...");
1235
+ try {
1236
+ const data = await self.vocabApi.getLDdata(input.term.q.restrictAncestry.name, m);
1237
+ if (data.error) throw data.error;
1238
+ if (data.nodata || !data.lst || data.lst.length == 0) {
1239
+ wait.text("No LD data");
1240
+ tk.skewer.nmg.selectAll(".sja_aa_disk_fill").attr("fill", (m2) => m2.shapeCircle ? "none" : tk.color4disc(m2));
1241
+ return;
1242
+ }
1243
+ tk.skewer.nmg.selectAll(".sja_aa_disk_fill").attr("fill", (m2) => {
1244
+ if (m2.pos == m.pos && m2.ref == m.ref && m2.alt == m.alt) {
1245
+ return LDcolor1;
1246
+ }
1247
+ for (const i of data.lst) {
1248
+ if (i.pos == m2.pos && i.alleles == m2.ref + "." + m2.alt) {
1249
+ m2.regressionR2 = i.r2;
1250
+ return LDcolorScale(i.r2);
1251
+ }
1252
+ }
1253
+ return LDcolorScale(0);
1254
+ });
1255
+ wait.html(input.term.q.restrictAncestry.name + " LD r<sup>2</sup>");
1256
+ showLDlegend(self.dom.LDresultDiv, LDcolorScale);
1257
+ } catch (e) {
1258
+ wait.text("Error: " + (e.message || e));
1259
+ }
1260
+ }
1261
+ function showLDlegend(div, colorScale) {
1262
+ const colorbardiv = div.append("span").style("margin-left", "10px");
1263
+ const colorlst = [];
1264
+ for (let i = 0; i <= 1; i += 0.1) {
1265
+ colorlst.push(colorScale(i));
1266
+ }
1267
+ const axisheight = 20;
1268
+ const barheight = 15;
1269
+ const xpad = 10;
1270
+ const axiswidth = 150;
1271
+ const domain = colorlst.map((_, i) => i / (colorlst.length - 1));
1272
+ new ColorScale({
1273
+ holder: colorbardiv,
1274
+ domain,
1275
+ topTicks: true,
1276
+ width: xpad * 2 + axiswidth,
1277
+ height: axisheight + barheight,
1278
+ barheight,
1279
+ barwidth: axiswidth,
1280
+ fontSize: 12,
1281
+ colors: colorlst,
1282
+ position: `${xpad},${axisheight}`,
1283
+ tickSize: 6
1284
+ });
1285
+ }
1286
+ function getMtooltipValues(m, regressionType) {
1287
+ const lst = [{ k: "p-value", v: m.regressionPvalue }];
1288
+ if (m.regressionResult.AFstr) {
1289
+ lst.push({ k: "AF", v: m.regressionResult.AFstr });
1290
+ }
1291
+ if (m.regressionEstimate) {
1292
+ if (regressionType == "linear") lst.push({ k: "beta", v: m.regressionEstimate });
1293
+ else if (regressionType == "logistic") lst.push({ k: "odds ratio", v: m.regressionEstimate });
1294
+ else if (regressionType == "cox") lst.push({ k: "hazard ratio", v: m.regressionEstimate });
1295
+ else throw "unknown regression type";
1296
+ }
1297
+ if (m.regressionR2) {
1298
+ lst.push({ k: "LD r2", v: m.regressionR2 });
1299
+ }
1300
+ return lst;
1301
+ }
1302
+ function getSnpPvalueFromRegressionResults(d, snpid) {
1303
+ let str;
1304
+ if (d.totalSnpEffect) {
1305
+ str = d.totalSnpEffect.lst[d.totalSnpEffect.lst.length - 1];
1306
+ } else {
1307
+ if (!d.type3.terms) throw ".data{type3:{terms}} missing";
1308
+ if (!d.type3.terms[snpid]) throw snpid + " missing in type3.terms{}";
1309
+ if (!Array.isArray(d.type3.terms[snpid])) throw `type3.terms[${snpid}] not array`;
1310
+ str = d.type3.terms[snpid][d.type3.terms[snpid].length - 1];
1311
+ }
1312
+ const v = Number(str);
1313
+ if (Number.isFinite(v)) {
1314
+ return v;
1315
+ }
1316
+ return void 0;
1317
+ }
1318
+ function fillColumn2coefficientsTable(div, tw, categoryKey) {
1319
+ if (categoryKey) {
1320
+ div.text(tw && tw.term.values && tw.term.values[categoryKey] ? tw.term.values[categoryKey].label : categoryKey);
1321
+ return;
1322
+ }
1323
+ div.style("opacity", graytextopacity);
1324
+ if ("geneticModel" in tw.q) {
1325
+ const v = tw.q.geneticModel;
1326
+ div.text(v == 0 ? "(additive)" : v == 1 ? "(dominant)" : "(recessive)");
1327
+ return;
1328
+ }
1329
+ if (tw.q.mode) {
1330
+ div.text("(" + tw.q.mode + ")");
1331
+ return;
1332
+ }
1333
+ }
1334
+
1335
+ export {
1336
+ RegressionResults,
1337
+ showLDlegend
1338
+ };
1339
+ //# sourceMappingURL=chunk-ADLFLOFC.js.map