@sjcrh/proteinpaint-client 2.204.0 → 2.206.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (955) hide show
  1. package/dist/2dmaf-5OYM4MXA.js +1367 -0
  2. package/dist/AggMatrixInput-4VTI4Y6E.js +277 -0
  3. package/dist/AggregateMatrix-K7SGNO63.js +41 -0
  4. package/dist/AppHeader-WU6TO2OZ.js +830 -0
  5. package/dist/BoxPlot-OW7U3XTF.js +1211 -0
  6. package/dist/CorrelationVolcano-B3JTTZHF.js +614 -0
  7. package/dist/Cuminc-AJEXWRU2.js +1219 -0
  8. package/dist/DE-2J7DSRPC.js +89 -0
  9. package/dist/DE-2J7DSRPC.js.map +7 -0
  10. package/dist/DEinput-I7JWNOSD.js +499 -0
  11. package/dist/DEinput-I7JWNOSD.js.map +7 -0
  12. package/dist/DM-NQ46YPGF.js +90 -0
  13. package/dist/DM-NQ46YPGF.js.map +7 -0
  14. package/dist/DifferentialAnalysis-BFCQBX5J.js +237 -0
  15. package/dist/Disco-ZJLVQRTC.js +3389 -0
  16. package/dist/Disco.UI-AEDACXW2.js +243 -0
  17. package/dist/DmrPlot-QMRXAOM3.js +637 -0
  18. package/dist/GB-MFU2UJ22.js +1391 -0
  19. package/dist/GSEA-E3NHU22A.js +851 -0
  20. package/dist/GeneExpInput-MIUNSOPY.js +362 -0
  21. package/dist/Geomap-HAJG3STN.js +84 -0
  22. package/dist/HicApp-ECFFIRWI.js +2245 -0
  23. package/dist/IDCViewer-TNSD3U2V.js +10812 -0
  24. package/dist/NumBinaryEditor-CNBGZ6WY.js +279 -0
  25. package/dist/NumBinaryEditor.unit.spec-SKFDALF3.js +312 -0
  26. package/dist/NumContEditor-7ID2U7JL.js +105 -0
  27. package/dist/NumContEditor.unit.spec-XHSQSAWK.js +164 -0
  28. package/dist/NumCustomBinEditor-PAIPRJPO.js +33 -0
  29. package/dist/NumCustomBinEditor.unit.spec-QYVZMMHV.js +397 -0
  30. package/dist/NumDiscreteEditor-K2NZZQTH.js +170 -0
  31. package/dist/NumDiscreteEditor.unit.spec-3CG5VEQL.js +233 -0
  32. package/dist/NumRegularBinEditor-EOVZ22TP.js +33 -0
  33. package/dist/NumRegularBinEditor.unit.spec-FHTVH5FH.js +278 -0
  34. package/dist/NumSplineEditor-N3REMJUC.js +210 -0
  35. package/dist/NumSplineEditor.unit.spec-DZCP35GL.js +224 -0
  36. package/dist/NumericDensity-42MWVI2S.js +33 -0
  37. package/dist/NumericDensity.unit.spec-T2HHSQON.js +418 -0
  38. package/dist/NumericHandler-5XU3SSPD.js +34 -0
  39. package/dist/NumericHandler.unit.spec-3F23KSAQ.js +214 -0
  40. package/dist/ProteomeInput-UN2BUNRO.js +388 -0
  41. package/dist/Regression-HWLJENA5.js +1416 -0
  42. package/dist/RunChart2-YO55WE4M.js +749 -0
  43. package/dist/SC-LEDJ4DQR.js +1107 -0
  44. package/dist/Violin-E6PDJZ2B.js +1082 -0
  45. package/dist/Volcano-XJTBWYUK.js +1649 -0
  46. package/dist/Volcano-XJTBWYUK.js.map +7 -0
  47. package/dist/Wsi-S675CYTW.js +431 -0
  48. package/dist/adSandbox-ZJQ5ZW2T.js +33 -0
  49. package/dist/animatedBubbleChart-LRUS7W36.js +547 -0
  50. package/dist/app-7Q3QIBU4.js +32 -0
  51. package/dist/app-PKSI4MV5.js +42 -0
  52. package/dist/app.js +17 -17
  53. package/dist/bam-X5JH5ZT7.js +876 -0
  54. package/dist/barchart-UT6J4L2N.js +42 -0
  55. package/dist/barchart2-ZG5QJO3C.js +309 -0
  56. package/dist/block-TC466NGW.js +6249 -0
  57. package/dist/block.init-CIBNSYAC.js +33 -0
  58. package/dist/block.mds.expressionrank-EY5PCQCK.js +354 -0
  59. package/dist/block.mds.geneboxplot-R6AOMHO5.js +823 -0
  60. package/dist/block.mds.junction-JMV6FNYC.js +1539 -0
  61. package/dist/block.mds.svcnv-IHTV3QYG.js +6796 -0
  62. package/dist/block.svg-NTFLVQAQ.js +159 -0
  63. package/dist/block.tk.aicheck-FYPL32Y4.js +278 -0
  64. package/dist/block.tk.ase-FWCB6VBO.js +360 -0
  65. package/dist/block.tk.bam-Q5UFUABN.js +1901 -0
  66. package/dist/block.tk.bedgraphdot-KBI3GFDM.js +379 -0
  67. package/dist/block.tk.bigwig.ui-KXNFX7G7.js +206 -0
  68. package/dist/block.tk.hicstraw-MQBH3YAJ.js +818 -0
  69. package/dist/block.tk.junction-EBTVXLJH.js +2358 -0
  70. package/dist/block.tk.junction.textmatrixui-ETYLCP2O.js +194 -0
  71. package/dist/block.tk.ld-NLB6L6WQ.js +94 -0
  72. package/dist/block.tk.menu-PJLCOXVJ.js +1024 -0
  73. package/dist/block.tk.pgv-JOIQVWL2.js +938 -0
  74. package/dist/brainImaging-SPRC3QFB.js +515 -0
  75. package/dist/brainRegions-LGQGRWG7.js +217 -0
  76. package/dist/brainRegions-LGQGRWG7.js.map +7 -0
  77. package/dist/bubbleHeatmap-CFTZ5RXH.js +378 -0
  78. package/dist/cellTypeBubbleHeatmap-DXPLFT5U.js +278 -0
  79. package/dist/chunk-2BQ572SL.js +102 -0
  80. package/dist/chunk-2DQIQYY3.js +103 -0
  81. package/dist/chunk-2POQWEK6.js +134 -0
  82. package/dist/chunk-2SQEVMAL.js +446 -0
  83. package/dist/chunk-37HTZ6IG.js +158 -0
  84. package/dist/chunk-452765PG.js +2676 -0
  85. package/dist/chunk-4DXQJGJ7.js +31 -0
  86. package/dist/chunk-4OLM3KSB.js +2708 -0
  87. package/dist/chunk-4OLM3KSB.js.map +7 -0
  88. package/dist/chunk-54KC7DAB.js +178 -0
  89. package/dist/chunk-54KC7DAB.js.map +7 -0
  90. package/dist/chunk-5D5YTFI2.js +783 -0
  91. package/dist/chunk-5D5YTFI2.js.map +7 -0
  92. package/dist/chunk-5DBW3WLK.js +129 -0
  93. package/dist/chunk-5ILEFNXJ.js +402 -0
  94. package/dist/chunk-5UO7MKCO.js +59 -0
  95. package/dist/chunk-7R7P6VMT.js +243 -0
  96. package/dist/chunk-7X6NF7NI.js +96 -0
  97. package/dist/chunk-ANGLZ4XR.js +26 -0
  98. package/dist/chunk-BMQDU7KN.js +38 -0
  99. package/dist/chunk-C5TU4AYP.js +281 -0
  100. package/dist/chunk-DBQA6QIJ.js +4311 -0
  101. package/dist/chunk-DBQA6QIJ.js.map +7 -0
  102. package/dist/chunk-DHNET3P4.js +42 -0
  103. package/dist/chunk-EGKHDALO.js +382 -0
  104. package/dist/chunk-EPWGUWQP.js +34 -0
  105. package/dist/chunk-F3EYPES3.js +1339 -0
  106. package/dist/chunk-F4DM3WS4.js +194 -0
  107. package/dist/chunk-FTLCINDC.js +294 -0
  108. package/dist/chunk-GT6WJUJY.js +480 -0
  109. package/dist/chunk-GWCK5QGV.js +70 -0
  110. package/dist/chunk-HJSGHFJ6.js +464 -0
  111. package/dist/chunk-HS6BTSFX.js +49 -0
  112. package/dist/chunk-IB5TKNG5.js +5071 -0
  113. package/dist/chunk-IIMTOPH3.js +54 -0
  114. package/dist/chunk-ILEXRHF7.js +367 -0
  115. package/dist/chunk-ILEXRHF7.js.map +7 -0
  116. package/dist/chunk-IZUYLFOX.js +1608 -0
  117. package/dist/chunk-IZUYLFOX.js.map +7 -0
  118. package/dist/chunk-JAXN3Q3K.js +272 -0
  119. package/dist/chunk-K6PYTAXW.js +2853 -0
  120. package/dist/chunk-K6PYTAXW.js.map +7 -0
  121. package/dist/chunk-KIRZXPMB.js +141 -0
  122. package/dist/chunk-KT4OZVO3.js +1275 -0
  123. package/dist/chunk-KT4OZVO3.js.map +7 -0
  124. package/dist/chunk-L32KMIC3.js +54 -0
  125. package/dist/chunk-LB7NENEB.js +123 -0
  126. package/dist/chunk-LDWMVZYF.js +562 -0
  127. package/dist/chunk-M367Y7ML.js +140 -0
  128. package/dist/chunk-M4XXKTH2.js +339 -0
  129. package/dist/chunk-ME7OF3CS.js +176 -0
  130. package/dist/chunk-N2CXLMNX.js +626 -0
  131. package/dist/chunk-N7DVQTPC.js +119 -0
  132. package/dist/chunk-N7TD7N7D.js +518 -0
  133. package/dist/chunk-NBX6TT5C.js +299 -0
  134. package/dist/chunk-NLR7JIMM.js +1986 -0
  135. package/dist/chunk-NLR7JIMM.js.map +7 -0
  136. package/dist/chunk-NSRGYBDM.js +339 -0
  137. package/dist/chunk-NVS7KYYI.js +379 -0
  138. package/dist/chunk-OVPEMVXT.js +397 -0
  139. package/dist/chunk-OXWLQQXL.js +274 -0
  140. package/dist/chunk-Q5SK3U2T.js +24163 -0
  141. package/dist/chunk-Q5SK3U2T.js.map +7 -0
  142. package/dist/chunk-QGGSYEVJ.js +55 -0
  143. package/dist/chunk-QLEVONLD.js +50 -0
  144. package/dist/chunk-RFW5BRIZ.js +1233 -0
  145. package/dist/chunk-RFW5BRIZ.js.map +7 -0
  146. package/dist/chunk-RNWHB5DI.js +98 -0
  147. package/dist/chunk-RPDVFM7E.js +2133 -0
  148. package/dist/chunk-RPDVFM7E.js.map +7 -0
  149. package/dist/chunk-RUHLDUOT.js +203 -0
  150. package/dist/chunk-RV34WFGZ.js +197 -0
  151. package/dist/chunk-SDVE5ECI.js +6360 -0
  152. package/dist/chunk-SWO6DZTG.js +170 -0
  153. package/dist/chunk-SYPSS3JQ.js +387 -0
  154. package/dist/chunk-TDM3645O.js +2327 -0
  155. package/dist/chunk-VVO3R5JV.js +217 -0
  156. package/dist/chunk-VYEU6Y35.js +14 -0
  157. package/dist/chunk-WGXC6IEF.js +263 -0
  158. package/dist/chunk-WPDM57B5.js +1720 -0
  159. package/dist/chunk-WS7WKS2B.js +2784 -0
  160. package/dist/chunk-WTAPOH2W.js +22699 -0
  161. package/dist/chunk-WTAPOH2W.js.map +7 -0
  162. package/dist/chunk-X63NSV33.js +276 -0
  163. package/dist/chunk-XXNRSSBR.js +56 -0
  164. package/dist/chunk-YD6UGDFI.js +102 -0
  165. package/dist/chunk-YRIYDFNU.js +160 -0
  166. package/dist/chunk-YY5WQQ3J.js +194 -0
  167. package/dist/chunk-Z2ZITHT4.js +4195 -0
  168. package/dist/chunk-Z4SM3FBK.js +302 -0
  169. package/dist/chunk-ZEYEIUEZ.js +240 -0
  170. package/dist/chunk-ZLYTDHQP.js +677 -0
  171. package/dist/chunk-ZWCVRVV4.js +550 -0
  172. package/dist/cohort-FZNMFWOX.js +70 -0
  173. package/dist/condition-AJJLFCBQ.js +327 -0
  174. package/dist/controls-SZOLV37V.js +34 -0
  175. package/dist/controls.config-CVP75WFA.js +34 -0
  176. package/dist/correlation-UFJFQHQ3.js +95 -0
  177. package/dist/customdata.inputui-HOVA4A6O.js +284 -0
  178. package/dist/dataDownload-VTUG4IOK.js +329 -0
  179. package/dist/databrowser.ui-O5S4Y4EK.js +425 -0
  180. package/dist/dictionary-L2UNNNP7.js +113 -0
  181. package/dist/dnaMethylation-B4SWZI4O.js +33 -0
  182. package/dist/dnaMethylation.integration.spec-ANJAMNYJ.js +198 -0
  183. package/dist/dofetch-F5XSHQIS.js +48 -0
  184. package/dist/e2pca-66ARIMKL.js +344 -0
  185. package/dist/ep-OFGJYVUY.js +1249 -0
  186. package/dist/expclust.gdc.spec-22RXQTTP.js +302 -0
  187. package/dist/facet-GVZQ3RPN.js +519 -0
  188. package/dist/gb-HEPGVYEK.js +81 -0
  189. package/dist/geneExpClustering-3NU2U422.js +244 -0
  190. package/dist/geneExpression-FXQ4L2J2.js +310 -0
  191. package/dist/geneExpression-XYVYJJA5.js +33 -0
  192. package/dist/geneExpression.unit.spec-K3FIRSNK.js +99 -0
  193. package/dist/geneORA-5M2JSDMF.js +273 -0
  194. package/dist/geneRanking-TP3R3CS3.js +548 -0
  195. package/dist/geneVariant-232EYUFJ.js +36 -0
  196. package/dist/geneVariant-BHXTPUDC.js +286 -0
  197. package/dist/geneVariant.integration.spec-ICFHVFIR.js +388 -0
  198. package/dist/genefusion.ui-ABRCUQFC.js +303 -0
  199. package/dist/geneset-N42FIVA6.js +203 -0
  200. package/dist/genomeBrowser.spec-5HKQKLRU.js +276 -0
  201. package/dist/grin2-H2KJYLP6.js +1137 -0
  202. package/dist/grin2-NGMTEMXF.js +70 -0
  203. package/dist/hierCluster-JU5JPLM7.js +55 -0
  204. package/dist/hierCluster-LSSH275H.js +59 -0
  205. package/dist/hierCluster.config-ILOR7GBB.js +36 -0
  206. package/dist/hierCluster.integration.spec-CNR5OJOH.js +483 -0
  207. package/dist/hierCluster.interactivity-TLEIVTFK.js +49 -0
  208. package/dist/hierCluster.renderers-P7JNIT3N.js +19 -0
  209. package/dist/imagePlot-BF67SXQR.js +156 -0
  210. package/dist/importPlot-OHXSXNZN.js +8 -0
  211. package/dist/isoformExpression-4VKHE4HA.js +35 -0
  212. package/dist/isoformExpression.unit.spec-4TVSIFG4.js +237 -0
  213. package/dist/junction-VUHORV43.js +36 -0
  214. package/dist/junction.customTerm-FRYWSS4P.js +16 -0
  215. package/dist/junction.unit.spec-KKVLYT7Q.js +182 -0
  216. package/dist/launch.adhoc-UDYMFZTQ.js +37 -0
  217. package/dist/leftlabel.sample-R5FFBWG3.js +258 -0
  218. package/dist/legacyDataset-IEFWFVS6.js +117 -0
  219. package/dist/lollipop-3IX6ZYUN.js +166 -0
  220. package/dist/maf-42UFYSL4.js +455 -0
  221. package/dist/maftimeline-M5WYEN62.js +587 -0
  222. package/dist/matrix-CI76EDHU.js +54 -0
  223. package/dist/matrix-WJZKA6VR.js +59 -0
  224. package/dist/matrix.cells-ZFKVIPDC.js +26 -0
  225. package/dist/matrix.config-24TFHBEM.js +37 -0
  226. package/dist/matrix.data-NCGZPNWR.js +23 -0
  227. package/dist/matrix.groups-XQJTGM6M.js +26 -0
  228. package/dist/matrix.integration.spec-OGXZUDE6.js +3160 -0
  229. package/dist/matrix.interactivity-ZOOTPNSW.js +37 -0
  230. package/dist/matrix.layout-5J2YENK3.js +39 -0
  231. package/dist/matrix.legend-U36VCS46.js +20 -0
  232. package/dist/matrix.renderers-4KFE7ZVR.js +34 -0
  233. package/dist/matrix.serieses-AW7XBXLJ.js +19 -0
  234. package/dist/matrix.sort-7PMECLOE.js +26 -0
  235. package/dist/matrix.sort.unit.spec-GIA2YOTQ.js +468 -0
  236. package/dist/matrix.sorterUi-J6PRUT6J.js +16 -0
  237. package/dist/matrix.sorterUi.unit.spec-OPGKZZL6.js +338 -0
  238. package/dist/matrix.unit.spec-7UIVVR4T.js +150 -0
  239. package/dist/mavb-MSYUMT6W.js +727 -0
  240. package/dist/mds.fimo-OYEAQP37.js +513 -0
  241. package/dist/mds.samplescatterplot-EXISSRQQ.js +1545 -0
  242. package/dist/mds.survivalplot-SZST6BLN.js +477 -0
  243. package/dist/multivalue-YDE7L75Y.js +83 -0
  244. package/dist/numericDictTermCluster-5AKP6ICC.js +63 -0
  245. package/dist/oncomatrix-2OEIYWR6.js +290 -0
  246. package/dist/oncomatrix.spec-CXQW4JWU.js +443 -0
  247. package/dist/plot.2dvaf-LN7A3NNC.js +372 -0
  248. package/dist/plot.app-YIQOY2Z7.js +36 -0
  249. package/dist/plot.barplot-HF2J25XP.js +97 -0
  250. package/dist/plot.boxplot-YJH4L27U.js +146 -0
  251. package/dist/plot.brainImaging-PS4TRSPI.js +51 -0
  252. package/dist/plot.disco-BN5RNZ6Q.js +99 -0
  253. package/dist/plot.ssgq-N2HTOIY3.js +134 -0
  254. package/dist/plot.vaf2cov-6AOHRUQ2.js +253 -0
  255. package/dist/polar2-TC5OEJRE.js +232 -0
  256. package/dist/profileForms-5WV2TSBB.js +941 -0
  257. package/dist/profilePlot-OJLLW44P.js +49 -0
  258. package/dist/proteinView-CGNAJN4S.js +1357 -0
  259. package/dist/proteinView-CGNAJN4S.js.map +7 -0
  260. package/dist/proteomeCohortCompare-XXQGGVCF.js +912 -0
  261. package/dist/proteomeCohortCompare-XXQGGVCF.js.map +7 -0
  262. package/dist/pseudbulk.unit.spec-RAYRGN6C.js +86 -0
  263. package/dist/pseudobulk-ADHAYVSQ.js +35 -0
  264. package/dist/qualitative-JXEI3IYC.js +38 -0
  265. package/dist/radar2-BWTKSTT3.js +327 -0
  266. package/dist/radarFacility2-WIRSKTDG.js +335 -0
  267. package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +211 -0
  268. package/dist/render-J7WOYBOL.js +33 -0
  269. package/dist/report-DRPCXX2B.js +217 -0
  270. package/dist/sampleView-BV6BQGGQ.js +43 -0
  271. package/dist/samplelst-ZD63EYO7.js +106 -0
  272. package/dist/samplematrix-ZZ3DVELU.js +2193 -0
  273. package/dist/sc-MUI43YTB.js +81 -0
  274. package/dist/scatter-7B44HTKN.js +88 -0
  275. package/dist/scatter-UEDVIE4Y.js +880 -0
  276. package/dist/selectGenomeWithTklst-WGOKGVZ5.js +129 -0
  277. package/dist/singleCellCellType-Z7OXK7PI.js +33 -0
  278. package/dist/singleCellCellType.unit.spec-IIOVCCJQ.js +154 -0
  279. package/dist/singleCellGeneExpression-LYZAIJ2Z.js +33 -0
  280. package/dist/singleCellGeneExpression.unit.spec-67AAWZTG.js +148 -0
  281. package/dist/singleCellPlot-TXPYQLSH.js +49 -0
  282. package/dist/singlecell-22OG6HNI.js +1566 -0
  283. package/dist/singlecell-7TBALI2S.js +81 -0
  284. package/dist/snp-3U2G3Z57.js +33 -0
  285. package/dist/snp.unit.spec-BMBBUBYD.js +171 -0
  286. package/dist/snplocus-SSVZDIQV.js +203 -0
  287. package/dist/spliceevent.a53ss.diagram-FK7CN4AU.js +146 -0
  288. package/dist/spliceevent.exonskip.diagram-EFLGV3O4.js +278 -0
  289. package/dist/spliceevent.noeventdiagram-2DYO7CCZ.js +455 -0
  290. package/dist/ssGSEA-52LWBQJP.js +33 -0
  291. package/dist/ssGSEA.unit.spec-3JV6WHUQ.js +83 -0
  292. package/dist/stattable-RLMYQ4G6.js +117 -0
  293. package/dist/studyCatalog-DKB3U7EV.js +414 -0
  294. package/dist/studyCatalog-DKB3U7EV.js.map +7 -0
  295. package/dist/summarizeCnvGeneexp-QPRYAKC2.js +158 -0
  296. package/dist/summarizeGeneexpSurvival-RWVQXEKB.js +105 -0
  297. package/dist/summarizeMutationCnv-DW5F6NUJ.js +159 -0
  298. package/dist/summarizeMutationDiagnosis-5FOQ7CHI.js +35 -0
  299. package/dist/summarizeMutationSurvival-4UKB4EVO.js +99 -0
  300. package/dist/summary-TYC6QNT4.js +42 -0
  301. package/dist/summary.integration.spec-5GLJJZNM.js +409 -0
  302. package/dist/summaryInput-4IJGKW4P.js +242 -0
  303. package/dist/sunburst-G7DGATWP.js +278 -0
  304. package/dist/survival-IHM6A7LL.js +1248 -0
  305. package/dist/survival-IHM6A7LL.js.map +7 -0
  306. package/dist/survival-MKNABJPU.js +53 -0
  307. package/dist/survival.integration.spec-THOKI3DL.js +613 -0
  308. package/dist/survival.integration.spec-THOKI3DL.js.map +7 -0
  309. package/dist/svgraph-VB7JWWR5.js +1382 -0
  310. package/dist/svmr-VLQIO2U5.js +3837 -0
  311. package/dist/table-EAXMDWOY.js +197 -0
  312. package/dist/termCollection-5LG7ICQY.js +252 -0
  313. package/dist/termCollection-SB6MWLFK.js +33 -0
  314. package/dist/termCollection.unit.spec-H5ITGTR3.js +299 -0
  315. package/dist/termCollectionFractionSelection-2XZSTDCQ.js +42 -0
  316. package/dist/termCollectionFractionSelection.unit.spec-BIO7V6KA.js +188 -0
  317. package/dist/tk-TRWYZLQ2.js +1121 -0
  318. package/dist/tk-VZI5HNSX.js +41 -0
  319. package/dist/tp.ui-J5SNNAT3.js +1454 -0
  320. package/dist/tvs.dt-6YHFJPER.js +34 -0
  321. package/dist/tvs.dtcnv.categorical-WTIE63GM.js +35 -0
  322. package/dist/tvs.dtcnv.continuous-OCMKGTF5.js +67 -0
  323. package/dist/tvs.dtfusion-CA23UNM3.js +35 -0
  324. package/dist/tvs.dtitd-VSYMR3OD.js +35 -0
  325. package/dist/tvs.dtsnvindel-YBNO3CYF.js +35 -0
  326. package/dist/tvs.dtsv-S743GBB5.js +35 -0
  327. package/dist/tvs.numeric-22AHXO5K.js +20 -0
  328. package/dist/tvs.samplelst-XAJO4EM6.js +98 -0
  329. package/dist/tvs.termCollection-QOVJGAUC.js +124 -0
  330. package/dist/vocabulary-6EADTHP3.js +36 -0
  331. package/dist/wsi.direct-2WB2NGC5.js +8184 -0
  332. package/dist/wsi.direct-2WB2NGC5.js.map +7 -0
  333. package/package.json +3 -3
  334. package/dist/2dmaf-JIY57FG6.js +0 -1367
  335. package/dist/AIProjectAdmin-DGTBIE6E.js +0 -952
  336. package/dist/AIProjectAdmin-DGTBIE6E.js.map +0 -7
  337. package/dist/AggMatrixInput-FH6WRTLP.js +0 -277
  338. package/dist/AggregateMatrix-MGEX5AVF.js +0 -41
  339. package/dist/AppHeader-FFOQFH55.js +0 -830
  340. package/dist/BoxPlot-KCY4JVRX.js +0 -1211
  341. package/dist/CorrelationVolcano-E5URKQSM.js +0 -614
  342. package/dist/Cuminc-CBPMCKIC.js +0 -1219
  343. package/dist/DE-VANPWKZI.js +0 -88
  344. package/dist/DE-VANPWKZI.js.map +0 -7
  345. package/dist/DEinput-MONPHDB2.js +0 -405
  346. package/dist/DEinput-MONPHDB2.js.map +0 -7
  347. package/dist/DifferentialAnalysis-XRBS4PZI.js +0 -237
  348. package/dist/Disco-V2VJIDWG.js +0 -3389
  349. package/dist/Disco.UI-OEF5JXBU.js +0 -243
  350. package/dist/DmrPlot-KZUWJWBD.js +0 -637
  351. package/dist/GB-IYTEMMU7.js +0 -1391
  352. package/dist/GSEA-QB62B5KB.js +0 -851
  353. package/dist/GeneExpInput-CXX7SXMQ.js +0 -362
  354. package/dist/Geomap-QNHSCN4N.js +0 -84
  355. package/dist/HicApp-UIULZYYJ.js +0 -2245
  356. package/dist/IDCViewer-B2JENGZZ.js +0 -10812
  357. package/dist/NumBinaryEditor-JOU2J23M.js +0 -279
  358. package/dist/NumBinaryEditor.unit.spec-UXZBBVWL.js +0 -312
  359. package/dist/NumContEditor-BJGP4PVS.js +0 -105
  360. package/dist/NumContEditor.unit.spec-HEXOYIXC.js +0 -164
  361. package/dist/NumCustomBinEditor-HDRTVWNK.js +0 -33
  362. package/dist/NumCustomBinEditor.unit.spec-MN6QZ3ZB.js +0 -397
  363. package/dist/NumDiscreteEditor-JUBR45IJ.js +0 -170
  364. package/dist/NumDiscreteEditor.unit.spec-SDK2LR5B.js +0 -233
  365. package/dist/NumRegularBinEditor-AQPRZ3MI.js +0 -33
  366. package/dist/NumRegularBinEditor.unit.spec-GM3SFB2N.js +0 -278
  367. package/dist/NumSplineEditor-LYLROEGE.js +0 -210
  368. package/dist/NumSplineEditor.unit.spec-3Q2HP6IB.js +0 -224
  369. package/dist/NumericDensity-3ZCDZORO.js +0 -33
  370. package/dist/NumericDensity.unit.spec-MNIAR2PR.js +0 -418
  371. package/dist/NumericHandler-MUNEB5IS.js +0 -34
  372. package/dist/NumericHandler.unit.spec-KPWG2T27.js +0 -214
  373. package/dist/ProteomeInput-NEUHQ2G4.js +0 -388
  374. package/dist/Regression-C75T5LOY.js +0 -1416
  375. package/dist/RunChart2-CMQ2BBSJ.js +0 -749
  376. package/dist/SC-HYK26DXI.js +0 -1107
  377. package/dist/Violin-J5Z3NKMU.js +0 -1082
  378. package/dist/Volcano-VZGOJFM7.js +0 -1573
  379. package/dist/Volcano-VZGOJFM7.js.map +0 -7
  380. package/dist/WSIViewer-EEKHINZU.js +0 -18892
  381. package/dist/WSIViewer-EEKHINZU.js.map +0 -7
  382. package/dist/Wsi-ZP36MKK7.js +0 -431
  383. package/dist/WsiSamplesPlot-6G3U7U5L.js +0 -160
  384. package/dist/WsiSamplesPlot-6G3U7U5L.js.map +0 -7
  385. package/dist/adSandbox-W4THMDUI.js +0 -33
  386. package/dist/animatedBubbleChart-2IVR2WC3.js +0 -547
  387. package/dist/app-LAIPU5IO.js +0 -42
  388. package/dist/app-WMRDJINC.js +0 -32
  389. package/dist/bam-44WCWB5P.js +0 -876
  390. package/dist/barchart-P6XKCJRF.js +0 -42
  391. package/dist/barchart2-5NTYCQYN.js +0 -309
  392. package/dist/block-VEOD6CP4.js +0 -6249
  393. package/dist/block.init-RCPDUYAV.js +0 -33
  394. package/dist/block.mds.expressionrank-KALPK27B.js +0 -354
  395. package/dist/block.mds.geneboxplot-ZASU25BG.js +0 -823
  396. package/dist/block.mds.junction-DCVGVSYG.js +0 -1539
  397. package/dist/block.mds.svcnv-CEGYMRSE.js +0 -6796
  398. package/dist/block.svg-AW4E7NSS.js +0 -159
  399. package/dist/block.tk.aicheck-4ZPFLI5I.js +0 -278
  400. package/dist/block.tk.ase-F3VMNBE3.js +0 -360
  401. package/dist/block.tk.bam-3VDSEMVO.js +0 -1901
  402. package/dist/block.tk.bedgraphdot-3F6AMWFD.js +0 -379
  403. package/dist/block.tk.bigwig.ui-QO334QC3.js +0 -206
  404. package/dist/block.tk.hicstraw-VA7GNOOD.js +0 -818
  405. package/dist/block.tk.junction-7WIZ63R7.js +0 -2358
  406. package/dist/block.tk.junction.textmatrixui-ZHSVODGI.js +0 -194
  407. package/dist/block.tk.ld-JME4SP6A.js +0 -94
  408. package/dist/block.tk.menu-7BFQTH3Q.js +0 -1024
  409. package/dist/block.tk.pgv-C2N7UFYT.js +0 -938
  410. package/dist/brainImaging-6XFUKFZE.js +0 -515
  411. package/dist/brainRegions-SEMS7V4O.js +0 -216
  412. package/dist/brainRegions-SEMS7V4O.js.map +0 -7
  413. package/dist/bubbleHeatmap-YO4232WO.js +0 -378
  414. package/dist/cellTypeBubbleHeatmap-GM4BGCQ3.js +0 -278
  415. package/dist/chunk-2YDQC5BV.js +0 -562
  416. package/dist/chunk-3QMXNK7G.js +0 -379
  417. package/dist/chunk-4C2N2BQC.js +0 -6360
  418. package/dist/chunk-4Q46RDNU.js +0 -34
  419. package/dist/chunk-4YEDSMFX.js +0 -123
  420. package/dist/chunk-56HEUYYM.js +0 -2891
  421. package/dist/chunk-56HEUYYM.js.map +0 -7
  422. package/dist/chunk-5VMEMA4O.js +0 -158
  423. package/dist/chunk-66BJC6ZX.js +0 -217
  424. package/dist/chunk-6JBLNS4D.js +0 -387
  425. package/dist/chunk-6RN4RVKF.js +0 -480
  426. package/dist/chunk-6SKLD7JU.js +0 -59
  427. package/dist/chunk-7C45EYL6.js +0 -274
  428. package/dist/chunk-7RX5UEF3.js +0 -24193
  429. package/dist/chunk-7RX5UEF3.js.map +0 -7
  430. package/dist/chunk-AAM7HHPU.js +0 -103
  431. package/dist/chunk-AFMD6226.js +0 -240
  432. package/dist/chunk-AK3SW3VT.js +0 -176
  433. package/dist/chunk-BBYVVPEO.js +0 -1271
  434. package/dist/chunk-BBYVVPEO.js.map +0 -7
  435. package/dist/chunk-BEJJS2HC.js +0 -194
  436. package/dist/chunk-BMVRYEN2.js +0 -397
  437. package/dist/chunk-BZYTL2EU.js +0 -294
  438. package/dist/chunk-CLOHFGFX.js +0 -14
  439. package/dist/chunk-D6G64XPJ.js +0 -96
  440. package/dist/chunk-DAJT3XVZ.js +0 -31
  441. package/dist/chunk-DKPV7GCZ.js +0 -7966
  442. package/dist/chunk-DKPV7GCZ.js.map +0 -7
  443. package/dist/chunk-DMT6S5HJ.js +0 -5071
  444. package/dist/chunk-DO4SLQNP.js +0 -194
  445. package/dist/chunk-DUGOFIQS.js +0 -464
  446. package/dist/chunk-E3O6ZEWQ.js +0 -129
  447. package/dist/chunk-EJ3SSI5J.js +0 -382
  448. package/dist/chunk-FSDY4QVA.js +0 -272
  449. package/dist/chunk-FUEJFIQX.js +0 -203
  450. package/dist/chunk-FUSTNOQZ.js +0 -2130
  451. package/dist/chunk-FUSTNOQZ.js.map +0 -7
  452. package/dist/chunk-GAW2EETX.js +0 -281
  453. package/dist/chunk-GF6CKFXE.js +0 -1720
  454. package/dist/chunk-GI3RVOO4.js +0 -339
  455. package/dist/chunk-GQ6T62VJ.js +0 -141
  456. package/dist/chunk-GTMHDSOQ.js +0 -550
  457. package/dist/chunk-H555QBYP.js +0 -243
  458. package/dist/chunk-HDTFYTEL.js +0 -2694
  459. package/dist/chunk-HDTFYTEL.js.map +0 -7
  460. package/dist/chunk-HKQDZKSF.js +0 -119
  461. package/dist/chunk-HLZVDBAI.js +0 -1985
  462. package/dist/chunk-HLZVDBAI.js.map +0 -7
  463. package/dist/chunk-HWMZ2OHD.js +0 -49
  464. package/dist/chunk-JG6SE6YU.js +0 -1339
  465. package/dist/chunk-JSVLKCIQ.js +0 -160
  466. package/dist/chunk-JVRGY6IU.js +0 -54
  467. package/dist/chunk-JXUFZZRJ.js +0 -626
  468. package/dist/chunk-K5YG7MVJ.js +0 -2676
  469. package/dist/chunk-KAUMP3RR.js +0 -56
  470. package/dist/chunk-KLGNLUXR.js +0 -518
  471. package/dist/chunk-KWLBPOPE.js +0 -38
  472. package/dist/chunk-L42F5J5C.js +0 -185
  473. package/dist/chunk-L42F5J5C.js.map +0 -7
  474. package/dist/chunk-LXTBOUBG.js +0 -677
  475. package/dist/chunk-MCRWA655.js +0 -98
  476. package/dist/chunk-NGBQL4CM.js +0 -54
  477. package/dist/chunk-OKUFTLFL.js +0 -4297
  478. package/dist/chunk-OKUFTLFL.js.map +0 -7
  479. package/dist/chunk-ONXYJWY6.js +0 -102
  480. package/dist/chunk-OYHID2D7.js +0 -50
  481. package/dist/chunk-PT5JDHPR.js +0 -42
  482. package/dist/chunk-PZZIDJIB.js +0 -806
  483. package/dist/chunk-PZZIDJIB.js.map +0 -7
  484. package/dist/chunk-S5SOLLGM.js +0 -1654
  485. package/dist/chunk-S5SOLLGM.js.map +0 -7
  486. package/dist/chunk-S6XG74R4.js +0 -70
  487. package/dist/chunk-TAEU6SPJ.js +0 -197
  488. package/dist/chunk-UBZRZ3PS.js +0 -102
  489. package/dist/chunk-UM5NWVMA.js +0 -140
  490. package/dist/chunk-VHDVTQFR.js +0 -2784
  491. package/dist/chunk-VRY7WSS6.js +0 -170
  492. package/dist/chunk-VSPUFGDX.js +0 -339
  493. package/dist/chunk-VVDFRJVN.js +0 -306
  494. package/dist/chunk-VVDFRJVN.js.map +0 -7
  495. package/dist/chunk-WFOC4W5A.js +0 -55
  496. package/dist/chunk-WVPFLPWB.js +0 -402
  497. package/dist/chunk-WZUUWGEU.js +0 -22834
  498. package/dist/chunk-WZUUWGEU.js.map +0 -7
  499. package/dist/chunk-X7IAKV5Z.js +0 -276
  500. package/dist/chunk-XHOL37O6.js +0 -299
  501. package/dist/chunk-XJGPL2JZ.js +0 -39
  502. package/dist/chunk-XJGPL2JZ.js.map +0 -7
  503. package/dist/chunk-XPB2GP3C.js +0 -2327
  504. package/dist/chunk-XPVU5AMT.js +0 -263
  505. package/dist/chunk-YLJOZP4P.js +0 -4195
  506. package/dist/chunk-YLWSTPPL.js +0 -302
  507. package/dist/chunk-YZVWOQBP.js +0 -134
  508. package/dist/chunk-ZB3RP5QP.js +0 -446
  509. package/dist/chunk-ZU47ERPU.js +0 -26
  510. package/dist/cohort-ZTT2PSQA.js +0 -70
  511. package/dist/condition-L5DXIAJT.js +0 -327
  512. package/dist/controls-ROZP2O7A.js +0 -34
  513. package/dist/controls.config-YQKGHMIP.js +0 -34
  514. package/dist/correlation-6AKRIQXN.js +0 -95
  515. package/dist/customdata.inputui-DD3OFHUS.js +0 -284
  516. package/dist/dataDownload-VHHSLSZV.js +0 -329
  517. package/dist/databrowser.ui-RLYJOEWQ.js +0 -425
  518. package/dist/dictionary-IMOOQHIH.js +0 -113
  519. package/dist/dnaMethylation-T6XUIOJF.js +0 -33
  520. package/dist/dnaMethylation.integration.spec-NRJOIDRD.js +0 -198
  521. package/dist/dofetch-MLAEV3A2.js +0 -48
  522. package/dist/e2pca-F3TGJOMW.js +0 -344
  523. package/dist/ep-UAF6OL2Y.js +0 -1249
  524. package/dist/expclust.gdc.spec-GHH3JQ65.js +0 -302
  525. package/dist/facet-MB4C7GII.js +0 -519
  526. package/dist/gb-C5YSAFWP.js +0 -81
  527. package/dist/geneExpClustering-3BRSI5BR.js +0 -244
  528. package/dist/geneExpression-K3IZLSYC.js +0 -310
  529. package/dist/geneExpression-SIAPRA3E.js +0 -33
  530. package/dist/geneExpression.unit.spec-I66QVNT5.js +0 -99
  531. package/dist/geneORA-SLM3SNNS.js +0 -273
  532. package/dist/geneRanking-4EFYOR6A.js +0 -548
  533. package/dist/geneVariant-O347F2OY.js +0 -286
  534. package/dist/geneVariant-Z3BUIBLS.js +0 -36
  535. package/dist/geneVariant.integration.spec-ZZ65EYEL.js +0 -388
  536. package/dist/genefusion.ui-TK6UKPDR.js +0 -303
  537. package/dist/geneset-MVXSEOKZ.js +0 -203
  538. package/dist/genomeBrowser.spec-QDB4Z2L6.js +0 -276
  539. package/dist/grin2-DCU6PLPU.js +0 -70
  540. package/dist/grin2-P6Z45MCJ.js +0 -1137
  541. package/dist/hierCluster-3H47NLKS.js +0 -55
  542. package/dist/hierCluster-JG6VXTCV.js +0 -59
  543. package/dist/hierCluster.config-IP6I7RTS.js +0 -36
  544. package/dist/hierCluster.integration.spec-7PUNHRRS.js +0 -483
  545. package/dist/hierCluster.interactivity-FIDVRACV.js +0 -49
  546. package/dist/hierCluster.renderers-QMJWUPAI.js +0 -19
  547. package/dist/imagePlot-CXYKBCWS.js +0 -156
  548. package/dist/importPlot-Z4A54RXH.js +0 -8
  549. package/dist/isoformExpression-DMDV2PZY.js +0 -35
  550. package/dist/isoformExpression.unit.spec-W2LIYOXS.js +0 -237
  551. package/dist/junction-R5GMEO7Z.js +0 -36
  552. package/dist/junction.customTerm-AI44GNFV.js +0 -16
  553. package/dist/junction.unit.spec-SCRCANOC.js +0 -182
  554. package/dist/launch.adhoc-THLTYZJT.js +0 -37
  555. package/dist/leftlabel.sample-GKQXEY4J.js +0 -258
  556. package/dist/legacyDataset-27L4DMCL.js +0 -117
  557. package/dist/lollipop-2TW6GGPY.js +0 -166
  558. package/dist/maf-A4PVW5V2.js +0 -455
  559. package/dist/maftimeline-QMX3HOAU.js +0 -587
  560. package/dist/matrix-BGRYRU3T.js +0 -54
  561. package/dist/matrix-GPXTUVCQ.js +0 -59
  562. package/dist/matrix.cells-C6OY7F5T.js +0 -26
  563. package/dist/matrix.config-Z5ZGHXDV.js +0 -37
  564. package/dist/matrix.data-WB26I3TF.js +0 -23
  565. package/dist/matrix.groups-C2V2CV4A.js +0 -26
  566. package/dist/matrix.integration.spec-3COAXQBV.js +0 -3160
  567. package/dist/matrix.interactivity-NGHIQR3A.js +0 -37
  568. package/dist/matrix.layout-NYIOESGN.js +0 -39
  569. package/dist/matrix.legend-Q5HHWP5Q.js +0 -20
  570. package/dist/matrix.renderers-GLXZARIP.js +0 -34
  571. package/dist/matrix.serieses-LDQEPXPD.js +0 -19
  572. package/dist/matrix.sort-44TQNRIX.js +0 -26
  573. package/dist/matrix.sort.unit.spec-T3BDWJ3Z.js +0 -468
  574. package/dist/matrix.sorterUi-6Y4YBQYL.js +0 -16
  575. package/dist/matrix.sorterUi.unit.spec-NHUYNMNU.js +0 -338
  576. package/dist/matrix.unit.spec-C7IRIBN6.js +0 -150
  577. package/dist/mavb-E37LI73X.js +0 -727
  578. package/dist/mds.fimo-YTGX7VEN.js +0 -513
  579. package/dist/mds.samplescatterplot-FFGGJSI3.js +0 -1545
  580. package/dist/mds.survivalplot-NCWRXXV4.js +0 -477
  581. package/dist/multivalue-N7A2PU5K.js +0 -83
  582. package/dist/numericDictTermCluster-AKQKRBQH.js +0 -63
  583. package/dist/oncomatrix-QPVGACMF.js +0 -290
  584. package/dist/oncomatrix.spec-6L2NDN2G.js +0 -443
  585. package/dist/plot.2dvaf-6TLON77B.js +0 -372
  586. package/dist/plot.app-VM273TXU.js +0 -36
  587. package/dist/plot.barplot-IQTZURHK.js +0 -97
  588. package/dist/plot.boxplot-WEXB6HII.js +0 -146
  589. package/dist/plot.brainImaging-REGSSBHV.js +0 -51
  590. package/dist/plot.disco-F25Z3FQL.js +0 -99
  591. package/dist/plot.ssgq-CRRK26RS.js +0 -134
  592. package/dist/plot.vaf2cov-WCNPZKXK.js +0 -253
  593. package/dist/plot.wsi-6OAPT5BA.js +0 -36
  594. package/dist/plot.wsi-6OAPT5BA.js.map +0 -7
  595. package/dist/polar2-MH5GPXHJ.js +0 -232
  596. package/dist/profileForms-2YX2OYDI.js +0 -941
  597. package/dist/profilePlot-FUTMZ2PP.js +0 -49
  598. package/dist/proteinView-6Z4ALZW2.js +0 -1562
  599. package/dist/proteinView-6Z4ALZW2.js.map +0 -7
  600. package/dist/proteomeCohortCompare-6GLFOYI5.js +0 -780
  601. package/dist/proteomeCohortCompare-6GLFOYI5.js.map +0 -7
  602. package/dist/pseudbulk.unit.spec-S7FDL3IX.js +0 -86
  603. package/dist/pseudobulk-A3LB23N2.js +0 -35
  604. package/dist/qualitative-5VJRMF4S.js +0 -38
  605. package/dist/radar2-2SJX4ZXN.js +0 -327
  606. package/dist/radarFacility2-7FPO34JS.js +0 -335
  607. package/dist/rememberedGvQ.unit.spec-WOQVPQ75.js +0 -211
  608. package/dist/render-ZLA2RRBP.js +0 -33
  609. package/dist/report-VCE6RILD.js +0 -217
  610. package/dist/sampleView-QYTX4OLI.js +0 -43
  611. package/dist/samplelst-7NGH3SUM.js +0 -106
  612. package/dist/samplematrix-SNAR6IBB.js +0 -2193
  613. package/dist/sc-2JETYAI4.js +0 -81
  614. package/dist/scatter-D7VZOBEE.js +0 -880
  615. package/dist/scatter-GHBQM2RR.js +0 -88
  616. package/dist/selectGenomeWithTklst-BD4GMGX3.js +0 -129
  617. package/dist/singleCellCellType-XHLOJVVC.js +0 -33
  618. package/dist/singleCellCellType.unit.spec-LCLR3IOD.js +0 -154
  619. package/dist/singleCellGeneExpression-JRBONI5C.js +0 -33
  620. package/dist/singleCellGeneExpression.unit.spec-Z2KSVCIG.js +0 -148
  621. package/dist/singleCellPlot-4462CQHF.js +0 -49
  622. package/dist/singlecell-CDUQ6MTO.js +0 -81
  623. package/dist/singlecell-SO3B5KJ7.js +0 -1566
  624. package/dist/snp-YE2MXKJO.js +0 -33
  625. package/dist/snp.unit.spec-MT57TGGQ.js +0 -171
  626. package/dist/snplocus-RSNKWY63.js +0 -203
  627. package/dist/spliceevent.a53ss.diagram-6N6YGYV7.js +0 -146
  628. package/dist/spliceevent.exonskip.diagram-LMNUS4XV.js +0 -278
  629. package/dist/spliceevent.noeventdiagram-LTBH4YD5.js +0 -455
  630. package/dist/ssGSEA-DPK4PDM2.js +0 -33
  631. package/dist/ssGSEA.unit.spec-K2SA7ME7.js +0 -83
  632. package/dist/stattable-PR47XT4F.js +0 -117
  633. package/dist/studyCatalog-GMUWIUL4.js +0 -378
  634. package/dist/studyCatalog-GMUWIUL4.js.map +0 -7
  635. package/dist/summarizeCnvGeneexp-YZEMDLES.js +0 -158
  636. package/dist/summarizeGeneexpSurvival-3TXV6ZNI.js +0 -105
  637. package/dist/summarizeMutationCnv-EBWSEHWJ.js +0 -159
  638. package/dist/summarizeMutationDiagnosis-FXA25W3O.js +0 -35
  639. package/dist/summarizeMutationSurvival-MR4AOMNS.js +0 -99
  640. package/dist/summary-4C6LGTMF.js +0 -42
  641. package/dist/summary.integration.spec-Y6JLH7NH.js +0 -409
  642. package/dist/summaryInput-NWT2DXWU.js +0 -242
  643. package/dist/sunburst-266MA7E2.js +0 -278
  644. package/dist/survival-CAZCIY2N.js +0 -53
  645. package/dist/survival-EILGNIY7.js +0 -1246
  646. package/dist/survival-EILGNIY7.js.map +0 -7
  647. package/dist/survival.integration.spec-34JJVLLI.js +0 -613
  648. package/dist/survival.integration.spec-34JJVLLI.js.map +0 -7
  649. package/dist/svgraph-OFUESREM.js +0 -1382
  650. package/dist/svmr-PVH42MY4.js +0 -3837
  651. package/dist/table-C2SICFZV.js +0 -197
  652. package/dist/termCollection-H4RL5WJG.js +0 -33
  653. package/dist/termCollection-TGYDI7NP.js +0 -252
  654. package/dist/termCollection.unit.spec-JSALS7GL.js +0 -299
  655. package/dist/termCollectionFractionSelection-YJVDNV4I.js +0 -42
  656. package/dist/termCollectionFractionSelection.unit.spec-4GM7P4ZW.js +0 -188
  657. package/dist/tk-RZCPSHJG.js +0 -1121
  658. package/dist/tk-SNTRA5CC.js +0 -41
  659. package/dist/tp.ui-2W4K3XH6.js +0 -1454
  660. package/dist/tvs.dt-GIPVC3R6.js +0 -34
  661. package/dist/tvs.dtcnv.categorical-TEYAS4OU.js +0 -35
  662. package/dist/tvs.dtcnv.continuous-VQRATYPZ.js +0 -67
  663. package/dist/tvs.dtfusion-P2KF5Z4H.js +0 -35
  664. package/dist/tvs.dtitd-TM6UROSH.js +0 -35
  665. package/dist/tvs.dtsnvindel-FZXC23NF.js +0 -35
  666. package/dist/tvs.dtsv-Y5QEJPYG.js +0 -35
  667. package/dist/tvs.numeric-3UXW4JHJ.js +0 -20
  668. package/dist/tvs.samplelst-MLAFPFER.js +0 -98
  669. package/dist/tvs.termCollection-ZQQDKESH.js +0 -124
  670. package/dist/vocabulary-JRUZPHMG.js +0 -36
  671. package/dist/wsi.direct-6QYNXOBY.js +0 -244
  672. package/dist/wsi.direct-6QYNXOBY.js.map +0 -7
  673. /package/dist/{2dmaf-JIY57FG6.js.map → 2dmaf-5OYM4MXA.js.map} +0 -0
  674. /package/dist/{AggMatrixInput-FH6WRTLP.js.map → AggMatrixInput-4VTI4Y6E.js.map} +0 -0
  675. /package/dist/{AggregateMatrix-MGEX5AVF.js.map → AggregateMatrix-K7SGNO63.js.map} +0 -0
  676. /package/dist/{AppHeader-FFOQFH55.js.map → AppHeader-WU6TO2OZ.js.map} +0 -0
  677. /package/dist/{BoxPlot-KCY4JVRX.js.map → BoxPlot-OW7U3XTF.js.map} +0 -0
  678. /package/dist/{CorrelationVolcano-E5URKQSM.js.map → CorrelationVolcano-B3JTTZHF.js.map} +0 -0
  679. /package/dist/{Cuminc-CBPMCKIC.js.map → Cuminc-AJEXWRU2.js.map} +0 -0
  680. /package/dist/{DifferentialAnalysis-XRBS4PZI.js.map → DifferentialAnalysis-BFCQBX5J.js.map} +0 -0
  681. /package/dist/{Disco-V2VJIDWG.js.map → Disco-ZJLVQRTC.js.map} +0 -0
  682. /package/dist/{Disco.UI-OEF5JXBU.js.map → Disco.UI-AEDACXW2.js.map} +0 -0
  683. /package/dist/{DmrPlot-KZUWJWBD.js.map → DmrPlot-QMRXAOM3.js.map} +0 -0
  684. /package/dist/{GB-IYTEMMU7.js.map → GB-MFU2UJ22.js.map} +0 -0
  685. /package/dist/{GSEA-QB62B5KB.js.map → GSEA-E3NHU22A.js.map} +0 -0
  686. /package/dist/{GeneExpInput-CXX7SXMQ.js.map → GeneExpInput-MIUNSOPY.js.map} +0 -0
  687. /package/dist/{Geomap-QNHSCN4N.js.map → Geomap-HAJG3STN.js.map} +0 -0
  688. /package/dist/{HicApp-UIULZYYJ.js.map → HicApp-ECFFIRWI.js.map} +0 -0
  689. /package/dist/{IDCViewer-B2JENGZZ.js.map → IDCViewer-TNSD3U2V.js.map} +0 -0
  690. /package/dist/{NumBinaryEditor-JOU2J23M.js.map → NumBinaryEditor-CNBGZ6WY.js.map} +0 -0
  691. /package/dist/{NumBinaryEditor.unit.spec-UXZBBVWL.js.map → NumBinaryEditor.unit.spec-SKFDALF3.js.map} +0 -0
  692. /package/dist/{NumContEditor-BJGP4PVS.js.map → NumContEditor-7ID2U7JL.js.map} +0 -0
  693. /package/dist/{NumContEditor.unit.spec-HEXOYIXC.js.map → NumContEditor.unit.spec-XHSQSAWK.js.map} +0 -0
  694. /package/dist/{NumCustomBinEditor-HDRTVWNK.js.map → NumCustomBinEditor-PAIPRJPO.js.map} +0 -0
  695. /package/dist/{NumCustomBinEditor.unit.spec-MN6QZ3ZB.js.map → NumCustomBinEditor.unit.spec-QYVZMMHV.js.map} +0 -0
  696. /package/dist/{NumDiscreteEditor-JUBR45IJ.js.map → NumDiscreteEditor-K2NZZQTH.js.map} +0 -0
  697. /package/dist/{NumDiscreteEditor.unit.spec-SDK2LR5B.js.map → NumDiscreteEditor.unit.spec-3CG5VEQL.js.map} +0 -0
  698. /package/dist/{NumRegularBinEditor-AQPRZ3MI.js.map → NumRegularBinEditor-EOVZ22TP.js.map} +0 -0
  699. /package/dist/{NumRegularBinEditor.unit.spec-GM3SFB2N.js.map → NumRegularBinEditor.unit.spec-FHTVH5FH.js.map} +0 -0
  700. /package/dist/{NumSplineEditor-LYLROEGE.js.map → NumSplineEditor-N3REMJUC.js.map} +0 -0
  701. /package/dist/{NumSplineEditor.unit.spec-3Q2HP6IB.js.map → NumSplineEditor.unit.spec-DZCP35GL.js.map} +0 -0
  702. /package/dist/{NumericDensity-3ZCDZORO.js.map → NumericDensity-42MWVI2S.js.map} +0 -0
  703. /package/dist/{NumericDensity.unit.spec-MNIAR2PR.js.map → NumericDensity.unit.spec-T2HHSQON.js.map} +0 -0
  704. /package/dist/{NumericHandler-MUNEB5IS.js.map → NumericHandler-5XU3SSPD.js.map} +0 -0
  705. /package/dist/{NumericHandler.unit.spec-KPWG2T27.js.map → NumericHandler.unit.spec-3F23KSAQ.js.map} +0 -0
  706. /package/dist/{ProteomeInput-NEUHQ2G4.js.map → ProteomeInput-UN2BUNRO.js.map} +0 -0
  707. /package/dist/{Regression-C75T5LOY.js.map → Regression-HWLJENA5.js.map} +0 -0
  708. /package/dist/{RunChart2-CMQ2BBSJ.js.map → RunChart2-YO55WE4M.js.map} +0 -0
  709. /package/dist/{SC-HYK26DXI.js.map → SC-LEDJ4DQR.js.map} +0 -0
  710. /package/dist/{Violin-J5Z3NKMU.js.map → Violin-E6PDJZ2B.js.map} +0 -0
  711. /package/dist/{Wsi-ZP36MKK7.js.map → Wsi-S675CYTW.js.map} +0 -0
  712. /package/dist/{adSandbox-W4THMDUI.js.map → adSandbox-ZJQ5ZW2T.js.map} +0 -0
  713. /package/dist/{animatedBubbleChart-2IVR2WC3.js.map → animatedBubbleChart-LRUS7W36.js.map} +0 -0
  714. /package/dist/{app-LAIPU5IO.js.map → app-7Q3QIBU4.js.map} +0 -0
  715. /package/dist/{app-WMRDJINC.js.map → app-PKSI4MV5.js.map} +0 -0
  716. /package/dist/{bam-44WCWB5P.js.map → bam-X5JH5ZT7.js.map} +0 -0
  717. /package/dist/{barchart-P6XKCJRF.js.map → barchart-UT6J4L2N.js.map} +0 -0
  718. /package/dist/{barchart2-5NTYCQYN.js.map → barchart2-ZG5QJO3C.js.map} +0 -0
  719. /package/dist/{block-VEOD6CP4.js.map → block-TC466NGW.js.map} +0 -0
  720. /package/dist/{block.init-RCPDUYAV.js.map → block.init-CIBNSYAC.js.map} +0 -0
  721. /package/dist/{block.mds.expressionrank-KALPK27B.js.map → block.mds.expressionrank-EY5PCQCK.js.map} +0 -0
  722. /package/dist/{block.mds.geneboxplot-ZASU25BG.js.map → block.mds.geneboxplot-R6AOMHO5.js.map} +0 -0
  723. /package/dist/{block.mds.junction-DCVGVSYG.js.map → block.mds.junction-JMV6FNYC.js.map} +0 -0
  724. /package/dist/{block.mds.svcnv-CEGYMRSE.js.map → block.mds.svcnv-IHTV3QYG.js.map} +0 -0
  725. /package/dist/{block.svg-AW4E7NSS.js.map → block.svg-NTFLVQAQ.js.map} +0 -0
  726. /package/dist/{block.tk.aicheck-4ZPFLI5I.js.map → block.tk.aicheck-FYPL32Y4.js.map} +0 -0
  727. /package/dist/{block.tk.ase-F3VMNBE3.js.map → block.tk.ase-FWCB6VBO.js.map} +0 -0
  728. /package/dist/{block.tk.bam-3VDSEMVO.js.map → block.tk.bam-Q5UFUABN.js.map} +0 -0
  729. /package/dist/{block.tk.bedgraphdot-3F6AMWFD.js.map → block.tk.bedgraphdot-KBI3GFDM.js.map} +0 -0
  730. /package/dist/{block.tk.bigwig.ui-QO334QC3.js.map → block.tk.bigwig.ui-KXNFX7G7.js.map} +0 -0
  731. /package/dist/{block.tk.hicstraw-VA7GNOOD.js.map → block.tk.hicstraw-MQBH3YAJ.js.map} +0 -0
  732. /package/dist/{block.tk.junction-7WIZ63R7.js.map → block.tk.junction-EBTVXLJH.js.map} +0 -0
  733. /package/dist/{block.tk.junction.textmatrixui-ZHSVODGI.js.map → block.tk.junction.textmatrixui-ETYLCP2O.js.map} +0 -0
  734. /package/dist/{block.tk.ld-JME4SP6A.js.map → block.tk.ld-NLB6L6WQ.js.map} +0 -0
  735. /package/dist/{block.tk.menu-7BFQTH3Q.js.map → block.tk.menu-PJLCOXVJ.js.map} +0 -0
  736. /package/dist/{block.tk.pgv-C2N7UFYT.js.map → block.tk.pgv-JOIQVWL2.js.map} +0 -0
  737. /package/dist/{brainImaging-6XFUKFZE.js.map → brainImaging-SPRC3QFB.js.map} +0 -0
  738. /package/dist/{bubbleHeatmap-YO4232WO.js.map → bubbleHeatmap-CFTZ5RXH.js.map} +0 -0
  739. /package/dist/{cellTypeBubbleHeatmap-GM4BGCQ3.js.map → cellTypeBubbleHeatmap-DXPLFT5U.js.map} +0 -0
  740. /package/dist/{chunk-UBZRZ3PS.js.map → chunk-2BQ572SL.js.map} +0 -0
  741. /package/dist/{chunk-AAM7HHPU.js.map → chunk-2DQIQYY3.js.map} +0 -0
  742. /package/dist/{chunk-YZVWOQBP.js.map → chunk-2POQWEK6.js.map} +0 -0
  743. /package/dist/{chunk-ZB3RP5QP.js.map → chunk-2SQEVMAL.js.map} +0 -0
  744. /package/dist/{chunk-5VMEMA4O.js.map → chunk-37HTZ6IG.js.map} +0 -0
  745. /package/dist/{chunk-K5YG7MVJ.js.map → chunk-452765PG.js.map} +0 -0
  746. /package/dist/{chunk-DAJT3XVZ.js.map → chunk-4DXQJGJ7.js.map} +0 -0
  747. /package/dist/{chunk-E3O6ZEWQ.js.map → chunk-5DBW3WLK.js.map} +0 -0
  748. /package/dist/{chunk-WVPFLPWB.js.map → chunk-5ILEFNXJ.js.map} +0 -0
  749. /package/dist/{chunk-6SKLD7JU.js.map → chunk-5UO7MKCO.js.map} +0 -0
  750. /package/dist/{chunk-H555QBYP.js.map → chunk-7R7P6VMT.js.map} +0 -0
  751. /package/dist/{chunk-D6G64XPJ.js.map → chunk-7X6NF7NI.js.map} +0 -0
  752. /package/dist/{chunk-ZU47ERPU.js.map → chunk-ANGLZ4XR.js.map} +0 -0
  753. /package/dist/{chunk-KWLBPOPE.js.map → chunk-BMQDU7KN.js.map} +0 -0
  754. /package/dist/{chunk-GAW2EETX.js.map → chunk-C5TU4AYP.js.map} +0 -0
  755. /package/dist/{chunk-PT5JDHPR.js.map → chunk-DHNET3P4.js.map} +0 -0
  756. /package/dist/{chunk-EJ3SSI5J.js.map → chunk-EGKHDALO.js.map} +0 -0
  757. /package/dist/{chunk-4Q46RDNU.js.map → chunk-EPWGUWQP.js.map} +0 -0
  758. /package/dist/{chunk-JG6SE6YU.js.map → chunk-F3EYPES3.js.map} +0 -0
  759. /package/dist/{chunk-BEJJS2HC.js.map → chunk-F4DM3WS4.js.map} +0 -0
  760. /package/dist/{chunk-BZYTL2EU.js.map → chunk-FTLCINDC.js.map} +0 -0
  761. /package/dist/{chunk-6RN4RVKF.js.map → chunk-GT6WJUJY.js.map} +0 -0
  762. /package/dist/{chunk-S6XG74R4.js.map → chunk-GWCK5QGV.js.map} +0 -0
  763. /package/dist/{chunk-DUGOFIQS.js.map → chunk-HJSGHFJ6.js.map} +0 -0
  764. /package/dist/{chunk-HWMZ2OHD.js.map → chunk-HS6BTSFX.js.map} +0 -0
  765. /package/dist/{chunk-DMT6S5HJ.js.map → chunk-IB5TKNG5.js.map} +0 -0
  766. /package/dist/{chunk-NGBQL4CM.js.map → chunk-IIMTOPH3.js.map} +0 -0
  767. /package/dist/{chunk-FSDY4QVA.js.map → chunk-JAXN3Q3K.js.map} +0 -0
  768. /package/dist/{chunk-GQ6T62VJ.js.map → chunk-KIRZXPMB.js.map} +0 -0
  769. /package/dist/{chunk-JVRGY6IU.js.map → chunk-L32KMIC3.js.map} +0 -0
  770. /package/dist/{chunk-4YEDSMFX.js.map → chunk-LB7NENEB.js.map} +0 -0
  771. /package/dist/{chunk-2YDQC5BV.js.map → chunk-LDWMVZYF.js.map} +0 -0
  772. /package/dist/{chunk-UM5NWVMA.js.map → chunk-M367Y7ML.js.map} +0 -0
  773. /package/dist/{chunk-VSPUFGDX.js.map → chunk-M4XXKTH2.js.map} +0 -0
  774. /package/dist/{chunk-AK3SW3VT.js.map → chunk-ME7OF3CS.js.map} +0 -0
  775. /package/dist/{chunk-JXUFZZRJ.js.map → chunk-N2CXLMNX.js.map} +0 -0
  776. /package/dist/{chunk-HKQDZKSF.js.map → chunk-N7DVQTPC.js.map} +0 -0
  777. /package/dist/{chunk-KLGNLUXR.js.map → chunk-N7TD7N7D.js.map} +0 -0
  778. /package/dist/{chunk-XHOL37O6.js.map → chunk-NBX6TT5C.js.map} +0 -0
  779. /package/dist/{chunk-GI3RVOO4.js.map → chunk-NSRGYBDM.js.map} +0 -0
  780. /package/dist/{chunk-3QMXNK7G.js.map → chunk-NVS7KYYI.js.map} +0 -0
  781. /package/dist/{chunk-BMVRYEN2.js.map → chunk-OVPEMVXT.js.map} +0 -0
  782. /package/dist/{chunk-7C45EYL6.js.map → chunk-OXWLQQXL.js.map} +0 -0
  783. /package/dist/{chunk-WFOC4W5A.js.map → chunk-QGGSYEVJ.js.map} +0 -0
  784. /package/dist/{chunk-OYHID2D7.js.map → chunk-QLEVONLD.js.map} +0 -0
  785. /package/dist/{chunk-MCRWA655.js.map → chunk-RNWHB5DI.js.map} +0 -0
  786. /package/dist/{chunk-FUEJFIQX.js.map → chunk-RUHLDUOT.js.map} +0 -0
  787. /package/dist/{chunk-TAEU6SPJ.js.map → chunk-RV34WFGZ.js.map} +0 -0
  788. /package/dist/{chunk-4C2N2BQC.js.map → chunk-SDVE5ECI.js.map} +0 -0
  789. /package/dist/{chunk-VRY7WSS6.js.map → chunk-SWO6DZTG.js.map} +0 -0
  790. /package/dist/{chunk-6JBLNS4D.js.map → chunk-SYPSS3JQ.js.map} +0 -0
  791. /package/dist/{chunk-XPB2GP3C.js.map → chunk-TDM3645O.js.map} +0 -0
  792. /package/dist/{chunk-66BJC6ZX.js.map → chunk-VVO3R5JV.js.map} +0 -0
  793. /package/dist/{chunk-CLOHFGFX.js.map → chunk-VYEU6Y35.js.map} +0 -0
  794. /package/dist/{chunk-XPVU5AMT.js.map → chunk-WGXC6IEF.js.map} +0 -0
  795. /package/dist/{chunk-GF6CKFXE.js.map → chunk-WPDM57B5.js.map} +0 -0
  796. /package/dist/{chunk-VHDVTQFR.js.map → chunk-WS7WKS2B.js.map} +0 -0
  797. /package/dist/{chunk-X7IAKV5Z.js.map → chunk-X63NSV33.js.map} +0 -0
  798. /package/dist/{chunk-KAUMP3RR.js.map → chunk-XXNRSSBR.js.map} +0 -0
  799. /package/dist/{chunk-ONXYJWY6.js.map → chunk-YD6UGDFI.js.map} +0 -0
  800. /package/dist/{chunk-JSVLKCIQ.js.map → chunk-YRIYDFNU.js.map} +0 -0
  801. /package/dist/{chunk-DO4SLQNP.js.map → chunk-YY5WQQ3J.js.map} +0 -0
  802. /package/dist/{chunk-YLJOZP4P.js.map → chunk-Z2ZITHT4.js.map} +0 -0
  803. /package/dist/{chunk-YLWSTPPL.js.map → chunk-Z4SM3FBK.js.map} +0 -0
  804. /package/dist/{chunk-AFMD6226.js.map → chunk-ZEYEIUEZ.js.map} +0 -0
  805. /package/dist/{chunk-LXTBOUBG.js.map → chunk-ZLYTDHQP.js.map} +0 -0
  806. /package/dist/{chunk-GTMHDSOQ.js.map → chunk-ZWCVRVV4.js.map} +0 -0
  807. /package/dist/{cohort-ZTT2PSQA.js.map → cohort-FZNMFWOX.js.map} +0 -0
  808. /package/dist/{condition-L5DXIAJT.js.map → condition-AJJLFCBQ.js.map} +0 -0
  809. /package/dist/{controls-ROZP2O7A.js.map → controls-SZOLV37V.js.map} +0 -0
  810. /package/dist/{controls.config-YQKGHMIP.js.map → controls.config-CVP75WFA.js.map} +0 -0
  811. /package/dist/{correlation-6AKRIQXN.js.map → correlation-UFJFQHQ3.js.map} +0 -0
  812. /package/dist/{customdata.inputui-DD3OFHUS.js.map → customdata.inputui-HOVA4A6O.js.map} +0 -0
  813. /package/dist/{dataDownload-VHHSLSZV.js.map → dataDownload-VTUG4IOK.js.map} +0 -0
  814. /package/dist/{databrowser.ui-RLYJOEWQ.js.map → databrowser.ui-O5S4Y4EK.js.map} +0 -0
  815. /package/dist/{dictionary-IMOOQHIH.js.map → dictionary-L2UNNNP7.js.map} +0 -0
  816. /package/dist/{dnaMethylation-T6XUIOJF.js.map → dnaMethylation-B4SWZI4O.js.map} +0 -0
  817. /package/dist/{dnaMethylation.integration.spec-NRJOIDRD.js.map → dnaMethylation.integration.spec-ANJAMNYJ.js.map} +0 -0
  818. /package/dist/{dofetch-MLAEV3A2.js.map → dofetch-F5XSHQIS.js.map} +0 -0
  819. /package/dist/{e2pca-F3TGJOMW.js.map → e2pca-66ARIMKL.js.map} +0 -0
  820. /package/dist/{ep-UAF6OL2Y.js.map → ep-OFGJYVUY.js.map} +0 -0
  821. /package/dist/{expclust.gdc.spec-GHH3JQ65.js.map → expclust.gdc.spec-22RXQTTP.js.map} +0 -0
  822. /package/dist/{facet-MB4C7GII.js.map → facet-GVZQ3RPN.js.map} +0 -0
  823. /package/dist/{gb-C5YSAFWP.js.map → gb-HEPGVYEK.js.map} +0 -0
  824. /package/dist/{geneExpClustering-3BRSI5BR.js.map → geneExpClustering-3NU2U422.js.map} +0 -0
  825. /package/dist/{geneExpression-K3IZLSYC.js.map → geneExpression-FXQ4L2J2.js.map} +0 -0
  826. /package/dist/{geneExpression-SIAPRA3E.js.map → geneExpression-XYVYJJA5.js.map} +0 -0
  827. /package/dist/{geneExpression.unit.spec-I66QVNT5.js.map → geneExpression.unit.spec-K3FIRSNK.js.map} +0 -0
  828. /package/dist/{geneORA-SLM3SNNS.js.map → geneORA-5M2JSDMF.js.map} +0 -0
  829. /package/dist/{geneRanking-4EFYOR6A.js.map → geneRanking-TP3R3CS3.js.map} +0 -0
  830. /package/dist/{geneVariant-Z3BUIBLS.js.map → geneVariant-232EYUFJ.js.map} +0 -0
  831. /package/dist/{geneVariant-O347F2OY.js.map → geneVariant-BHXTPUDC.js.map} +0 -0
  832. /package/dist/{geneVariant.integration.spec-ZZ65EYEL.js.map → geneVariant.integration.spec-ICFHVFIR.js.map} +0 -0
  833. /package/dist/{genefusion.ui-TK6UKPDR.js.map → genefusion.ui-ABRCUQFC.js.map} +0 -0
  834. /package/dist/{geneset-MVXSEOKZ.js.map → geneset-N42FIVA6.js.map} +0 -0
  835. /package/dist/{genomeBrowser.spec-QDB4Z2L6.js.map → genomeBrowser.spec-5HKQKLRU.js.map} +0 -0
  836. /package/dist/{grin2-P6Z45MCJ.js.map → grin2-H2KJYLP6.js.map} +0 -0
  837. /package/dist/{grin2-DCU6PLPU.js.map → grin2-NGMTEMXF.js.map} +0 -0
  838. /package/dist/{hierCluster-3H47NLKS.js.map → hierCluster-JU5JPLM7.js.map} +0 -0
  839. /package/dist/{hierCluster-JG6VXTCV.js.map → hierCluster-LSSH275H.js.map} +0 -0
  840. /package/dist/{hierCluster.config-IP6I7RTS.js.map → hierCluster.config-ILOR7GBB.js.map} +0 -0
  841. /package/dist/{hierCluster.integration.spec-7PUNHRRS.js.map → hierCluster.integration.spec-CNR5OJOH.js.map} +0 -0
  842. /package/dist/{hierCluster.interactivity-FIDVRACV.js.map → hierCluster.interactivity-TLEIVTFK.js.map} +0 -0
  843. /package/dist/{hierCluster.renderers-QMJWUPAI.js.map → hierCluster.renderers-P7JNIT3N.js.map} +0 -0
  844. /package/dist/{imagePlot-CXYKBCWS.js.map → imagePlot-BF67SXQR.js.map} +0 -0
  845. /package/dist/{importPlot-Z4A54RXH.js.map → importPlot-OHXSXNZN.js.map} +0 -0
  846. /package/dist/{isoformExpression-DMDV2PZY.js.map → isoformExpression-4VKHE4HA.js.map} +0 -0
  847. /package/dist/{isoformExpression.unit.spec-W2LIYOXS.js.map → isoformExpression.unit.spec-4TVSIFG4.js.map} +0 -0
  848. /package/dist/{junction-R5GMEO7Z.js.map → junction-VUHORV43.js.map} +0 -0
  849. /package/dist/{junction.customTerm-AI44GNFV.js.map → junction.customTerm-FRYWSS4P.js.map} +0 -0
  850. /package/dist/{junction.unit.spec-SCRCANOC.js.map → junction.unit.spec-KKVLYT7Q.js.map} +0 -0
  851. /package/dist/{launch.adhoc-THLTYZJT.js.map → launch.adhoc-UDYMFZTQ.js.map} +0 -0
  852. /package/dist/{leftlabel.sample-GKQXEY4J.js.map → leftlabel.sample-R5FFBWG3.js.map} +0 -0
  853. /package/dist/{legacyDataset-27L4DMCL.js.map → legacyDataset-IEFWFVS6.js.map} +0 -0
  854. /package/dist/{lollipop-2TW6GGPY.js.map → lollipop-3IX6ZYUN.js.map} +0 -0
  855. /package/dist/{maf-A4PVW5V2.js.map → maf-42UFYSL4.js.map} +0 -0
  856. /package/dist/{maftimeline-QMX3HOAU.js.map → maftimeline-M5WYEN62.js.map} +0 -0
  857. /package/dist/{matrix-BGRYRU3T.js.map → matrix-CI76EDHU.js.map} +0 -0
  858. /package/dist/{matrix-GPXTUVCQ.js.map → matrix-WJZKA6VR.js.map} +0 -0
  859. /package/dist/{matrix.cells-C6OY7F5T.js.map → matrix.cells-ZFKVIPDC.js.map} +0 -0
  860. /package/dist/{matrix.config-Z5ZGHXDV.js.map → matrix.config-24TFHBEM.js.map} +0 -0
  861. /package/dist/{matrix.data-WB26I3TF.js.map → matrix.data-NCGZPNWR.js.map} +0 -0
  862. /package/dist/{matrix.groups-C2V2CV4A.js.map → matrix.groups-XQJTGM6M.js.map} +0 -0
  863. /package/dist/{matrix.integration.spec-3COAXQBV.js.map → matrix.integration.spec-OGXZUDE6.js.map} +0 -0
  864. /package/dist/{matrix.interactivity-NGHIQR3A.js.map → matrix.interactivity-ZOOTPNSW.js.map} +0 -0
  865. /package/dist/{matrix.layout-NYIOESGN.js.map → matrix.layout-5J2YENK3.js.map} +0 -0
  866. /package/dist/{matrix.legend-Q5HHWP5Q.js.map → matrix.legend-U36VCS46.js.map} +0 -0
  867. /package/dist/{matrix.renderers-GLXZARIP.js.map → matrix.renderers-4KFE7ZVR.js.map} +0 -0
  868. /package/dist/{matrix.serieses-LDQEPXPD.js.map → matrix.serieses-AW7XBXLJ.js.map} +0 -0
  869. /package/dist/{matrix.sort-44TQNRIX.js.map → matrix.sort-7PMECLOE.js.map} +0 -0
  870. /package/dist/{matrix.sort.unit.spec-T3BDWJ3Z.js.map → matrix.sort.unit.spec-GIA2YOTQ.js.map} +0 -0
  871. /package/dist/{matrix.sorterUi-6Y4YBQYL.js.map → matrix.sorterUi-J6PRUT6J.js.map} +0 -0
  872. /package/dist/{matrix.sorterUi.unit.spec-NHUYNMNU.js.map → matrix.sorterUi.unit.spec-OPGKZZL6.js.map} +0 -0
  873. /package/dist/{matrix.unit.spec-C7IRIBN6.js.map → matrix.unit.spec-7UIVVR4T.js.map} +0 -0
  874. /package/dist/{mavb-E37LI73X.js.map → mavb-MSYUMT6W.js.map} +0 -0
  875. /package/dist/{mds.fimo-YTGX7VEN.js.map → mds.fimo-OYEAQP37.js.map} +0 -0
  876. /package/dist/{mds.samplescatterplot-FFGGJSI3.js.map → mds.samplescatterplot-EXISSRQQ.js.map} +0 -0
  877. /package/dist/{mds.survivalplot-NCWRXXV4.js.map → mds.survivalplot-SZST6BLN.js.map} +0 -0
  878. /package/dist/{multivalue-N7A2PU5K.js.map → multivalue-YDE7L75Y.js.map} +0 -0
  879. /package/dist/{numericDictTermCluster-AKQKRBQH.js.map → numericDictTermCluster-5AKP6ICC.js.map} +0 -0
  880. /package/dist/{oncomatrix-QPVGACMF.js.map → oncomatrix-2OEIYWR6.js.map} +0 -0
  881. /package/dist/{oncomatrix.spec-6L2NDN2G.js.map → oncomatrix.spec-CXQW4JWU.js.map} +0 -0
  882. /package/dist/{plot.2dvaf-6TLON77B.js.map → plot.2dvaf-LN7A3NNC.js.map} +0 -0
  883. /package/dist/{plot.app-VM273TXU.js.map → plot.app-YIQOY2Z7.js.map} +0 -0
  884. /package/dist/{plot.barplot-IQTZURHK.js.map → plot.barplot-HF2J25XP.js.map} +0 -0
  885. /package/dist/{plot.boxplot-WEXB6HII.js.map → plot.boxplot-YJH4L27U.js.map} +0 -0
  886. /package/dist/{plot.brainImaging-REGSSBHV.js.map → plot.brainImaging-PS4TRSPI.js.map} +0 -0
  887. /package/dist/{plot.disco-F25Z3FQL.js.map → plot.disco-BN5RNZ6Q.js.map} +0 -0
  888. /package/dist/{plot.ssgq-CRRK26RS.js.map → plot.ssgq-N2HTOIY3.js.map} +0 -0
  889. /package/dist/{plot.vaf2cov-WCNPZKXK.js.map → plot.vaf2cov-6AOHRUQ2.js.map} +0 -0
  890. /package/dist/{polar2-MH5GPXHJ.js.map → polar2-TC5OEJRE.js.map} +0 -0
  891. /package/dist/{profileForms-2YX2OYDI.js.map → profileForms-5WV2TSBB.js.map} +0 -0
  892. /package/dist/{profilePlot-FUTMZ2PP.js.map → profilePlot-OJLLW44P.js.map} +0 -0
  893. /package/dist/{pseudbulk.unit.spec-S7FDL3IX.js.map → pseudbulk.unit.spec-RAYRGN6C.js.map} +0 -0
  894. /package/dist/{pseudobulk-A3LB23N2.js.map → pseudobulk-ADHAYVSQ.js.map} +0 -0
  895. /package/dist/{qualitative-5VJRMF4S.js.map → qualitative-JXEI3IYC.js.map} +0 -0
  896. /package/dist/{radar2-2SJX4ZXN.js.map → radar2-BWTKSTT3.js.map} +0 -0
  897. /package/dist/{radarFacility2-7FPO34JS.js.map → radarFacility2-WIRSKTDG.js.map} +0 -0
  898. /package/dist/{rememberedGvQ.unit.spec-WOQVPQ75.js.map → rememberedGvQ.unit.spec-N43O4YTF.js.map} +0 -0
  899. /package/dist/{render-ZLA2RRBP.js.map → render-J7WOYBOL.js.map} +0 -0
  900. /package/dist/{report-VCE6RILD.js.map → report-DRPCXX2B.js.map} +0 -0
  901. /package/dist/{sampleView-QYTX4OLI.js.map → sampleView-BV6BQGGQ.js.map} +0 -0
  902. /package/dist/{samplelst-7NGH3SUM.js.map → samplelst-ZD63EYO7.js.map} +0 -0
  903. /package/dist/{samplematrix-SNAR6IBB.js.map → samplematrix-ZZ3DVELU.js.map} +0 -0
  904. /package/dist/{sc-2JETYAI4.js.map → sc-MUI43YTB.js.map} +0 -0
  905. /package/dist/{scatter-GHBQM2RR.js.map → scatter-7B44HTKN.js.map} +0 -0
  906. /package/dist/{scatter-D7VZOBEE.js.map → scatter-UEDVIE4Y.js.map} +0 -0
  907. /package/dist/{selectGenomeWithTklst-BD4GMGX3.js.map → selectGenomeWithTklst-WGOKGVZ5.js.map} +0 -0
  908. /package/dist/{singleCellCellType-XHLOJVVC.js.map → singleCellCellType-Z7OXK7PI.js.map} +0 -0
  909. /package/dist/{singleCellCellType.unit.spec-LCLR3IOD.js.map → singleCellCellType.unit.spec-IIOVCCJQ.js.map} +0 -0
  910. /package/dist/{singleCellGeneExpression-JRBONI5C.js.map → singleCellGeneExpression-LYZAIJ2Z.js.map} +0 -0
  911. /package/dist/{singleCellGeneExpression.unit.spec-Z2KSVCIG.js.map → singleCellGeneExpression.unit.spec-67AAWZTG.js.map} +0 -0
  912. /package/dist/{singleCellPlot-4462CQHF.js.map → singleCellPlot-TXPYQLSH.js.map} +0 -0
  913. /package/dist/{singlecell-SO3B5KJ7.js.map → singlecell-22OG6HNI.js.map} +0 -0
  914. /package/dist/{singlecell-CDUQ6MTO.js.map → singlecell-7TBALI2S.js.map} +0 -0
  915. /package/dist/{snp-YE2MXKJO.js.map → snp-3U2G3Z57.js.map} +0 -0
  916. /package/dist/{snp.unit.spec-MT57TGGQ.js.map → snp.unit.spec-BMBBUBYD.js.map} +0 -0
  917. /package/dist/{snplocus-RSNKWY63.js.map → snplocus-SSVZDIQV.js.map} +0 -0
  918. /package/dist/{spliceevent.a53ss.diagram-6N6YGYV7.js.map → spliceevent.a53ss.diagram-FK7CN4AU.js.map} +0 -0
  919. /package/dist/{spliceevent.exonskip.diagram-LMNUS4XV.js.map → spliceevent.exonskip.diagram-EFLGV3O4.js.map} +0 -0
  920. /package/dist/{spliceevent.noeventdiagram-LTBH4YD5.js.map → spliceevent.noeventdiagram-2DYO7CCZ.js.map} +0 -0
  921. /package/dist/{ssGSEA-DPK4PDM2.js.map → ssGSEA-52LWBQJP.js.map} +0 -0
  922. /package/dist/{ssGSEA.unit.spec-K2SA7ME7.js.map → ssGSEA.unit.spec-3JV6WHUQ.js.map} +0 -0
  923. /package/dist/{stattable-PR47XT4F.js.map → stattable-RLMYQ4G6.js.map} +0 -0
  924. /package/dist/{summarizeCnvGeneexp-YZEMDLES.js.map → summarizeCnvGeneexp-QPRYAKC2.js.map} +0 -0
  925. /package/dist/{summarizeGeneexpSurvival-3TXV6ZNI.js.map → summarizeGeneexpSurvival-RWVQXEKB.js.map} +0 -0
  926. /package/dist/{summarizeMutationCnv-EBWSEHWJ.js.map → summarizeMutationCnv-DW5F6NUJ.js.map} +0 -0
  927. /package/dist/{summarizeMutationDiagnosis-FXA25W3O.js.map → summarizeMutationDiagnosis-5FOQ7CHI.js.map} +0 -0
  928. /package/dist/{summarizeMutationSurvival-MR4AOMNS.js.map → summarizeMutationSurvival-4UKB4EVO.js.map} +0 -0
  929. /package/dist/{summary-4C6LGTMF.js.map → summary-TYC6QNT4.js.map} +0 -0
  930. /package/dist/{summary.integration.spec-Y6JLH7NH.js.map → summary.integration.spec-5GLJJZNM.js.map} +0 -0
  931. /package/dist/{summaryInput-NWT2DXWU.js.map → summaryInput-4IJGKW4P.js.map} +0 -0
  932. /package/dist/{sunburst-266MA7E2.js.map → sunburst-G7DGATWP.js.map} +0 -0
  933. /package/dist/{survival-CAZCIY2N.js.map → survival-MKNABJPU.js.map} +0 -0
  934. /package/dist/{svgraph-OFUESREM.js.map → svgraph-VB7JWWR5.js.map} +0 -0
  935. /package/dist/{svmr-PVH42MY4.js.map → svmr-VLQIO2U5.js.map} +0 -0
  936. /package/dist/{table-C2SICFZV.js.map → table-EAXMDWOY.js.map} +0 -0
  937. /package/dist/{termCollection-TGYDI7NP.js.map → termCollection-5LG7ICQY.js.map} +0 -0
  938. /package/dist/{termCollection-H4RL5WJG.js.map → termCollection-SB6MWLFK.js.map} +0 -0
  939. /package/dist/{termCollection.unit.spec-JSALS7GL.js.map → termCollection.unit.spec-H5ITGTR3.js.map} +0 -0
  940. /package/dist/{termCollectionFractionSelection-YJVDNV4I.js.map → termCollectionFractionSelection-2XZSTDCQ.js.map} +0 -0
  941. /package/dist/{termCollectionFractionSelection.unit.spec-4GM7P4ZW.js.map → termCollectionFractionSelection.unit.spec-BIO7V6KA.js.map} +0 -0
  942. /package/dist/{tk-RZCPSHJG.js.map → tk-TRWYZLQ2.js.map} +0 -0
  943. /package/dist/{tk-SNTRA5CC.js.map → tk-VZI5HNSX.js.map} +0 -0
  944. /package/dist/{tp.ui-2W4K3XH6.js.map → tp.ui-J5SNNAT3.js.map} +0 -0
  945. /package/dist/{tvs.dt-GIPVC3R6.js.map → tvs.dt-6YHFJPER.js.map} +0 -0
  946. /package/dist/{tvs.dtcnv.categorical-TEYAS4OU.js.map → tvs.dtcnv.categorical-WTIE63GM.js.map} +0 -0
  947. /package/dist/{tvs.dtcnv.continuous-VQRATYPZ.js.map → tvs.dtcnv.continuous-OCMKGTF5.js.map} +0 -0
  948. /package/dist/{tvs.dtfusion-P2KF5Z4H.js.map → tvs.dtfusion-CA23UNM3.js.map} +0 -0
  949. /package/dist/{tvs.dtitd-TM6UROSH.js.map → tvs.dtitd-VSYMR3OD.js.map} +0 -0
  950. /package/dist/{tvs.dtsnvindel-FZXC23NF.js.map → tvs.dtsnvindel-YBNO3CYF.js.map} +0 -0
  951. /package/dist/{tvs.dtsv-Y5QEJPYG.js.map → tvs.dtsv-S743GBB5.js.map} +0 -0
  952. /package/dist/{tvs.numeric-3UXW4JHJ.js.map → tvs.numeric-22AHXO5K.js.map} +0 -0
  953. /package/dist/{tvs.samplelst-MLAFPFER.js.map → tvs.samplelst-XAJO4EM6.js.map} +0 -0
  954. /package/dist/{tvs.termCollection-ZQQDKESH.js.map → tvs.termCollection-QOVJGAUC.js.map} +0 -0
  955. /package/dist/{vocabulary-JRUZPHMG.js.map → vocabulary-6EADTHP3.js.map} +0 -0
@@ -0,0 +1,1649 @@
1
+ import {
2
+ VolcanoModel,
3
+ getGroupColors
4
+ } from "./chunk-RV34WFGZ.js";
5
+ import {
6
+ DATermTypes,
7
+ DataPointInteractions,
8
+ GeneSetEditUI,
9
+ MultiTermWrapperEditUI,
10
+ PlotBase,
11
+ axisstyle,
12
+ controlsInit,
13
+ downloadTable,
14
+ enabledTermTypes,
15
+ fileDateStamp,
16
+ fillTermWrapper,
17
+ getCombinedTermFilter,
18
+ getDNAMethTermName,
19
+ getDNAMethUnit,
20
+ getDefaultVolcanoSettings,
21
+ getGEunit,
22
+ getSampleNum,
23
+ renderTable,
24
+ sayerror,
25
+ table2col,
26
+ to_svg,
27
+ validateVolcanoSettings
28
+ } from "./chunk-Q5SK3U2T.js";
29
+ import "./chunk-HJ6L54YS.js";
30
+ import "./chunk-KV4W2ACA.js";
31
+ import "./chunk-54KC7DAB.js";
32
+ import "./chunk-N7DVQTPC.js";
33
+ import {
34
+ Menu
35
+ } from "./chunk-ELJX3QIQ.js";
36
+ import "./chunk-EEB5VE2A.js";
37
+ import "./chunk-6RRZRISL.js";
38
+ import "./chunk-2KM4PRQM.js";
39
+ import "./chunk-RPDVFM7E.js";
40
+ import "./chunk-M4XXKTH2.js";
41
+ import "./chunk-5ILEFNXJ.js";
42
+ import {
43
+ DNA_METHYLATION,
44
+ GENE_EXPRESSION,
45
+ PROTEOME_DAP,
46
+ SINGLECELL_CELLTYPE
47
+ } from "./chunk-IZUYLFOX.js";
48
+ import {
49
+ copyMerge,
50
+ getCompInit
51
+ } from "./chunk-WINIL2KN.js";
52
+ import "./chunk-PF4DSFDR.js";
53
+ import "./chunk-7X6NF7NI.js";
54
+ import {
55
+ uiLabel
56
+ } from "./chunk-W5J3LTYS.js";
57
+ import {
58
+ axisBottom,
59
+ axisLeft
60
+ } from "./chunk-Z2ZITHT4.js";
61
+ import {
62
+ linear
63
+ } from "./chunk-4OLM3KSB.js";
64
+ import "./chunk-FXQXCOII.js";
65
+ import {
66
+ roundValueAuto
67
+ } from "./chunk-TLT4YIG3.js";
68
+ import "./chunk-5R63Q5KH.js";
69
+ import {
70
+ selectAll_default,
71
+ select_default
72
+ } from "./chunk-I6Y4O3RR.js";
73
+ import {
74
+ rgb
75
+ } from "./chunk-Q5RDQNIT.js";
76
+ import "./chunk-DQC5FFGV.js";
77
+ import "./chunk-HS5PO5ZQ.js";
78
+
79
+ // plots/volcano/promoterLabel.ts
80
+ function elementNoun(elementType) {
81
+ switch (elementType) {
82
+ case void 0:
83
+ case "":
84
+ case "promoter":
85
+ return { one: "Promoter", many: "promoters" };
86
+ /* Two different promoter DEFINITIONS, deliberately given distinct nouns. 'promoter' is
87
+ the TSS -1500/+500 window (Bibikova 2011 / Sandoval 2011 -- the 450K array's
88
+ TSS1500+TSS200 categories); 'promoter_pls' is the ENCODE cCRE promoter-like element,
89
+ ~349 bp, i.e. the CpG-island core with the shores removed. They cover different numbers
90
+ of genes and their hit counts are NOT comparable, so the UI must never call both
91
+ "promoters". */
92
+ case "promoter_pls":
93
+ return { one: "cCRE promoter", many: "cCRE promoters" };
94
+ case "eqtm_block":
95
+ return { one: "eQTM block", many: "eQTM blocks" };
96
+ case "enhancer":
97
+ return { one: "Enhancer", many: "enhancers" };
98
+ /* Distal and proximal are separate ENCODE classes and separate hypotheses -- dELS are
99
+ the intronic/intergenic enhancers where myeloma hypermethylation concentrates, pELS sit
100
+ within 2 kb of a TSS and behave more promoter-like. There are 4.5x as many dELS, so their
101
+ hit counts are not comparable to each other either. Naming them apart keeps a reader from
102
+ reading two runs as the same analysis. */
103
+ case "enhancer_distal":
104
+ return { one: "Distal enhancer", many: "distal enhancers" };
105
+ case "enhancer_proximal":
106
+ return { one: "Proximal enhancer", many: "proximal enhancers" };
107
+ default:
108
+ return { one: "Element", many: "elements" };
109
+ }
110
+ }
111
+ function formatPromoterLabel(d) {
112
+ if (!d) return "";
113
+ const id = d.promoter_id || "";
114
+ const { chr, start, stop } = d;
115
+ if (!chr || !Number.isFinite(start) || !Number.isFinite(stop)) return id;
116
+ const region = `${chr}:${start}-${stop}`;
117
+ const idx = id.match(/\.(p\d+)_[^_]*:\d+-\d+$/);
118
+ return idx ? `${idx[1]} \xB7 ${region}` : region;
119
+ }
120
+
121
+ // plots/volcano/viewModel/VolcanoViewModel.ts
122
+ function shortenGroupName(name) {
123
+ if (name.length >= 25) return name.substring(0, 20) + "...";
124
+ return name;
125
+ }
126
+ var VolcanoViewModel = class {
127
+ constructor(config, response, settings) {
128
+ this.numSignificant = 0;
129
+ this.numNonSignificant = 0;
130
+ this.minLogFoldChange = 0;
131
+ this.maxLogFoldChange = 0;
132
+ //Used for the y axis domain
133
+ this.minLogPValue = 0;
134
+ this.maxLogPValue = 0;
135
+ //Unpadded extents — used for the visible axis labels/ticks (only span real data)
136
+ this.minLogFoldChangeAxis = 0;
137
+ this.maxLogFoldChangeAxis = 0;
138
+ this.minLogPValueAxis = 0;
139
+ this.maxLogPValueAxis = 0;
140
+ //Dot radius in pixels (from server) — overlay rings size to match the PNG
141
+ this.dotRadiusPx = 2;
142
+ //Used in place of 0 p values that cannot be log transformed
143
+ this.minNonZeroPValue = 1e-9;
144
+ this.offset = 10;
145
+ this.bottomPad = 60;
146
+ this.horizPad = 70;
147
+ this.topPad = 40;
148
+ this.config = config;
149
+ this.response = response;
150
+ this.plotX = this.horizPad + this.offset * 2;
151
+ this.dataRows = response.data.dots;
152
+ const { caseColor, controlColor } = getGroupColors(this.config);
153
+ const barplot = { colorNegative: controlColor, colorPositive: caseColor };
154
+ this.pValueTable = {
155
+ columns: [
156
+ { label: "log\u2082(fold-change)", barplot, sortable: true },
157
+ // DAP files carry a single FDR (adjusted p-value); other term types report
158
+ // both a raw and an adjusted p-value.
159
+ ...config.termType == DATermTypes.PROTEOME_DAP ? [{ label: "FDR", sortable: true }] : [
160
+ { label: "Original p-value", sortable: true },
161
+ { label: "Adjusted p-value", sortable: true }
162
+ ]
163
+ ],
164
+ /** Filled in setPointData(), one row per threshold-passing dot. Populated even when the
165
+ * table is hidden — the download reads it. */
166
+ rows: [],
167
+ rowKeys: /* @__PURE__ */ new Map(),
168
+ height: settings.height + this.topPad
169
+ };
170
+ this.settings = settings;
171
+ this.termType = config.termType;
172
+ this.dataType = this.setDataType();
173
+ this.setMinMaxValues();
174
+ const plotDim = this.setPlotDimensions();
175
+ this.setPTableColumns();
176
+ const pointData = this.setPointData(plotDim, controlColor, caseColor);
177
+ const foldChangeIdx = this.pValueTable.columns.findIndex((c) => c.label.includes("log\u2082(fold-change)"));
178
+ this.pValueTable.rows.sort((a, b) => b[foldChangeIdx].value - a[foldChangeIdx].value);
179
+ this.viewData = {
180
+ images: response.images || [],
181
+ termInfo: this.setTermInfo(plotDim),
182
+ plotDim,
183
+ pointData,
184
+ pValueTableData: this.pValueTable,
185
+ statsData: this.setStatsData(),
186
+ provenance: this.setProvenance(),
187
+ userActions: this.setUserActions(),
188
+ deltaBetaAxisLabel: this.setDeltaBetaAxisLabel(),
189
+ volcanoPng: response.data.volcanoPng,
190
+ plotExtent: response.data.plotExtent
191
+ };
192
+ }
193
+ /* The delta-beta axis used to read "Δβ (case − control)". Those are positional roles, not
194
+ names, so the plot showed the size of an effect but not its direction -- you had to already
195
+ know which group landed in which slot, or open a downloaded file and read the provenance line.
196
+ Name the groups instead, in subtraction order (case first), so the axis states what it plots.
197
+
198
+ Returns undefined when the group names are not available; the view falls back to the old
199
+ wording rather than rendering a broken label. */
200
+ setDeltaBetaAxisLabel() {
201
+ const groups = this.config?.samplelst?.groups;
202
+ const control = groups?.[0]?.name;
203
+ const cases = groups?.[1]?.name;
204
+ if (!control || !cases) return void 0;
205
+ return `\u0394\u03B2 (${shortenGroupName(cases)} \u2212 ${shortenGroupName(control)})`;
206
+ }
207
+ setDataType() {
208
+ if (this.termType == DATermTypes.GENE_EXPRESSION) return "genes";
209
+ if (this.termType == DATermTypes.DNA_METHYLATION) return elementNoun(this.settings?.elementType).many;
210
+ if (this.termType == DATermTypes.SINGLECELL_CELLTYPE) return "genes";
211
+ if (this.termType == DATermTypes.PROTEOME_DAP) return "proteins";
212
+ if (this.termType == DATermTypes.SINGLECELL_GENE_EXPRESSION) return "cells";
213
+ throw new Error(`Unknown termType: ${this.termType}`);
214
+ }
215
+ setMinMaxValues() {
216
+ const ext = this.response.data.plotExtent;
217
+ this.minLogFoldChange = ext.xMin;
218
+ this.maxLogFoldChange = ext.xMax;
219
+ this.minLogPValue = ext.yMin;
220
+ this.maxLogPValue = ext.yMax;
221
+ this.minLogFoldChangeAxis = ext.xMinUnpadded;
222
+ this.maxLogFoldChangeAxis = ext.xMaxUnpadded;
223
+ this.minLogPValueAxis = ext.yMinUnpadded;
224
+ this.maxLogPValueAxis = ext.yMaxUnpadded;
225
+ this.dotRadiusPx = ext.dotRadiusPx;
226
+ if (ext.minNonZeroPValue > 0) this.minNonZeroPValue = ext.minNonZeroPValue;
227
+ }
228
+ setPlotDimensions() {
229
+ const ext = this.response.data.plotExtent;
230
+ const plotW = ext.pixelWidth;
231
+ const plotH = ext.pixelHeight;
232
+ const xPlotScale = linear().domain([this.minLogFoldChange, this.maxLogFoldChange]).range([0, plotW]);
233
+ const yPlotScale = linear().domain([this.minLogPValue, this.maxLogPValue]).range([plotH, 0]);
234
+ const xScale = linear().domain([this.minLogFoldChangeAxis, this.maxLogFoldChangeAxis]).range([xPlotScale(this.minLogFoldChangeAxis), xPlotScale(this.maxLogFoldChangeAxis)]);
235
+ const yScale = linear().domain([this.minLogPValueAxis, this.maxLogPValueAxis]).range([yPlotScale(this.minLogPValueAxis), yPlotScale(this.maxLogPValueAxis)]);
236
+ return {
237
+ svg: {
238
+ //20 is for the term info above the plot
239
+ height: plotH + this.topPad + this.bottomPad * 2 + this.offset * 3,
240
+ width: plotW + this.horizPad * 2
241
+ },
242
+ top: {
243
+ x: this.plotX,
244
+ y: 5
245
+ },
246
+ xAxisLabel: {
247
+ x: this.horizPad + plotW / 2 + this.offset,
248
+ y: this.topPad + plotH + this.bottomPad + this.offset
249
+ },
250
+ xScale: {
251
+ scale: xScale,
252
+ x: this.plotX,
253
+ y: plotH + this.topPad + this.offset * 2
254
+ },
255
+ yAxisLabel: {
256
+ text: this.termType == DATermTypes.PROTEOME_DAP ? "-log10(FDR)" : `-log10(${this.settings.pValueType} P value)`,
257
+ x: this.horizPad / 3,
258
+ y: this.topPad + plotH / 2
259
+ },
260
+ yScale: {
261
+ scale: yScale,
262
+ x: this.horizPad,
263
+ y: this.topPad
264
+ },
265
+ plot: {
266
+ height: plotH,
267
+ width: plotW,
268
+ x: this.plotX,
269
+ y: this.topPad
270
+ },
271
+ logFoldChangeLine: {
272
+ x: xPlotScale(0) + this.plotX,
273
+ y1: this.topPad,
274
+ y2: plotH + this.offset * 4
275
+ },
276
+ xPlotScale,
277
+ yPlotScale
278
+ };
279
+ }
280
+ setTermInfo(plotDim) {
281
+ if (!enabledTermTypes.has(this.termType)) return;
282
+ if (this.termType == DATermTypes.PROTEOME_DAP) {
283
+ return {
284
+ y: plotDim.top.y + 10,
285
+ first: {
286
+ label: shortenGroupName(`Control (${this.response.sample_size1})`),
287
+ x: 0
288
+ },
289
+ second: {
290
+ label: shortenGroupName(`Case (${this.response.sample_size2})`),
291
+ x: this.settings.width
292
+ }
293
+ };
294
+ }
295
+ if (this.termType == DATermTypes.SINGLECELL_CELLTYPE) {
296
+ const groupLabel = `${this.config.termId} ${this.config.categoryName}`;
297
+ return {
298
+ y: plotDim.top.y + 10,
299
+ first: {
300
+ label: shortenGroupName(`Not in ${groupLabel}`),
301
+ x: 0
302
+ },
303
+ second: {
304
+ label: shortenGroupName(groupLabel),
305
+ x: this.settings.width
306
+ }
307
+ };
308
+ }
309
+ return {
310
+ //Set slightly above the plot
311
+ y: plotDim.top.y + 10,
312
+ first: {
313
+ // color: controlColor || this.settings.defaultSignColor,
314
+ label: shortenGroupName(`${this.config.samplelst.groups[0].name} (${this.response.sample_size1})`),
315
+ x: 0
316
+ // rectX: this.settings.width/2 - 10,
317
+ },
318
+ second: {
319
+ // color: caseColor || this.settings.defaultSignColor,
320
+ label: shortenGroupName(`${this.config.samplelst.groups[1].name} (${this.response.sample_size2})`),
321
+ x: this.settings.width
322
+ // rectX: this.settings.width/2 + 10,
323
+ }
324
+ };
325
+ }
326
+ setPointData(_plotDim, controlColor, caseColor) {
327
+ const radius = this.dotRadiusPx;
328
+ this.pValueTable.rows = [];
329
+ this.pValueTable.rowKeys.clear();
330
+ const dataCopy = structuredClone(this.dataRows);
331
+ for (const d of dataCopy) {
332
+ const highlightKey = this.termType === DATermTypes.DNA_METHYLATION ? d.promoter_id : d.gene_name;
333
+ d.highlighted = this.config?.highlightedData?.includes(highlightKey);
334
+ d.significant = true;
335
+ this.getGenesColor(d, d.significant, controlColor, caseColor);
336
+ if (d.significant) {
337
+ this.numSignificant++;
338
+ const row = this.termType == DATermTypes.PROTEOME_DAP ? [{ value: roundValueAuto(d.fold_change) }, { value: roundValueAuto(d.original_p_value) }] : [
339
+ { value: roundValueAuto(d.fold_change) },
340
+ { value: roundValueAuto(d.original_p_value) },
341
+ { value: d.adjusted_p_value != void 0 ? roundValueAuto(d.adjusted_p_value) : "" }
342
+ ];
343
+ if (this.termType == DATermTypes.DNA_METHYLATION) {
344
+ row.splice(
345
+ 1,
346
+ 0,
347
+ { value: roundValueAuto(d.delta_beta) },
348
+ { value: roundValueAuto(d.mean_beta_control) },
349
+ { value: roundValueAuto(d.mean_beta_case) }
350
+ );
351
+ row.splice(0, 0, { value: formatPromoterLabel(d) }, { value: d.gene_name || "" });
352
+ } else if (this.termType == DATermTypes.PROTEOME_DAP) {
353
+ row.splice(0, 0, { value: d.gene_name || "" }, { value: d.gene || "" });
354
+ } else {
355
+ row.splice(0, 0, { value: d.gene_name || "" });
356
+ }
357
+ this.pValueTable.rows.push(row);
358
+ this.pValueTable.rowKeys.set(row, highlightKey);
359
+ } else {
360
+ this.numNonSignificant++;
361
+ }
362
+ d.x = d.pixel_x + this.plotX;
363
+ d.y = d.pixel_y + this.topPad;
364
+ d.radius = radius;
365
+ }
366
+ this.numSignificant = this.response.data.totalSignificantRows;
367
+ this.numNonSignificant = Math.max(0, this.response.data.totalRows - this.numSignificant);
368
+ dataCopy.sort((a, b) => a.highlighted - b.highlighted);
369
+ return dataCopy;
370
+ }
371
+ getGenesColor(d, significant, controlColor, caseColor) {
372
+ if (!d.gene_name && this.termType != DATermTypes.DNA_METHYLATION)
373
+ throw new Error(`Missing gene_name in data: ${JSON.stringify(d)}`);
374
+ if (significant) {
375
+ if (controlColor && caseColor) d.color = d.fold_change > 0 ? caseColor : controlColor;
376
+ else d.color = this.settings.defaultSignColor;
377
+ } else d.color = this.settings.defaultNonSignColor;
378
+ }
379
+ /** One line describing what produced this result: which groups, how many samples actually
380
+ * entered the model, and every setting that changes the numbers.
381
+ *
382
+ * This exists because an exported table is the artifact that outlives the session. Re-running
383
+ * a contrast months later and getting different counts is impossible to diagnose when the
384
+ * original run's group sizes and options were never written down anywhere -- the file, the
385
+ * screenshot and the memory of it all look identical regardless of how it was configured.
386
+ * Only settings that can change the result are listed; cosmetic ones are deliberately left
387
+ * out so the line stays readable and a difference in it always means a real difference. */
388
+ setProvenance() {
389
+ const s = this.settings;
390
+ const parts = [];
391
+ if (this.config.samplelst?.groups?.length == 2) {
392
+ const [g1, g2] = this.config.samplelst.groups;
393
+ parts.push(`group1 (control) "${g1.name}" n=${this.response.sample_size1}`);
394
+ parts.push(`group2 (case) "${g2.name}" n=${this.response.sample_size2}`);
395
+ }
396
+ const conf = this.config.confounderTws?.map((t) => t?.term?.name || t?.term?.id).filter(Boolean);
397
+ parts.push(`confounders: ${conf?.length ? conf.join(" + ") : "none"}`);
398
+ if (this.termType == DATermTypes.DNA_METHYLATION) {
399
+ parts.push(`element class: ${s.elementType || "promoter"}`);
400
+ parts.push(`x axis: ${s.xAxis === "delta_beta" ? "delta-beta" : "log2(fold-change)"}`);
401
+ parts.push(`min samples per group: ${s.minSamplesPerGroup}`);
402
+ parts.push(`exclude sex chromosomes: ${s.excludeSexChr ? "yes" : "no"}`);
403
+ } else if (this.termType == DATermTypes.GENE_EXPRESSION) {
404
+ parts.push(`method: ${s.method}`);
405
+ }
406
+ const onDeltaBeta = this.termType == DATermTypes.DNA_METHYLATION && s.xAxis === "delta_beta";
407
+ const effect = onDeltaBeta ? `|delta-beta| > ${s.deltaBetaCutoff}` : `|log2(fold-change)| > ${s.foldChangeCutoff}`;
408
+ parts.push(`significance: ${s.pValueType} p < ${roundValueAuto(Math.pow(10, -s.pValue))}, ${effect}`);
409
+ return parts.join("; ");
410
+ }
411
+ setStatsData() {
412
+ const tableRows = [
413
+ {
414
+ label: `Percentage of significant ${this.dataType}`,
415
+ value: roundValueAuto(this.numSignificant * 100 / (this.numSignificant + this.numNonSignificant))
416
+ },
417
+ {
418
+ label: `Number of significant ${this.dataType}`,
419
+ value: this.numSignificant
420
+ },
421
+ {
422
+ label: `Number of total ${this.dataType}`,
423
+ value: this.numSignificant + this.numNonSignificant
424
+ }
425
+ ];
426
+ if (this.termType == DATermTypes.GENE_EXPRESSION || this.termType == DATermTypes.DNA_METHYLATION) {
427
+ tableRows.push(
428
+ {
429
+ label: this.config.samplelst.groups[0].name + " sample size (control group)",
430
+ value: this.response.sample_size1
431
+ },
432
+ {
433
+ label: this.config.samplelst.groups[1].name + " sample size (case group)",
434
+ value: this.response.sample_size2
435
+ }
436
+ );
437
+ } else if (this.termType == DATermTypes.PROTEOME_DAP) {
438
+ tableRows.push(
439
+ {
440
+ label: "Control sample size",
441
+ value: this.response.sample_size1
442
+ },
443
+ {
444
+ label: "Case sample size",
445
+ value: this.response.sample_size2
446
+ }
447
+ );
448
+ }
449
+ if (this.response.bcv !== void 0 && this.response.bcv !== null) {
450
+ tableRows.push({
451
+ label: "Biological coefficient of variation",
452
+ value: roundValueAuto(this.response.bcv)
453
+ });
454
+ }
455
+ return tableRows;
456
+ }
457
+ setPTableColumns() {
458
+ if (this.termType == DATermTypes.DNA_METHYLATION) {
459
+ this.pValueTable.columns.splice(
460
+ 1,
461
+ 0,
462
+ { label: "\u0394\u03B2", sortable: true },
463
+ { label: "Mean \u03B2 (group 1)", sortable: true },
464
+ { label: "Mean \u03B2 (group 2)", sortable: true }
465
+ );
466
+ this.pValueTable.columns.splice(
467
+ 0,
468
+ 0,
469
+ { label: elementNoun(this.settings?.elementType).one, sortable: true },
470
+ { label: "Gene(s)", sortable: true }
471
+ );
472
+ } else if (this.termType == DATermTypes.PROTEOME_DAP) {
473
+ this.pValueTable.columns.splice(0, 0, { label: "Identifier", sortable: true }, { label: "Gene", sortable: true });
474
+ } else {
475
+ this.pValueTable.columns.splice(0, 0, { label: "Gene Name", sortable: true });
476
+ }
477
+ }
478
+ setUserActions() {
479
+ const userActions = {
480
+ noShow: /* @__PURE__ */ new Set()
481
+ };
482
+ if (this.termType == DATermTypes.GENE_EXPRESSION) {
483
+ if (this.settings.method == "edgeR" && getSampleNum(this.config) > 100) {
484
+ userActions.noShow.add("Confounding factors");
485
+ }
486
+ if (this.settings.method == "wilcoxon") userActions.noShow.add("Confounding factors");
487
+ }
488
+ return userActions;
489
+ }
490
+ };
491
+
492
+ // plots/volcano/interactions/VolcanoInteractions.ts
493
+ var VolcanoInteractions = class {
494
+ constructor(app, id, dom) {
495
+ this.app = app;
496
+ this.dom = dom;
497
+ this.id = id;
498
+ this.pValueTableData = [];
499
+ this.data = [];
500
+ this.totalSignificantRows = 0;
501
+ this.provenance = "";
502
+ }
503
+ /** Launches a multi-term select tree
504
+ * On submit, dispatches a plot_edit action with the new confounders */
505
+ async confoundersMenu() {
506
+ const state = this.app.getState();
507
+ const config = state.plots.find((p) => p.id === this.id);
508
+ if (config.termType !== GENE_EXPRESSION && config.termType !== DNA_METHYLATION) return;
509
+ const allowedGroupNames = /* @__PURE__ */ new Set([config.samplelst.groups[0].name, config.samplelst.groups[1].name]);
510
+ const grpTerms = new Set(
511
+ (this.app?.vocabApi?.state.groups || []).filter((g) => allowedGroupNames.has(g.name)).flatMap(
512
+ (g) => g.filter.lst.flatMap((f) => {
513
+ if (f.tvs?.term) return f.tvs.term;
514
+ else return f.lst.map((l) => l.tvs.term);
515
+ })
516
+ )
517
+ );
518
+ const disable_terms = grpTerms.size ? Array.from(grpTerms) : [];
519
+ const maxNum = config.settings.volcano.method == "edgeR" ? 1 : 2;
520
+ const ui = new MultiTermWrapperEditUI({
521
+ app: this.app,
522
+ callback: async (tws) => {
523
+ this.dom.actionsTip.hide();
524
+ await this.app.dispatch({
525
+ type: "plot_edit",
526
+ id: this.id,
527
+ config: { confounderTws: tws }
528
+ });
529
+ },
530
+ holder: this.dom.actionsTip.d,
531
+ headerText: "Select confounders",
532
+ maxNum,
533
+ state,
534
+ twList: config.confounderTws,
535
+ disable_terms
536
+ });
537
+ await ui.renderUI();
538
+ }
539
+ download(termType) {
540
+ this.dom.actionsTip.clear().showunder(this.dom.controls.select("div").node());
541
+ const opts = [
542
+ {
543
+ text: "Download plot",
544
+ callback: () => {
545
+ const svg = this.dom.holder.select("svg").node();
546
+ to_svg(svg, `Differential ${termType} analysis volcano`, { apply_dom_styles: true });
547
+ }
548
+ },
549
+ {
550
+ // DAP volcanoes report a single FDR rather than a p-value.
551
+ text: termType === PROTEOME_DAP ? "Download FDR table" : "Download p-value table",
552
+ callback: (itemDiv) => this.downloadPvalueTable(termType, itemDiv)
553
+ }
554
+ ];
555
+ for (const opt of opts) {
556
+ const itemDiv = this.dom.actionsTip.d.append("div").attr("class", "sja_menuoption").text(opt.text);
557
+ itemDiv.on("click", () => opt.callback(itemDiv));
558
+ }
559
+ }
560
+ /* The interactive table only holds the most-significant maxInteractiveDots rows, because the
561
+ dot overlay has to stay responsive. The download has no such constraint, so it should be the
562
+ COMPLETE set of significant rows: when the two differ, re-request with the cap lifted and write
563
+ those rows instead.
564
+
565
+ That second request is cheap. volcanoRender is deliberately not part of the DA cache key (see
566
+ dmKeyInputs in server/routes/termdb.diffMeth.ts), so lifting the cap re-uses the cached R result
567
+ and pays only for a re-render.
568
+
569
+ If the re-request fails the download still happens, with the capped rows and a note saying so --
570
+ losing the file entirely would be a worse outcome than a disclosed subset. */
571
+ async downloadPvalueTable(termType, itemDiv) {
572
+ const date = fileDateStamp();
573
+ const label = termType === PROTEOME_DAP ? "fdr" : "p-value";
574
+ let { rows, columns } = this.pValueTableData;
575
+ let subsetNote;
576
+ const cappedNote = (reason) => `Top ${rows.length.toLocaleString()} of ${this.totalSignificantRows.toLocaleString()} significant results, selected by adjusted p-value and sorted by fold-change. This file is not the complete result set (${reason}).`;
577
+ if (this.totalSignificantRows > rows.length) {
578
+ if (!this.fetchAllRows) subsetNote = cappedNote("complete set unavailable");
579
+ else {
580
+ const restore = itemDiv?.text();
581
+ itemDiv?.text(`Preparing ${this.totalSignificantRows.toLocaleString()} rows...`);
582
+ try {
583
+ const full = await this.fetchAllRows();
584
+ rows = full.rows;
585
+ columns = full.columns;
586
+ } catch (e) {
587
+ subsetNote = cappedNote(`could not retrieve the complete set: ${e?.message || e}`);
588
+ } finally {
589
+ if (restore) itemDiv?.text(restore);
590
+ }
591
+ }
592
+ }
593
+ const note = [subsetNote, this.provenance && `Run: ${this.provenance}`].filter(Boolean).join(" | ");
594
+ downloadTable(rows, columns, `${label}-table-${date}.tsv`, note || void 0);
595
+ }
596
+ async highlightDataPoint(value) {
597
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
598
+ const highlightedData = config.highlightedData.includes(value) ? config.highlightedData.filter((d) => d !== value) : [...config.highlightedData, value];
599
+ await this.app.dispatch({
600
+ type: "plot_edit",
601
+ id: this.id,
602
+ config: { highlightedData }
603
+ });
604
+ }
605
+ /** When clicking on a data point, launches the box plot in a separate sandbox
606
+ * For geneExpression, value == gene symbol */
607
+ launchBoxPlot(value) {
608
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
609
+ const values = {};
610
+ for (const group of config.samplelst.groups) {
611
+ values[group.name] = {
612
+ key: group.name,
613
+ label: group.name,
614
+ list: group.values
615
+ };
616
+ }
617
+ const setTerm = () => {
618
+ if (config.termType == GENE_EXPRESSION) {
619
+ return {
620
+ q: { mode: "continuous" },
621
+ term: {
622
+ gene: value,
623
+ name: value,
624
+ type: config.termType
625
+ }
626
+ };
627
+ } else return config.term;
628
+ };
629
+ this.app.dispatch({
630
+ type: "plot_create",
631
+ config: {
632
+ chartType: "summary",
633
+ childType: "boxplot",
634
+ term: setTerm(),
635
+ term2: {
636
+ q: { groups: config.tw.q.groups, type: "custom-samplelst" },
637
+ term: config.tw.term
638
+ }
639
+ }
640
+ });
641
+ }
642
+ /** Launch a violin plot for a gene expression data point. */
643
+ launchViolinGeneExp(value) {
644
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
645
+ this.app.dispatch({
646
+ type: "plot_create",
647
+ config: {
648
+ chartType: "summary",
649
+ childType: "violin",
650
+ term: {
651
+ q: { mode: "continuous" },
652
+ term: {
653
+ gene: value,
654
+ name: value,
655
+ type: config.termType
656
+ }
657
+ },
658
+ term2: {
659
+ q: { groups: config.tw.q.groups, type: "custom-samplelst" },
660
+ term: config.tw.term
661
+ }
662
+ }
663
+ });
664
+ }
665
+ launchGeneSetEdit() {
666
+ const plotConfig = this.app.getState().plots.find((p) => p.id === this.id);
667
+ const holder = this.dom.actionsTip.d.append("div").style("padding", "5px");
668
+ const limitedGenesList = plotConfig.termType === DNA_METHYLATION ? this.data.map((d) => d.promoter_id) : this.data.map((d) => d.gene_name);
669
+ new GeneSetEditUI({
670
+ holder,
671
+ genome: this.app.opts.genome,
672
+ vocabApi: this.app.vocabApi,
673
+ limitedGenesList,
674
+ geneList: plotConfig.highlightedData.map((d) => {
675
+ return { gene: d };
676
+ }),
677
+ customInputs: [
678
+ {
679
+ label: "Cancel highlight",
680
+ getDisplayStyle: () => plotConfig.highlightedData.length > 0 ? "" : "none",
681
+ showInput: async () => {
682
+ await this.app.dispatch({
683
+ type: "plot_edit",
684
+ id: this.id,
685
+ config: { highlightedData: [] }
686
+ });
687
+ this.dom.actionsTip.hide();
688
+ }
689
+ }
690
+ ],
691
+ callback: async (result) => {
692
+ const highlightedData = result.geneList.map((d) => d.gene);
693
+ await this.app.dispatch({
694
+ type: "plot_edit",
695
+ id: this.id,
696
+ config: { highlightedData }
697
+ });
698
+ this.dom.actionsTip.hide();
699
+ }
700
+ });
701
+ }
702
+ /** When clicking on a DM data point, dispatches a DMR plot that runs DMRCate
703
+ * analysis and renders a genome browser Block with DMR regions on their own
704
+ * track. */
705
+ async launchDmr(d) {
706
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
707
+ const controlColor = config?.tw?.term?.values?.[config?.samplelst?.groups[0].name]?.color || "#ff0000";
708
+ const caseColor = config?.tw?.term?.values?.[config?.samplelst?.groups[1].name]?.color || "#0000ff";
709
+ const label = d.promoterId || `${d.chr}:${d.start}-${d.stop}`;
710
+ const dmrConfig = {
711
+ chartType: "dmr",
712
+ headerText: `DMR: ${label}`,
713
+ coordinateOverride: { chr: d.chr, start: d.start, stop: d.stop },
714
+ group1: config.samplelst.groups[0].values || [],
715
+ group2: config.samplelst.groups[1].values || [],
716
+ group1Name: config.samplelst.groups[0].name,
717
+ group2Name: config.samplelst.groups[1].name,
718
+ settings: {
719
+ colors: { group1: controlColor, group2: caseColor }
720
+ }
721
+ };
722
+ this.app.dispatch({
723
+ type: "plot_create",
724
+ config: dmrConfig
725
+ });
726
+ }
727
+ /** Launch a violin/box plot for a DNA methylation promoter.
728
+ * Creates a methylation term using the promoter's chr/start/stop coordinates.
729
+ * The tw handler fills in id and unit from termdbConfig. */
730
+ launchDNAMethViolin(d) {
731
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
732
+ const genomicFeatureType = d.promoter_id ? "promoter" : "gene";
733
+ const featureName = genomicFeatureType === "gene" ? d.gene_name?.split(",")[0]?.trim() || "" : "";
734
+ const term = {
735
+ genomicFeatureType,
736
+ featureName,
737
+ type: DNA_METHYLATION,
738
+ chr: d.chr,
739
+ start: d.start,
740
+ stop: d.stop
741
+ };
742
+ if (genomicFeatureType === "promoter") {
743
+ const noun = elementNoun(config?.settings?.volcano?.elementType).one;
744
+ const unit = getDNAMethUnit(genomicFeatureType, this.app.vocabApi);
745
+ term.unit = unit;
746
+ term.name = getDNAMethTermName(term, unit, noun);
747
+ }
748
+ this.app.dispatch({
749
+ type: "plot_create",
750
+ config: {
751
+ chartType: "summary",
752
+ childType: "violin",
753
+ term: {
754
+ q: { mode: "continuous" },
755
+ term
756
+ },
757
+ term2: {
758
+ q: { groups: config.tw.q.groups, type: "custom-samplelst" },
759
+ term: config.tw.term
760
+ }
761
+ }
762
+ });
763
+ }
764
+ async launchDEGClustering() {
765
+ const geneIndex = this.pValueTableData.columns.findIndex((col) => col.label === "Gene Name");
766
+ const adjustedPValIndex = this.pValueTableData.columns.findIndex((col) => col.label === "Adjusted p-value");
767
+ const rowsSorted = [...this.pValueTableData.rows].sort((a, b) => {
768
+ const aQVal = Number(a[adjustedPValIndex].value);
769
+ const bQVal = Number(b[adjustedPValIndex].value);
770
+ return aQVal - bQVal;
771
+ });
772
+ const geneList = rowsSorted.slice(0, 100).map((r) => ({ gene: r[geneIndex].value }));
773
+ const tws = geneList.map((d) => {
774
+ const gene = d.gene;
775
+ const unit = getGEunit(this.app.vocabApi);
776
+ const name = `${gene} ${unit}`;
777
+ const term = { gene, name, type: GENE_EXPRESSION };
778
+ return { term, q: {} };
779
+ });
780
+ const group = { lst: tws, type: "hierCluster" };
781
+ const customVariable = this.app.getState().plots.find((p) => p.id === this.id).tw;
782
+ const annotationGroup = { lst: [customVariable] };
783
+ const config = {
784
+ chartType: "hierCluster",
785
+ termgroups: [group, annotationGroup],
786
+ dataType: GENE_EXPRESSION,
787
+ filter: {
788
+ in: true,
789
+ join: "",
790
+ type: "tvslst",
791
+ lst: [{ type: "tvs", tvs: { term: customVariable.term } }]
792
+ }
793
+ };
794
+ await this.app.dispatch({
795
+ type: "plot_create",
796
+ config: structuredClone(config)
797
+ });
798
+ }
799
+ };
800
+
801
+ // plots/volcano/view/VolcanoPlotView.ts
802
+ var VolcanoPlotView = class {
803
+ constructor(dom, interactions, termType) {
804
+ this.dom = dom;
805
+ this.interactions = interactions;
806
+ this.termType = termType;
807
+ const actions = this.dom.holder.append("div").attr("id", "sjpp-volcano-actions").style("display", "block").style("z-index", 1).style("position", "relative");
808
+ const svg = this.dom.holder.append("svg").style("display", "inline-block").attr("id", "sjpp-volcano-svg").style("vertical-align", "top");
809
+ this.volcanoDom = {
810
+ actions,
811
+ svg,
812
+ pValueTable: void 0,
813
+ top: void 0,
814
+ xAxis: void 0,
815
+ xAxisLabel: void 0,
816
+ yAxis: void 0,
817
+ yAxisLabel: void 0,
818
+ plot: void 0
819
+ };
820
+ }
821
+ render(settings, viewData) {
822
+ this.settings = settings;
823
+ this.viewData = viewData;
824
+ const plotDim = this.viewData.plotDim;
825
+ this.initDom();
826
+ this.renderUserActions();
827
+ this.renderPlot(plotDim);
828
+ renderDataPoints(this);
829
+ this.renderFoldChangeLine(plotDim);
830
+ this.attachInteractions(plotDim);
831
+ if (this.settings.showPValueTable) this.renderPValueTable();
832
+ }
833
+ initDom() {
834
+ this.volcanoDom.actions.selectAll("*").remove();
835
+ this.volcanoDom.svg.selectAll("*").remove();
836
+ const svg = this.volcanoDom.svg;
837
+ this.volcanoDom.top = svg.append("g").attr("id", "sjpp-volcano-top");
838
+ this.volcanoDom.xAxis = svg.append("g").attr("id", "sjpp-volcano-xAxis");
839
+ this.volcanoDom.yAxis = svg.append("g").attr("id", "sjpp-volcano-yAxis");
840
+ this.volcanoDom.xAxisLabel = svg.append("text").attr("id", "sjpp-volcano-xAxisLabel").attr("text-anchor", "middle");
841
+ this.volcanoDom.yAxisLabel = svg.append("text").attr("id", "sjpp-volcano-yAxisLabel").attr("text-anchor", "middle");
842
+ this.volcanoDom.plot = svg.append("g").attr("id", "sjpp-volcano-plot");
843
+ this.dom.holder.select("#sjpp-volcano-pValueTable").remove();
844
+ if (!this.settings.showPValueTable) return;
845
+ this.volcanoDom.pValueTable = this.dom.holder.append("div").attr("id", "sjpp-volcano-pValueTable").attr("data-testid", "sjpp-volcano-pValueTable").style("display", "inline-block").style("vertical-align", "top");
846
+ }
847
+ renderUserActions() {
848
+ this.dom.actionsTip.d.style("overflow", "hidden");
849
+ this.volcanoDom.actions.style("margin-left", "20px").style("padding", "5px");
850
+ this.addActionButton(
851
+ "Confounding factors",
852
+ [DATermTypes.GENE_EXPRESSION, DATermTypes.DNA_METHYLATION],
853
+ () => this.interactions.confoundersMenu()
854
+ );
855
+ this.addActionButton(
856
+ "Highlight genes",
857
+ [DATermTypes.GENE_EXPRESSION, DATermTypes.SINGLECELL_CELLTYPE, DATermTypes.DNA_METHYLATION],
858
+ () => this.interactions.launchGeneSetEdit()
859
+ );
860
+ this.addActionButton(
861
+ "Statistics",
862
+ [DATermTypes.GENE_EXPRESSION, DATermTypes.SINGLECELL_CELLTYPE, DATermTypes.DNA_METHYLATION],
863
+ () => {
864
+ this.renderStatsMenu();
865
+ },
866
+ { whenOpen: "Hide statistics" }
867
+ );
868
+ const dmNoun = elementNoun(this.settings?.elementType);
869
+ const sigLabel = this.termType == DATermTypes.DNA_METHYLATION ? `Number of significant ${dmNoun.many}` : "Number of significant genes";
870
+ const numSigGenes = this.viewData.statsData.find((d) => d.label == sigLabel)?.value;
871
+ if (numSigGenes) {
872
+ const n = numSigGenes.toLocaleString();
873
+ const sigText = this.termType == DATermTypes.DNA_METHYLATION ? `${n} DM ${dmNoun.many}:` : `${n} DE genes:`;
874
+ this.volcanoDom.actions.append("span").text(sigText).style("margin-left", "10px").style("font-weight", "bold");
875
+ const pValueTableButtonText = this.settings.showPValueTable ? "Hide p-value table" : "Show p-value table";
876
+ this.addActionButton(
877
+ pValueTableButtonText,
878
+ [DATermTypes.GENE_EXPRESSION, DATermTypes.SINGLECELL_CELLTYPE, DATermTypes.DNA_METHYLATION],
879
+ async () => {
880
+ const showTable = !this.settings.showPValueTable;
881
+ await this.interactions.app.dispatch({
882
+ type: "plot_edit",
883
+ id: this.interactions.id,
884
+ config: { settings: { volcano: { showPValueTable: showTable } } }
885
+ });
886
+ }
887
+ );
888
+ }
889
+ if (numSigGenes && numSigGenes >= 3) {
890
+ this.addActionButton(
891
+ `Hierarchical clustering of ${numSigGenes > 100 ? "top 100" : numSigGenes} DE genes`,
892
+ [DATermTypes.GENE_EXPRESSION],
893
+ async () => {
894
+ await this.interactions.launchDEGClustering();
895
+ }
896
+ );
897
+ }
898
+ }
899
+ /** Use the termTypes arr to render the buttons in a consistent order.
900
+ *
901
+ * Pass `opts.whenOpen` to make the button a toggle: clicking once opens
902
+ * the actionsTip with the callback's content and swaps the button text
903
+ * to `whenOpen` ("Hide statistics", etc.); clicking again hides the tip
904
+ * and restores the original text. The text also restores when the tip
905
+ * closes via Esc or outside-click (Menu.onHide hook), and when another
906
+ * action button hijacks the tip (the loop below resets all toggles
907
+ * before showing the new content). */
908
+ addActionButton(text, termTypes, callback, opts) {
909
+ if (this.viewData.userActions.noShow.has(text)) return;
910
+ if (!termTypes.includes(this.termType)) return;
911
+ const button = this.volcanoDom.actions.append("button").attr("class", "sja_menuoption").style("margin", "3px").style("padding", "3px").text(text).on("click", async () => {
912
+ const whenOpen = opts?.whenOpen;
913
+ if (whenOpen && button.text() === whenOpen) {
914
+ this.dom.actionsTip.hide();
915
+ return;
916
+ }
917
+ this.volcanoDom.actions.selectAll('button[data-volcano-toggle-open="1"]').each(function() {
918
+ const b = select_default(this);
919
+ const closed = b.attr("data-volcano-toggle-closed");
920
+ if (closed) b.text(closed).attr("data-volcano-toggle-open", null);
921
+ this.parent_menu = void 0;
922
+ const eh = this.__volcanoEscHandler;
923
+ if (eh) {
924
+ document.removeEventListener("keydown", eh);
925
+ this.__volcanoEscHandler = void 0;
926
+ }
927
+ });
928
+ this.dom.actionsTip.clear().showunder(button.node());
929
+ if (whenOpen) {
930
+ button.text(whenOpen).attr("data-volcano-toggle-open", "1").attr("data-volcano-toggle-closed", text);
931
+ button.node().parent_menu = this.dom.actionsTip.dnode;
932
+ const escHandler = (e) => {
933
+ if (e.key === "Escape") this.dom.actionsTip.hide();
934
+ };
935
+ document.addEventListener("keydown", escHandler);
936
+ button.node().__volcanoEscHandler = escHandler;
937
+ this.dom.actionsTip.onHide = () => {
938
+ button.text(text).attr("data-volcano-toggle-open", null);
939
+ button.node().parent_menu = void 0;
940
+ document.removeEventListener("keydown", escHandler);
941
+ button.node().__volcanoEscHandler = void 0;
942
+ };
943
+ } else {
944
+ this.dom.actionsTip.onHide = void 0;
945
+ }
946
+ await callback();
947
+ });
948
+ }
949
+ renderPlot(plotDim) {
950
+ this.volcanoDom.svg.attr("width", plotDim.svg.width).attr("height", plotDim.svg.height);
951
+ this.renderTermInfo(plotDim);
952
+ this.volcanoDom.yAxisLabel.attr(
953
+ "transform",
954
+ `translate(${plotDim.yAxisLabel.x}, ${plotDim.yAxisLabel.y}) rotate(-90)`
955
+ );
956
+ this.setSvgSubscriptLabel(
957
+ this.volcanoDom.yAxisLabel,
958
+ "-log",
959
+ "10",
960
+ this.termType === DATermTypes.PROTEOME_DAP ? "(FDR)" : `(${this.settings.pValueType} p-value)`
961
+ );
962
+ this.volcanoDom.xAxisLabel.attr("transform", `translate(${plotDim.xAxisLabel.x}, ${plotDim.xAxisLabel.y})`);
963
+ if (this.termType === DATermTypes.DNA_METHYLATION && this.settings.xAxis === "delta_beta") {
964
+ this.volcanoDom.xAxisLabel.selectAll("*").remove();
965
+ this.volcanoDom.xAxisLabel.text(this.viewData.deltaBetaAxisLabel || "\u0394\u03B2 (case \u2212 control)");
966
+ } else {
967
+ this.volcanoDom.xAxisLabel.text(null);
968
+ this.setSvgSubscriptLabel(this.volcanoDom.xAxisLabel, "log", "2", "(fold-change)");
969
+ }
970
+ this.renderScale(plotDim.xScale);
971
+ this.renderScale(plotDim.yScale, true);
972
+ if (this.viewData.volcanoPng) {
973
+ this.volcanoDom.plot.append("image").attr("href", `data:image/png;base64,${this.viewData.volcanoPng}`).attr("x", plotDim.plot.x).attr("y", plotDim.plot.y).attr("width", plotDim.plot.width).attr("height", plotDim.plot.height).attr("preserveAspectRatio", "none");
974
+ }
975
+ }
976
+ renderTermInfo(plotDim) {
977
+ if (this.viewData.termInfo == void 0) return;
978
+ this.volcanoDom.top.attr("transform", `translate(${plotDim.top.x}, ${plotDim.top.y})`);
979
+ const y = this.viewData.termInfo.y;
980
+ const addLabel = (term) => {
981
+ return this.volcanoDom.top.append("text").attr("font-size", "0.9em").attr("transform", `translate(${term.x}, ${y + 10})`).text(term.label);
982
+ };
983
+ const firstTerm = this.viewData.termInfo.first;
984
+ addLabel(firstTerm);
985
+ const secondTerm = this.viewData.termInfo.second;
986
+ const secondLabel = addLabel(secondTerm);
987
+ secondLabel.attr("text-anchor", "end");
988
+ }
989
+ renderScale(scale, isLeft = false) {
990
+ const scaleG = this.volcanoDom[isLeft ? "yAxis" : "xAxis"].append("g").attr("transform", `translate(${scale.x}, ${scale.y})`).call(isLeft ? axisLeft(scale.scale) : axisBottom(scale.scale));
991
+ axisstyle({
992
+ axis: scaleG,
993
+ color: "black",
994
+ showline: true
995
+ });
996
+ }
997
+ renderFoldChangeLine(plotDim) {
998
+ this.volcanoDom.plot.append("line").attr("stroke", "#ccc").attr("shape-rendering", "crispEdges").attr("x1", plotDim.logFoldChangeLine.x).attr("x2", plotDim.logFoldChangeLine.x).attr("y1", plotDim.logFoldChangeLine.y1).attr("y2", plotDim.logFoldChangeLine.y2);
999
+ }
1000
+ renderStatsMenu() {
1001
+ for (const img of this.viewData.images || []) {
1002
+ this.dom.actionsTip.d.append("img").style("display", "inline-block").style("margin-left", "10px").style("margin-top", "-30px").attr("width", 450).attr("height", 450).attr("src", img.src);
1003
+ }
1004
+ const tableHolder = this.dom.actionsTip.d.append("div").style("display", this.viewData.images.length == 1 ? "inline-block" : "block").style("margin", `${this.viewData.images.length == 1 ? `40px 10px` : `0px 0px`} 0px 5px`).style("vertical-align", "top");
1005
+ const table = table2col({ holder: tableHolder });
1006
+ for (const d of this.viewData.statsData) {
1007
+ const [td1, td2] = table.addRow();
1008
+ td1.text(d.label);
1009
+ td2.style("text-align", "end").text(Number.isInteger(d.value) ? d.value.toLocaleString() : d.value);
1010
+ }
1011
+ }
1012
+ renderPValueTable() {
1013
+ if (!this.settings.showPValueTable) return;
1014
+ const maxTableRows = 5e3;
1015
+ const allRows = this.viewData.pValueTableData.rows;
1016
+ const rows = allRows.length > maxTableRows ? allRows.slice(0, maxTableRows) : allRows;
1017
+ if (allRows.length > maxTableRows) {
1018
+ this.volcanoDom.pValueTable.append("div").style("padding", "5px 10px").style("font-size", ".8em").style("color", "#666").text(
1019
+ `Showing top ${maxTableRows.toLocaleString()} of ${allRows.length.toLocaleString()} significant results (sorted by fold-change)`
1020
+ );
1021
+ }
1022
+ renderTable({
1023
+ columns: this.viewData.pValueTableData.columns,
1024
+ rows,
1025
+ div: this.volcanoDom.pValueTable,
1026
+ showLines: true,
1027
+ maxHeight: `${this.viewData.pValueTableData.height}px`,
1028
+ resize: true,
1029
+ header: { allowSort: true },
1030
+ noRadioBtn: true,
1031
+ noButtonCallback: (i) => {
1032
+ const key = this.viewData.pValueTableData.rowKeys.get(rows[i]);
1033
+ if (!key) return;
1034
+ this.interactions.highlightDataPoint(key);
1035
+ },
1036
+ hoverEffects: (tr, row) => {
1037
+ const circles = this.volcanoDom.plot.selectAll("circle").nodes();
1038
+ const key = this.viewData.pValueTableData.rowKeys.get(row);
1039
+ const dataKey = this.termType === DATermTypes.DNA_METHYLATION ? "promoter_id" : "gene_name";
1040
+ const circle = circles.find((d) => d.__data__[dataKey] == key);
1041
+ if (!circle || circle.__data__.highlighted) return;
1042
+ let clone;
1043
+ tr.on("mouseover", () => {
1044
+ if (circle.__data__.highlighted || clone) return;
1045
+ clone = this.volcanoDom.plot.node()?.appendChild(circle.cloneNode(true));
1046
+ clone.setAttribute("fill-opacity", 0.9);
1047
+ });
1048
+ tr.on("mouseleave", () => {
1049
+ if (!clone) return;
1050
+ clone.remove();
1051
+ clone = null;
1052
+ });
1053
+ this.volcanoDom.pValueTable.on("mouseover", () => {
1054
+ selectAll_default(circles).attr("stroke-opacity", 0.075);
1055
+ });
1056
+ this.volcanoDom.pValueTable.on("mouseleave", () => {
1057
+ selectAll_default(circles).attr("stroke-opacity", (d) => d.significant ? 0.35 : 0.2);
1058
+ });
1059
+ }
1060
+ });
1061
+ }
1062
+ setSvgSubscriptLabel(textElem, prefix, subscript, suffix) {
1063
+ textElem.text(null);
1064
+ textElem.append("tspan").text(prefix);
1065
+ textElem.append("tspan").attr("baseline-shift", "sub").attr("font-size", "0.7em").text(subscript);
1066
+ textElem.append("tspan").text(suffix);
1067
+ }
1068
+ attachInteractions(plotDim) {
1069
+ const points = this.viewData.pointData;
1070
+ if (!points || points.length === 0) return;
1071
+ const dotRadiusPx = this.viewData.plotExtent.dotRadiusPx;
1072
+ const hitRadius = dotRadiusPx + 3;
1073
+ const highlightRadius = Math.max(0.5, dotRadiusPx - 0.5);
1074
+ const highlightColor = this.settings.defaultHighlightColor;
1075
+ const hoverLayer = this.volcanoDom.plot.append("g").attr("id", "sjpp-volcano-hover").style("pointer-events", "none");
1076
+ const cover = this.volcanoDom.plot.append("rect").attr("id", "sjpp-volcano-cover").attr("x", plotDim.plot.x).attr("y", plotDim.plot.y).attr("width", plotDim.plot.width).attr("height", plotDim.plot.height).attr("fill", "transparent").style("pointer-events", "all").style("cursor", "default");
1077
+ const circlePath = (r) => `M${r},0 A${r},${r} 0 1,1 ${-r},0 A${r},${r} 0 1,1 ${r},0 Z`;
1078
+ new DataPointInteractions({
1079
+ cover,
1080
+ hoverLayer,
1081
+ hoverTip: this.dom.tip,
1082
+ points,
1083
+ // Quadtree in cover-local space — d.x/d.y are SVG-absolute, so subtract
1084
+ // the plot rect's origin once when building the tree.
1085
+ getX: (d) => d.x - plotDim.plot.x,
1086
+ getY: (d) => d.y - plotDim.plot.y,
1087
+ hitRadius,
1088
+ toHoverSpec: (d) => ({
1089
+ path: circlePath(highlightRadius),
1090
+ // Hover layer lives in the same coord space as the dots (SVG-absolute),
1091
+ // so translate by d.x/d.y — NOT the cover-local pair.
1092
+ transform: `translate(${d.x},${d.y})`,
1093
+ fill: highlightColor,
1094
+ fillOpacity: 0.9,
1095
+ stroke: "none"
1096
+ }),
1097
+ maxTooltipRows: this.settings.maxTooltipGenes,
1098
+ itemNoun: "gene",
1099
+ renderSingleHoverTooltip: (d, container) => {
1100
+ const table = table2col({ holder: container.append("table") });
1101
+ this.addTooltipRows(d, table);
1102
+ },
1103
+ buildMultiHitTableData: (dots) => this.buildMultiHitTable(dots),
1104
+ getActions: (d) => this.getActionMenuOpts(d),
1105
+ renderSingleHitInfo: (d, container) => {
1106
+ const tbl = table2col({ holder: container.append("table") });
1107
+ this.addTooltipRows(d, tbl);
1108
+ },
1109
+ getRowKey: (d) => d.gene_name
1110
+ }).attach();
1111
+ }
1112
+ /** Whether the effect size on show is delta-beta rather than log2 fold-change. Methylation
1113
+ * fold-change is a difference of logits: it ranks elements correctly but says nothing about
1114
+ * how much methylation moved, so it must not be what a reader is handed next to a delta-beta
1115
+ * axis. Read by both hover paths -- the single-point tooltip and the multi-point table -- so
1116
+ * the two cannot disagree about which number they show. */
1117
+ get onDeltaBeta() {
1118
+ return this.termType === DATermTypes.DNA_METHYLATION && this.settings.xAxis === "delta_beta";
1119
+ }
1120
+ buildMultiHitTable(dots) {
1121
+ const isDM = this.termType === DATermTypes.DNA_METHYLATION;
1122
+ const isDAP = this.termType === DATermTypes.PROTEOME_DAP;
1123
+ const effectLabel = this.onDeltaBeta ? "\u0394\u03B2" : "log\u2082(FC)";
1124
+ const pValueType = this.settings.pValueType;
1125
+ const pLabel = isDAP ? "FDR" : `${pValueType.charAt(0).toUpperCase()}${pValueType.slice(1)} p-value`;
1126
+ const pField = isDAP ? "original_p_value" : `${pValueType}_p_value`;
1127
+ const columns = isDM ? [
1128
+ { label: elementNoun(this.settings?.elementType).one },
1129
+ { label: "Gene(s)" },
1130
+ { label: effectLabel, sortable: true },
1131
+ { label: pLabel, sortable: true }
1132
+ ] : isDAP ? [
1133
+ { label: "Identifier" },
1134
+ { label: "Gene" },
1135
+ { label: effectLabel, sortable: true },
1136
+ { label: pLabel, sortable: true }
1137
+ ] : [{ label: "Gene" }, { label: effectLabel, sortable: true }, { label: pLabel, sortable: true }];
1138
+ const rows = dots.map((d) => {
1139
+ const fc = { value: roundValueAuto(this.onDeltaBeta ? d.delta_beta : d.fold_change) };
1140
+ const pval = { value: roundValueAuto(d[pField]) };
1141
+ if (isDM) {
1142
+ return [{ value: formatPromoterLabel(d) }, { value: d.gene_name || "" }, fc, pval];
1143
+ }
1144
+ if (isDAP) {
1145
+ return [{ value: d.gene_name || "" }, { value: d.gene || "" }, fc, pval];
1146
+ }
1147
+ return [{ value: d.gene_name || "" }, fc, pval];
1148
+ });
1149
+ return { columns, rows };
1150
+ }
1151
+ /** Per-data-point action menu items (Violin / DMR / Box-plot). Used by
1152
+ * both the single-gene click flow and the multi-gene click-menu rows so
1153
+ * the launchers stay in lock-step. */
1154
+ getActionMenuOpts(d) {
1155
+ const termType = this.termType;
1156
+ const interactions = this.interactions;
1157
+ const all = [
1158
+ {
1159
+ label: "Violin plot",
1160
+ isVisible: () => termType === DATermTypes.DNA_METHYLATION || termType === DATermTypes.GENE_EXPRESSION,
1161
+ onClick: async () => {
1162
+ if (termType === DATermTypes.DNA_METHYLATION) interactions.launchDNAMethViolin(d);
1163
+ if (termType === DATermTypes.GENE_EXPRESSION) interactions.launchViolinGeneExp(d.gene_name);
1164
+ }
1165
+ },
1166
+ {
1167
+ label: "DMR analysis",
1168
+ isVisible: () => termType === DATermTypes.DNA_METHYLATION,
1169
+ onClick: async () => {
1170
+ const dm = d;
1171
+ await interactions.launchDmr({
1172
+ chr: dm.chr,
1173
+ start: dm.start,
1174
+ stop: dm.stop,
1175
+ promoterId: dm.promoter_id
1176
+ });
1177
+ }
1178
+ },
1179
+ {
1180
+ label: "Box plot",
1181
+ isVisible: () => termType === DATermTypes.GENE_EXPRESSION,
1182
+ onClick: async () => {
1183
+ interactions.launchBoxPlot(d.gene_name);
1184
+ }
1185
+ }
1186
+ ];
1187
+ return all.filter((o) => o.isVisible()).map(({ label, onClick }) => ({ label, onClick }));
1188
+ }
1189
+ /** Populates a `table2col` instance with the standard volcano hover rows
1190
+ * (gene/promoter, fold-change, original + adjusted p-values). */
1191
+ addTooltipRows(d, table) {
1192
+ if (this.termType === DATermTypes.DNA_METHYLATION) {
1193
+ if ("promoter_id" in d)
1194
+ addTooltipRow(table, elementNoun(this.settings?.elementType).one, formatPromoterLabel(d));
1195
+ if (d.gene_name) addTooltipRow(table, "Gene(s)", d.gene_name);
1196
+ } else if (this.termType === DATermTypes.PROTEOME_DAP) {
1197
+ addTooltipRow(table, "Identifier", d.gene_name);
1198
+ if ("gene" in d) addTooltipRow(table, "Gene", d.gene);
1199
+ } else {
1200
+ addTooltipRow(table, "Gene name", d.gene_name);
1201
+ }
1202
+ if (this.onDeltaBeta) {
1203
+ addTooltipRow(table, "\u0394\u03B2", roundValueAuto(d.delta_beta));
1204
+ } else {
1205
+ addTooltipRow(table, "log<sub>2</sub>(fold-change)", roundValueAuto(d.fold_change));
1206
+ }
1207
+ if (this.termType === DATermTypes.PROTEOME_DAP) {
1208
+ addTooltipRow(table, "FDR", roundValueAuto(d.original_p_value));
1209
+ } else {
1210
+ addTooltipRow(table, "Original p-value", roundValueAuto(d.original_p_value));
1211
+ if (d.adjusted_p_value != void 0) addTooltipRow(table, "Adjusted p-value", roundValueAuto(d.adjusted_p_value));
1212
+ }
1213
+ }
1214
+ };
1215
+ function addTooltipRow(table, text, value) {
1216
+ const [td1, td2] = table.addRow();
1217
+ td1.html(text);
1218
+ td2.text(value);
1219
+ }
1220
+ function renderDataPoints(self) {
1221
+ self.volcanoDom.plot.selectAll("circle").data(self.viewData.pointData).enter().append("circle").attr("stroke", (d) => rgb(d.color).formatHex()).attr("stroke-opacity", (d) => d.significant ? 0.35 : 0.2).attr("stroke-width", 1).attr("fill", self.settings.defaultHighlightColor).attr("fill-opacity", (d) => d.highlighted ? 0.9 : 0).attr("cx", (d) => d.x).attr("cy", (d) => d.y).attr("r", (d) => d.radius).style("pointer-events", "none");
1222
+ }
1223
+
1224
+ // plots/volcano/VolcanoControlInputs.ts
1225
+ var VolcanoControlInputs = class {
1226
+ constructor(config, termType, elementTypes) {
1227
+ this.config = config;
1228
+ if (this.config.termType == GENE_EXPRESSION) this.sampleNum = getSampleNum(config);
1229
+ this.termType = termType;
1230
+ this.elementTypes = elementTypes || [];
1231
+ this.inputs = [
1232
+ {
1233
+ // DAP volcanoes threshold a single FDR (adjusted p-value); other term types
1234
+ // threshold a p-value.
1235
+ label: this.config.termType == PROTEOME_DAP ? "FDR significance (-log\u2081\u2080)" : "P value significance (-log\u2081\u2080)",
1236
+ type: "number",
1237
+ chartType: "volcano",
1238
+ settingsKey: "pValue",
1239
+ title: this.config.termType == PROTEOME_DAP ? "The FDR threshold to determine statistical significance" : "The p-value threshold to determine statistical significance",
1240
+ min: 0,
1241
+ // 5e-324 is the smallest positive number greater than 0 representable
1242
+ // in IEEE 64-bit floating point (i.e. javascripts native Number.MIN_VALUE)
1243
+ // -Math.log10(5e-324) = 323.3
1244
+ max: 323.3,
1245
+ step: 1
1246
+ },
1247
+ {
1248
+ label: "P value",
1249
+ type: "radio",
1250
+ chartType: "volcano",
1251
+ settingsKey: "pValueType",
1252
+ title: "Toggle between original and adjusted pvalues for volcano plot",
1253
+ // DAP files carry only a single FDR, so there is nothing to toggle between.
1254
+ getDisplayStyle: () => this.config.termType == PROTEOME_DAP ? "none" : "",
1255
+ options: [
1256
+ { label: "Adjusted", value: "adjusted" },
1257
+ { label: "Original", value: "original" }
1258
+ ]
1259
+ },
1260
+ /* Hidden for differential methylation: a DM run plots and thresholds on delta-beta,
1261
+ so a log2 cutoff would set a limit in units the plot never shows. Every other term
1262
+ type still gets it. */
1263
+ ...this.termType === DNA_METHYLATION ? [] : [
1264
+ {
1265
+ label: "Fold change (log\u2082)",
1266
+ type: "number",
1267
+ chartType: "volcano",
1268
+ settingsKey: "foldChangeCutoff",
1269
+ title: "The fold change threshold to determine biological significance",
1270
+ min: -10,
1271
+ max: 10
1272
+ }
1273
+ ],
1274
+ {
1275
+ label: "Max interactive dots",
1276
+ type: "number",
1277
+ chartType: "volcano",
1278
+ settingsKey: "maxInteractiveDots",
1279
+ title: "Cap on the number of top-significant points the server returns as interactive overlay circles. The PNG still shows every dot.",
1280
+ min: 0,
1281
+ max: 2e4,
1282
+ step: 100
1283
+ },
1284
+ //Preferably, keep all the display (e.g. colors, sizes, etc.) controls
1285
+ //at the bottom of the list or at least together
1286
+ {
1287
+ label: "Plot height",
1288
+ type: "number",
1289
+ chartType: "volcano",
1290
+ settingsKey: "height",
1291
+ title: "Height of the plot in pixels",
1292
+ min: 300,
1293
+ max: 1e3
1294
+ },
1295
+ {
1296
+ label: "Plot width",
1297
+ type: "number",
1298
+ chartType: "volcano",
1299
+ settingsKey: "width",
1300
+ title: "Width of the plot in pixels",
1301
+ min: 300,
1302
+ max: 1e3
1303
+ },
1304
+ {
1305
+ label: "Significant value color",
1306
+ type: "color",
1307
+ chartType: "volcano",
1308
+ title: "Default color for significant data points.",
1309
+ settingsKey: "defaultSignColor",
1310
+ getDisplayStyle: () => {
1311
+ if (this.config.termType == SINGLECELL_CELLTYPE) return "none";
1312
+ const controlColor = this.config.tw?.term?.values?.[this.config.samplelst.groups[0].name]?.color;
1313
+ const caseColor = this.config.tw?.term?.values?.[this.config.samplelst.groups[1].name].color;
1314
+ if (controlColor && caseColor) return "none";
1315
+ else return "";
1316
+ }
1317
+ },
1318
+ {
1319
+ label: "Non-significant value color",
1320
+ type: "color",
1321
+ chartType: "volcano",
1322
+ title: "Default color for non-significant data points.",
1323
+ settingsKey: "defaultNonSignColor"
1324
+ },
1325
+ {
1326
+ label: "Highlight color",
1327
+ type: "color",
1328
+ chartType: "volcano",
1329
+ title: "Default color for highlighted data points.",
1330
+ settingsKey: "defaultHighlightColor"
1331
+ }
1332
+ ];
1333
+ this.setVolcanoControlInputs();
1334
+ }
1335
+ /** Add more term type specific controls here. */
1336
+ setVolcanoControlInputs() {
1337
+ this.addGeneExpControlInputs();
1338
+ this.addDNAMethControlInputs();
1339
+ this.addSingleCellCTControlInputs();
1340
+ }
1341
+ addGeneExpControlInputs() {
1342
+ if (this.termType !== GENE_EXPRESSION) return;
1343
+ const geInputs = [
1344
+ {
1345
+ label: "Minimum read count",
1346
+ type: "number",
1347
+ chartType: "volcano",
1348
+ settingsKey: "minCount",
1349
+ title: "The smallest number of reads required for a gene to be considered in the analysis",
1350
+ min: 0,
1351
+ max: 1e4
1352
+ },
1353
+ {
1354
+ label: "Minimum total read count",
1355
+ type: "number",
1356
+ chartType: "volcano",
1357
+ settingsKey: "minTotalCount",
1358
+ title: "The smallest total number of reads required for a gene to be considered in the analysis",
1359
+ min: 0,
1360
+ max: 1e4
1361
+ },
1362
+ {
1363
+ label: "CPM cutoff",
1364
+ type: "number",
1365
+ chartType: "volcano",
1366
+ settingsKey: "cpmCutoff",
1367
+ title: "The minimum normalized expression threshold to retain only genes with sufficient expression",
1368
+ min: 0
1369
+ },
1370
+ {
1371
+ label: "Method",
1372
+ type: "radio",
1373
+ chartType: "volcano",
1374
+ settingsKey: "method",
1375
+ title: "Toggle between analysis methods",
1376
+ options: this.getMethodOptions()
1377
+ }
1378
+ // {
1379
+ // label: 'Rank Genes by',
1380
+ // type: 'radio',
1381
+ // chartType: 'volcano',
1382
+ // settingsKey: 'rankBy',
1383
+ // title: 'Rank genes by either the absolute value of the fold change or the variance',
1384
+ // options: [
1385
+ // { label: 'abs(Fold Change)', value: 'abs(foldChange)' },
1386
+ // { label: 'Variance', value: 'variance' }
1387
+ // ],
1388
+ // //TODO: will enable this feature when there is backhand support
1389
+ // getDisplayStyle: () => 'none'
1390
+ // }
1391
+ ];
1392
+ this.inputs.splice(0, 0, ...geInputs);
1393
+ }
1394
+ addDNAMethControlInputs() {
1395
+ if (this.termType !== DNA_METHYLATION) return;
1396
+ const dmInputs = [
1397
+ /* Element class comes FIRST because it is categorically different from the
1398
+ controls below it: those tune how the test is run, this one changes what is
1399
+ being tested. Promoters, eQTM blocks, and cCRE classes are different genomic
1400
+ features with different coordinates and different test counts, so switching
1401
+ produces a different analysis rather than a refined one.
1402
+
1403
+ Hidden unless the dataset offers a genuine choice -- a single class means
1404
+ there is nothing to pick, and a dataset using the legacy promoter-only config
1405
+ gets no new UI at all. */
1406
+ ...this.elementTypes.length > 1 ? [
1407
+ {
1408
+ label: "Element class",
1409
+ type: "dropdown",
1410
+ chartType: "volcano",
1411
+ settingsKey: "elementType",
1412
+ options: this.elementTypes.map((e) => ({ value: e.key, label: e.label })),
1413
+ title: "Which regulatory elements to test. This changes the features being analysed, not just the thresholds: promoters are TSS windows (-1500/+500 bp, the 450K array definition), cCRE promoters are the ~349 bp ENCODE promoter-like elements (the CpG-island core, no shores), eQTM blocks are runs of CpGs whose methylation correlates with a gene, and the other cCRE classes are ENCODE enhancer and CTCF annotations. Hit counts are not comparable across classes because the number of tests and the genes covered both differ. Narrow elements recover focal signal that a wide window averages away; wide windows do better on broad marks."
1414
+ }
1415
+ ] : [],
1416
+ {
1417
+ label: "Min samples per group",
1418
+ type: "number",
1419
+ chartType: "volcano",
1420
+ settingsKey: "minSamplesPerGroup",
1421
+ title: "Minimum non-NA samples required per group for a promoter to be tested",
1422
+ min: 1,
1423
+ max: 100
1424
+ },
1425
+ {
1426
+ label: "Exclude sex chromosomes",
1427
+ type: "checkbox",
1428
+ chartType: "volcano",
1429
+ settingsKey: "excludeSexChr",
1430
+ boxLabel: "",
1431
+ title: "Drop chrX/chrY promoters. Recommended for mixed-sex cohorts \u2014 X-inactivation makes chrX methylation strongly sex-dependent, so a sex-imbalanced comparison reports sex rather than the grouping variable."
1432
+ },
1433
+ {
1434
+ label: "Min \u0394\u03B2",
1435
+ type: "number",
1436
+ chartType: "volcano",
1437
+ settingsKey: "deltaBetaCutoff",
1438
+ title: "Effect-size cutoff for differential methylation, applied to \u0394\u03B2. 0.1 is a 10-percentage-point change in methylation, the conventional floor for calling a region differentially methylated. Kept separate from the log\u2082 cutoff because the two are not interchangeable.",
1439
+ min: 0,
1440
+ max: 1,
1441
+ step: 0.01
1442
+ }
1443
+ ];
1444
+ this.inputs.splice(0, 0, ...dmInputs);
1445
+ }
1446
+ addSingleCellCTControlInputs() {
1447
+ if (this.termType !== SINGLECELL_CELLTYPE) return;
1448
+ const scctInputs = [];
1449
+ this.inputs.splice(0, 0, ...scctInputs);
1450
+ }
1451
+ getMethodOptions() {
1452
+ if (this.termType !== GENE_EXPRESSION) return;
1453
+ const settings = this.config.settings.volcano;
1454
+ const features = JSON.parse(sessionStorage.getItem("optionalFeatures"));
1455
+ if (features?.runDE_methods?.length) {
1456
+ const opts = [];
1457
+ for (const m of features.runDE_methods) {
1458
+ opts.push({ label: m, value: m.toLowerCase() });
1459
+ }
1460
+ return opts;
1461
+ }
1462
+ if (this.sampleNum < settings.sampleNumCutoff) {
1463
+ return [
1464
+ { label: "edgeR", value: "edgeR" },
1465
+ { label: "Wilcoxon", value: "wilcoxon" },
1466
+ { label: "Limma", value: "limma" }
1467
+ ];
1468
+ } else return [{ label: "Wilcoxon", value: "wilcoxon" }];
1469
+ }
1470
+ };
1471
+
1472
+ // plots/volcano/Volcano.ts
1473
+ var MIN_WILCOXON_GROUP_SIZE = 20;
1474
+ var Volcano = class _Volcano extends PlotBase {
1475
+ static {
1476
+ this.type = "volcano";
1477
+ }
1478
+ constructor(opts, api) {
1479
+ super(opts, api);
1480
+ if (this.opts.parentId) this.parentId = this.opts.parentId;
1481
+ this.type = _Volcano.type;
1482
+ this.components = {
1483
+ controls: {}
1484
+ };
1485
+ this.termType = opts.termType;
1486
+ const holder = opts.holder.classed("sjpp-volcano-main", true).attr("data-testid", `sjpp-volcano-main-${opts.termType}`);
1487
+ const controls = typeof opts.controls == "object" ? opts.controls : holder || holder.append("div");
1488
+ const error = opts.holder.append("div").attr("id", "sjpp-volcano-error").attr("data-testid", `sjpp-volcano-error-${opts.termType}`).style("opacity", 0.75);
1489
+ this.dom = {
1490
+ holder,
1491
+ controls,
1492
+ error,
1493
+ wait: holder.append("div").attr("id", "sjpp-volcano-wait").attr("data-testid", `sjpp-volcano-wait-${opts.termType}`).style("opacity", 0.75).style("padding", "20px").text("Loading..."),
1494
+ tip: new Menu({ padding: "" }),
1495
+ actionsTip: new Menu({ padding: "" })
1496
+ };
1497
+ }
1498
+ getState(appState) {
1499
+ const config = appState.plots.find((p) => p.id === this.id);
1500
+ if (!config) {
1501
+ throw new Error(
1502
+ `No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`
1503
+ );
1504
+ }
1505
+ const parentConfig = this.parentId && appState.plots.find((p) => p.id === this.parentId);
1506
+ const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
1507
+ return {
1508
+ config: Object.assign({}, config, {
1509
+ settings: {
1510
+ volcano: config.settings.volcano
1511
+ }
1512
+ }),
1513
+ termfilter
1514
+ };
1515
+ }
1516
+ async setControls() {
1517
+ const plotConfig = this.app.getState().plots.find((p) => p.id === this.id);
1518
+ const controls = new VolcanoControlInputs(
1519
+ plotConfig,
1520
+ this.termType,
1521
+ this.app.vocabApi.termdbConfig?.queries?.dnaMethylation?.elementTypes
1522
+ );
1523
+ this.components.controls = await controlsInit({
1524
+ app: this.app,
1525
+ id: this.id,
1526
+ holder: this.dom.controls.style("display", "inline-block"),
1527
+ inputs: controls.inputs
1528
+ });
1529
+ this.components.controls.on("downloadClick.volcano", () => this.interactions.download(this.termType));
1530
+ if (plotConfig.chartType == "differentialAnalysis")
1531
+ this.components.controls.on(
1532
+ "helpClick.differentialAnalysis",
1533
+ () => (
1534
+ //Opens the page for the differential analysis wiki
1535
+ //Can't put in parent as DA does not have a controls component
1536
+ window.open("https://github.com/stjude/proteinpaint/wiki/Differential-analysis")
1537
+ )
1538
+ );
1539
+ }
1540
+ async init() {
1541
+ this.interactions = new VolcanoInteractions(this.app, this.id, this.dom);
1542
+ this.model = new VolcanoModel(this, this.termType);
1543
+ this.view = new VolcanoPlotView(this.dom, this.interactions, this.termType);
1544
+ await this.setControls();
1545
+ }
1546
+ async main() {
1547
+ if (!this.interactions) throw new Error("Volcano Interactions not initialized");
1548
+ if (!this.model) throw new Error("Volcano Model not initialized");
1549
+ if (!this.view) throw new Error("Volcano View not initialized");
1550
+ const config = structuredClone(this.state.config);
1551
+ if (config.chartType != this.type && config.childType != this.type) return;
1552
+ const settings = config.settings.volcano;
1553
+ try {
1554
+ const showWait = setTimeout(() => {
1555
+ this.dom.wait.style("display", "block");
1556
+ }, 500);
1557
+ const response = await this.model.getData(config, settings);
1558
+ this.dom.error.text("");
1559
+ if (!response || response.error || !response.data || !response.data.volcanoPng || !response.data.totalRows) {
1560
+ const msg = response?.error || "No data returned from server";
1561
+ if (response?.code === "CACHE_BUSY") {
1562
+ if (window.confirm(msg)) this.main();
1563
+ } else sayerror(this.dom.error, msg);
1564
+ clearTimeout(showWait);
1565
+ this.dom.wait.style("display", "none");
1566
+ return;
1567
+ }
1568
+ const viewModel = new VolcanoViewModel(config, response, settings);
1569
+ this.interactions.pValueTableData = viewModel.viewData.pValueTableData;
1570
+ this.interactions.data = response.data.dots;
1571
+ this.interactions.totalSignificantRows = response.data.totalSignificantRows;
1572
+ this.interactions.provenance = viewModel.viewData.provenance;
1573
+ this.interactions.fetchAllRows = async () => {
1574
+ const full = await new VolcanoModel(this, this.termType).getData(config, {
1575
+ ...settings,
1576
+ maxInteractiveDots: null
1577
+ });
1578
+ if (!full || full.error || !full.data?.dots) throw new Error(full?.error || "no rows returned");
1579
+ return new VolcanoViewModel(config, full, settings).viewData.pValueTableData;
1580
+ };
1581
+ this.view.render(settings, viewModel.viewData);
1582
+ const notes = [];
1583
+ if (!response.data.dots.length) notes.push("No points passed the significance thresholds.");
1584
+ const smallestGroup = Math.min(response.sample_size1, response.sample_size2);
1585
+ if (settings.method == "wilcoxon" && smallestGroup < MIN_WILCOXON_GROUP_SIZE) {
1586
+ const samplesLabel = uiLabel(this.app.vocabApi.termdbConfig?.uiLabels, "samples", "samples");
1587
+ notes.push(
1588
+ `The smaller group has ${smallestGroup.toLocaleString()} ${samplesLabel}. Wilcoxon p-values are approximated here, and a gene that is zero in most ${samplesLabel} can be assigned a p-value far smaller than its group sizes can support. Rank these results by fold change rather than by p-value magnitude, and do not compare the p-values against another analysis.`
1589
+ );
1590
+ }
1591
+ if (notes.length) this.dom.error.text(notes.join(" ")).style("color", "#555");
1592
+ clearTimeout(showWait);
1593
+ this.dom.wait.style("display", "none");
1594
+ } catch (e) {
1595
+ if (e instanceof Error) console.error(e.message || e);
1596
+ else if (e.stack) console.log(e.stack);
1597
+ throw e;
1598
+ }
1599
+ }
1600
+ };
1601
+ var volcanoInit = getCompInit(Volcano);
1602
+ var componentInit = volcanoInit;
1603
+ async function getPlotConfig(opts, app) {
1604
+ if (!opts.termType) throw new Error(".termType is required");
1605
+ const config = {
1606
+ settings: {
1607
+ // app is passed through so the defaults can read the dataset's preferred starting
1608
+ // element class from termdbConfig; opts alone does not carry it
1609
+ volcano: getDefaultVolcanoSettings(opts.overrides, { ...opts, app })
1610
+ },
1611
+ highlightedData: opts.highlightedData || [],
1612
+ termType: opts.termType
1613
+ };
1614
+ if (opts.termType == GENE_EXPRESSION || opts.termType == DNA_METHYLATION) {
1615
+ if (opts.confounderTws) {
1616
+ try {
1617
+ for (const tw of opts.confounderTws) {
1618
+ await fillTermWrapper(tw, app.vocabApi);
1619
+ }
1620
+ } catch (e) {
1621
+ console.error(e.message || e);
1622
+ throw new Error(`Volcano getPlotConfig() failed to fill confounder term wrappers: ${e}`);
1623
+ }
1624
+ }
1625
+ Object.assign(config, {
1626
+ confounderTws: opts.confounderTws || [],
1627
+ samplelst: opts.samplelst
1628
+ });
1629
+ }
1630
+ if (opts.termType == SINGLECELL_CELLTYPE) {
1631
+ Object.assign(config, {
1632
+ //TODO: Fix this logic
1633
+ sample: opts.experimentID || opts.sample || opts.samples?.[0]?.experiments[0]?.experimentID,
1634
+ termId: app.vocabApi.termdbConfig.queries.singleCell.DEgenes.termId,
1635
+ //TODO: 'Cluster' is a fallback for development
1636
+ //Should require opts.categoryName in the future
1637
+ categoryName: opts.categoryName || "Cluster"
1638
+ });
1639
+ }
1640
+ validateVolcanoSettings(config, opts);
1641
+ return copyMerge(config, opts);
1642
+ }
1643
+ export {
1644
+ Volcano,
1645
+ componentInit,
1646
+ getPlotConfig,
1647
+ volcanoInit
1648
+ };
1649
+ //# sourceMappingURL=Volcano-XJTBWYUK.js.map