@sjcrh/proteinpaint-client 2.221.0 → 2.223.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 (854) hide show
  1. package/dist/2dmaf-POKWDZTU.js +1362 -0
  2. package/dist/AggMatrixInput-NIN3SHJR.js +402 -0
  3. package/dist/AggregateMatrix-SNXE2IMF.js +37 -0
  4. package/dist/AppHeader-AXIG4J42.js +826 -0
  5. package/dist/BoxPlot-EQHEGZAX.js +1229 -0
  6. package/dist/CorrelationVolcano-6QTXXW5F.js +613 -0
  7. package/dist/Cuminc-ZUG6FCOT.js +1217 -0
  8. package/dist/DE-24JMFZFG.js +85 -0
  9. package/dist/DEinput-I3EJWSOQ.js +479 -0
  10. package/dist/DM-FEEPIPNV.js +86 -0
  11. package/dist/DifferentialAnalysis-QZIHMN43.js +236 -0
  12. package/dist/Disco-DYEE57LX.js +3384 -0
  13. package/dist/Disco.UI-M7AQJEDW.js +239 -0
  14. package/dist/DmrPlot-4JPZAJCP.js +361 -0
  15. package/dist/GB-4DPUNCJG.js +1388 -0
  16. package/dist/GSEA-HZSZ23PR.js +870 -0
  17. package/dist/GeneExpInput-BBOMWGCJ.js +38 -0
  18. package/dist/Geomap-Z4NKGSXD.js +80 -0
  19. package/dist/HicApp-OO2EK4JA.js +2240 -0
  20. package/dist/IDCViewer-UCDVSZXN.js +10808 -0
  21. package/dist/NumBinaryEditor-WH5CGCRR.js +274 -0
  22. package/dist/NumBinaryEditor.unit.spec-GSMQ5KDY.js +308 -0
  23. package/dist/NumContEditor-U5PJEFJU.js +100 -0
  24. package/dist/NumContEditor.unit.spec-V2DKMR6V.js +160 -0
  25. package/dist/NumCustomBinEditor-CD5ZZMPS.js +29 -0
  26. package/dist/NumCustomBinEditor.unit.spec-CLLUZO3D.js +393 -0
  27. package/dist/NumDiscreteEditor-PRK3EBXB.js +165 -0
  28. package/dist/NumDiscreteEditor.unit.spec-7Q3VPQBY.js +229 -0
  29. package/dist/NumRegularBinEditor-6LUEZNMD.js +29 -0
  30. package/dist/NumRegularBinEditor.unit.spec-G75DBYIV.js +274 -0
  31. package/dist/NumSplineEditor-S5UMQH3W.js +205 -0
  32. package/dist/NumSplineEditor.unit.spec-IAFAMAWR.js +220 -0
  33. package/dist/NumericDensity-4VSTEQ7M.js +29 -0
  34. package/dist/NumericDensity.unit.spec-ECOENBRH.js +414 -0
  35. package/dist/NumericHandler-I7QUR75Z.js +30 -0
  36. package/dist/NumericHandler.unit.spec-G5OU3MK2.js +225 -0
  37. package/dist/ProteomeInput-UYRSZV6I.js +610 -0
  38. package/dist/Regression-MU3UJ242.js +1412 -0
  39. package/dist/RunChart2-SLP6DDBL.js +744 -0
  40. package/dist/SC-VSAMENAT.js +1290 -0
  41. package/dist/Violin-QKLXZBZW.js +1092 -0
  42. package/dist/Volcano-RWGO2QRK.js +2661 -0
  43. package/dist/Wsi-QYZERT3L.js +636 -0
  44. package/dist/aboutSunburst-7HC4ULZX.js +93 -0
  45. package/dist/aboutSunburst-7HC4ULZX.js.map +7 -0
  46. package/dist/adSandbox-XMTFXVQZ.js +29 -0
  47. package/dist/animatedBubbleChart-Y5QQYPCS.js +542 -0
  48. package/dist/app-IJOORVUT.js +38 -0
  49. package/dist/app-OBIQZWB6.js +28 -0
  50. package/dist/app.js +8 -8
  51. package/dist/bam-OCKP55BE.js +872 -0
  52. package/dist/barchart-6VJ5F7GM.js +38 -0
  53. package/dist/barchart2-LPGRRPKS.js +305 -0
  54. package/dist/block-MIBFGU6V.js +6203 -0
  55. package/dist/block.init-MPTACJCT.js +29 -0
  56. package/dist/block.mds.expressionrank-EZBNMSDP.js +350 -0
  57. package/dist/block.mds.geneboxplot-R6BS44BH.js +819 -0
  58. package/dist/block.mds.junction-I72SNE6D.js +1534 -0
  59. package/dist/block.mds.svcnv-EJXXAM7L.js +6325 -0
  60. package/dist/block.mds.svcnv-EJXXAM7L.js.map +7 -0
  61. package/dist/block.svg-7DQLMFUE.js +155 -0
  62. package/dist/block.tk.aicheck-MZQIZQ4R.js +274 -0
  63. package/dist/block.tk.bam-QKRX7QA7.js +1906 -0
  64. package/dist/block.tk.bigwig.ui-MREWAD2O.js +202 -0
  65. package/dist/block.tk.hicstraw-DO2D2XHN.js +814 -0
  66. package/dist/block.tk.junction-27DQ3HHI.js +2353 -0
  67. package/dist/block.tk.junction.textmatrixui-ODA2JU6X.js +190 -0
  68. package/dist/block.tk.ld-AG2T4DR6.js +90 -0
  69. package/dist/block.tk.menu-BIORXN3G.js +1050 -0
  70. package/dist/block.tk.pgv-FPGJ7HMX.js +934 -0
  71. package/dist/brainImaging-MDXNZ6EN.js +550 -0
  72. package/dist/brainRegions-SUFNAEWM.js +213 -0
  73. package/dist/bubbleHeatmap-JR42L4K6.js +374 -0
  74. package/dist/cellTypeBubbleHeatmap-36LK5SRE.js +274 -0
  75. package/dist/chunk-22DUWEXJ.js +2685 -0
  76. package/dist/chunk-22MQLGUB.js +82 -0
  77. package/dist/chunk-2CDIFQPW.js +299 -0
  78. package/dist/chunk-2JPHJFWZ.js +255 -0
  79. package/dist/chunk-3BXY7XEV.js +237 -0
  80. package/dist/chunk-4HCFRRDQ.js +243 -0
  81. package/dist/chunk-55SYHMGG.js +14 -0
  82. package/dist/chunk-5KMLFPP5.js +652 -0
  83. package/dist/chunk-5KMLFPP5.js.map +7 -0
  84. package/dist/chunk-63H45YA3.js +418 -0
  85. package/dist/chunk-65PBOLXP.js +468 -0
  86. package/dist/chunk-6HC6RVNT.js +56 -0
  87. package/dist/chunk-6IFQSS7D.js +35 -0
  88. package/dist/chunk-6QG7NWME.js +848 -0
  89. package/dist/chunk-754DVU6V.js +159 -0
  90. package/dist/chunk-7HOIT7TM.js +54 -0
  91. package/dist/chunk-7NYLCZY5.js +296 -0
  92. package/dist/chunk-7OYFMOGM.js +240 -0
  93. package/dist/chunk-AGM2IM3B.js +2799 -0
  94. package/dist/chunk-CHNPP3DV.js +466 -0
  95. package/dist/chunk-DJK3NKRK.js +96 -0
  96. package/dist/chunk-DKEH6FBC.js +123 -0
  97. package/dist/chunk-DRVH2UWP.js +2506 -0
  98. package/dist/chunk-DRVH2UWP.js.map +7 -0
  99. package/dist/chunk-DYBH3E6G.js +50 -0
  100. package/dist/chunk-EZGMD2WV.js +480 -0
  101. package/dist/chunk-FYBN6BAC.js +1219 -0
  102. package/dist/chunk-GKLDVEAQ.js +194 -0
  103. package/dist/chunk-GLGFZPWM.js +103 -0
  104. package/dist/chunk-HKXQA27S.js +305 -0
  105. package/dist/chunk-HKXQA27S.js.map +7 -0
  106. package/dist/chunk-IQX6FKY6.js +102 -0
  107. package/dist/chunk-IRAB3OI7.js +184 -0
  108. package/dist/chunk-IZPM6TWT.js +379 -0
  109. package/dist/chunk-J3LWRVN3.js +2334 -0
  110. package/dist/chunk-J6WTOB2A.js +2008 -0
  111. package/dist/chunk-JI75CBA6.js +70 -0
  112. package/dist/chunk-JP4IU7DO.js +26731 -0
  113. package/dist/chunk-JP4IU7DO.js.map +7 -0
  114. package/dist/chunk-KWY2WZAM.js +340 -0
  115. package/dist/chunk-LCUVGK27.js +54 -0
  116. package/dist/chunk-LMM4REJQ.js +626 -0
  117. package/dist/chunk-LVATT455.js +1253 -0
  118. package/dist/chunk-MU77WKSY.js +6375 -0
  119. package/dist/chunk-NGBO2LE3.js +4389 -0
  120. package/dist/chunk-OJ6IPUZC.js +56 -0
  121. package/dist/chunk-PMLMXEER.js +516 -0
  122. package/dist/chunk-Q5LG4WR3.js +2921 -0
  123. package/dist/chunk-Q5LG4WR3.js.map +7 -0
  124. package/dist/chunk-QABQ5AOR.js +134 -0
  125. package/dist/chunk-QHYS2QXV.js +55 -0
  126. package/dist/chunk-R64DV2IT.js +692 -0
  127. package/dist/chunk-RMLWQEWC.js +266 -0
  128. package/dist/chunk-RRMAUPEA.js +1339 -0
  129. package/dist/chunk-SFLKPHIF.js +257 -0
  130. package/dist/chunk-SZNEHG4C.js +5214 -0
  131. package/dist/chunk-TN4OMLKK.js +2102 -0
  132. package/dist/chunk-TYEHFGMJ.js +263 -0
  133. package/dist/chunk-UHFO6LHS.js +203 -0
  134. package/dist/chunk-UKKLAUYO.js +141 -0
  135. package/dist/chunk-UO5TVDSF.js +176 -0
  136. package/dist/chunk-VD4WX5ZG.js +550 -0
  137. package/dist/chunk-WAJ7U3KO.js +182 -0
  138. package/dist/chunk-Z4XRHSLY.js +102 -0
  139. package/dist/cohort-5KRENZ4T.js +66 -0
  140. package/dist/cohortSunburst-IRKQINDZ.js +402 -0
  141. package/dist/condition-SS5WC4XL.js +323 -0
  142. package/dist/controls-PPG5IIVK.js +30 -0
  143. package/dist/controls.config-URUFQC4O.js +30 -0
  144. package/dist/correlation-KCKJHPW4.js +91 -0
  145. package/dist/customdata.inputui-HDWCVQR7.js +280 -0
  146. package/dist/dataDownload-7OSWACMN.js +326 -0
  147. package/dist/databrowser.ui-ILUFKRCK.js +421 -0
  148. package/dist/dictionary-5VCLRD7G.js +109 -0
  149. package/dist/dnaMethylation-RUP4SNBG.js +29 -0
  150. package/dist/dnaMethylation.integration.spec-JCE46MPP.js +194 -0
  151. package/dist/e2pca-RRSEDWZ3.js +340 -0
  152. package/dist/ep-BHYT5BNH.js +1247 -0
  153. package/dist/expclust.gdc.spec-GARTH4AC.js +298 -0
  154. package/dist/facet-44CMDEC5.js +556 -0
  155. package/dist/gb-JOJSFSTN.js +77 -0
  156. package/dist/geneExpClustering-47HSKEFL.js +240 -0
  157. package/dist/geneExpression-GIJPTHXW.js +29 -0
  158. package/dist/geneExpression.unit.spec-46RP3ZSW.js +151 -0
  159. package/dist/geneORA-VLFKS6SV.js +269 -0
  160. package/dist/geneRanking-EMZ4IIGG.js +544 -0
  161. package/dist/geneVariant-HTYLI76A.js +289 -0
  162. package/dist/geneVariant-RZUBFP3H.js +32 -0
  163. package/dist/geneVariant.integration.spec-JZOAK5NP.js +672 -0
  164. package/dist/genefusion.ui-6REPOIXI.js +299 -0
  165. package/dist/geneset-XCU3IWX3.js +199 -0
  166. package/dist/genomeBrowser.spec-BGHECXFY.js +272 -0
  167. package/dist/grin2-73EMJO2O.js +945 -0
  168. package/dist/grin2-BU5DLVNV.js +66 -0
  169. package/dist/hierCluster-FMF56N73.js +51 -0
  170. package/dist/hierCluster-M57DFUAE.js +55 -0
  171. package/dist/hierCluster.config-LD7RO2ZV.js +32 -0
  172. package/dist/hierCluster.integration.spec-NTIL7TK4.js +479 -0
  173. package/dist/hierCluster.interactivity-SBRGGCJW.js +45 -0
  174. package/dist/imagePlot-AWX6T7D3.js +152 -0
  175. package/dist/importPlot-XH2XECDM.js +8 -0
  176. package/dist/isoformExpression-TLFIRYGG.js +31 -0
  177. package/dist/isoformExpression.unit.spec-YVKKWS4R.js +233 -0
  178. package/dist/junction-47ZSGPLM.js +32 -0
  179. package/dist/junction.unit.spec-WNYGL5VN.js +178 -0
  180. package/dist/launch.adhoc-PBCBXVYY.js +33 -0
  181. package/dist/leftlabel.sample-QWIQDLOD.js +253 -0
  182. package/dist/lollipop-JOK75CBR.js +162 -0
  183. package/dist/maf-C7YTV3GF.js +451 -0
  184. package/dist/maftimeline-TDXLAIUN.js +583 -0
  185. package/dist/matrix-5KS2L3XU.js +55 -0
  186. package/dist/matrix-FW4IPOIL.js +50 -0
  187. package/dist/matrix.config-U7NDKIBJ.js +33 -0
  188. package/dist/matrix.integration.spec-T5TUAFQN.js +3156 -0
  189. package/dist/matrix.interactivity-OTRYV6BY.js +33 -0
  190. package/dist/matrix.layout-VMRJ35R6.js +35 -0
  191. package/dist/matrix.renderers-RH4VTHVN.js +30 -0
  192. package/dist/matrix.sort.unit.spec-Q4YLQOMY.js +464 -0
  193. package/dist/matrix.sorterUi.unit.spec-QHKHT4LM.js +334 -0
  194. package/dist/matrix.unit.spec-GAO2IEXL.js +146 -0
  195. package/dist/mavb-LZZIWOAK.js +726 -0
  196. package/dist/mds.samplescatterplot-MCBCP3IO.js +1545 -0
  197. package/dist/mds.survivalplot-JV2JSH74.js +472 -0
  198. package/dist/multivalue-XTMXS2BA.js +79 -0
  199. package/dist/oncomatrix-LIK4FIQT.js +286 -0
  200. package/dist/oncomatrix.spec-SLZKHQ3U.js +439 -0
  201. package/dist/plot.2dvaf-WFZ5RK55.js +368 -0
  202. package/dist/plot.app-ILSKE2MB.js +32 -0
  203. package/dist/plot.barplot-XZ5LEEUG.js +93 -0
  204. package/dist/plot.boxplot-CU4SFUDO.js +142 -0
  205. package/dist/plot.brainImaging-4HJH347S.js +51 -0
  206. package/dist/plot.disco-MB4A24B5.js +98 -0
  207. package/dist/plot.ssgq-NCVJWHKU.js +130 -0
  208. package/dist/plot.vaf2cov-MUOXXUXF.js +249 -0
  209. package/dist/polar2-GAMBO6HG.js +228 -0
  210. package/dist/profileForms-QOUV435D.js +937 -0
  211. package/dist/profilePlot-BNUUQRVB.js +45 -0
  212. package/dist/proteinView-W4HQM7PX.js +1346 -0
  213. package/dist/proteomeCohortCompare-7QIJAKDR.js +866 -0
  214. package/dist/pseudbulk.unit.spec-2NQYQMD2.js +82 -0
  215. package/dist/pseudobulk-FKIWXQAR.js +31 -0
  216. package/dist/qualitative-3TVNQ2IV.js +34 -0
  217. package/dist/qualitative-5V3DGURI.js +241 -0
  218. package/dist/radar2-QO5ZN7IW.js +323 -0
  219. package/dist/radarFacility2-HKP42M4V.js +331 -0
  220. package/dist/render-O6PPL3XT.js +29 -0
  221. package/dist/report-K3B2IYG2.js +213 -0
  222. package/dist/sampleView-GKGADBRJ.js +39 -0
  223. package/dist/samplelst-ECNFTH35.js +114 -0
  224. package/dist/samplematrix-KL6BNSQF.js +2188 -0
  225. package/dist/sc-MRK4D7Q3.js +77 -0
  226. package/dist/scatter-HBTW5CDD.js +84 -0
  227. package/dist/scatter-ITRK6CQK.js +919 -0
  228. package/dist/selectGenomeWithTklst-E6TV7BOQ.js +125 -0
  229. package/dist/singleCellCellType-CA4MPJFG.js +29 -0
  230. package/dist/singleCellCellType.unit.spec-NE34HWRM.js +150 -0
  231. package/dist/singleCellGeneExpression-A5C7TKTF.js +29 -0
  232. package/dist/singleCellGeneExpression.unit.spec-NX2JMJ5C.js +144 -0
  233. package/dist/singleCellNumericValue-4BEKA732.js +29 -0
  234. package/dist/singleCellNumericValue.unit.spec-LTIDSRTE.js +412 -0
  235. package/dist/singleCellPlot-S4ZWVY2Z.js +44 -0
  236. package/dist/singlecell-NLY4ICUP.js +1562 -0
  237. package/dist/singlecell-RYQRJ2AK.js +77 -0
  238. package/dist/snp-ZWR4J3PB.js +29 -0
  239. package/dist/snp.unit.spec-TO5ID66F.js +167 -0
  240. package/dist/snplocus-GDBABG4H.js +200 -0
  241. package/dist/snplst-5GO3G3ZH.js +36 -0
  242. package/dist/spliceevent.a53ss.diagram-PVHMNV6G.js +142 -0
  243. package/dist/spliceevent.exonskip.diagram-ALYZWQMD.js +274 -0
  244. package/dist/spliceevent.noeventdiagram-XI3FRO7G.js +451 -0
  245. package/dist/ssGSEA-TYDOQEAB.js +29 -0
  246. package/dist/ssGSEA.unit.spec-WC6QAJJR.js +79 -0
  247. package/dist/stattable-SBWH4KGE.js +112 -0
  248. package/dist/studyCatalog-MXOHUMJW.js +457 -0
  249. package/dist/summarizeCnvGeneexp-LZ3EW4NA.js +154 -0
  250. package/dist/summarizeGeneexpSurvival-QLW5IZHS.js +101 -0
  251. package/dist/summarizeMutationCnv-L3JWXSEN.js +155 -0
  252. package/dist/summarizeMutationDiagnosis-K66PJUFI.js +31 -0
  253. package/dist/summarizeMutationSurvival-KKZU2FKQ.js +95 -0
  254. package/dist/summary-IHMI5H5Q.js +40 -0
  255. package/dist/summary.integration.spec-IWBDVJT2.js +405 -0
  256. package/dist/summaryInput-VC3AIG36.js +238 -0
  257. package/dist/sunburst-3PKTRXCA.js +274 -0
  258. package/dist/sunburst-VNKHAUEA.js +34 -0
  259. package/dist/survival-4LEJDVBC.js +1248 -0
  260. package/dist/survival-TYOJ55WB.js +49 -0
  261. package/dist/survival.integration.spec-3LXM6EOA.js +609 -0
  262. package/dist/svgraph-774K6DAH.js +1377 -0
  263. package/dist/svmr-25I2V6AN.js +3834 -0
  264. package/dist/swimmer-QO3Z4ZWN.js +993 -0
  265. package/dist/table-M64VATFA.js +192 -0
  266. package/dist/termCollection-E6Q2FDM3.js +247 -0
  267. package/dist/termCollection-OFE4KKJT.js +29 -0
  268. package/dist/termCollection.unit.spec-G4HGOR7B.js +295 -0
  269. package/dist/termCollectionFractionSelection-F2VKGR2D.js +38 -0
  270. package/dist/termCollectionFractionSelection.unit.spec-46XS3WMX.js +184 -0
  271. package/dist/tk-JBLKYKKI.js +37 -0
  272. package/dist/tk-UHDGIDTK.js +1193 -0
  273. package/dist/tp.ui-X2BJWXKN.js +1453 -0
  274. package/dist/tvs.categorical-ZTFJDJQU.js +28 -0
  275. package/dist/tvs.condition-DCDNI627.js +160 -0
  276. package/dist/tvs.dt-X6DES76X.js +34 -0
  277. package/dist/tvs.dtcnv.categorical-UPRTUO7A.js +31 -0
  278. package/dist/tvs.dtcnv.continuous-K3J5KKZD.js +72 -0
  279. package/dist/tvs.dtfusion-XV3UM2QG.js +31 -0
  280. package/dist/tvs.dtitd-LKYJG4XK.js +31 -0
  281. package/dist/tvs.dtsnvindel-KFAQGI4H.js +31 -0
  282. package/dist/tvs.dtsv-4NV4DRWC.js +31 -0
  283. package/dist/tvs.multivalue-WSSBQ7K4.js +84 -0
  284. package/dist/tvs.numeric-OFA6L2TA.js +32 -0
  285. package/dist/tvs.samplelst-W6QKXHGF.js +95 -0
  286. package/dist/tvs.survival-ESWYE4QM.js +110 -0
  287. package/dist/tvs.termCollection-3GOKKMKB.js +118 -0
  288. package/dist/vocabulary-6S6F2UAA.js +32 -0
  289. package/dist/wsi.direct-ZAOVMG5X.js +11514 -0
  290. package/package.json +2 -2
  291. package/dist/2dmaf-7YU3SNKL.js +0 -1362
  292. package/dist/AggMatrixInput-73CDR5FS.js +0 -402
  293. package/dist/AggregateMatrix-NNULVFBM.js +0 -37
  294. package/dist/AppHeader-EZDDLLXU.js +0 -826
  295. package/dist/BoxPlot-463E7CRY.js +0 -1229
  296. package/dist/CorrelationVolcano-LHIIMBPP.js +0 -613
  297. package/dist/Cuminc-UL2TCIKV.js +0 -1217
  298. package/dist/DE-VRFSKFDW.js +0 -85
  299. package/dist/DEinput-FZTQRWVC.js +0 -479
  300. package/dist/DM-PO7CQZNT.js +0 -86
  301. package/dist/DifferentialAnalysis-WK6HE3YH.js +0 -236
  302. package/dist/Disco-YBNQJQFG.js +0 -3384
  303. package/dist/Disco.UI-HC5XYBFV.js +0 -239
  304. package/dist/DmrPlot-7VJ5C66D.js +0 -361
  305. package/dist/GB-VPFQRDRO.js +0 -1388
  306. package/dist/GSEA-ZEJB3QZQ.js +0 -870
  307. package/dist/GeneExpInput-SBDDIY6G.js +0 -38
  308. package/dist/Geomap-23AHGP2V.js +0 -80
  309. package/dist/HicApp-7AQQE4CM.js +0 -2240
  310. package/dist/IDCViewer-NO5Q6VOB.js +0 -10808
  311. package/dist/NumBinaryEditor-DSRP4OOU.js +0 -274
  312. package/dist/NumBinaryEditor.unit.spec-TT666YL4.js +0 -308
  313. package/dist/NumContEditor-6CURFOCH.js +0 -100
  314. package/dist/NumContEditor.unit.spec-MNVCFCMP.js +0 -160
  315. package/dist/NumCustomBinEditor-SQRR5EFL.js +0 -29
  316. package/dist/NumCustomBinEditor.unit.spec-F7BZWGGT.js +0 -393
  317. package/dist/NumDiscreteEditor-U7Z2QNYP.js +0 -165
  318. package/dist/NumDiscreteEditor.unit.spec-EIEBUZCX.js +0 -229
  319. package/dist/NumRegularBinEditor-CVZSWN6Y.js +0 -29
  320. package/dist/NumRegularBinEditor.unit.spec-ZMAJOIHL.js +0 -274
  321. package/dist/NumSplineEditor-U43D5NBJ.js +0 -205
  322. package/dist/NumSplineEditor.unit.spec-C52AADTS.js +0 -220
  323. package/dist/NumericDensity-PUKDZOVI.js +0 -29
  324. package/dist/NumericDensity.unit.spec-2347S76D.js +0 -414
  325. package/dist/NumericHandler-3RT32PTR.js +0 -30
  326. package/dist/NumericHandler.unit.spec-4PADL4KZ.js +0 -225
  327. package/dist/ProteomeInput-NFV4FW4U.js +0 -610
  328. package/dist/Regression-N7M7N6G4.js +0 -1412
  329. package/dist/RunChart2-UPQ7C6QE.js +0 -744
  330. package/dist/SC-KBW2NHUV.js +0 -1290
  331. package/dist/Violin-GWCOP3ZF.js +0 -1092
  332. package/dist/Volcano-X3HT32GQ.js +0 -2661
  333. package/dist/Wsi-NXAEOYIS.js +0 -636
  334. package/dist/aboutSunburst-5EKXZV2A.js +0 -86
  335. package/dist/aboutSunburst-5EKXZV2A.js.map +0 -7
  336. package/dist/adSandbox-RPEWEEW7.js +0 -29
  337. package/dist/animatedBubbleChart-ILDMZRBX.js +0 -542
  338. package/dist/app-LOUC4J47.js +0 -28
  339. package/dist/app-MRKXZ6AZ.js +0 -38
  340. package/dist/bam-SQWPHCZZ.js +0 -872
  341. package/dist/barchart-CJR37234.js +0 -38
  342. package/dist/barchart2-QQYLTHWR.js +0 -305
  343. package/dist/block-GLF6QNKY.js +0 -6203
  344. package/dist/block.init-YJQTJIDO.js +0 -29
  345. package/dist/block.mds.expressionrank-GBMEI5KQ.js +0 -350
  346. package/dist/block.mds.geneboxplot-XWE3E5IW.js +0 -819
  347. package/dist/block.mds.junction-QLEHFVPE.js +0 -1534
  348. package/dist/block.mds.svcnv-53DTOPBC.js +0 -6413
  349. package/dist/block.mds.svcnv-53DTOPBC.js.map +0 -7
  350. package/dist/block.svg-57T37ABS.js +0 -155
  351. package/dist/block.tk.aicheck-6DXJTS3H.js +0 -274
  352. package/dist/block.tk.bam-CJFFQDNX.js +0 -1906
  353. package/dist/block.tk.bigwig.ui-OYIVXE2L.js +0 -202
  354. package/dist/block.tk.hicstraw-UKTGEBWT.js +0 -814
  355. package/dist/block.tk.junction-ZU5KPFQ3.js +0 -2353
  356. package/dist/block.tk.junction.textmatrixui-P4WXTAZR.js +0 -190
  357. package/dist/block.tk.ld-3PQ4O2AE.js +0 -90
  358. package/dist/block.tk.menu-LLITB6UA.js +0 -1050
  359. package/dist/block.tk.pgv-Y3FBXUO3.js +0 -934
  360. package/dist/brainImaging-4B3WXLNP.js +0 -550
  361. package/dist/brainRegions-7VLONUWN.js +0 -213
  362. package/dist/bubbleHeatmap-DI6GJRR6.js +0 -374
  363. package/dist/cellTypeBubbleHeatmap-HJY53DB2.js +0 -274
  364. package/dist/chunk-226MNBZ2.js +0 -240
  365. package/dist/chunk-2CDFU4MQ.js +0 -536
  366. package/dist/chunk-2CDFU4MQ.js.map +0 -7
  367. package/dist/chunk-2CNFGVHU.js +0 -257
  368. package/dist/chunk-2MC3RNKA.js +0 -2685
  369. package/dist/chunk-2SL4QWUS.js +0 -50
  370. package/dist/chunk-3KGBC5MK.js +0 -692
  371. package/dist/chunk-3PCRAPUV.js +0 -56
  372. package/dist/chunk-4DBOMSKP.js +0 -102
  373. package/dist/chunk-57BS6KNI.js +0 -466
  374. package/dist/chunk-5AXS5G4A.js +0 -2334
  375. package/dist/chunk-5HJG6ECV.js +0 -237
  376. package/dist/chunk-5ZYANHGX.js +0 -550
  377. package/dist/chunk-75MRUW2K.js +0 -103
  378. package/dist/chunk-7J3W3KCN.js +0 -255
  379. package/dist/chunk-7VB2BKXW.js +0 -2507
  380. package/dist/chunk-7VB2BKXW.js.map +0 -7
  381. package/dist/chunk-AIZYAKIE.js +0 -182
  382. package/dist/chunk-AJNFI6GA.js +0 -2008
  383. package/dist/chunk-BJAWDZBL.js +0 -2799
  384. package/dist/chunk-C6PVZVIH.js +0 -379
  385. package/dist/chunk-C77X5ZUV.js +0 -176
  386. package/dist/chunk-CUCP2GMT.js +0 -102
  387. package/dist/chunk-DTGAMBRJ.js +0 -134
  388. package/dist/chunk-DXT7GDHY.js +0 -55
  389. package/dist/chunk-ENPMWVWG.js +0 -5214
  390. package/dist/chunk-FPMJJBLV.js +0 -4389
  391. package/dist/chunk-H7F6DMJA.js +0 -70
  392. package/dist/chunk-HH3NUAR2.js +0 -96
  393. package/dist/chunk-HRTPGNOG.js +0 -159
  394. package/dist/chunk-IFPRYTS7.js +0 -848
  395. package/dist/chunk-IJSFSUI4.js +0 -302
  396. package/dist/chunk-IJSFSUI4.js.map +0 -7
  397. package/dist/chunk-IRQKX6DL.js +0 -263
  398. package/dist/chunk-JNZL7HKB.js +0 -1219
  399. package/dist/chunk-K3G56J5R.js +0 -299
  400. package/dist/chunk-KKUCG2QE.js +0 -516
  401. package/dist/chunk-KPXCXBNU.js +0 -626
  402. package/dist/chunk-LF5WBI27.js +0 -418
  403. package/dist/chunk-MSTYU3QO.js +0 -14
  404. package/dist/chunk-MWARRQT4.js +0 -141
  405. package/dist/chunk-MXKYPTZ7.js +0 -203
  406. package/dist/chunk-PRTLCJYF.js +0 -2941
  407. package/dist/chunk-PRTLCJYF.js.map +0 -7
  408. package/dist/chunk-QNCE6EOK.js +0 -82
  409. package/dist/chunk-RV335DF2.js +0 -266
  410. package/dist/chunk-SFPZUBPM.js +0 -2102
  411. package/dist/chunk-THAUD62Q.js +0 -1253
  412. package/dist/chunk-VBTBUXXX.js +0 -6375
  413. package/dist/chunk-VHWJK2MP.js +0 -56
  414. package/dist/chunk-VMK4RHV5.js +0 -54
  415. package/dist/chunk-WD7FZ5EE.js +0 -26536
  416. package/dist/chunk-WD7FZ5EE.js.map +0 -7
  417. package/dist/chunk-WKT7RF3C.js +0 -468
  418. package/dist/chunk-WXSMUSU7.js +0 -184
  419. package/dist/chunk-WXSX5OQJ.js +0 -296
  420. package/dist/chunk-WY3IORKG.js +0 -194
  421. package/dist/chunk-WYSOOKFJ.js +0 -480
  422. package/dist/chunk-XBBFFOLS.js +0 -123
  423. package/dist/chunk-XSRQGX5H.js +0 -340
  424. package/dist/chunk-YLL6CTBL.js +0 -54
  425. package/dist/chunk-YPBY37KD.js +0 -1339
  426. package/dist/chunk-YUNJBIK4.js +0 -243
  427. package/dist/chunk-ZAC34BZQ.js +0 -35
  428. package/dist/cohort-5WL6UJOS.js +0 -66
  429. package/dist/cohortSunburst-R3Z5KJQL.js +0 -402
  430. package/dist/condition-2IILUMVB.js +0 -323
  431. package/dist/controls-G3JITZF5.js +0 -30
  432. package/dist/controls.config-BO7KPPET.js +0 -30
  433. package/dist/correlation-CZILLVEM.js +0 -91
  434. package/dist/customdata.inputui-BXFQAMTR.js +0 -280
  435. package/dist/dataDownload-QTWR4IW7.js +0 -326
  436. package/dist/databrowser.ui-V2NJQF3U.js +0 -421
  437. package/dist/dictionary-OVAQX6R3.js +0 -109
  438. package/dist/dnaMethylation-DHPFRXB2.js +0 -29
  439. package/dist/dnaMethylation.integration.spec-PJLIRGN5.js +0 -194
  440. package/dist/e2pca-O7SNMJGB.js +0 -340
  441. package/dist/ep-NIVLKG4S.js +0 -1247
  442. package/dist/expclust.gdc.spec-LVCD6C43.js +0 -298
  443. package/dist/facet-LB4SCXE4.js +0 -556
  444. package/dist/gb-3IJ4NCPO.js +0 -77
  445. package/dist/geneExpClustering-SIAC7CMA.js +0 -240
  446. package/dist/geneExpression-P2TTZXN2.js +0 -29
  447. package/dist/geneExpression.unit.spec-Q5D6XHUF.js +0 -151
  448. package/dist/geneORA-PKUIJKTL.js +0 -269
  449. package/dist/geneRanking-ZGT5MHBV.js +0 -544
  450. package/dist/geneVariant-24YNANTT.js +0 -289
  451. package/dist/geneVariant-CDGENHWQ.js +0 -32
  452. package/dist/geneVariant.integration.spec-7QW4C2WO.js +0 -672
  453. package/dist/genefusion.ui-NVXGSBXD.js +0 -299
  454. package/dist/geneset-7STL6UDD.js +0 -199
  455. package/dist/genomeBrowser.spec-OE2CIP7I.js +0 -272
  456. package/dist/grin2-2HXUIY5O.js +0 -66
  457. package/dist/grin2-32IIJR5E.js +0 -945
  458. package/dist/hierCluster-MDZEI2KB.js +0 -51
  459. package/dist/hierCluster-T3PZUGBI.js +0 -55
  460. package/dist/hierCluster.config-7UN6AYGB.js +0 -32
  461. package/dist/hierCluster.integration.spec-DWOYVK6T.js +0 -479
  462. package/dist/hierCluster.interactivity-5OM6XNFG.js +0 -45
  463. package/dist/imagePlot-KBRXDV5G.js +0 -152
  464. package/dist/importPlot-DJMIC22L.js +0 -8
  465. package/dist/isoformExpression-SWDWADRC.js +0 -31
  466. package/dist/isoformExpression.unit.spec-2U5KCYBP.js +0 -233
  467. package/dist/junction-NMXVVGRG.js +0 -32
  468. package/dist/junction.unit.spec-JTGBPPN7.js +0 -178
  469. package/dist/launch.adhoc-YB5SKMNY.js +0 -33
  470. package/dist/leftlabel.sample-QKXIODCS.js +0 -253
  471. package/dist/lollipop-TSZ62PBH.js +0 -162
  472. package/dist/maf-4L5YN4CG.js +0 -451
  473. package/dist/maftimeline-VOYB3NY3.js +0 -583
  474. package/dist/matrix-IWJECVTF.js +0 -55
  475. package/dist/matrix-MMJAJZA7.js +0 -50
  476. package/dist/matrix.config-DZGOZWJS.js +0 -33
  477. package/dist/matrix.integration.spec-2N237E7T.js +0 -3156
  478. package/dist/matrix.interactivity-FL33UUKR.js +0 -33
  479. package/dist/matrix.layout-7SYHV3KJ.js +0 -35
  480. package/dist/matrix.renderers-3SIBT2RP.js +0 -30
  481. package/dist/matrix.sort.unit.spec-L3H44T6I.js +0 -464
  482. package/dist/matrix.sorterUi.unit.spec-2NRU5UFH.js +0 -334
  483. package/dist/matrix.unit.spec-HRZIJB6T.js +0 -146
  484. package/dist/mavb-ZVRQSDPS.js +0 -726
  485. package/dist/mds.fimo-ZKETTET7.js +0 -509
  486. package/dist/mds.fimo-ZKETTET7.js.map +0 -7
  487. package/dist/mds.samplescatterplot-ZV3UNRLP.js +0 -1545
  488. package/dist/mds.survivalplot-OVXZRTU4.js +0 -472
  489. package/dist/multivalue-6BE5IA4F.js +0 -79
  490. package/dist/oncomatrix-XK62NEOO.js +0 -286
  491. package/dist/oncomatrix.spec-YVTCHOPS.js +0 -439
  492. package/dist/plot.2dvaf-NUOBWMNX.js +0 -368
  493. package/dist/plot.app-G6IQWXTV.js +0 -32
  494. package/dist/plot.barplot-6QJ6HEJR.js +0 -93
  495. package/dist/plot.boxplot-XKQJSW2O.js +0 -142
  496. package/dist/plot.brainImaging-UTHFJFXU.js +0 -51
  497. package/dist/plot.disco-3MSCX7TM.js +0 -98
  498. package/dist/plot.ssgq-4KBVHF42.js +0 -130
  499. package/dist/plot.vaf2cov-OGUQSSDS.js +0 -249
  500. package/dist/polar2-V7M56GTZ.js +0 -228
  501. package/dist/profileForms-TS3BJLHH.js +0 -937
  502. package/dist/profilePlot-DP5272HR.js +0 -45
  503. package/dist/proteinView-K4K4SP3L.js +0 -1346
  504. package/dist/proteomeCohortCompare-SFWVGLFK.js +0 -866
  505. package/dist/pseudbulk.unit.spec-NFOA7J2C.js +0 -82
  506. package/dist/pseudobulk-XKZQEZ4I.js +0 -31
  507. package/dist/qualitative-7OSFNVI5.js +0 -241
  508. package/dist/qualitative-OIIN6E4Y.js +0 -34
  509. package/dist/radar2-AHZJKX7S.js +0 -323
  510. package/dist/radarFacility2-OUW6D5E7.js +0 -331
  511. package/dist/render-7UZSGX3Q.js +0 -29
  512. package/dist/report-J7HKTXZ2.js +0 -213
  513. package/dist/sampleView-6547OUIM.js +0 -39
  514. package/dist/samplelst-UHF23UEB.js +0 -114
  515. package/dist/samplematrix-OOKS3TMR.js +0 -2188
  516. package/dist/sc-WF2BLGNG.js +0 -77
  517. package/dist/scatter-ABCVFGRV.js +0 -84
  518. package/dist/scatter-WF7XM3IA.js +0 -919
  519. package/dist/selectGenomeWithTklst-67HU5KRB.js +0 -125
  520. package/dist/singleCellCellType-3FZPJ25V.js +0 -29
  521. package/dist/singleCellCellType.unit.spec-TOMREHWK.js +0 -150
  522. package/dist/singleCellGeneExpression-NQTJ5KJQ.js +0 -29
  523. package/dist/singleCellGeneExpression.unit.spec-ZWUQTU2N.js +0 -144
  524. package/dist/singleCellNumericValue-VI7H722L.js +0 -29
  525. package/dist/singleCellNumericValue.unit.spec-QGLHES7H.js +0 -412
  526. package/dist/singleCellPlot-RU5T6SJK.js +0 -44
  527. package/dist/singlecell-C3CJVNXP.js +0 -1562
  528. package/dist/singlecell-NRQZ7KC6.js +0 -77
  529. package/dist/snp-X6XY65VS.js +0 -29
  530. package/dist/snp.unit.spec-6EENK7GQ.js +0 -167
  531. package/dist/snplocus-R4JA6TFT.js +0 -200
  532. package/dist/snplst-SOWVHSXH.js +0 -36
  533. package/dist/spliceevent.a53ss.diagram-IRLCCVQZ.js +0 -142
  534. package/dist/spliceevent.exonskip.diagram-4KG7LE5D.js +0 -274
  535. package/dist/spliceevent.noeventdiagram-OWXAJJX7.js +0 -451
  536. package/dist/ssGSEA-EMOKPLMP.js +0 -29
  537. package/dist/ssGSEA.unit.spec-KXQ7R5WH.js +0 -79
  538. package/dist/stattable-H2G7MOZG.js +0 -112
  539. package/dist/studyCatalog-3ITQXWFL.js +0 -457
  540. package/dist/summarizeCnvGeneexp-ZIPU6YDY.js +0 -154
  541. package/dist/summarizeGeneexpSurvival-3RYU226R.js +0 -101
  542. package/dist/summarizeMutationCnv-RGDBUB22.js +0 -155
  543. package/dist/summarizeMutationDiagnosis-Z4MZE6Y4.js +0 -31
  544. package/dist/summarizeMutationSurvival-Z5CNRH7E.js +0 -95
  545. package/dist/summary-6QQCNX3B.js +0 -40
  546. package/dist/summary.integration.spec-3ULXTZUP.js +0 -405
  547. package/dist/summaryInput-4QKR34QB.js +0 -238
  548. package/dist/sunburst-KB3BWC72.js +0 -34
  549. package/dist/sunburst-XTFBHZNH.js +0 -274
  550. package/dist/survival-7O6ZK63E.js +0 -49
  551. package/dist/survival-NNCY4K6C.js +0 -1248
  552. package/dist/survival.integration.spec-ZYZHZAXA.js +0 -609
  553. package/dist/svgraph-ZLSFFEAC.js +0 -1377
  554. package/dist/svmr-REBBDEYM.js +0 -3834
  555. package/dist/swimmer-NUBRIWLI.js +0 -993
  556. package/dist/table-CWIQQESJ.js +0 -192
  557. package/dist/termCollection-7TYJSQ45.js +0 -29
  558. package/dist/termCollection-7Z55QNL7.js +0 -247
  559. package/dist/termCollection.unit.spec-LQ5MIBDH.js +0 -295
  560. package/dist/termCollectionFractionSelection-24DZYVDU.js +0 -38
  561. package/dist/termCollectionFractionSelection.unit.spec-DCV2CFS5.js +0 -184
  562. package/dist/tk-2WZFPRCP.js +0 -37
  563. package/dist/tk-QTLEYIP7.js +0 -1193
  564. package/dist/tp.ui-HXQX2UH4.js +0 -1453
  565. package/dist/tvs.categorical-4D3JI2ER.js +0 -28
  566. package/dist/tvs.condition-62FXFHZ5.js +0 -160
  567. package/dist/tvs.dt-FZSVMJOO.js +0 -34
  568. package/dist/tvs.dtcnv.categorical-PPFQIC42.js +0 -31
  569. package/dist/tvs.dtcnv.continuous-TV2IGHY4.js +0 -72
  570. package/dist/tvs.dtfusion-ON4BA4XJ.js +0 -31
  571. package/dist/tvs.dtitd-VFNROOWQ.js +0 -31
  572. package/dist/tvs.dtsnvindel-ZXOP37T5.js +0 -31
  573. package/dist/tvs.dtsv-EUHPTW7J.js +0 -31
  574. package/dist/tvs.multivalue-NHVXZNDI.js +0 -84
  575. package/dist/tvs.numeric-FPWDPO3J.js +0 -32
  576. package/dist/tvs.samplelst-ZZHRNUP4.js +0 -95
  577. package/dist/tvs.survival-F3KSG3U6.js +0 -110
  578. package/dist/tvs.termCollection-B37DZLDY.js +0 -118
  579. package/dist/vocabulary-XNE5FFDK.js +0 -32
  580. package/dist/wsi.direct-3YH3QGQD.js +0 -11514
  581. /package/dist/{2dmaf-7YU3SNKL.js.map → 2dmaf-POKWDZTU.js.map} +0 -0
  582. /package/dist/{AggMatrixInput-73CDR5FS.js.map → AggMatrixInput-NIN3SHJR.js.map} +0 -0
  583. /package/dist/{AggregateMatrix-NNULVFBM.js.map → AggregateMatrix-SNXE2IMF.js.map} +0 -0
  584. /package/dist/{AppHeader-EZDDLLXU.js.map → AppHeader-AXIG4J42.js.map} +0 -0
  585. /package/dist/{BoxPlot-463E7CRY.js.map → BoxPlot-EQHEGZAX.js.map} +0 -0
  586. /package/dist/{CorrelationVolcano-LHIIMBPP.js.map → CorrelationVolcano-6QTXXW5F.js.map} +0 -0
  587. /package/dist/{Cuminc-UL2TCIKV.js.map → Cuminc-ZUG6FCOT.js.map} +0 -0
  588. /package/dist/{DE-VRFSKFDW.js.map → DE-24JMFZFG.js.map} +0 -0
  589. /package/dist/{DEinput-FZTQRWVC.js.map → DEinput-I3EJWSOQ.js.map} +0 -0
  590. /package/dist/{DM-PO7CQZNT.js.map → DM-FEEPIPNV.js.map} +0 -0
  591. /package/dist/{DifferentialAnalysis-WK6HE3YH.js.map → DifferentialAnalysis-QZIHMN43.js.map} +0 -0
  592. /package/dist/{Disco-YBNQJQFG.js.map → Disco-DYEE57LX.js.map} +0 -0
  593. /package/dist/{Disco.UI-HC5XYBFV.js.map → Disco.UI-M7AQJEDW.js.map} +0 -0
  594. /package/dist/{DmrPlot-7VJ5C66D.js.map → DmrPlot-4JPZAJCP.js.map} +0 -0
  595. /package/dist/{GB-VPFQRDRO.js.map → GB-4DPUNCJG.js.map} +0 -0
  596. /package/dist/{GSEA-ZEJB3QZQ.js.map → GSEA-HZSZ23PR.js.map} +0 -0
  597. /package/dist/{GeneExpInput-SBDDIY6G.js.map → GeneExpInput-BBOMWGCJ.js.map} +0 -0
  598. /package/dist/{Geomap-23AHGP2V.js.map → Geomap-Z4NKGSXD.js.map} +0 -0
  599. /package/dist/{HicApp-7AQQE4CM.js.map → HicApp-OO2EK4JA.js.map} +0 -0
  600. /package/dist/{IDCViewer-NO5Q6VOB.js.map → IDCViewer-UCDVSZXN.js.map} +0 -0
  601. /package/dist/{NumBinaryEditor-DSRP4OOU.js.map → NumBinaryEditor-WH5CGCRR.js.map} +0 -0
  602. /package/dist/{NumBinaryEditor.unit.spec-TT666YL4.js.map → NumBinaryEditor.unit.spec-GSMQ5KDY.js.map} +0 -0
  603. /package/dist/{NumContEditor-6CURFOCH.js.map → NumContEditor-U5PJEFJU.js.map} +0 -0
  604. /package/dist/{NumContEditor.unit.spec-MNVCFCMP.js.map → NumContEditor.unit.spec-V2DKMR6V.js.map} +0 -0
  605. /package/dist/{NumCustomBinEditor-SQRR5EFL.js.map → NumCustomBinEditor-CD5ZZMPS.js.map} +0 -0
  606. /package/dist/{NumCustomBinEditor.unit.spec-F7BZWGGT.js.map → NumCustomBinEditor.unit.spec-CLLUZO3D.js.map} +0 -0
  607. /package/dist/{NumDiscreteEditor-U7Z2QNYP.js.map → NumDiscreteEditor-PRK3EBXB.js.map} +0 -0
  608. /package/dist/{NumDiscreteEditor.unit.spec-EIEBUZCX.js.map → NumDiscreteEditor.unit.spec-7Q3VPQBY.js.map} +0 -0
  609. /package/dist/{NumRegularBinEditor-CVZSWN6Y.js.map → NumRegularBinEditor-6LUEZNMD.js.map} +0 -0
  610. /package/dist/{NumRegularBinEditor.unit.spec-ZMAJOIHL.js.map → NumRegularBinEditor.unit.spec-G75DBYIV.js.map} +0 -0
  611. /package/dist/{NumSplineEditor-U43D5NBJ.js.map → NumSplineEditor-S5UMQH3W.js.map} +0 -0
  612. /package/dist/{NumSplineEditor.unit.spec-C52AADTS.js.map → NumSplineEditor.unit.spec-IAFAMAWR.js.map} +0 -0
  613. /package/dist/{NumericDensity-PUKDZOVI.js.map → NumericDensity-4VSTEQ7M.js.map} +0 -0
  614. /package/dist/{NumericDensity.unit.spec-2347S76D.js.map → NumericDensity.unit.spec-ECOENBRH.js.map} +0 -0
  615. /package/dist/{NumericHandler-3RT32PTR.js.map → NumericHandler-I7QUR75Z.js.map} +0 -0
  616. /package/dist/{NumericHandler.unit.spec-4PADL4KZ.js.map → NumericHandler.unit.spec-G5OU3MK2.js.map} +0 -0
  617. /package/dist/{ProteomeInput-NFV4FW4U.js.map → ProteomeInput-UYRSZV6I.js.map} +0 -0
  618. /package/dist/{Regression-N7M7N6G4.js.map → Regression-MU3UJ242.js.map} +0 -0
  619. /package/dist/{RunChart2-UPQ7C6QE.js.map → RunChart2-SLP6DDBL.js.map} +0 -0
  620. /package/dist/{SC-KBW2NHUV.js.map → SC-VSAMENAT.js.map} +0 -0
  621. /package/dist/{Violin-GWCOP3ZF.js.map → Violin-QKLXZBZW.js.map} +0 -0
  622. /package/dist/{Volcano-X3HT32GQ.js.map → Volcano-RWGO2QRK.js.map} +0 -0
  623. /package/dist/{Wsi-NXAEOYIS.js.map → Wsi-QYZERT3L.js.map} +0 -0
  624. /package/dist/{adSandbox-RPEWEEW7.js.map → adSandbox-XMTFXVQZ.js.map} +0 -0
  625. /package/dist/{animatedBubbleChart-ILDMZRBX.js.map → animatedBubbleChart-Y5QQYPCS.js.map} +0 -0
  626. /package/dist/{app-LOUC4J47.js.map → app-IJOORVUT.js.map} +0 -0
  627. /package/dist/{app-MRKXZ6AZ.js.map → app-OBIQZWB6.js.map} +0 -0
  628. /package/dist/{bam-SQWPHCZZ.js.map → bam-OCKP55BE.js.map} +0 -0
  629. /package/dist/{barchart-CJR37234.js.map → barchart-6VJ5F7GM.js.map} +0 -0
  630. /package/dist/{barchart2-QQYLTHWR.js.map → barchart2-LPGRRPKS.js.map} +0 -0
  631. /package/dist/{block-GLF6QNKY.js.map → block-MIBFGU6V.js.map} +0 -0
  632. /package/dist/{block.init-YJQTJIDO.js.map → block.init-MPTACJCT.js.map} +0 -0
  633. /package/dist/{block.mds.expressionrank-GBMEI5KQ.js.map → block.mds.expressionrank-EZBNMSDP.js.map} +0 -0
  634. /package/dist/{block.mds.geneboxplot-XWE3E5IW.js.map → block.mds.geneboxplot-R6BS44BH.js.map} +0 -0
  635. /package/dist/{block.mds.junction-QLEHFVPE.js.map → block.mds.junction-I72SNE6D.js.map} +0 -0
  636. /package/dist/{block.svg-57T37ABS.js.map → block.svg-7DQLMFUE.js.map} +0 -0
  637. /package/dist/{block.tk.aicheck-6DXJTS3H.js.map → block.tk.aicheck-MZQIZQ4R.js.map} +0 -0
  638. /package/dist/{block.tk.bam-CJFFQDNX.js.map → block.tk.bam-QKRX7QA7.js.map} +0 -0
  639. /package/dist/{block.tk.bigwig.ui-OYIVXE2L.js.map → block.tk.bigwig.ui-MREWAD2O.js.map} +0 -0
  640. /package/dist/{block.tk.hicstraw-UKTGEBWT.js.map → block.tk.hicstraw-DO2D2XHN.js.map} +0 -0
  641. /package/dist/{block.tk.junction-ZU5KPFQ3.js.map → block.tk.junction-27DQ3HHI.js.map} +0 -0
  642. /package/dist/{block.tk.junction.textmatrixui-P4WXTAZR.js.map → block.tk.junction.textmatrixui-ODA2JU6X.js.map} +0 -0
  643. /package/dist/{block.tk.ld-3PQ4O2AE.js.map → block.tk.ld-AG2T4DR6.js.map} +0 -0
  644. /package/dist/{block.tk.menu-LLITB6UA.js.map → block.tk.menu-BIORXN3G.js.map} +0 -0
  645. /package/dist/{block.tk.pgv-Y3FBXUO3.js.map → block.tk.pgv-FPGJ7HMX.js.map} +0 -0
  646. /package/dist/{brainImaging-4B3WXLNP.js.map → brainImaging-MDXNZ6EN.js.map} +0 -0
  647. /package/dist/{brainRegions-7VLONUWN.js.map → brainRegions-SUFNAEWM.js.map} +0 -0
  648. /package/dist/{bubbleHeatmap-DI6GJRR6.js.map → bubbleHeatmap-JR42L4K6.js.map} +0 -0
  649. /package/dist/{cellTypeBubbleHeatmap-HJY53DB2.js.map → cellTypeBubbleHeatmap-36LK5SRE.js.map} +0 -0
  650. /package/dist/{chunk-2MC3RNKA.js.map → chunk-22DUWEXJ.js.map} +0 -0
  651. /package/dist/{chunk-QNCE6EOK.js.map → chunk-22MQLGUB.js.map} +0 -0
  652. /package/dist/{chunk-K3G56J5R.js.map → chunk-2CDIFQPW.js.map} +0 -0
  653. /package/dist/{chunk-7J3W3KCN.js.map → chunk-2JPHJFWZ.js.map} +0 -0
  654. /package/dist/{chunk-5HJG6ECV.js.map → chunk-3BXY7XEV.js.map} +0 -0
  655. /package/dist/{chunk-YUNJBIK4.js.map → chunk-4HCFRRDQ.js.map} +0 -0
  656. /package/dist/{chunk-MSTYU3QO.js.map → chunk-55SYHMGG.js.map} +0 -0
  657. /package/dist/{chunk-LF5WBI27.js.map → chunk-63H45YA3.js.map} +0 -0
  658. /package/dist/{chunk-WKT7RF3C.js.map → chunk-65PBOLXP.js.map} +0 -0
  659. /package/dist/{chunk-3PCRAPUV.js.map → chunk-6HC6RVNT.js.map} +0 -0
  660. /package/dist/{chunk-ZAC34BZQ.js.map → chunk-6IFQSS7D.js.map} +0 -0
  661. /package/dist/{chunk-IFPRYTS7.js.map → chunk-6QG7NWME.js.map} +0 -0
  662. /package/dist/{chunk-HRTPGNOG.js.map → chunk-754DVU6V.js.map} +0 -0
  663. /package/dist/{chunk-VMK4RHV5.js.map → chunk-7HOIT7TM.js.map} +0 -0
  664. /package/dist/{chunk-WXSX5OQJ.js.map → chunk-7NYLCZY5.js.map} +0 -0
  665. /package/dist/{chunk-226MNBZ2.js.map → chunk-7OYFMOGM.js.map} +0 -0
  666. /package/dist/{chunk-BJAWDZBL.js.map → chunk-AGM2IM3B.js.map} +0 -0
  667. /package/dist/{chunk-57BS6KNI.js.map → chunk-CHNPP3DV.js.map} +0 -0
  668. /package/dist/{chunk-HH3NUAR2.js.map → chunk-DJK3NKRK.js.map} +0 -0
  669. /package/dist/{chunk-XBBFFOLS.js.map → chunk-DKEH6FBC.js.map} +0 -0
  670. /package/dist/{chunk-2SL4QWUS.js.map → chunk-DYBH3E6G.js.map} +0 -0
  671. /package/dist/{chunk-WYSOOKFJ.js.map → chunk-EZGMD2WV.js.map} +0 -0
  672. /package/dist/{chunk-JNZL7HKB.js.map → chunk-FYBN6BAC.js.map} +0 -0
  673. /package/dist/{chunk-WY3IORKG.js.map → chunk-GKLDVEAQ.js.map} +0 -0
  674. /package/dist/{chunk-75MRUW2K.js.map → chunk-GLGFZPWM.js.map} +0 -0
  675. /package/dist/{chunk-CUCP2GMT.js.map → chunk-IQX6FKY6.js.map} +0 -0
  676. /package/dist/{chunk-WXSMUSU7.js.map → chunk-IRAB3OI7.js.map} +0 -0
  677. /package/dist/{chunk-C6PVZVIH.js.map → chunk-IZPM6TWT.js.map} +0 -0
  678. /package/dist/{chunk-5AXS5G4A.js.map → chunk-J3LWRVN3.js.map} +0 -0
  679. /package/dist/{chunk-AJNFI6GA.js.map → chunk-J6WTOB2A.js.map} +0 -0
  680. /package/dist/{chunk-H7F6DMJA.js.map → chunk-JI75CBA6.js.map} +0 -0
  681. /package/dist/{chunk-XSRQGX5H.js.map → chunk-KWY2WZAM.js.map} +0 -0
  682. /package/dist/{chunk-YLL6CTBL.js.map → chunk-LCUVGK27.js.map} +0 -0
  683. /package/dist/{chunk-KPXCXBNU.js.map → chunk-LMM4REJQ.js.map} +0 -0
  684. /package/dist/{chunk-THAUD62Q.js.map → chunk-LVATT455.js.map} +0 -0
  685. /package/dist/{chunk-VBTBUXXX.js.map → chunk-MU77WKSY.js.map} +0 -0
  686. /package/dist/{chunk-FPMJJBLV.js.map → chunk-NGBO2LE3.js.map} +0 -0
  687. /package/dist/{chunk-VHWJK2MP.js.map → chunk-OJ6IPUZC.js.map} +0 -0
  688. /package/dist/{chunk-KKUCG2QE.js.map → chunk-PMLMXEER.js.map} +0 -0
  689. /package/dist/{chunk-DTGAMBRJ.js.map → chunk-QABQ5AOR.js.map} +0 -0
  690. /package/dist/{chunk-DXT7GDHY.js.map → chunk-QHYS2QXV.js.map} +0 -0
  691. /package/dist/{chunk-3KGBC5MK.js.map → chunk-R64DV2IT.js.map} +0 -0
  692. /package/dist/{chunk-RV335DF2.js.map → chunk-RMLWQEWC.js.map} +0 -0
  693. /package/dist/{chunk-YPBY37KD.js.map → chunk-RRMAUPEA.js.map} +0 -0
  694. /package/dist/{chunk-2CNFGVHU.js.map → chunk-SFLKPHIF.js.map} +0 -0
  695. /package/dist/{chunk-ENPMWVWG.js.map → chunk-SZNEHG4C.js.map} +0 -0
  696. /package/dist/{chunk-SFPZUBPM.js.map → chunk-TN4OMLKK.js.map} +0 -0
  697. /package/dist/{chunk-IRQKX6DL.js.map → chunk-TYEHFGMJ.js.map} +0 -0
  698. /package/dist/{chunk-MXKYPTZ7.js.map → chunk-UHFO6LHS.js.map} +0 -0
  699. /package/dist/{chunk-MWARRQT4.js.map → chunk-UKKLAUYO.js.map} +0 -0
  700. /package/dist/{chunk-C77X5ZUV.js.map → chunk-UO5TVDSF.js.map} +0 -0
  701. /package/dist/{chunk-5ZYANHGX.js.map → chunk-VD4WX5ZG.js.map} +0 -0
  702. /package/dist/{chunk-AIZYAKIE.js.map → chunk-WAJ7U3KO.js.map} +0 -0
  703. /package/dist/{chunk-4DBOMSKP.js.map → chunk-Z4XRHSLY.js.map} +0 -0
  704. /package/dist/{cohort-5WL6UJOS.js.map → cohort-5KRENZ4T.js.map} +0 -0
  705. /package/dist/{cohortSunburst-R3Z5KJQL.js.map → cohortSunburst-IRKQINDZ.js.map} +0 -0
  706. /package/dist/{condition-2IILUMVB.js.map → condition-SS5WC4XL.js.map} +0 -0
  707. /package/dist/{controls-G3JITZF5.js.map → controls-PPG5IIVK.js.map} +0 -0
  708. /package/dist/{controls.config-BO7KPPET.js.map → controls.config-URUFQC4O.js.map} +0 -0
  709. /package/dist/{correlation-CZILLVEM.js.map → correlation-KCKJHPW4.js.map} +0 -0
  710. /package/dist/{customdata.inputui-BXFQAMTR.js.map → customdata.inputui-HDWCVQR7.js.map} +0 -0
  711. /package/dist/{dataDownload-QTWR4IW7.js.map → dataDownload-7OSWACMN.js.map} +0 -0
  712. /package/dist/{databrowser.ui-V2NJQF3U.js.map → databrowser.ui-ILUFKRCK.js.map} +0 -0
  713. /package/dist/{dictionary-OVAQX6R3.js.map → dictionary-5VCLRD7G.js.map} +0 -0
  714. /package/dist/{dnaMethylation-DHPFRXB2.js.map → dnaMethylation-RUP4SNBG.js.map} +0 -0
  715. /package/dist/{dnaMethylation.integration.spec-PJLIRGN5.js.map → dnaMethylation.integration.spec-JCE46MPP.js.map} +0 -0
  716. /package/dist/{e2pca-O7SNMJGB.js.map → e2pca-RRSEDWZ3.js.map} +0 -0
  717. /package/dist/{ep-NIVLKG4S.js.map → ep-BHYT5BNH.js.map} +0 -0
  718. /package/dist/{expclust.gdc.spec-LVCD6C43.js.map → expclust.gdc.spec-GARTH4AC.js.map} +0 -0
  719. /package/dist/{facet-LB4SCXE4.js.map → facet-44CMDEC5.js.map} +0 -0
  720. /package/dist/{gb-3IJ4NCPO.js.map → gb-JOJSFSTN.js.map} +0 -0
  721. /package/dist/{geneExpClustering-SIAC7CMA.js.map → geneExpClustering-47HSKEFL.js.map} +0 -0
  722. /package/dist/{geneExpression-P2TTZXN2.js.map → geneExpression-GIJPTHXW.js.map} +0 -0
  723. /package/dist/{geneExpression.unit.spec-Q5D6XHUF.js.map → geneExpression.unit.spec-46RP3ZSW.js.map} +0 -0
  724. /package/dist/{geneORA-PKUIJKTL.js.map → geneORA-VLFKS6SV.js.map} +0 -0
  725. /package/dist/{geneRanking-ZGT5MHBV.js.map → geneRanking-EMZ4IIGG.js.map} +0 -0
  726. /package/dist/{geneVariant-24YNANTT.js.map → geneVariant-HTYLI76A.js.map} +0 -0
  727. /package/dist/{geneVariant-CDGENHWQ.js.map → geneVariant-RZUBFP3H.js.map} +0 -0
  728. /package/dist/{geneVariant.integration.spec-7QW4C2WO.js.map → geneVariant.integration.spec-JZOAK5NP.js.map} +0 -0
  729. /package/dist/{genefusion.ui-NVXGSBXD.js.map → genefusion.ui-6REPOIXI.js.map} +0 -0
  730. /package/dist/{geneset-7STL6UDD.js.map → geneset-XCU3IWX3.js.map} +0 -0
  731. /package/dist/{genomeBrowser.spec-OE2CIP7I.js.map → genomeBrowser.spec-BGHECXFY.js.map} +0 -0
  732. /package/dist/{grin2-32IIJR5E.js.map → grin2-73EMJO2O.js.map} +0 -0
  733. /package/dist/{grin2-2HXUIY5O.js.map → grin2-BU5DLVNV.js.map} +0 -0
  734. /package/dist/{hierCluster-MDZEI2KB.js.map → hierCluster-FMF56N73.js.map} +0 -0
  735. /package/dist/{hierCluster-T3PZUGBI.js.map → hierCluster-M57DFUAE.js.map} +0 -0
  736. /package/dist/{hierCluster.config-7UN6AYGB.js.map → hierCluster.config-LD7RO2ZV.js.map} +0 -0
  737. /package/dist/{hierCluster.integration.spec-DWOYVK6T.js.map → hierCluster.integration.spec-NTIL7TK4.js.map} +0 -0
  738. /package/dist/{hierCluster.interactivity-5OM6XNFG.js.map → hierCluster.interactivity-SBRGGCJW.js.map} +0 -0
  739. /package/dist/{imagePlot-KBRXDV5G.js.map → imagePlot-AWX6T7D3.js.map} +0 -0
  740. /package/dist/{importPlot-DJMIC22L.js.map → importPlot-XH2XECDM.js.map} +0 -0
  741. /package/dist/{isoformExpression-SWDWADRC.js.map → isoformExpression-TLFIRYGG.js.map} +0 -0
  742. /package/dist/{isoformExpression.unit.spec-2U5KCYBP.js.map → isoformExpression.unit.spec-YVKKWS4R.js.map} +0 -0
  743. /package/dist/{junction-NMXVVGRG.js.map → junction-47ZSGPLM.js.map} +0 -0
  744. /package/dist/{junction.unit.spec-JTGBPPN7.js.map → junction.unit.spec-WNYGL5VN.js.map} +0 -0
  745. /package/dist/{launch.adhoc-YB5SKMNY.js.map → launch.adhoc-PBCBXVYY.js.map} +0 -0
  746. /package/dist/{leftlabel.sample-QKXIODCS.js.map → leftlabel.sample-QWIQDLOD.js.map} +0 -0
  747. /package/dist/{lollipop-TSZ62PBH.js.map → lollipop-JOK75CBR.js.map} +0 -0
  748. /package/dist/{maf-4L5YN4CG.js.map → maf-C7YTV3GF.js.map} +0 -0
  749. /package/dist/{maftimeline-VOYB3NY3.js.map → maftimeline-TDXLAIUN.js.map} +0 -0
  750. /package/dist/{matrix-IWJECVTF.js.map → matrix-5KS2L3XU.js.map} +0 -0
  751. /package/dist/{matrix-MMJAJZA7.js.map → matrix-FW4IPOIL.js.map} +0 -0
  752. /package/dist/{matrix.config-DZGOZWJS.js.map → matrix.config-U7NDKIBJ.js.map} +0 -0
  753. /package/dist/{matrix.integration.spec-2N237E7T.js.map → matrix.integration.spec-T5TUAFQN.js.map} +0 -0
  754. /package/dist/{matrix.interactivity-FL33UUKR.js.map → matrix.interactivity-OTRYV6BY.js.map} +0 -0
  755. /package/dist/{matrix.layout-7SYHV3KJ.js.map → matrix.layout-VMRJ35R6.js.map} +0 -0
  756. /package/dist/{matrix.renderers-3SIBT2RP.js.map → matrix.renderers-RH4VTHVN.js.map} +0 -0
  757. /package/dist/{matrix.sort.unit.spec-L3H44T6I.js.map → matrix.sort.unit.spec-Q4YLQOMY.js.map} +0 -0
  758. /package/dist/{matrix.sorterUi.unit.spec-2NRU5UFH.js.map → matrix.sorterUi.unit.spec-QHKHT4LM.js.map} +0 -0
  759. /package/dist/{matrix.unit.spec-HRZIJB6T.js.map → matrix.unit.spec-GAO2IEXL.js.map} +0 -0
  760. /package/dist/{mavb-ZVRQSDPS.js.map → mavb-LZZIWOAK.js.map} +0 -0
  761. /package/dist/{mds.samplescatterplot-ZV3UNRLP.js.map → mds.samplescatterplot-MCBCP3IO.js.map} +0 -0
  762. /package/dist/{mds.survivalplot-OVXZRTU4.js.map → mds.survivalplot-JV2JSH74.js.map} +0 -0
  763. /package/dist/{multivalue-6BE5IA4F.js.map → multivalue-XTMXS2BA.js.map} +0 -0
  764. /package/dist/{oncomatrix-XK62NEOO.js.map → oncomatrix-LIK4FIQT.js.map} +0 -0
  765. /package/dist/{oncomatrix.spec-YVTCHOPS.js.map → oncomatrix.spec-SLZKHQ3U.js.map} +0 -0
  766. /package/dist/{plot.2dvaf-NUOBWMNX.js.map → plot.2dvaf-WFZ5RK55.js.map} +0 -0
  767. /package/dist/{plot.app-G6IQWXTV.js.map → plot.app-ILSKE2MB.js.map} +0 -0
  768. /package/dist/{plot.barplot-6QJ6HEJR.js.map → plot.barplot-XZ5LEEUG.js.map} +0 -0
  769. /package/dist/{plot.boxplot-XKQJSW2O.js.map → plot.boxplot-CU4SFUDO.js.map} +0 -0
  770. /package/dist/{plot.brainImaging-UTHFJFXU.js.map → plot.brainImaging-4HJH347S.js.map} +0 -0
  771. /package/dist/{plot.disco-3MSCX7TM.js.map → plot.disco-MB4A24B5.js.map} +0 -0
  772. /package/dist/{plot.ssgq-4KBVHF42.js.map → plot.ssgq-NCVJWHKU.js.map} +0 -0
  773. /package/dist/{plot.vaf2cov-OGUQSSDS.js.map → plot.vaf2cov-MUOXXUXF.js.map} +0 -0
  774. /package/dist/{polar2-V7M56GTZ.js.map → polar2-GAMBO6HG.js.map} +0 -0
  775. /package/dist/{profileForms-TS3BJLHH.js.map → profileForms-QOUV435D.js.map} +0 -0
  776. /package/dist/{profilePlot-DP5272HR.js.map → profilePlot-BNUUQRVB.js.map} +0 -0
  777. /package/dist/{proteinView-K4K4SP3L.js.map → proteinView-W4HQM7PX.js.map} +0 -0
  778. /package/dist/{proteomeCohortCompare-SFWVGLFK.js.map → proteomeCohortCompare-7QIJAKDR.js.map} +0 -0
  779. /package/dist/{pseudbulk.unit.spec-NFOA7J2C.js.map → pseudbulk.unit.spec-2NQYQMD2.js.map} +0 -0
  780. /package/dist/{pseudobulk-XKZQEZ4I.js.map → pseudobulk-FKIWXQAR.js.map} +0 -0
  781. /package/dist/{qualitative-OIIN6E4Y.js.map → qualitative-3TVNQ2IV.js.map} +0 -0
  782. /package/dist/{qualitative-7OSFNVI5.js.map → qualitative-5V3DGURI.js.map} +0 -0
  783. /package/dist/{radar2-AHZJKX7S.js.map → radar2-QO5ZN7IW.js.map} +0 -0
  784. /package/dist/{radarFacility2-OUW6D5E7.js.map → radarFacility2-HKP42M4V.js.map} +0 -0
  785. /package/dist/{render-7UZSGX3Q.js.map → render-O6PPL3XT.js.map} +0 -0
  786. /package/dist/{report-J7HKTXZ2.js.map → report-K3B2IYG2.js.map} +0 -0
  787. /package/dist/{sampleView-6547OUIM.js.map → sampleView-GKGADBRJ.js.map} +0 -0
  788. /package/dist/{samplelst-UHF23UEB.js.map → samplelst-ECNFTH35.js.map} +0 -0
  789. /package/dist/{samplematrix-OOKS3TMR.js.map → samplematrix-KL6BNSQF.js.map} +0 -0
  790. /package/dist/{sc-WF2BLGNG.js.map → sc-MRK4D7Q3.js.map} +0 -0
  791. /package/dist/{scatter-ABCVFGRV.js.map → scatter-HBTW5CDD.js.map} +0 -0
  792. /package/dist/{scatter-WF7XM3IA.js.map → scatter-ITRK6CQK.js.map} +0 -0
  793. /package/dist/{selectGenomeWithTklst-67HU5KRB.js.map → selectGenomeWithTklst-E6TV7BOQ.js.map} +0 -0
  794. /package/dist/{singleCellCellType-3FZPJ25V.js.map → singleCellCellType-CA4MPJFG.js.map} +0 -0
  795. /package/dist/{singleCellCellType.unit.spec-TOMREHWK.js.map → singleCellCellType.unit.spec-NE34HWRM.js.map} +0 -0
  796. /package/dist/{singleCellGeneExpression-NQTJ5KJQ.js.map → singleCellGeneExpression-A5C7TKTF.js.map} +0 -0
  797. /package/dist/{singleCellGeneExpression.unit.spec-ZWUQTU2N.js.map → singleCellGeneExpression.unit.spec-NX2JMJ5C.js.map} +0 -0
  798. /package/dist/{singleCellNumericValue-VI7H722L.js.map → singleCellNumericValue-4BEKA732.js.map} +0 -0
  799. /package/dist/{singleCellNumericValue.unit.spec-QGLHES7H.js.map → singleCellNumericValue.unit.spec-LTIDSRTE.js.map} +0 -0
  800. /package/dist/{singleCellPlot-RU5T6SJK.js.map → singleCellPlot-S4ZWVY2Z.js.map} +0 -0
  801. /package/dist/{singlecell-C3CJVNXP.js.map → singlecell-NLY4ICUP.js.map} +0 -0
  802. /package/dist/{singlecell-NRQZ7KC6.js.map → singlecell-RYQRJ2AK.js.map} +0 -0
  803. /package/dist/{snp-X6XY65VS.js.map → snp-ZWR4J3PB.js.map} +0 -0
  804. /package/dist/{snp.unit.spec-6EENK7GQ.js.map → snp.unit.spec-TO5ID66F.js.map} +0 -0
  805. /package/dist/{snplocus-R4JA6TFT.js.map → snplocus-GDBABG4H.js.map} +0 -0
  806. /package/dist/{snplst-SOWVHSXH.js.map → snplst-5GO3G3ZH.js.map} +0 -0
  807. /package/dist/{spliceevent.a53ss.diagram-IRLCCVQZ.js.map → spliceevent.a53ss.diagram-PVHMNV6G.js.map} +0 -0
  808. /package/dist/{spliceevent.exonskip.diagram-4KG7LE5D.js.map → spliceevent.exonskip.diagram-ALYZWQMD.js.map} +0 -0
  809. /package/dist/{spliceevent.noeventdiagram-OWXAJJX7.js.map → spliceevent.noeventdiagram-XI3FRO7G.js.map} +0 -0
  810. /package/dist/{ssGSEA-EMOKPLMP.js.map → ssGSEA-TYDOQEAB.js.map} +0 -0
  811. /package/dist/{ssGSEA.unit.spec-KXQ7R5WH.js.map → ssGSEA.unit.spec-WC6QAJJR.js.map} +0 -0
  812. /package/dist/{stattable-H2G7MOZG.js.map → stattable-SBWH4KGE.js.map} +0 -0
  813. /package/dist/{studyCatalog-3ITQXWFL.js.map → studyCatalog-MXOHUMJW.js.map} +0 -0
  814. /package/dist/{summarizeCnvGeneexp-ZIPU6YDY.js.map → summarizeCnvGeneexp-LZ3EW4NA.js.map} +0 -0
  815. /package/dist/{summarizeGeneexpSurvival-3RYU226R.js.map → summarizeGeneexpSurvival-QLW5IZHS.js.map} +0 -0
  816. /package/dist/{summarizeMutationCnv-RGDBUB22.js.map → summarizeMutationCnv-L3JWXSEN.js.map} +0 -0
  817. /package/dist/{summarizeMutationDiagnosis-Z4MZE6Y4.js.map → summarizeMutationDiagnosis-K66PJUFI.js.map} +0 -0
  818. /package/dist/{summarizeMutationSurvival-Z5CNRH7E.js.map → summarizeMutationSurvival-KKZU2FKQ.js.map} +0 -0
  819. /package/dist/{summary-6QQCNX3B.js.map → summary-IHMI5H5Q.js.map} +0 -0
  820. /package/dist/{summary.integration.spec-3ULXTZUP.js.map → summary.integration.spec-IWBDVJT2.js.map} +0 -0
  821. /package/dist/{summaryInput-4QKR34QB.js.map → summaryInput-VC3AIG36.js.map} +0 -0
  822. /package/dist/{sunburst-XTFBHZNH.js.map → sunburst-3PKTRXCA.js.map} +0 -0
  823. /package/dist/{sunburst-KB3BWC72.js.map → sunburst-VNKHAUEA.js.map} +0 -0
  824. /package/dist/{survival-NNCY4K6C.js.map → survival-4LEJDVBC.js.map} +0 -0
  825. /package/dist/{survival-7O6ZK63E.js.map → survival-TYOJ55WB.js.map} +0 -0
  826. /package/dist/{survival.integration.spec-ZYZHZAXA.js.map → survival.integration.spec-3LXM6EOA.js.map} +0 -0
  827. /package/dist/{svgraph-ZLSFFEAC.js.map → svgraph-774K6DAH.js.map} +0 -0
  828. /package/dist/{svmr-REBBDEYM.js.map → svmr-25I2V6AN.js.map} +0 -0
  829. /package/dist/{swimmer-NUBRIWLI.js.map → swimmer-QO3Z4ZWN.js.map} +0 -0
  830. /package/dist/{table-CWIQQESJ.js.map → table-M64VATFA.js.map} +0 -0
  831. /package/dist/{termCollection-7Z55QNL7.js.map → termCollection-E6Q2FDM3.js.map} +0 -0
  832. /package/dist/{termCollection-7TYJSQ45.js.map → termCollection-OFE4KKJT.js.map} +0 -0
  833. /package/dist/{termCollection.unit.spec-LQ5MIBDH.js.map → termCollection.unit.spec-G4HGOR7B.js.map} +0 -0
  834. /package/dist/{termCollectionFractionSelection-24DZYVDU.js.map → termCollectionFractionSelection-F2VKGR2D.js.map} +0 -0
  835. /package/dist/{termCollectionFractionSelection.unit.spec-DCV2CFS5.js.map → termCollectionFractionSelection.unit.spec-46XS3WMX.js.map} +0 -0
  836. /package/dist/{tk-2WZFPRCP.js.map → tk-JBLKYKKI.js.map} +0 -0
  837. /package/dist/{tk-QTLEYIP7.js.map → tk-UHDGIDTK.js.map} +0 -0
  838. /package/dist/{tp.ui-HXQX2UH4.js.map → tp.ui-X2BJWXKN.js.map} +0 -0
  839. /package/dist/{tvs.categorical-4D3JI2ER.js.map → tvs.categorical-ZTFJDJQU.js.map} +0 -0
  840. /package/dist/{tvs.condition-62FXFHZ5.js.map → tvs.condition-DCDNI627.js.map} +0 -0
  841. /package/dist/{tvs.dt-FZSVMJOO.js.map → tvs.dt-X6DES76X.js.map} +0 -0
  842. /package/dist/{tvs.dtcnv.categorical-PPFQIC42.js.map → tvs.dtcnv.categorical-UPRTUO7A.js.map} +0 -0
  843. /package/dist/{tvs.dtcnv.continuous-TV2IGHY4.js.map → tvs.dtcnv.continuous-K3J5KKZD.js.map} +0 -0
  844. /package/dist/{tvs.dtfusion-ON4BA4XJ.js.map → tvs.dtfusion-XV3UM2QG.js.map} +0 -0
  845. /package/dist/{tvs.dtitd-VFNROOWQ.js.map → tvs.dtitd-LKYJG4XK.js.map} +0 -0
  846. /package/dist/{tvs.dtsnvindel-ZXOP37T5.js.map → tvs.dtsnvindel-KFAQGI4H.js.map} +0 -0
  847. /package/dist/{tvs.dtsv-EUHPTW7J.js.map → tvs.dtsv-4NV4DRWC.js.map} +0 -0
  848. /package/dist/{tvs.multivalue-NHVXZNDI.js.map → tvs.multivalue-WSSBQ7K4.js.map} +0 -0
  849. /package/dist/{tvs.numeric-FPWDPO3J.js.map → tvs.numeric-OFA6L2TA.js.map} +0 -0
  850. /package/dist/{tvs.samplelst-ZZHRNUP4.js.map → tvs.samplelst-W6QKXHGF.js.map} +0 -0
  851. /package/dist/{tvs.survival-F3KSG3U6.js.map → tvs.survival-ESWYE4QM.js.map} +0 -0
  852. /package/dist/{tvs.termCollection-B37DZLDY.js.map → tvs.termCollection-3GOKKMKB.js.map} +0 -0
  853. /package/dist/{vocabulary-XNE5FFDK.js.map → vocabulary-6S6F2UAA.js.map} +0 -0
  854. /package/dist/{wsi.direct-3YH3QGQD.js.map → wsi.direct-ZAOVMG5X.js.map} +0 -0
@@ -0,0 +1,2661 @@
1
+ import {
2
+ manhattanLayoutDefaults,
3
+ plotManhattan
4
+ } from "./chunk-3BXY7XEV.js";
5
+ import {
6
+ VolcanoModel,
7
+ getGroupColors
8
+ } from "./chunk-RMLWQEWC.js";
9
+ import {
10
+ CCRE_TRACK_NAME
11
+ } from "./chunk-2JPHJFWZ.js";
12
+ import {
13
+ BACKGROUND_CORRECTION_TITLE,
14
+ DATermTypes,
15
+ DataPointInteractions,
16
+ GeneSetEditUI,
17
+ MultiTermWrapperEditUI,
18
+ PlotBase,
19
+ axisstyle,
20
+ controlsInit,
21
+ downloadTable,
22
+ drawHoverShapes,
23
+ enabledTermTypes,
24
+ fileDateStamp,
25
+ fillTermWrapper,
26
+ getCombinedTermFilter,
27
+ getDNAMethTermName,
28
+ getDNAMethUnit,
29
+ getDefaultVolcanoSettings,
30
+ getGEunit,
31
+ getGroupForRegion,
32
+ getSampleNum,
33
+ renderTable,
34
+ sayerror,
35
+ table2col,
36
+ to_svg,
37
+ validateVolcanoSettings
38
+ } from "./chunk-JP4IU7DO.js";
39
+ import "./chunk-HJ6L54YS.js";
40
+ import "./chunk-IRAB3OI7.js";
41
+ import {
42
+ Menu
43
+ } from "./chunk-CNFTQSNE.js";
44
+ import "./chunk-RIHO7ZD5.js";
45
+ import "./chunk-TVJOSRCH.js";
46
+ import "./chunk-3CIL7KH7.js";
47
+ import "./chunk-T4XPCSLP.js";
48
+ import {
49
+ HYPER_COLOR,
50
+ HYPO_COLOR,
51
+ dofetch3,
52
+ formatElapsedTime
53
+ } from "./chunk-4TJO2DGU.js";
54
+ import {
55
+ uiLabel
56
+ } from "./chunk-W5J3LTYS.js";
57
+ import "./chunk-MHWYRNGA.js";
58
+ import "./chunk-JHLF2ZC2.js";
59
+ import {
60
+ DMR_SCAN_ELEMENT_TYPE,
61
+ DNA_METHYLATION,
62
+ GENE_EXPRESSION,
63
+ JUNCTION,
64
+ PROTEOME_DAP,
65
+ SINGLECELL_CELLTYPE,
66
+ axisBottom,
67
+ axisLeft,
68
+ bplen
69
+ } from "./chunk-WJLRU5OF.js";
70
+ import {
71
+ copyMerge,
72
+ getCompInit
73
+ } from "./chunk-HBNB5TRH.js";
74
+ import "./chunk-PF4DSFDR.js";
75
+ import {
76
+ linear
77
+ } from "./chunk-4OLM3KSB.js";
78
+ import "./chunk-PWYMHUXY.js";
79
+ import {
80
+ roundValueAuto
81
+ } from "./chunk-TLT4YIG3.js";
82
+ import "./chunk-5R63Q5KH.js";
83
+ import {
84
+ selectAll_default,
85
+ select_default
86
+ } from "./chunk-I6Y4O3RR.js";
87
+ import {
88
+ rgb
89
+ } from "./chunk-Q5RDQNIT.js";
90
+ import "./chunk-HS5PO5ZQ.js";
91
+
92
+ // plots/volcano/promoterLabel.ts
93
+ function elementNoun(elementType) {
94
+ switch (elementType) {
95
+ case void 0:
96
+ case "":
97
+ case "promoter":
98
+ return { one: "Promoter", many: "promoters" };
99
+ /* Two different promoter DEFINITIONS, deliberately given distinct nouns. 'promoter' is
100
+ the TSS -1500/+500 window (Bibikova 2011 / Sandoval 2011 -- the 450K array's
101
+ TSS1500+TSS200 categories); 'promoter_pls' is the ENCODE cCRE promoter-like element,
102
+ ~349 bp, i.e. the CpG-island core with the shores removed. They cover different numbers
103
+ of genes and their hit counts are NOT comparable, so the UI must never call both
104
+ "promoters". */
105
+ case "promoter_pls":
106
+ return { one: "cCRE promoter", many: "cCRE promoters" };
107
+ case "eqtm_block":
108
+ return { one: "eQTM block", many: "eQTM blocks" };
109
+ case "enhancer":
110
+ return { one: "Enhancer", many: "enhancers" };
111
+ /* Distal and proximal are separate ENCODE classes and separate hypotheses -- dELS are
112
+ the intronic/intergenic enhancers where myeloma hypermethylation concentrates, pELS sit
113
+ within 2 kb of a TSS and behave more promoter-like. There are 4.5x as many dELS, so their
114
+ hit counts are not comparable to each other either. Naming them apart keeps a reader from
115
+ reading two runs as the same analysis. */
116
+ case "enhancer_distal":
117
+ return { one: "Distal enhancer", many: "distal enhancers" };
118
+ case "enhancer_proximal":
119
+ return { one: "Proximal enhancer", many: "proximal enhancers" };
120
+ // de novo regions called by the genome scan, not an annotated class at all
121
+ case DMR_SCAN_ELEMENT_TYPE:
122
+ return { one: "DMR", many: "DMRs" };
123
+ default:
124
+ return { one: "Element", many: "elements" };
125
+ }
126
+ }
127
+ function formatPromoterLabel(d) {
128
+ if (!d) return "";
129
+ const id = d.promoter_id || "";
130
+ const { chr, start, stop } = d;
131
+ if (!chr || !Number.isFinite(start) || !Number.isFinite(stop)) return id;
132
+ const region = `${chr}:${start}-${stop}`;
133
+ const idx = id.match(/\.(p\d+)_[^_]*:\d+-\d+$/);
134
+ return idx ? `${idx[1]} \xB7 ${region}` : region;
135
+ }
136
+
137
+ // plots/volcano/viewModel/VolcanoViewModel.ts
138
+ function shortenGroupName(name) {
139
+ if (name.length >= 25) return name.substring(0, 20) + "...";
140
+ return name;
141
+ }
142
+ var VolcanoViewModel = class {
143
+ constructor(config, response, settings) {
144
+ this.numSignificant = 0;
145
+ this.numNonSignificant = 0;
146
+ /** The significant count split by direction, from the server so it reflects every
147
+ * significant row rather than the maxInteractiveDots-capped `dots`. */
148
+ this.numSignificantUp = 0;
149
+ this.numSignificantDown = 0;
150
+ this.minLogFoldChange = 0;
151
+ this.maxLogFoldChange = 0;
152
+ //Used for the y axis domain
153
+ this.minLogPValue = 0;
154
+ this.maxLogPValue = 0;
155
+ //Unpadded extents — used for the visible axis labels/ticks (only span real data)
156
+ this.minLogFoldChangeAxis = 0;
157
+ this.maxLogFoldChangeAxis = 0;
158
+ this.minLogPValueAxis = 0;
159
+ this.maxLogPValueAxis = 0;
160
+ //Dot radius in pixels (from server) — overlay rings size to match the PNG
161
+ this.dotRadiusPx = 2;
162
+ //Used in place of 0 p values that cannot be log transformed
163
+ this.minNonZeroPValue = 1e-9;
164
+ this.offset = 10;
165
+ this.bottomPad = 60;
166
+ this.horizPad = 70;
167
+ this.topPad = 40;
168
+ this.config = config;
169
+ this.response = response;
170
+ this.plotX = this.horizPad + this.offset * 2;
171
+ this.dataRows = response.data.dots;
172
+ const { caseColor, controlColor } = getGroupColors(this.config);
173
+ const barplot = { colorNegative: controlColor, colorPositive: caseColor };
174
+ this.termType = config.termType;
175
+ this.scan = response.scan;
176
+ this.singlePValue = config.termType == DATermTypes.PROTEOME_DAP || !!this.scan;
177
+ this.pValueLabel = this.setPValueLabel(settings);
178
+ this.pValueTable = {
179
+ columns: [
180
+ // a scan's effect size is delta-beta; the fold change is a difference of logits
181
+ { label: this.scan ? "\u0394\u03B2" : "log\u2082(fold-change)", barplot, sortable: true },
182
+ // DAP files carry a single FDR (adjusted p-value) and a scan a single p; other term
183
+ // types report both a raw and an adjusted p-value.
184
+ ...this.singlePValue ? [{ label: this.pValueLabel, sortable: true }] : [
185
+ { label: "Original p-value", sortable: true },
186
+ { label: "Adjusted p-value", sortable: true }
187
+ ]
188
+ ],
189
+ /** Filled in setPointData(), one row per threshold-passing dot. Populated even when the
190
+ * table is hidden — the download reads it. */
191
+ rows: [],
192
+ rowKeys: /* @__PURE__ */ new Map(),
193
+ height: settings.height + this.topPad
194
+ };
195
+ this.settings = settings;
196
+ this.dataType = this.setDataType();
197
+ this.setMinMaxValues();
198
+ const plotDim = this.setPlotDimensions();
199
+ this.setPTableColumns();
200
+ const pointData = this.setPointData(plotDim, controlColor, caseColor);
201
+ const foldChangeIdx = this.pValueTable.columns.findIndex((c) => c.barplot);
202
+ this.pValueTable.rows.sort((a, b) => b[foldChangeIdx].value - a[foldChangeIdx].value);
203
+ this.viewData = {
204
+ images: response.images || [],
205
+ termInfo: this.setTermInfo(plotDim),
206
+ plotDim,
207
+ pointData,
208
+ pValueTableData: this.pValueTable,
209
+ statsData: this.setStatsData(),
210
+ scan: this.scan,
211
+ pValueLabel: this.pValueLabel,
212
+ singlePValue: this.singlePValue,
213
+ numSignificantUp: this.numSignificantUp,
214
+ numSignificantDown: this.numSignificantDown,
215
+ xOffset: this.response.data.xOffset ?? 0,
216
+ centered: !!this.response.data.centered,
217
+ provenance: this.setProvenance(),
218
+ userActions: this.setUserActions(),
219
+ deltaBetaAxisLabel: this.setDeltaBetaAxisLabel(),
220
+ deltaPsiAxisLabel: this.setDeltaPsiAxisLabel(),
221
+ volcanoPng: response.data.volcanoPng,
222
+ plotExtent: response.data.plotExtent
223
+ };
224
+ }
225
+ /* The delta-beta axis used to read "Δβ (case − control)". Those are positional roles, not
226
+ names, so the plot showed the size of an effect but not its direction -- you had to already
227
+ know which group landed in which slot, or open a downloaded file and read the provenance line.
228
+ Name the groups instead, in subtraction order (case first), so the axis states what it plots.
229
+
230
+ Returns undefined when the group names are not available; the view falls back to the old
231
+ wording rather than rendering a broken label. */
232
+ setDeltaBetaAxisLabel() {
233
+ const groups = this.config?.samplelst?.groups;
234
+ const control = groups?.[0]?.name;
235
+ const cases = groups?.[1]?.name;
236
+ if (!control || !cases) return void 0;
237
+ const centered = this.response.data.centered ? " \u2212 median" : "";
238
+ return `\u0394\u03B2${centered} (${shortenGroupName(cases)} \u2212 ${shortenGroupName(control)})`;
239
+ }
240
+ // same as setDeltaBetaAxisLabel, for ΔPSI
241
+ setDeltaPsiAxisLabel() {
242
+ const groups = this.config?.samplelst?.groups;
243
+ const control = groups?.[0]?.name;
244
+ const cases = groups?.[1]?.name;
245
+ if (!control || !cases) return void 0;
246
+ return `\u0394PSI (${shortenGroupName(cases)} \u2212 ${shortenGroupName(control)})`;
247
+ }
248
+ /** What the y axis and the p column are called. Named here once so the axis, the table header,
249
+ * the hover rows and the multi-hit table cannot disagree. */
250
+ setPValueLabel(settings) {
251
+ if (this.termType == DATermTypes.PROTEOME_DAP) return "FDR";
252
+ if (this.scan) return this.scan.backgroundCorrection ? "p vs matched background" : "smoothed FDR";
253
+ return `${settings.pValueType} p-value`;
254
+ }
255
+ setDataType() {
256
+ if (this.termType == DATermTypes.GENE_EXPRESSION) return "genes";
257
+ if (this.termType == DATermTypes.DNA_METHYLATION) return elementNoun(this.settings?.elementType).many;
258
+ if (this.termType == DATermTypes.JUNCTION) return "clusters";
259
+ if (this.termType == DATermTypes.SINGLECELL_CELLTYPE) return "genes";
260
+ if (this.termType == DATermTypes.PROTEOME_DAP) return "proteins";
261
+ if (this.termType == DATermTypes.SINGLECELL_GENE_EXPRESSION) return "cells";
262
+ throw new Error(`Unknown termType: ${this.termType}`);
263
+ }
264
+ setMinMaxValues() {
265
+ const ext = this.response.data.plotExtent;
266
+ this.minLogFoldChange = ext.xMin;
267
+ this.maxLogFoldChange = ext.xMax;
268
+ this.minLogPValue = ext.yMin;
269
+ this.maxLogPValue = ext.yMax;
270
+ this.minLogFoldChangeAxis = ext.xMinUnpadded;
271
+ this.maxLogFoldChangeAxis = ext.xMaxUnpadded;
272
+ this.minLogPValueAxis = ext.yMinUnpadded;
273
+ this.maxLogPValueAxis = ext.yMaxUnpadded;
274
+ this.dotRadiusPx = ext.dotRadiusPx;
275
+ if (ext.minNonZeroPValue > 0) this.minNonZeroPValue = ext.minNonZeroPValue;
276
+ }
277
+ setPlotDimensions() {
278
+ const ext = this.response.data.plotExtent;
279
+ const plotW = ext.pixelWidth;
280
+ const plotH = ext.pixelHeight;
281
+ const xPlotScale = linear().domain([this.minLogFoldChange, this.maxLogFoldChange]).range([0, plotW]);
282
+ const yPlotScale = linear().domain([this.minLogPValue, this.maxLogPValue]).range([plotH, 0]);
283
+ const xScale = linear().domain([this.minLogFoldChangeAxis, this.maxLogFoldChangeAxis]).range([xPlotScale(this.minLogFoldChangeAxis), xPlotScale(this.maxLogFoldChangeAxis)]);
284
+ const yScale = linear().domain([this.minLogPValueAxis, this.maxLogPValueAxis]).range([yPlotScale(this.minLogPValueAxis), yPlotScale(this.maxLogPValueAxis)]);
285
+ return {
286
+ svg: {
287
+ //20 is for the term info above the plot
288
+ height: plotH + this.topPad + this.bottomPad * 2 + this.offset * 3,
289
+ width: plotW + this.horizPad * 2
290
+ },
291
+ top: {
292
+ x: this.plotX,
293
+ y: 5
294
+ },
295
+ xAxisLabel: {
296
+ x: this.horizPad + plotW / 2 + this.offset,
297
+ y: this.topPad + plotH + this.bottomPad + this.offset
298
+ },
299
+ xScale: {
300
+ scale: xScale,
301
+ x: this.plotX,
302
+ y: plotH + this.topPad + this.offset * 2
303
+ },
304
+ yAxisLabel: {
305
+ text: `-log10(${this.pValueLabel})`,
306
+ x: this.horizPad / 3,
307
+ y: this.topPad + plotH / 2
308
+ },
309
+ yScale: {
310
+ scale: yScale,
311
+ x: this.horizPad,
312
+ y: this.topPad
313
+ },
314
+ plot: {
315
+ height: plotH,
316
+ width: plotW,
317
+ x: this.plotX,
318
+ y: this.topPad
319
+ },
320
+ logFoldChangeLine: {
321
+ x: xPlotScale(0) + this.plotX,
322
+ y1: this.topPad,
323
+ y2: plotH + this.offset * 4
324
+ },
325
+ xPlotScale,
326
+ yPlotScale
327
+ };
328
+ }
329
+ setTermInfo(plotDim) {
330
+ if (!enabledTermTypes.has(this.termType)) return;
331
+ if (this.termType == DATermTypes.PROTEOME_DAP) {
332
+ return {
333
+ y: plotDim.top.y + 10,
334
+ first: {
335
+ label: shortenGroupName(`Control (${this.response.sample_size1})`),
336
+ x: 0
337
+ },
338
+ second: {
339
+ label: shortenGroupName(`Case (${this.response.sample_size2})`),
340
+ x: this.settings.width
341
+ }
342
+ };
343
+ }
344
+ if (this.termType == DATermTypes.SINGLECELL_CELLTYPE) {
345
+ const groupLabel = `${this.config.termId} ${this.config.categoryName}`;
346
+ return {
347
+ y: plotDim.top.y + 10,
348
+ first: {
349
+ label: shortenGroupName(`Not in ${groupLabel}`),
350
+ x: 0
351
+ },
352
+ second: {
353
+ label: shortenGroupName(groupLabel),
354
+ x: this.settings.width
355
+ }
356
+ };
357
+ }
358
+ return {
359
+ //Set slightly above the plot
360
+ y: plotDim.top.y + 10,
361
+ first: {
362
+ // color: controlColor || this.settings.defaultSignColor,
363
+ label: shortenGroupName(`${this.config.samplelst.groups[0].name} (${this.response.sample_size1})`),
364
+ x: 0
365
+ // rectX: this.settings.width/2 - 10,
366
+ },
367
+ second: {
368
+ // color: caseColor || this.settings.defaultSignColor,
369
+ label: shortenGroupName(`${this.config.samplelst.groups[1].name} (${this.response.sample_size2})`),
370
+ x: this.settings.width
371
+ // rectX: this.settings.width/2 + 10,
372
+ }
373
+ };
374
+ }
375
+ setPointData(_plotDim, controlColor, caseColor) {
376
+ const radius = this.dotRadiusPx;
377
+ this.pValueTable.rows = [];
378
+ this.pValueTable.rowKeys.clear();
379
+ const dataCopy = structuredClone(this.dataRows);
380
+ for (const d of dataCopy) {
381
+ const highlightKey = this.termType === DATermTypes.DNA_METHYLATION ? d.promoter_id : this.termType === DATermTypes.JUNCTION ? d.cluster_id : d.gene_name;
382
+ d.highlighted = this.config?.highlightedData?.includes(highlightKey);
383
+ d.significant = true;
384
+ this.getGenesColor(d, d.significant, controlColor, caseColor);
385
+ if (d.significant) {
386
+ this.numSignificant++;
387
+ const row = this.singlePValue ? [
388
+ { value: roundValueAuto(this.scan ? d.delta_beta : d.fold_change) },
389
+ { value: roundValueAuto(d.original_p_value) }
390
+ ] : [
391
+ { value: roundValueAuto(d.fold_change) },
392
+ { value: roundValueAuto(d.original_p_value) },
393
+ { value: d.adjusted_p_value != void 0 ? roundValueAuto(d.adjusted_p_value) : "" }
394
+ ];
395
+ if (this.termType == DATermTypes.DNA_METHYLATION) {
396
+ if (this.scan) {
397
+ row.splice(
398
+ 1,
399
+ 0,
400
+ // fold_change carries the peak per-CpG delta-beta on a scan row
401
+ { value: roundValueAuto(d.fold_change) },
402
+ { value: d.no_cpgs },
403
+ { value: d.stop - d.start },
404
+ ...this.scan.backgroundCorrection ? [{ value: d.excess == null ? "" : roundValueAuto(d.excess) }] : []
405
+ );
406
+ } else {
407
+ row.splice(
408
+ 1,
409
+ 0,
410
+ { value: roundValueAuto(d.delta_beta) },
411
+ { value: roundValueAuto(d.mean_beta_control) },
412
+ { value: roundValueAuto(d.mean_beta_case) }
413
+ );
414
+ }
415
+ row.splice(0, 0, { value: formatPromoterLabel(d) }, { value: d.gene_name || "" });
416
+ } else if (this.termType == DATermTypes.JUNCTION) {
417
+ row[0] = { value: roundValueAuto(d.delta_psi) };
418
+ row.splice(
419
+ 1,
420
+ 0,
421
+ { value: roundValueAuto(d.psi_control) },
422
+ { value: roundValueAuto(d.psi_case) },
423
+ { value: d.n_junc }
424
+ );
425
+ row.splice(0, 0, { value: d.cluster_id }, { value: d.genes || "" });
426
+ } else if (this.termType == DATermTypes.PROTEOME_DAP) {
427
+ row.splice(0, 0, { value: d.gene_name || "" }, { value: d.gene || "" });
428
+ } else {
429
+ row.splice(0, 0, { value: d.gene_name || "" });
430
+ }
431
+ this.pValueTable.rows.push(row);
432
+ this.pValueTable.rowKeys.set(row, highlightKey);
433
+ } else {
434
+ this.numNonSignificant++;
435
+ }
436
+ d.x = d.pixel_x + this.plotX;
437
+ d.y = d.pixel_y + this.topPad;
438
+ d.radius = radius;
439
+ }
440
+ this.numSignificant = this.response.data.totalSignificantRows;
441
+ this.numNonSignificant = Math.max(0, this.response.data.totalRows - this.numSignificant);
442
+ this.numSignificantUp = this.response.data.totalSignificantUp ?? 0;
443
+ this.numSignificantDown = this.response.data.totalSignificantDown ?? 0;
444
+ dataCopy.sort((a, b) => a.highlighted - b.highlighted);
445
+ return dataCopy;
446
+ }
447
+ getGenesColor(d, significant, controlColor, caseColor) {
448
+ if (!d.gene_name && this.termType != DATermTypes.DNA_METHYLATION && this.termType != DATermTypes.JUNCTION)
449
+ throw new Error(`Missing gene_name in data: ${JSON.stringify(d)}`);
450
+ if (significant) {
451
+ const x = this.termType == DATermTypes.JUNCTION ? d.delta_psi : this.termType == DATermTypes.DNA_METHYLATION && this.settings.xAxis === "delta_beta" ? d.delta_beta - (this.response.data.xOffset ?? 0) : d.fold_change;
452
+ if (controlColor && caseColor) d.color = x > 0 ? caseColor : controlColor;
453
+ else d.color = this.settings.defaultSignColor;
454
+ } else d.color = this.settings.defaultNonSignColor;
455
+ }
456
+ /** One line describing what produced this result: which groups, how many samples actually
457
+ * entered the model, and every setting that changes the numbers.
458
+ *
459
+ * This exists because an exported table is the artifact that outlives the session. Re-running
460
+ * a contrast months later and getting different counts is impossible to diagnose when the
461
+ * original run's group sizes and options were never written down anywhere -- the file, the
462
+ * screenshot and the memory of it all look identical regardless of how it was configured.
463
+ * Only settings that can change the result are listed; cosmetic ones are deliberately left
464
+ * out so the line stays readable and a difference in it always means a real difference. */
465
+ setProvenance() {
466
+ const s = this.settings;
467
+ const parts = [];
468
+ if (this.config.samplelst?.groups?.length == 2) {
469
+ const [g1, g2] = this.config.samplelst.groups;
470
+ parts.push(`group1 (control) "${g1.name}" n=${this.response.sample_size1}`);
471
+ parts.push(`group2 (case) "${g2.name}" n=${this.response.sample_size2}`);
472
+ }
473
+ const conf = this.config.confounderTws?.map((t) => t?.term?.name || t?.term?.id).filter(Boolean);
474
+ parts.push(`confounders: ${conf?.length ? conf.join(" + ") : "none"}`);
475
+ if (this.termType == DATermTypes.DNA_METHYLATION) {
476
+ parts.push(`element class: ${s.elementType || "promoter"}`);
477
+ parts.push(`x axis: ${s.xAxis === "delta_beta" ? "delta-beta" : "log2(fold-change)"}`);
478
+ const off = this.response.data.xOffset ?? 0;
479
+ if (this.response.data.centered)
480
+ parts.push(`centered on median delta-beta ${off > 0 ? "+" : ""}${roundValueAuto(off)}`);
481
+ if (this.scan) {
482
+ parts.push(`scan: ${s.scanChromosome || "whole genome"}`);
483
+ parts.push(`background correction: ${s.backgroundCorrection ? "yes" : "no"}`);
484
+ parts.push(`min CpGs per DMR: ${s.minCpgs}`);
485
+ } else parts.push(`min samples per group: ${s.minSamplesPerGroup}`);
486
+ parts.push(`exclude sex chromosomes: ${s.excludeSexChr ? "yes" : "no"}`);
487
+ } else if (this.termType == DATermTypes.GENE_EXPRESSION) {
488
+ parts.push(`method: ${s.method}`);
489
+ } else if (this.termType == DATermTypes.JUNCTION) {
490
+ parts.push(`method: ${this.response.method || s.method}`);
491
+ parts.push(`min samples per intron: ${s.minSamplesPerIntron}; min samples per group: ${s.minSamplesPerGroup}`);
492
+ parts.push(`min counts per cluster: ${s.minCountsPerCluster}`);
493
+ }
494
+ const onDeltaBeta = this.termType == DATermTypes.DNA_METHYLATION && s.xAxis === "delta_beta";
495
+ const effect = this.termType == DATermTypes.JUNCTION ? `|delta-PSI| > ${s.deltaPsiCutoff}` : onDeltaBeta ? `|delta-beta| > ${s.deltaBetaCutoff}` : `|log2(fold-change)| > ${s.foldChangeCutoff}`;
496
+ parts.push(`significance: ${s.pValueType} p < ${roundValueAuto(Math.pow(10, -s.pValue))}, ${effect}`);
497
+ return parts.join("; ");
498
+ }
499
+ setStatsData() {
500
+ const tableRows = [
501
+ {
502
+ label: `Percentage of significant ${this.dataType}`,
503
+ value: roundValueAuto(this.numSignificant * 100 / (this.numSignificant + this.numNonSignificant))
504
+ },
505
+ {
506
+ label: `Number of significant ${this.dataType}`,
507
+ value: this.numSignificant
508
+ },
509
+ {
510
+ label: `Number of total ${this.dataType}`,
511
+ value: this.numSignificant + this.numNonSignificant
512
+ }
513
+ ];
514
+ if (this.termType == DATermTypes.GENE_EXPRESSION || this.termType == DATermTypes.DNA_METHYLATION || this.termType == DATermTypes.JUNCTION) {
515
+ tableRows.push(
516
+ {
517
+ label: this.config.samplelst.groups[0].name + " sample size (control group)",
518
+ value: this.response.sample_size1
519
+ },
520
+ {
521
+ label: this.config.samplelst.groups[1].name + " sample size (case group)",
522
+ value: this.response.sample_size2
523
+ }
524
+ );
525
+ } else if (this.termType == DATermTypes.PROTEOME_DAP) {
526
+ tableRows.push(
527
+ {
528
+ label: "Control sample size",
529
+ value: this.response.sample_size1
530
+ },
531
+ {
532
+ label: "Case sample size",
533
+ value: this.response.sample_size2
534
+ }
535
+ );
536
+ }
537
+ if (this.response.bcv !== void 0 && this.response.bcv !== null) {
538
+ tableRows.push({
539
+ label: "Biological coefficient of variation",
540
+ value: roundValueAuto(this.response.bcv)
541
+ });
542
+ }
543
+ if (this.scan) tableRows.push(...this.setScanStats(this.scan));
544
+ return tableRows;
545
+ }
546
+ /* The whole-scan facts, every one of them over the scan as returned -- before the volcano's
547
+ thresholds -- and over the same set of DMRs (those meeting the CpG floor), so no two lines here
548
+ have different denominators. The counts the thresholds select are the three rows above. */
549
+ setScanStats(s) {
550
+ const rows = [
551
+ { label: "Chromosomes scanned", value: s.chromosomes.length },
552
+ { label: "CpGs analyzed", value: s.totalProbesAnalyzed },
553
+ { label: "DMRs called", value: s.called },
554
+ { label: `DMRs with ${s.minCpgs}+ CpGs`, value: s.kept },
555
+ { label: "Hypermethylated", value: s.hyper },
556
+ { label: "Hypomethylated", value: s.hypo }
557
+ ];
558
+ if (s.width)
559
+ rows.push({
560
+ label: "DMR width, median (IQR)",
561
+ value: `${bplen(s.width.median)} (${bplen(s.width.q1)} \u2013 ${bplen(s.width.q3)})`
562
+ });
563
+ if (s.regionMask)
564
+ rows.push({
565
+ label: `DMRs removed by artifact mask (${s.regionMask.sources.join(", ")}; \u2265${Math.round(
566
+ s.regionMask.overlapFrac * 100
567
+ )}% masked)`,
568
+ value: s.regionMask.dmrsDropped
569
+ });
570
+ const gm = s.globalMethylation;
571
+ if (gm) {
572
+ const [g1, g2] = this.config.samplelst?.groups?.map((g) => g.name) || ["group 1", "group 2"];
573
+ const one = s.chromosomes.length == 1 ? s.chromosomes[0] : null;
574
+ const meanLabel = (g) => one ? `${g} mean \u03B2 on ${one}` : `${g} genome-wide mean \u03B2`;
575
+ rows.push(
576
+ { label: meanLabel(g1), value: gm.controlMeanBeta.toFixed(4) },
577
+ { label: meanLabel(g2), value: gm.caseMeanBeta.toFixed(4) },
578
+ {
579
+ label: one ? `\u03B2 shift on ${one} (case \u2212 control)` : "Genome-wide \u03B2 shift (case \u2212 control)",
580
+ value: `${gm.shift >= 0 ? "+" : ""}${gm.shift.toFixed(4)}`
581
+ }
582
+ );
583
+ }
584
+ const bc = s.backgroundCorrection;
585
+ if (bc) {
586
+ rows.push(
587
+ { label: "Intergenic background windows sampled", value: bc.windows },
588
+ { label: `DMRs scored against background (matched on ${bc.matchedOn.join(" and ")})`, value: bc.scored },
589
+ { label: "DMRs unscored: stratum too thin (not plotted)", value: bc.unscored },
590
+ {
591
+ label: "DMRs moving more than matched background (p < 0.05)",
592
+ value: `${bc.significant.toLocaleString()} of ${bc.scored.toLocaleString()} (${(100 * bc.significant / Math.max(1, bc.scored)).toFixed(1)}%)`
593
+ }
594
+ );
595
+ }
596
+ if (s.geneBodyLoss)
597
+ rows.push({
598
+ // the correction adds the background gate, so the label must say which set this is
599
+ label: s.backgroundCorrection ? "Gene-body loss regions beating background \u2192 genes" : "Gene-body loss regions \u2192 genes",
600
+ value: `${s.geneBodyLoss.regions.toLocaleString()} \u2192 ${s.geneBodyLoss.genes.length.toLocaleString()}`
601
+ });
602
+ const pf = s.profileSummary;
603
+ if (pf) {
604
+ const pct = (v) => `${(100 * v).toFixed(1)}%`;
605
+ rows.push(
606
+ {
607
+ label: `Methylome profile: ${pf.bins.toLocaleString()} bins measured`,
608
+ value: `${pct(pf.fractionHyper)} hyper`
609
+ },
610
+ {
611
+ label: "Methylome profile: per-bin \u0394\u03B2, median (IQR)",
612
+ value: `${pf.median >= 0 ? "+" : ""}${pf.median.toFixed(4)} (${pf.q1.toFixed(4)} \u2013 ${pf.q3.toFixed(4)})`
613
+ },
614
+ { label: "Methylome profile: bins moving |\u0394\u03B2| > 0.05", value: pct(pf.fractionBeyond05) },
615
+ { label: "Methylome profile: bins moving |\u0394\u03B2| > 0.10", value: pct(pf.fractionBeyond10) }
616
+ );
617
+ }
618
+ const r = s.resources;
619
+ if (r) {
620
+ const top = r.perChromosome[0];
621
+ rows.push(
622
+ {
623
+ label: "Compute: workers \xD7 threads",
624
+ value: `${r.workers} \xD7 ${r.threadsPerWorker} (${r.workers * r.threadsPerWorker} core${r.workers * r.threadsPerWorker == 1 ? "" : "s"})`
625
+ },
626
+ { label: "Compute: wall time", value: `${(r.wallMs / 1e3).toFixed(1)} s` },
627
+ {
628
+ label: "Compute: peak memory per worker",
629
+ value: `${Math.round(r.peakWorkerMemoryMb).toLocaleString()} MB${top ? ` (${top.chr}, ${top.probes.toLocaleString()} CpGs)` : ""}`
630
+ },
631
+ { label: "Compute: peak memory, worker pool", value: `${Math.round(r.peakPoolMemoryMb).toLocaleString()} MB` },
632
+ { label: "Compute: worker CPU time", value: `${r.workerCpuSeconds.toFixed(1)} s` },
633
+ {
634
+ label: "Compute: server process",
635
+ value: `+${Math.round(r.nodeRssDeltaMb).toLocaleString()} MB, ${r.nodeCpuSeconds.toFixed(1)} s CPU`
636
+ }
637
+ );
638
+ }
639
+ return rows;
640
+ }
641
+ setPTableColumns() {
642
+ if (this.termType == DATermTypes.DNA_METHYLATION) {
643
+ if (this.scan) {
644
+ this.pValueTable.columns.splice(
645
+ 1,
646
+ 0,
647
+ { label: "Peak \u0394\u03B2", sortable: true },
648
+ { label: "CpGs", sortable: true },
649
+ { label: "Width (bp)", sortable: true },
650
+ ...this.scan.backgroundCorrection ? [{ label: "Excess \u0394\u03B2", sortable: true }] : []
651
+ );
652
+ } else {
653
+ this.pValueTable.columns.splice(
654
+ 1,
655
+ 0,
656
+ { label: "\u0394\u03B2", sortable: true },
657
+ { label: "Mean \u03B2 (group 1)", sortable: true },
658
+ { label: "Mean \u03B2 (group 2)", sortable: true }
659
+ );
660
+ }
661
+ this.pValueTable.columns.splice(
662
+ 0,
663
+ 0,
664
+ { label: elementNoun(this.settings?.elementType).one, sortable: true },
665
+ { label: "Gene(s)", sortable: true }
666
+ );
667
+ } else if (this.termType == DATermTypes.JUNCTION) {
668
+ this.pValueTable.columns[0].label = "\u0394PSI";
669
+ this.pValueTable.columns.splice(
670
+ 1,
671
+ 0,
672
+ { label: "PSI (group 1)", sortable: true },
673
+ { label: "PSI (group 2)", sortable: true },
674
+ { label: "Junctions", sortable: true }
675
+ );
676
+ this.pValueTable.columns.splice(0, 0, { label: "Cluster", sortable: true }, { label: "Gene(s)", sortable: true });
677
+ } else if (this.termType == DATermTypes.PROTEOME_DAP) {
678
+ this.pValueTable.columns.splice(0, 0, { label: "Identifier", sortable: true }, { label: "Gene", sortable: true });
679
+ } else {
680
+ this.pValueTable.columns.splice(0, 0, { label: "Gene Name", sortable: true });
681
+ }
682
+ }
683
+ setUserActions() {
684
+ const userActions = {
685
+ noShow: /* @__PURE__ */ new Set()
686
+ };
687
+ if (this.scan) userActions.noShow.add("Confounding factors");
688
+ if (this.termType == DATermTypes.GENE_EXPRESSION) {
689
+ if (this.settings.method == "edgeR" && getSampleNum(this.config) > 100) {
690
+ userActions.noShow.add("Confounding factors");
691
+ }
692
+ if (this.settings.method == "wilcoxon") userActions.noShow.add("Confounding factors");
693
+ }
694
+ return userActions;
695
+ }
696
+ };
697
+
698
+ // plots/volcano/groupColors.ts
699
+ function groupColors(config) {
700
+ const g = config?.samplelst?.groups;
701
+ if (!g?.length) return {};
702
+ const values = config?.tw?.term?.values;
703
+ const pick = (i) => values?.[g[i]?.name]?.color || g[i]?.color;
704
+ const out = {};
705
+ const c1 = pick(0);
706
+ const c2 = pick(1);
707
+ if (c1) out.group1 = c1;
708
+ if (c2) out.group2 = c2;
709
+ return out;
710
+ }
711
+
712
+ // plots/volcano/interactions/VolcanoInteractions.ts
713
+ var VolcanoInteractions = class {
714
+ constructor(app, id, dom) {
715
+ this.app = app;
716
+ this.dom = dom;
717
+ this.id = id;
718
+ this.pValueTableData = [];
719
+ this.data = [];
720
+ this.totalSignificantRows = 0;
721
+ this.provenance = "";
722
+ }
723
+ /** Launches a multi-term select tree
724
+ * On submit, dispatches a plot_edit action with the new confounders */
725
+ async confoundersMenu() {
726
+ const state = this.app.getState();
727
+ const config = state.plots.find((p) => p.id === this.id);
728
+ if (config.termType !== GENE_EXPRESSION && config.termType !== DNA_METHYLATION) return;
729
+ const allowedGroupNames = /* @__PURE__ */ new Set([config.samplelst.groups[0].name, config.samplelst.groups[1].name]);
730
+ const grpTerms = new Set(
731
+ (this.app?.vocabApi?.state.groups || []).filter((g) => allowedGroupNames.has(g.name)).flatMap(
732
+ (g) => g.filter.lst.flatMap((f) => {
733
+ if (f.tvs?.term) return f.tvs.term;
734
+ else return f.lst.map((l) => l.tvs.term);
735
+ })
736
+ )
737
+ );
738
+ const disable_terms = grpTerms.size ? Array.from(grpTerms) : [];
739
+ const maxNum = config.settings.volcano.method == "edgeR" ? 1 : 2;
740
+ const ui = new MultiTermWrapperEditUI({
741
+ app: this.app,
742
+ callback: async (tws) => {
743
+ this.dom.actionsTip.hide();
744
+ await this.app.dispatch({
745
+ type: "plot_edit",
746
+ id: this.id,
747
+ config: { confounderTws: tws }
748
+ });
749
+ },
750
+ holder: this.dom.actionsTip.d,
751
+ headerText: "Select confounders",
752
+ maxNum,
753
+ state,
754
+ twList: config.confounderTws,
755
+ disable_terms
756
+ });
757
+ await ui.renderUI();
758
+ }
759
+ download(termType) {
760
+ this.dom.actionsTip.clear().showunder(this.dom.controls.select("div").node());
761
+ const opts = [
762
+ {
763
+ text: "Download plot",
764
+ callback: () => {
765
+ const svg = this.dom.holder.select("svg").node();
766
+ to_svg(svg, `Differential ${termType} analysis volcano`, { apply_dom_styles: true });
767
+ }
768
+ },
769
+ {
770
+ // DAP volcanoes report a single FDR rather than a p-value.
771
+ text: termType === PROTEOME_DAP ? "Download FDR table" : "Download p-value table",
772
+ callback: (itemDiv) => this.downloadPvalueTable(termType, itemDiv)
773
+ }
774
+ ];
775
+ for (const opt of opts) {
776
+ const itemDiv = this.dom.actionsTip.d.append("div").attr("class", "sja_menuoption").text(opt.text);
777
+ itemDiv.on("click", () => opt.callback(itemDiv));
778
+ }
779
+ }
780
+ /* The interactive table only holds the most-significant maxInteractiveDots rows, because the
781
+ dot overlay has to stay responsive. The download has no such constraint, so it should be the
782
+ COMPLETE set of significant rows: when the two differ, re-request with the cap lifted and write
783
+ those rows instead.
784
+
785
+ That second request is cheap. volcanoRender is deliberately not part of the DA cache key (see
786
+ dmKeyInputs in server/routes/termdb.diffMeth.ts), so lifting the cap re-uses the cached R result
787
+ and pays only for a re-render.
788
+
789
+ If the re-request fails the download still happens, with the capped rows and a note saying so --
790
+ losing the file entirely would be a worse outcome than a disclosed subset. */
791
+ async downloadPvalueTable(termType, itemDiv) {
792
+ const date = fileDateStamp();
793
+ const label = termType === PROTEOME_DAP ? "fdr" : "p-value";
794
+ let { rows, columns } = this.pValueTableData;
795
+ let subsetNote;
796
+ 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}).`;
797
+ if (this.totalSignificantRows > rows.length) {
798
+ if (!this.fetchAllRows) subsetNote = cappedNote("complete set unavailable");
799
+ else {
800
+ const restore = itemDiv?.text();
801
+ itemDiv?.text(`Preparing ${this.totalSignificantRows.toLocaleString()} rows...`);
802
+ try {
803
+ const full = await this.fetchAllRows();
804
+ rows = full.rows;
805
+ columns = full.columns;
806
+ } catch (e) {
807
+ subsetNote = cappedNote(`could not retrieve the complete set: ${e?.message || e}`);
808
+ } finally {
809
+ if (restore) itemDiv?.text(restore);
810
+ }
811
+ }
812
+ }
813
+ const note = [subsetNote, this.provenance && `Run: ${this.provenance}`].filter(Boolean).join(" | ");
814
+ downloadTable(rows, columns, `${label}-table-${date}.tsv`, note || void 0);
815
+ }
816
+ async highlightDataPoint(value) {
817
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
818
+ const highlightedData = config.highlightedData.includes(value) ? config.highlightedData.filter((d) => d !== value) : [...config.highlightedData, value];
819
+ await this.app.dispatch({
820
+ type: "plot_edit",
821
+ id: this.id,
822
+ config: { highlightedData }
823
+ });
824
+ }
825
+ /** When clicking on a data point, launches the box plot in a separate sandbox
826
+ * For geneExpression, value == gene symbol */
827
+ launchBoxPlot(value) {
828
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
829
+ const values = {};
830
+ for (const group of config.samplelst.groups) {
831
+ values[group.name] = {
832
+ key: group.name,
833
+ label: group.name,
834
+ list: group.values
835
+ };
836
+ }
837
+ const setTerm = () => {
838
+ if (config.termType == GENE_EXPRESSION) {
839
+ return {
840
+ q: { mode: "continuous" },
841
+ term: {
842
+ gene: value,
843
+ name: value,
844
+ type: config.termType
845
+ }
846
+ };
847
+ } else return config.term;
848
+ };
849
+ this.app.dispatch({
850
+ type: "plot_create",
851
+ config: {
852
+ chartType: "summary",
853
+ childType: "boxplot",
854
+ term: setTerm(),
855
+ term2: {
856
+ q: { groups: config.tw.q.groups, type: "custom-samplelst" },
857
+ term: config.tw.term
858
+ }
859
+ }
860
+ });
861
+ }
862
+ /** Launch a violin plot for a gene expression data point. */
863
+ launchViolinGeneExp(value) {
864
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
865
+ this.app.dispatch({
866
+ type: "plot_create",
867
+ config: {
868
+ chartType: "summary",
869
+ childType: "violin",
870
+ term: {
871
+ q: { mode: "continuous" },
872
+ term: {
873
+ gene: value,
874
+ name: value,
875
+ type: config.termType
876
+ }
877
+ },
878
+ term2: {
879
+ q: { groups: config.tw.q.groups, type: "custom-samplelst" },
880
+ term: config.tw.term
881
+ }
882
+ }
883
+ });
884
+ }
885
+ launchGeneSetEdit() {
886
+ const plotConfig = this.app.getState().plots.find((p) => p.id === this.id);
887
+ const holder = this.dom.actionsTip.d.append("div").style("padding", "5px");
888
+ const limitedGenesList = plotConfig.termType === DNA_METHYLATION ? this.data.map((d) => d.promoter_id) : this.data.map((d) => d.gene_name);
889
+ new GeneSetEditUI({
890
+ holder,
891
+ genome: this.app.opts.genome,
892
+ vocabApi: this.app.vocabApi,
893
+ limitedGenesList,
894
+ geneList: plotConfig.highlightedData.map((d) => {
895
+ return { gene: d };
896
+ }),
897
+ customInputs: [
898
+ {
899
+ label: "Cancel highlight",
900
+ getDisplayStyle: () => plotConfig.highlightedData.length > 0 ? "" : "none",
901
+ showInput: async () => {
902
+ await this.app.dispatch({
903
+ type: "plot_edit",
904
+ id: this.id,
905
+ config: { highlightedData: [] }
906
+ });
907
+ this.dom.actionsTip.hide();
908
+ }
909
+ }
910
+ ],
911
+ callback: async (result) => {
912
+ const highlightedData = result.geneList.map((d) => d.gene);
913
+ await this.app.dispatch({
914
+ type: "plot_edit",
915
+ id: this.id,
916
+ config: { highlightedData }
917
+ });
918
+ this.dom.actionsTip.hide();
919
+ }
920
+ });
921
+ }
922
+ /** When clicking on a DM data point, dispatches a DMR plot that runs DMRCate
923
+ * analysis and renders a genome browser Block with DMR regions on their own
924
+ * track. */
925
+ async launchDmr(d, dmrSettings = {}) {
926
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
927
+ const colors = groupColors(config);
928
+ const label = d.promoterId || `${d.chr}:${d.start}-${d.stop}`;
929
+ const dmrConfig = {
930
+ chartType: "dmr",
931
+ headerText: `DMR: ${label}`,
932
+ coordinateOverride: { chr: d.chr, start: d.start, stop: d.stop },
933
+ // the samples of each group, or the filter of a group that is defined by one
934
+ group1: getGroupForRegion(config.samplelst.groups[0]),
935
+ group2: getGroupForRegion(config.samplelst.groups[1]),
936
+ group1Name: config.samplelst.groups[0].name,
937
+ group2Name: config.samplelst.groups[1].name,
938
+ /* Which element matrix to drill into, for a dataset whose methylation is element-level
939
+ only. The server ignores it when the dataset has a CpG-level matrix, which is finer. The
940
+ scan is not a matrix, so a region opened from a scan names none and the server picks. */
941
+ elementType: config?.settings?.volcano?.elementType == DMR_SCAN_ELEMENT_TYPE ? void 0 : config?.settings?.volcano?.elementType,
942
+ settings: { colors, ...dmrSettings }
943
+ };
944
+ this.app.dispatch({
945
+ type: "plot_create",
946
+ config: dmrConfig
947
+ });
948
+ }
949
+ /* Open a genome browser on a scan's DMR, with the scan's own DMRs as a track. The scan wrote
950
+ every DMR it called to a bedj file in the server's cache (at the CpG floor the volcano counts
951
+ at), so the track is an ordinary file tk: the browser reads whatever region is in view from it,
952
+ including after the reader types another position into the search box. Opened on the DMR with
953
+ room either side. */
954
+ async launchScanGenomeBrowser(d, scan) {
955
+ const tracks = [];
956
+ const ccre = (this.app.opts.genome?.tracks || []).find((t) => t.name == CCRE_TRACK_NAME);
957
+ if (ccre) tracks.push(structuredClone(ccre));
958
+ if (scan.bedjFile) {
959
+ tracks.push({
960
+ type: "bedj",
961
+ name: "Scan DMRs",
962
+ // the file is under the server's bedj cache dir, not the tp dir
963
+ isCache: true,
964
+ file: scan.bedjFile,
965
+ stackheight: 14,
966
+ // drives both the fill and the block legend, which counts each class in view
967
+ categories: {
968
+ hyper: { label: "Hypermethylated DMR", color: HYPER_COLOR },
969
+ hypo: { label: "Hypomethylated DMR", color: HYPO_COLOR }
970
+ }
971
+ });
972
+ }
973
+ const pad = Math.max(5e3, d.stop - d.start);
974
+ this.app.dispatch({
975
+ type: "plot_create",
976
+ config: {
977
+ chartType: "genomeBrowser",
978
+ geneSearchResult: { chr: d.chr, start: Math.max(0, d.start - pad), stop: d.stop + pad },
979
+ tracks
980
+ }
981
+ });
982
+ }
983
+ /* Open a genome browser on an intron cluster, with its junctions as a track whose y is the
984
+ -log10 p of each junction and whose color tells the group with higher PSI.
985
+ The junctions come from the cached data, by re-sending the analysis request with the cluster id. */
986
+ async launchSpliceGenomeBrowser(d) {
987
+ const data = await dofetch3("termdb/diffSplice", { body: { ...this.daRequest, clusterId: d.cluster_id } });
988
+ if (data.error) {
989
+ sayerror(this.dom.error, data.error);
990
+ return;
991
+ }
992
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
993
+ const { caseColor, controlColor } = getGroupColors(config);
994
+ const cluster = d.cluster_id.slice(d.cluster_id.indexOf(":") + 1);
995
+ const strand = cluster.split("_").pop();
996
+ const pad = Math.max(500, Math.round((d.stop - d.start) * 0.2));
997
+ this.app.dispatch({
998
+ type: "plot_create",
999
+ config: {
1000
+ chartType: "genomeBrowser",
1001
+ // cluster start/stop are the 1-based exon boundaries; the junctions are already 0-based
1002
+ geneSearchResult: { chr: d.chr, start: Math.max(0, d.start - 1 - pad), stop: d.stop + pad },
1003
+ tracks: [
1004
+ {
1005
+ type: "j2",
1006
+ name: d.genes ? `${d.genes} ${cluster}` : cluster,
1007
+ custom_data: data.junctions.map((j) => ({ ...j, strand })),
1008
+ deltaPsiGroups: {
1009
+ control: { name: config.samplelst.groups[0].name, color: controlColor },
1010
+ case: { name: config.samplelst.groups[1].name, color: caseColor }
1011
+ }
1012
+ }
1013
+ ]
1014
+ }
1015
+ });
1016
+ }
1017
+ /** Launch a violin/box plot for a DNA methylation promoter.
1018
+ * Creates a methylation term using the promoter's chr/start/stop coordinates.
1019
+ * The tw handler fills in id and unit from termdbConfig. */
1020
+ launchDNAMethViolin(d) {
1021
+ const config = this.app.getState().plots.find((p) => p.id === this.id);
1022
+ const elementType = config?.settings?.volcano?.elementType;
1023
+ const genomicFeatureType = elementType === DMR_SCAN_ELEMENT_TYPE ? "region" : d.promoter_id ? "promoter" : "gene";
1024
+ const featureName = genomicFeatureType === "gene" ? d.gene_name?.split(",")[0]?.trim() || "" : "";
1025
+ const term = {
1026
+ genomicFeatureType,
1027
+ featureName,
1028
+ type: DNA_METHYLATION,
1029
+ chr: d.chr,
1030
+ start: d.start,
1031
+ stop: d.stop
1032
+ };
1033
+ if (genomicFeatureType === "promoter" && elementType) term.elementType = elementType;
1034
+ if (genomicFeatureType !== "gene") {
1035
+ const noun = elementNoun(elementType).one;
1036
+ const unit = term.elementType && this.app.vocabApi.termdbConfig.queries?.dnaMethylation?.unit || getDNAMethUnit(genomicFeatureType, this.app.vocabApi);
1037
+ term.unit = unit;
1038
+ term.name = getDNAMethTermName(term, unit, noun);
1039
+ }
1040
+ this.app.dispatch({
1041
+ type: "plot_create",
1042
+ config: {
1043
+ chartType: "summary",
1044
+ childType: "violin",
1045
+ term: {
1046
+ q: { mode: "continuous" },
1047
+ term
1048
+ },
1049
+ term2: {
1050
+ q: { groups: config.tw.q.groups, type: "custom-samplelst" },
1051
+ term: config.tw.term
1052
+ }
1053
+ }
1054
+ });
1055
+ }
1056
+ async launchDEGClustering() {
1057
+ const geneIndex = this.pValueTableData.columns.findIndex((col) => col.label === "Gene Name");
1058
+ const adjustedPValIndex = this.pValueTableData.columns.findIndex((col) => col.label === "Adjusted p-value");
1059
+ const rowsSorted = [...this.pValueTableData.rows].sort((a, b) => {
1060
+ const aQVal = Number(a[adjustedPValIndex].value);
1061
+ const bQVal = Number(b[adjustedPValIndex].value);
1062
+ return aQVal - bQVal;
1063
+ });
1064
+ const geneList = rowsSorted.slice(0, 100).map((r) => ({ gene: r[geneIndex].value }));
1065
+ const tws = geneList.map((d) => {
1066
+ const gene = d.gene;
1067
+ const unit = getGEunit(this.app.vocabApi);
1068
+ const name = `${gene} ${unit}`;
1069
+ const term = { gene, name, type: GENE_EXPRESSION };
1070
+ return { term, q: {} };
1071
+ });
1072
+ const group = { lst: tws, type: "hierCluster" };
1073
+ const customVariable = this.app.getState().plots.find((p) => p.id === this.id).tw;
1074
+ const annotationGroup = { lst: [customVariable] };
1075
+ const config = {
1076
+ chartType: "hierCluster",
1077
+ termgroups: [group, annotationGroup],
1078
+ dataType: GENE_EXPRESSION,
1079
+ filter: {
1080
+ in: true,
1081
+ join: "",
1082
+ type: "tvslst",
1083
+ lst: [{ type: "tvs", tvs: { term: customVariable.term } }]
1084
+ }
1085
+ };
1086
+ await this.app.dispatch({
1087
+ type: "plot_create",
1088
+ config: structuredClone(config)
1089
+ });
1090
+ }
1091
+ };
1092
+
1093
+ // plots/volcano/interactions/geneBodyLossDE.ts
1094
+ async function geneBodyLossTest(tip, config, vocab, scan, app) {
1095
+ const gb = scan.geneBodyLoss;
1096
+ const holder = tip.d;
1097
+ const groups = (scan.matchedSamplelst || config?.samplelst)?.groups;
1098
+ if (!groups || groups.length != 2) {
1099
+ sayerror(holder.append("div"), "Two sample groups are required.");
1100
+ return;
1101
+ }
1102
+ const div = holder.append("div").style("padding", "10px").style("max-width", "900px");
1103
+ const wait = div.append("div").style("color", "#777").text("Running differential expression\u2026");
1104
+ const de = getDefaultVolcanoSettings({}, { termType: "geneExpression" });
1105
+ try {
1106
+ const res = await dofetch3("termdb/dmrGeneDE", {
1107
+ body: {
1108
+ genome: vocab.genome,
1109
+ dslabel: vocab.dslabel,
1110
+ // `in` is part of the DE cache key, so it must travel or the two runs get separate entries
1111
+ samplelst: {
1112
+ groups: groups.map((g) => ({
1113
+ name: g.name,
1114
+ in: g.in,
1115
+ values: g.values,
1116
+ filter: g.filter,
1117
+ filter0: g.filter0,
1118
+ mapParent2Children: g.mapParent2Children
1119
+ }))
1120
+ },
1121
+ genes: gb.genes,
1122
+ method: de.method,
1123
+ min_count: de.minCount,
1124
+ min_total_count: de.minTotalCount,
1125
+ cpm_cutoff: de.cpmCutoff,
1126
+ filter: app.getState().termfilter?.filter,
1127
+ filter0: app.getState().termfilter?.filter0
1128
+ }
1129
+ });
1130
+ wait.remove();
1131
+ if (res?.error) {
1132
+ sayerror(div.append("div"), res.error);
1133
+ return;
1134
+ }
1135
+ renderGeneDE(div, res, gb.regions, config, scan, app, tip);
1136
+ } catch (e) {
1137
+ wait.remove();
1138
+ sayerror(div.append("div"), e?.message || String(e));
1139
+ }
1140
+ }
1141
+ function renderGeneDE(div, res, nRegions, config, scan, app, tip) {
1142
+ const gb = scan.geneBodyLoss;
1143
+ const samplelst = scan.matchedSamplelst || config.samplelst;
1144
+ const nMatched = samplelst.groups.reduce((n, g) => n + (g.values?.length ?? g.sampleCount ?? 0), 0);
1145
+ const dir = res.weightedDiff < 0 ? "lower" : "higher";
1146
+ div.append("button").attr("class", "sja_menuoption").attr("data-testid", "sjpp-geneBodyLoss-deVolcano").style("margin", "0 0 8px").style("padding", "3px 6px").text(
1147
+ `Open as differential expression volcano on the ${nMatched.toLocaleString()} samples with methylation, ${gb.genes.length.toLocaleString()} genes highlighted`
1148
+ ).on("click", () => {
1149
+ tip.hide();
1150
+ app.dispatch({
1151
+ type: "plot_create",
1152
+ config: structuredClone({
1153
+ chartType: "differentialAnalysis",
1154
+ termType: "geneExpression",
1155
+ state: config.state,
1156
+ samplelst,
1157
+ tw: config.tw,
1158
+ highlightedData: gb.genes,
1159
+ /* The default highlight is orange-yellow, which on a case group drawn in orange makes
1160
+ the highlighted hits and the up-regulated genes one blob. Use the colour the
1161
+ methylation figures give to LOSS instead: these genes are highlighted because they
1162
+ lost gene-body methylation, so the fill says the same thing there and here. */
1163
+ settings: { volcano: { defaultHighlightColor: HYPO_COLOR } }
1164
+ })
1165
+ });
1166
+ });
1167
+ div.append("div").style("font-weight", "bold").style("padding", "4px 0").text(
1168
+ `Genes under a gene-body loss region are expressed ${dir} in the case group: ${res.weightedDiff >= 0 ? "+" : ""}${res.weightedDiff.toFixed(3)} log\u2082 fold change within matched gene length (p = ${res.p < 1e-3 ? res.p.toExponential(1) : res.p.toFixed(4)}).`
1169
+ );
1170
+ div.append("div").style("color", "#777").style("font-size", ".92em").text(
1171
+ `${nRegions.toLocaleString()} regions \u2192 ${res.genesRequested.toLocaleString()} genes; ${res.nHit.toLocaleString()} compared against ${res.nOther.toLocaleString()} genes of matched length across ${res.strata.length} strata. ${res.genesNotInDE.toLocaleString()} were not tested by DE (low count or absent from the expression matrix) and ${res.unmatchedHits.toLocaleString()} fell in strata too thin to match. Comparing hits to all other genes instead would recover gene length.`
1172
+ );
1173
+ if (res.sigCount) {
1174
+ div.append("div").style("padding", "8px 0 2px").style("font-weight", "bold").text(
1175
+ `${res.sigCount.toLocaleString()} of these genes are differentially expressed on their own (p < 0.05), ${res.sigDown.toLocaleString()} of them down.`
1176
+ );
1177
+ const { caseColor, controlColor } = getGroupColors(config);
1178
+ renderTable({
1179
+ div: div.append("div"),
1180
+ columns: [
1181
+ { label: "Gene" },
1182
+ { label: "Length (log\u2081\u2080 bp)", barplot: { axisWidth: 90, colorPositive: "#999", tickCount: 3 } },
1183
+ { label: "log\u2082FC", barplot: { axisWidth: 110, colorNegative: controlColor, colorPositive: caseColor } },
1184
+ { label: res.topGenes[0]?.adjusted ? "Adjusted p" : "p", align: "right" }
1185
+ ],
1186
+ rows: res.topGenes.map((g) => [
1187
+ { value: g.gene },
1188
+ { value: g.len ? Number(Math.log10(g.len).toFixed(2)) : NaN },
1189
+ { value: Number(g.fc.toFixed(3)) },
1190
+ { value: Number(g.p.toPrecision(2)) }
1191
+ ]),
1192
+ showLines: true,
1193
+ maxHeight: "26vh",
1194
+ download: { fileName: "gene-body-loss-genes.tsv" }
1195
+ });
1196
+ if (res.sigCount > res.topGenes.length)
1197
+ div.append("div").style("color", "#777").style("font-size", ".9em").text(`Showing the ${res.topGenes.length} most significant of ${res.sigCount.toLocaleString()}.`);
1198
+ }
1199
+ div.append("div").style("padding", "10px 0 2px").style("font-weight", "bold").text("By gene length");
1200
+ renderTable({
1201
+ div: div.append("div"),
1202
+ columns: [
1203
+ { label: "Gene length" },
1204
+ { label: "Genes hit", align: "right" },
1205
+ { label: "Matched", align: "right" },
1206
+ { label: "Median log\u2082FC, hit", align: "right" },
1207
+ { label: "Median log\u2082FC, matched", align: "right" },
1208
+ { label: "Difference", align: "right" }
1209
+ ],
1210
+ rows: res.strata.map((s) => [
1211
+ { value: `${bplen(s.lenFrom)} \u2013 ${bplen(s.lenTo)}` },
1212
+ { value: s.nHit.toLocaleString() },
1213
+ { value: s.nOther.toLocaleString() },
1214
+ { value: Number(s.medianHit.toFixed(3)) },
1215
+ { value: Number(s.medianOther.toFixed(3)) },
1216
+ { value: Number(s.diff.toFixed(3)) }
1217
+ ]),
1218
+ showLines: true,
1219
+ maxHeight: "26vh",
1220
+ download: { fileName: "gene-body-loss-expression.tsv" }
1221
+ });
1222
+ }
1223
+
1224
+ // plots/volcano/interactions/dmrGeneLink.ts
1225
+ async function dmrGeneLinkPanel(tip, config, vocab, scan, app) {
1226
+ const div = tip.d.append("div").style("padding", "10px").style("max-width", "1000px");
1227
+ const wait = div.append("div").style("color", "#777").text("Linking DMRs to genes and running differential expression\u2026");
1228
+ const de = getDefaultVolcanoSettings({}, { termType: "geneExpression" });
1229
+ const state = app.getState();
1230
+ let res;
1231
+ try {
1232
+ res = await dofetch3("termdb/dmrGeneLink", {
1233
+ body: {
1234
+ genome: vocab.genome,
1235
+ dslabel: vocab.dslabel,
1236
+ cacheId: scan.cacheId,
1237
+ minCpgs: scan.minCpgs,
1238
+ /* The cohort the scan compared, expanded and matched server-side. The plot state's list can still
1239
+ hold a "Not in" group as {in:false} carrying the included group's values, which DE reads as two
1240
+ overlapping groups. */
1241
+ samplelst: {
1242
+ groups: (scan.matchedSamplelst || config.samplelst).groups.map((g) => ({
1243
+ name: g.name,
1244
+ in: g.in,
1245
+ values: g.values,
1246
+ filter: g.filter,
1247
+ filter0: g.filter0,
1248
+ mapParent2Children: g.mapParent2Children
1249
+ }))
1250
+ },
1251
+ method: de.method,
1252
+ min_count: de.minCount,
1253
+ min_total_count: de.minTotalCount,
1254
+ cpm_cutoff: de.cpmCutoff,
1255
+ filter: state.termfilter?.filter,
1256
+ filter0: state.termfilter?.filter0
1257
+ }
1258
+ });
1259
+ } catch (e) {
1260
+ res = { error: e?.message || String(e) };
1261
+ }
1262
+ wait.remove();
1263
+ if (res.error) return sayerror(div.append("div"), res.error);
1264
+ div.append("div").style("font-weight", "bold").text(
1265
+ `${res.genes.toLocaleString()} genes touched by DMRs of ${scan.minCpgs}+ CpGs (${res.links.toLocaleString()} gene-context links), read against ${res.deMethod || "differential"} expression on the samples with methylation`
1266
+ );
1267
+ div.append("div").style("color", "#777").style("font-size", ".92em").style("padding", "2px 0 6px").text(
1268
+ `Promoter = within ${bplen(
1269
+ 2e3
1270
+ )} of the TSS; body = the rest of the gene. Concordant: promoter \u0394\u03B2 and expression change in opposite directions, or gene-body \u0394\u03B2 and expression in the same direction (expression adjusted p < 0.05).`
1271
+ );
1272
+ const summary = table2col({ holder: div.append("div") });
1273
+ for (const context of ["promoter", "body"]) {
1274
+ const s = res.summary[context] || {};
1275
+ const [td1, td2] = summary.addRow();
1276
+ td1.text(context == "promoter" ? "Promoter DMRs" : "Gene-body DMRs");
1277
+ td2.text(
1278
+ ["concordant", "discordant", "no expression change", "not tested"].map((k) => `${k}: ${(s[k] || 0).toLocaleString()}`).join(" \xB7 ")
1279
+ );
1280
+ }
1281
+ const rows = res.rows;
1282
+ const litDiv = div.append("div");
1283
+ const recordOf = /* @__PURE__ */ new Map();
1284
+ const tableRows = rows.map((r) => {
1285
+ const cells = [
1286
+ { value: r.gene },
1287
+ { value: r.context },
1288
+ { value: `${r.dmr.chr}:${r.dmr.start}-${r.dmr.stop}` },
1289
+ { value: Number(r.dmr.deltaBeta.toFixed(3)) },
1290
+ { value: r.dmr.cpgs },
1291
+ { value: r.nDmrs },
1292
+ { value: r.fc == null ? "" : Number(r.fc.toFixed(3)) },
1293
+ { value: r.p == null ? "" : Number(r.p.toPrecision(2)) },
1294
+ { value: r.relationship }
1295
+ ];
1296
+ recordOf.set(cells, r);
1297
+ return cells;
1298
+ });
1299
+ renderTable({
1300
+ div: div.append("div"),
1301
+ columns: [
1302
+ { label: "Gene" },
1303
+ { label: "Context" },
1304
+ { label: "Strongest DMR" },
1305
+ { label: "\u0394\u03B2", sortable: true },
1306
+ { label: "CpGs", sortable: true },
1307
+ { label: "DMRs", sortable: true },
1308
+ { label: "Expression log\u2082FC", sortable: true },
1309
+ { label: "Expression p", sortable: true },
1310
+ { label: "Relationship" }
1311
+ ],
1312
+ rows: tableRows,
1313
+ showLines: true,
1314
+ maxHeight: "40vh",
1315
+ header: { allowSort: true },
1316
+ noRadioBtn: true,
1317
+ download: { fileName: "dmr-gene-links.tsv" },
1318
+ // a click asks PubMed about that row's gene in that row's context
1319
+ noButtonCallback: (i) => showLiterature(litDiv, vocab, recordOf.get(tableRows[i]), disease)
1320
+ });
1321
+ if (rows.length < res.links)
1322
+ div.append("div").style("color", "#777").style("font-size", ".9em").text(`Showing the first ${rows.length.toLocaleString()} of ${res.links.toLocaleString()} links.`);
1323
+ const hint = litDiv.append("div").style("color", "#777").style("padding", "6px 0");
1324
+ hint.append("span").text("Click a row for PubMed articles on that gene and mechanism, optionally within a disease: ");
1325
+ const disease = hint.append("input").attr("type", "text").attr("placeholder", "e.g. myeloma").style("width", "120px");
1326
+ }
1327
+ async function showLiterature(holder, vocab, r, disease) {
1328
+ holder.selectAll(".sjpp-dmr-lit").remove();
1329
+ const out = holder.append("div").attr("class", "sjpp-dmr-lit");
1330
+ const head = out.append("div").style("padding", "8px 0 2px").style("font-weight", "bold");
1331
+ const d = String(disease?.property("value") || "").trim();
1332
+ const within = d ? ` in ${d}` : "";
1333
+ head.text(`PubMed: ${r.gene}, ${r.context} methylation and expression${within}\u2026`);
1334
+ const res = await dofetch3("termdb/dmrLiterature", {
1335
+ body: { genome: vocab.genome, dslabel: vocab.dslabel, gene: r.gene, context: r.context, disease: d }
1336
+ }).catch((e) => ({ error: e?.message || String(e) }));
1337
+ holder = out;
1338
+ if (res.error) return sayerror(holder.append("div"), res.error);
1339
+ head.text(
1340
+ `PubMed: ${r.gene}, ${r.context} methylation and expression${within} (${res.count.toLocaleString()} article${res.count == 1 ? "" : "s"}${res.count > res.articles.length ? `, ${res.articles.length} most relevant shown` : ""}; this link is ${r.relationship})`
1341
+ );
1342
+ if (!res.articles.length) {
1343
+ holder.append("div").style("color", "#777").text("No articles match. The link may be unreported rather than unsupported.");
1344
+ return;
1345
+ }
1346
+ const ul = holder.append("ul").style("margin", "2px 0");
1347
+ for (const a of res.articles) {
1348
+ const li = ul.append("li");
1349
+ li.append("span").text(`${a.title} ${a.journal} ${a.year}. `);
1350
+ li.append("a").attr("href", a.doi ? `https://doi.org/${a.doi}` : `https://pubmed.ncbi.nlm.nih.gov/${a.pmid}/`).attr("target", "_blank").text(a.doi ? `doi:${a.doi}` : `PMID ${a.pmid}`);
1351
+ }
1352
+ }
1353
+
1354
+ // plots/volcano/view/VolcanoPlotView.ts
1355
+ var VolcanoPlotView = class {
1356
+ constructor(dom, interactions, termType) {
1357
+ this.linked = [];
1358
+ this.dom = dom;
1359
+ this.interactions = interactions;
1360
+ this.termType = termType;
1361
+ const actions = this.dom.holder.append("div").attr("id", "sjpp-volcano-actions").style("display", "block").style("z-index", 1).style("position", "relative");
1362
+ this.row = this.dom.holder.append("div").attr("id", "sjpp-volcano-row").style("display", "flex").style("align-items", "flex-start");
1363
+ const svg = this.row.append("svg").style("display", "inline-block").attr("id", "sjpp-volcano-svg").style("vertical-align", "top");
1364
+ this.volcanoDom = {
1365
+ actions,
1366
+ svg,
1367
+ pValueTable: void 0,
1368
+ top: void 0,
1369
+ xAxis: void 0,
1370
+ xAxisLabel: void 0,
1371
+ yAxis: void 0,
1372
+ yAxisLabel: void 0,
1373
+ plot: void 0
1374
+ };
1375
+ }
1376
+ render(settings, viewData) {
1377
+ this.settings = settings;
1378
+ this.viewData = viewData;
1379
+ this.linked = [];
1380
+ const plotDim = this.viewData.plotDim;
1381
+ this.initDom();
1382
+ this.renderUserActions();
1383
+ this.renderPlot(plotDim);
1384
+ renderDataPoints(this);
1385
+ this.renderFoldChangeLine(plotDim);
1386
+ this.attachInteractions(plotDim);
1387
+ if (this.settings.showPValueTable) this.renderPValueTable();
1388
+ if (this.viewData.scan?.manhattan) this.renderScanManhattan();
1389
+ }
1390
+ initDom() {
1391
+ this.volcanoDom.actions.selectAll("*").remove();
1392
+ this.volcanoDom.svg.selectAll("*").remove();
1393
+ const svg = this.volcanoDom.svg;
1394
+ this.volcanoDom.top = svg.append("g").attr("id", "sjpp-volcano-top");
1395
+ this.volcanoDom.xAxis = svg.append("g").attr("id", "sjpp-volcano-xAxis");
1396
+ this.volcanoDom.yAxis = svg.append("g").attr("id", "sjpp-volcano-yAxis");
1397
+ this.volcanoDom.xAxisLabel = svg.append("text").attr("id", "sjpp-volcano-xAxisLabel").attr("text-anchor", "middle");
1398
+ this.volcanoDom.yAxisLabel = svg.append("text").attr("id", "sjpp-volcano-yAxisLabel").attr("text-anchor", "middle");
1399
+ this.volcanoDom.plot = svg.append("g").attr("id", "sjpp-volcano-plot");
1400
+ this.dom.holder.select("#sjpp-volcano-pValueTable").remove();
1401
+ this.dom.holder.select("#sjpp-volcano-scanManhattan").remove();
1402
+ if (!this.settings.showPValueTable) return;
1403
+ this.volcanoDom.pValueTable = this.row.append("div").attr("id", "sjpp-volcano-pValueTable").attr("data-testid", "sjpp-volcano-pValueTable").style("display", "inline-block").style("vertical-align", "top");
1404
+ }
1405
+ renderUserActions() {
1406
+ this.dom.actionsTip.d.style("overflow", "hidden");
1407
+ this.volcanoDom.actions.style("margin-left", "20px").style("padding", "5px");
1408
+ this.addActionButton(
1409
+ "Confounding factors",
1410
+ [DATermTypes.GENE_EXPRESSION, DATermTypes.DNA_METHYLATION],
1411
+ () => this.interactions.confoundersMenu()
1412
+ );
1413
+ this.addActionButton(
1414
+ "Highlight genes",
1415
+ [DATermTypes.GENE_EXPRESSION, DATermTypes.SINGLECELL_CELLTYPE, DATermTypes.DNA_METHYLATION],
1416
+ () => this.interactions.launchGeneSetEdit()
1417
+ );
1418
+ this.addActionButton(
1419
+ "Statistics",
1420
+ [DATermTypes.GENE_EXPRESSION, DATermTypes.SINGLECELL_CELLTYPE, DATermTypes.DNA_METHYLATION],
1421
+ () => {
1422
+ this.renderStatsMenu();
1423
+ },
1424
+ { whenOpen: "Hide statistics" }
1425
+ );
1426
+ const gb = this.viewData.scan?.geneBodyLoss;
1427
+ if (gb?.genes.length) {
1428
+ this.addActionButton(
1429
+ `Expression of ${gb.genes.length.toLocaleString()} gene-body loss genes`,
1430
+ [DATermTypes.DNA_METHYLATION],
1431
+ () => geneBodyLossTest(
1432
+ this.dom.actionsTip,
1433
+ this.interactions.app.getState().plots.find((p) => p.id == this.interactions.id),
1434
+ this.interactions.app.vocabApi.vocab,
1435
+ this.viewData.scan,
1436
+ this.interactions.app
1437
+ )
1438
+ );
1439
+ }
1440
+ if (this.viewData.scan?.cacheId) {
1441
+ this.addActionButton(
1442
+ "Genes, expression and literature",
1443
+ [DATermTypes.DNA_METHYLATION],
1444
+ () => dmrGeneLinkPanel(
1445
+ this.dom.actionsTip,
1446
+ this.interactions.app.getState().plots.find((p) => p.id == this.interactions.id),
1447
+ this.interactions.app.vocabApi.vocab,
1448
+ this.viewData.scan,
1449
+ this.interactions.app
1450
+ )
1451
+ );
1452
+ }
1453
+ const dmNoun = elementNoun(this.settings?.elementType);
1454
+ const SIG_PREFIX = "Number of significant ";
1455
+ const sigRow = this.viewData.statsData.find((d) => d.label.startsWith(SIG_PREFIX));
1456
+ const numSigGenes = Number(sigRow?.value ?? 0);
1457
+ if (numSigGenes) {
1458
+ const n = numSigGenes.toLocaleString();
1459
+ const isDM = this.termType == DATermTypes.DNA_METHYLATION;
1460
+ const up = this.viewData.numSignificantUp;
1461
+ const down = this.viewData.numSignificantDown;
1462
+ const split = up + down > 0 ? ` (${up.toLocaleString()} ${isDM ? "hyper" : "up"} / ${down.toLocaleString()} ${isDM ? "hypo" : "down"})` : "";
1463
+ const off = this.viewData.xOffset;
1464
+ const centered = this.viewData.centered ? `, centered on median \u0394\u03B2 ${off > 0 ? "+" : ""}${off.toFixed(3)}` : "";
1465
+ const noun = isDM ? this.viewData.scan ? dmNoun.many : `DM ${dmNoun.many}` : this.termType == DATermTypes.GENE_EXPRESSION ? "DE genes" : `significant ${sigRow.label.slice(SIG_PREFIX.length)}`;
1466
+ const sigText = `${n} ${noun}` + split + centered + ":";
1467
+ this.volcanoDom.actions.append("span").text(sigText).style("margin-left", "10px").style("font-weight", "bold");
1468
+ const pValueTableButtonText = this.settings.showPValueTable ? "Hide p-value table" : "Show p-value table";
1469
+ this.addActionButton(
1470
+ pValueTableButtonText,
1471
+ [DATermTypes.GENE_EXPRESSION, DATermTypes.SINGLECELL_CELLTYPE, DATermTypes.DNA_METHYLATION],
1472
+ async () => {
1473
+ const showTable = !this.settings.showPValueTable;
1474
+ await this.interactions.app.dispatch({
1475
+ type: "plot_edit",
1476
+ id: this.interactions.id,
1477
+ config: { settings: { volcano: { showPValueTable: showTable } } }
1478
+ });
1479
+ }
1480
+ );
1481
+ }
1482
+ if (numSigGenes && numSigGenes >= 3) {
1483
+ this.addActionButton(
1484
+ `Hierarchical clustering of ${numSigGenes > 100 ? "top 100" : numSigGenes} DE genes`,
1485
+ [DATermTypes.GENE_EXPRESSION],
1486
+ async () => {
1487
+ await this.interactions.launchDEGClustering();
1488
+ }
1489
+ );
1490
+ }
1491
+ }
1492
+ /** Use the termTypes arr to render the buttons in a consistent order.
1493
+ *
1494
+ * Pass `opts.whenOpen` to make the button a toggle: clicking once opens
1495
+ * the actionsTip with the callback's content and swaps the button text
1496
+ * to `whenOpen` ("Hide statistics", etc.); clicking again hides the tip
1497
+ * and restores the original text. The text also restores when the tip
1498
+ * closes via Esc or outside-click (Menu.onHide hook), and when another
1499
+ * action button hijacks the tip (the loop below resets all toggles
1500
+ * before showing the new content). */
1501
+ addActionButton(text, termTypes, callback, opts) {
1502
+ if (this.viewData.userActions.noShow.has(text)) return;
1503
+ if (!termTypes.includes(this.termType)) return;
1504
+ const button = this.volcanoDom.actions.append("button").attr("class", "sja_menuoption").style("margin", "3px").style("padding", "3px").text(text).on("click", async () => {
1505
+ const whenOpen = opts?.whenOpen;
1506
+ if (whenOpen && button.text() === whenOpen) {
1507
+ this.dom.actionsTip.hide();
1508
+ return;
1509
+ }
1510
+ this.volcanoDom.actions.selectAll('button[data-volcano-toggle-open="1"]').each(function() {
1511
+ const b = select_default(this);
1512
+ const closed = b.attr("data-volcano-toggle-closed");
1513
+ if (closed) b.text(closed).attr("data-volcano-toggle-open", null);
1514
+ this.parent_menu = void 0;
1515
+ const eh = this.__volcanoEscHandler;
1516
+ if (eh) {
1517
+ document.removeEventListener("keydown", eh);
1518
+ this.__volcanoEscHandler = void 0;
1519
+ }
1520
+ });
1521
+ this.dom.actionsTip.clear().showunder(button.node());
1522
+ if (whenOpen) {
1523
+ button.text(whenOpen).attr("data-volcano-toggle-open", "1").attr("data-volcano-toggle-closed", text);
1524
+ button.node().parent_menu = this.dom.actionsTip.dnode;
1525
+ const escHandler = (e) => {
1526
+ if (e.key === "Escape") this.dom.actionsTip.hide();
1527
+ };
1528
+ document.addEventListener("keydown", escHandler);
1529
+ button.node().__volcanoEscHandler = escHandler;
1530
+ this.dom.actionsTip.onHide = () => {
1531
+ button.text(text).attr("data-volcano-toggle-open", null);
1532
+ button.node().parent_menu = void 0;
1533
+ document.removeEventListener("keydown", escHandler);
1534
+ button.node().__volcanoEscHandler = void 0;
1535
+ };
1536
+ } else {
1537
+ this.dom.actionsTip.onHide = void 0;
1538
+ }
1539
+ await callback();
1540
+ });
1541
+ }
1542
+ renderPlot(plotDim) {
1543
+ this.volcanoDom.svg.attr("width", plotDim.svg.width).attr("height", plotDim.svg.height);
1544
+ this.renderTermInfo(plotDim);
1545
+ this.volcanoDom.yAxisLabel.attr(
1546
+ "transform",
1547
+ `translate(${plotDim.yAxisLabel.x}, ${plotDim.yAxisLabel.y}) rotate(-90)`
1548
+ );
1549
+ this.setSvgSubscriptLabel(this.volcanoDom.yAxisLabel, "-log", "10", `(${this.viewData.pValueLabel})`);
1550
+ this.volcanoDom.xAxisLabel.attr("transform", `translate(${plotDim.xAxisLabel.x}, ${plotDim.xAxisLabel.y})`);
1551
+ if (this.termType === DATermTypes.JUNCTION) {
1552
+ this.volcanoDom.xAxisLabel.selectAll("*").remove();
1553
+ this.volcanoDom.xAxisLabel.text(this.viewData.deltaPsiAxisLabel || "\u0394PSI (case \u2212 control)");
1554
+ } else if (this.termType === DATermTypes.DNA_METHYLATION && this.settings.xAxis === "delta_beta") {
1555
+ this.volcanoDom.xAxisLabel.selectAll("*").remove();
1556
+ this.volcanoDom.xAxisLabel.text(this.viewData.deltaBetaAxisLabel || "\u0394\u03B2 (case \u2212 control)");
1557
+ } else {
1558
+ this.volcanoDom.xAxisLabel.text(null);
1559
+ this.setSvgSubscriptLabel(this.volcanoDom.xAxisLabel, "log", "2", "(fold-change)");
1560
+ }
1561
+ this.renderScale(plotDim.xScale);
1562
+ this.renderScale(plotDim.yScale, true);
1563
+ if (this.viewData.volcanoPng) {
1564
+ 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");
1565
+ }
1566
+ }
1567
+ renderTermInfo(plotDim) {
1568
+ if (this.viewData.termInfo == void 0) return;
1569
+ this.volcanoDom.top.attr("transform", `translate(${plotDim.top.x}, ${plotDim.top.y})`);
1570
+ const y = this.viewData.termInfo.y;
1571
+ const addLabel = (term) => {
1572
+ return this.volcanoDom.top.append("text").attr("font-size", "0.9em").attr("transform", `translate(${term.x}, ${y + 10})`).text(term.label);
1573
+ };
1574
+ const firstTerm = this.viewData.termInfo.first;
1575
+ addLabel(firstTerm);
1576
+ const secondTerm = this.viewData.termInfo.second;
1577
+ const secondLabel = addLabel(secondTerm);
1578
+ secondLabel.attr("text-anchor", "end");
1579
+ }
1580
+ renderScale(scale, isLeft = false) {
1581
+ const scaleG = this.volcanoDom[isLeft ? "yAxis" : "xAxis"].append("g").attr("transform", `translate(${scale.x}, ${scale.y})`).call(isLeft ? axisLeft(scale.scale) : axisBottom(scale.scale));
1582
+ axisstyle({
1583
+ axis: scaleG,
1584
+ color: "black",
1585
+ showline: true
1586
+ });
1587
+ }
1588
+ renderFoldChangeLine(plotDim) {
1589
+ 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);
1590
+ }
1591
+ renderStatsMenu() {
1592
+ for (const img of this.viewData.images || []) {
1593
+ 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);
1594
+ }
1595
+ 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");
1596
+ const table = table2col({ holder: tableHolder });
1597
+ for (const d of this.viewData.statsData) {
1598
+ const [td1, td2] = table.addRow();
1599
+ td1.text(d.label);
1600
+ td2.style("text-align", "end").text(Number.isInteger(d.value) ? d.value.toLocaleString() : d.value);
1601
+ }
1602
+ }
1603
+ /* Where the DMRs are, along the whole genome: every kept DMR in the server's PNG, hyper above
1604
+ the line and hypo below, height = evidence; the most significant thousand are live. A dot is
1605
+ the same DMR the volcano shows, so hover and click give the volcano's own rows and actions --
1606
+ the violin of that region and the region view, a genome browser with the called DMRs, the
1607
+ per-CpG group means and the genes. Same lifecycle as the p-value table: redrawn from each
1608
+ response, never left stale. */
1609
+ /** What the scan covered, for the figure titles: the chromosome when that is all of it, and "the
1610
+ * genome" otherwise. A one-chromosome scan describing itself as genome-wide overstates every
1611
+ * number under it, which is what a dev host holding a subset of CpG shards produces. */
1612
+ scanSpan() {
1613
+ const chrs = this.viewData.scan?.chromosomes || [];
1614
+ return chrs.length == 1 ? chrs[0] : "the genome";
1615
+ }
1616
+ renderScanManhattan() {
1617
+ const { manhattan } = this.viewData.scan;
1618
+ const div = this.row.insert("div", "#sjpp-volcano-pValueTable").attr("id", "sjpp-volcano-scanManhattan").attr("data-testid", "sjpp-volcano-scanManhattan").style("display", "block").style("margin", "0 0 0 20px");
1619
+ const asRow = (d) => ({
1620
+ promoter_id: `${d.chrom}:${d.start}-${d.stop}`,
1621
+ gene_name: d.gene_name,
1622
+ chr: d.chrom,
1623
+ start: d.start,
1624
+ stop: d.stop,
1625
+ delta_beta: d.delta_beta,
1626
+ fold_change: d.fold_change,
1627
+ original_p_value: d.p,
1628
+ adjusted_p_value: d.p,
1629
+ no_cpgs: d.no_cpgs,
1630
+ excess: d.excess
1631
+ });
1632
+ const g2 = this.viewData.scan.matchedSamplelst?.groups?.[1]?.name || "case group";
1633
+ const link = {
1634
+ points: [],
1635
+ highlight: () => {
1636
+ },
1637
+ region: (d) => ({ chr: d.chrom, start: d.start, stop: d.stop })
1638
+ };
1639
+ const handle = plotManhattan(
1640
+ div,
1641
+ { png: manhattan.png, plotData: manhattan.plotData },
1642
+ {
1643
+ ...manhattanLayoutDefaults,
1644
+ plotWidth: manhattan.plotWidth,
1645
+ plotHeight: manhattan.plotHeight,
1646
+ // the server already picked N per direction; the client must not re-cap by |y|
1647
+ interactiveDotsCap: manhattan.plotData.points.length,
1648
+ maxTooltipGenes: this.settings.maxTooltipGenes,
1649
+ legendItemWidth: 130
1650
+ },
1651
+ void 0,
1652
+ {
1653
+ // names the chromosome when that is all the scan covered, rather than "the genome"
1654
+ title: `DMRs along ${this.scanSpan()}, direction in ${g2} (top ${manhattan.interactive.toLocaleString()} per direction interactive)`,
1655
+ // short, because it runs down a 300 px axis: the legend and title say what the sign means
1656
+ yAxisLabel: `\xB1log\u2081\u2080(${this.viewData.pValueLabel.replace("smoothed ", "")})`,
1657
+ legend: [
1658
+ { label: "Hypermethylated", color: HYPER_COLOR, hollow: true },
1659
+ { label: "Hypomethylated", color: HYPO_COLOR, hollow: true }
1660
+ ],
1661
+ itemNoun: "DMR",
1662
+ renderSingleHoverTooltip: (d, container) => {
1663
+ const table = table2col({ holder: container.append("table") });
1664
+ this.addTooltipRows(asRow(d), table);
1665
+ if (d.no_cpgs != null) addTooltipRow(table, "CpGs", d.no_cpgs);
1666
+ },
1667
+ buildMultiHitTableData: (dots) => this.buildMultiHitTable(dots.map(asRow)),
1668
+ getActions: (d) => this.getActionMenuOpts(asRow(d)),
1669
+ getRowKey: (d) => `${d.chrom}:${d.start}-${d.stop}`,
1670
+ onHover: (dots) => this.mirrorHover(link, dots)
1671
+ }
1672
+ );
1673
+ this.linked.push(Object.assign(link, handle));
1674
+ this.renderMethylationProfile(this.viewData.scan.matchedSamplelst?.groups?.[0]?.name || "control group", g2);
1675
+ }
1676
+ /* The genome-wide methylation profile, under the DMR plot: mean beta per group in 100 kb bins,
1677
+ drawn as the per-bin difference. The DMR plot above shows the regions that passed a threshold;
1678
+ this shows every bin that was measured, which is what says whether the methylome shifted a
1679
+ little everywhere or a lot in a few places.
1680
+
1681
+ Same component and the same hover/click layer as the DMR plot, on the bins that moved most in
1682
+ each direction: 29,000 dots in a band cannot be read by eye, so a dot has to be able to say
1683
+ which 100 kb it is, what each group's mean beta there was, and how many CpGs that rests on.
1684
+ Clicking opens the browser on the bin -- the question a standout bin raises is which of the
1685
+ scan's DMRs are inside it, and that is the view that answers it. */
1686
+ renderMethylationProfile(controlName, caseName) {
1687
+ const profile = this.viewData.scan?.profile;
1688
+ if (!profile) return;
1689
+ const div = this.dom.holder.select("#sjpp-volcano-scanManhattan").append("div").attr("data-testid", "sjpp-volcano-methylationProfile").style("display", "block").style("margin-top", "-70px");
1690
+ const region = (d) => ({ chr: d.chrom, start: d.pos, stop: d.pos + profile.binBp });
1691
+ const label = (d) => `${d.chrom}:${(d.pos + 1).toLocaleString()}-${(d.pos + profile.binBp).toLocaleString()}`;
1692
+ const link = { points: [], highlight: () => {
1693
+ }, region };
1694
+ const handle = plotManhattan(
1695
+ div,
1696
+ { png: profile.png, plotData: profile.plotData },
1697
+ {
1698
+ ...manhattanLayoutDefaults,
1699
+ plotWidth: profile.plotWidth,
1700
+ plotHeight: profile.plotHeight,
1701
+ /* The radius the PNG was drawn at, not the shared default of 2: the hover layer is
1702
+ placed in the PNG's own pixel space, and a 1 px mismatch in the padding stretches
1703
+ the image against the dot coordinates the server computed. */
1704
+ pngDotRadius: profile.dotRadius,
1705
+ // the server already picked N per direction; the client must not re-cap by |y|
1706
+ interactiveDotsCap: profile.plotData.points.length,
1707
+ /* More rows than the volcano's 5. At 100 kb there are ~29,000 bins over 1,000 px, so
1708
+ a cursor covers a median of 7 live bins on MMRF however tight the hit radius -- the
1709
+ dots genuinely overlap at this scale. 8 shows the whole neighbourhood on a typical
1710
+ hover instead of 5 of it. */
1711
+ maxTooltipGenes: 8,
1712
+ showLegend: false,
1713
+ showDownload: false
1714
+ },
1715
+ void 0,
1716
+ {
1717
+ /* The width drawn, not the width requested: the server reports back what it binned at,
1718
+ and a reader quoting the figure needs the two to agree. The interactive count is the
1719
+ live dot count rather than the per-direction rule, because at a coarse width the rule
1720
+ reaches every bin and "top 1,000 per direction" would read as a restriction. */
1721
+ title: `${this.scanSpan() == "the genome" ? "Methylome-wide" : `${this.scanSpan()}-wide`} profile: mean \u0394\u03B2 per ${bplen(profile.binBp)} bin in ${caseName} (${profile.interactive.toLocaleString()} of ${profile.bins.toLocaleString()} bins interactive)`,
1722
+ yAxisLabel: "\u0394\u03B2 per bin",
1723
+ itemNoun: "bin",
1724
+ renderSingleHoverTooltip: (d, container) => {
1725
+ const table = table2col({ holder: container.append("table") });
1726
+ addTooltipRow(table, "Region", label(d));
1727
+ addTooltipRow(table, "\u0394\u03B2", roundValueAuto(d.y));
1728
+ addTooltipRow(table, `Mean \u03B2, ${controlName}`, roundValueAuto(d.control));
1729
+ addTooltipRow(table, `Mean \u03B2, ${caseName}`, roundValueAuto(d.case));
1730
+ addTooltipRow(table, "CpGs measured", d.n_probes.toLocaleString());
1731
+ },
1732
+ buildMultiHitTableData: (dots) => ({
1733
+ columns: [{ label: "Region" }, { label: "\u0394\u03B2", sortable: true }, { label: "CpGs", sortable: true }],
1734
+ rows: dots.map((d) => [{ value: label(d) }, { value: roundValueAuto(d.y) }, { value: d.n_probes }])
1735
+ }),
1736
+ getActions: (d) => [
1737
+ {
1738
+ label: "Genome browser",
1739
+ onClick: async () => await this.interactions.launchScanGenomeBrowser(region(d), this.viewData.scan)
1740
+ }
1741
+ ],
1742
+ getRowKey: (d) => label(d),
1743
+ onHover: (dots) => this.mirrorHover(link, dots)
1744
+ }
1745
+ );
1746
+ this.linked.push(Object.assign(link, handle));
1747
+ }
1748
+ /* Ring, on every other figure, the live dots overlapping what the cursor is on. Only live dots can
1749
+ be ringed -- the rest are pixels in a PNG -- so a hovered DMR outside another figure's interactive
1750
+ top N has nothing to light up there. */
1751
+ mirrorHover(src, dots) {
1752
+ const hovered = dots.map(src.region);
1753
+ for (const p of this.linked) {
1754
+ if (p === src) continue;
1755
+ p.highlight(
1756
+ hovered.length ? p.points.filter((d) => {
1757
+ const r = p.region(d);
1758
+ return hovered.some((h) => h.chr == r.chr && h.start < r.stop && r.start < h.stop);
1759
+ }) : []
1760
+ );
1761
+ }
1762
+ }
1763
+ renderPValueTable() {
1764
+ if (!this.settings.showPValueTable) return;
1765
+ const maxTableRows = 5e3;
1766
+ const allRows = this.viewData.pValueTableData.rows;
1767
+ const rows = allRows.length > maxTableRows ? allRows.slice(0, maxTableRows) : allRows;
1768
+ if (allRows.length > maxTableRows) {
1769
+ this.volcanoDom.pValueTable.append("div").style("padding", "5px 10px").style("font-size", ".8em").style("color", "#666").text(
1770
+ `Showing top ${maxTableRows.toLocaleString()} of ${allRows.length.toLocaleString()} significant results (sorted by fold-change)`
1771
+ );
1772
+ }
1773
+ renderTable({
1774
+ columns: this.viewData.pValueTableData.columns,
1775
+ rows,
1776
+ div: this.volcanoDom.pValueTable,
1777
+ showLines: true,
1778
+ maxHeight: `${this.viewData.pValueTableData.height}px`,
1779
+ resize: true,
1780
+ header: { allowSort: true },
1781
+ noRadioBtn: true,
1782
+ noButtonCallback: (i) => {
1783
+ const key = this.viewData.pValueTableData.rowKeys.get(rows[i]);
1784
+ if (!key) return;
1785
+ this.interactions.highlightDataPoint(key);
1786
+ },
1787
+ hoverEffects: (tr, row) => {
1788
+ const circles = this.volcanoDom.plot.selectAll("circle").nodes();
1789
+ const key = this.viewData.pValueTableData.rowKeys.get(row);
1790
+ const dataKey = this.termType === DATermTypes.DNA_METHYLATION ? "promoter_id" : "gene_name";
1791
+ const circle = circles.find((d) => d.__data__[dataKey] == key);
1792
+ if (!circle || circle.__data__.highlighted) return;
1793
+ let clone;
1794
+ tr.on("mouseover", () => {
1795
+ if (circle.__data__.highlighted || clone) return;
1796
+ clone = this.volcanoDom.plot.node()?.appendChild(circle.cloneNode(true));
1797
+ clone.setAttribute("fill-opacity", 0.9);
1798
+ });
1799
+ tr.on("mouseleave", () => {
1800
+ if (!clone) return;
1801
+ clone.remove();
1802
+ clone = null;
1803
+ });
1804
+ this.volcanoDom.pValueTable.on("mouseover", () => {
1805
+ selectAll_default(circles).attr("stroke-opacity", 0.075);
1806
+ });
1807
+ this.volcanoDom.pValueTable.on("mouseleave", () => {
1808
+ selectAll_default(circles).attr("stroke-opacity", (d) => d.significant ? 0.35 : 0.2);
1809
+ });
1810
+ }
1811
+ });
1812
+ }
1813
+ setSvgSubscriptLabel(textElem, prefix, subscript, suffix) {
1814
+ textElem.text(null);
1815
+ textElem.append("tspan").text(prefix);
1816
+ textElem.append("tspan").attr("baseline-shift", "sub").attr("font-size", "0.7em").text(subscript);
1817
+ textElem.append("tspan").text(suffix);
1818
+ }
1819
+ attachInteractions(plotDim) {
1820
+ const points = this.viewData.pointData;
1821
+ if (!points || points.length === 0) return;
1822
+ const dotRadiusPx = this.viewData.plotExtent.dotRadiusPx;
1823
+ const hitRadius = dotRadiusPx + 3;
1824
+ const highlightRadius = Math.max(0.5, dotRadiusPx - 0.5);
1825
+ const highlightColor = this.settings.defaultHighlightColor;
1826
+ const hoverLayer = this.volcanoDom.plot.append("g").attr("id", "sjpp-volcano-hover").style("pointer-events", "none");
1827
+ 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");
1828
+ const circlePath = (r) => `M${r},0 A${r},${r} 0 1,1 ${-r},0 A${r},${r} 0 1,1 ${r},0 Z`;
1829
+ const link = this.viewData.scan ? {
1830
+ points,
1831
+ region: (d) => ({ chr: d.chr, start: d.start, stop: d.stop }),
1832
+ highlight: (dots) => {
1833
+ drawHoverShapes(
1834
+ linkedLayer,
1835
+ dots.map((d) => ({
1836
+ path: circlePath(dotRadiusPx + 2),
1837
+ transform: `translate(${d.x},${d.y})`,
1838
+ stroke: "black",
1839
+ strokeWidth: 2
1840
+ }))
1841
+ );
1842
+ }
1843
+ } : void 0;
1844
+ const linkedLayer = this.volcanoDom.plot.append("g").style("pointer-events", "none");
1845
+ if (link) this.linked.push(link);
1846
+ new DataPointInteractions({
1847
+ cover,
1848
+ hoverLayer,
1849
+ hoverTip: this.dom.tip,
1850
+ points,
1851
+ // Quadtree in cover-local space — d.x/d.y are SVG-absolute, so subtract
1852
+ // the plot rect's origin once when building the tree.
1853
+ getX: (d) => d.x - plotDim.plot.x,
1854
+ getY: (d) => d.y - plotDim.plot.y,
1855
+ hitRadius,
1856
+ toHoverSpec: (d) => ({
1857
+ path: circlePath(highlightRadius),
1858
+ // Hover layer lives in the same coord space as the dots (SVG-absolute),
1859
+ // so translate by d.x/d.y — NOT the cover-local pair.
1860
+ transform: `translate(${d.x},${d.y})`,
1861
+ fill: highlightColor,
1862
+ fillOpacity: 0.9,
1863
+ stroke: "none"
1864
+ }),
1865
+ maxTooltipRows: this.settings.maxTooltipGenes,
1866
+ ...link ? { onHover: (dots) => this.mirrorHover(link, dots) } : {},
1867
+ itemNoun: "gene",
1868
+ renderSingleHoverTooltip: (d, container) => {
1869
+ const table = table2col({ holder: container.append("table") });
1870
+ this.addTooltipRows(d, table);
1871
+ },
1872
+ buildMultiHitTableData: (dots) => this.buildMultiHitTable(dots),
1873
+ getActions: (d) => this.getActionMenuOpts(d),
1874
+ renderSingleHitInfo: (d, container) => {
1875
+ const tbl = table2col({ holder: container.append("table") });
1876
+ this.addTooltipRows(d, tbl);
1877
+ },
1878
+ getRowKey: (d) => d.gene_name
1879
+ }).attach();
1880
+ }
1881
+ /** Multi-hit hover table for differential splicing: one row per intron cluster. */
1882
+ get onDeltaBeta() {
1883
+ return this.termType === DATermTypes.DNA_METHYLATION && this.settings.xAxis === "delta_beta";
1884
+ }
1885
+ buildSpliceMultiHitTable(dots) {
1886
+ const { pValueLabel, singlePValue } = this.viewData;
1887
+ const pLabel = pValueLabel.charAt(0).toUpperCase() + pValueLabel.slice(1);
1888
+ const pField = singlePValue ? "original_p_value" : `${this.settings.pValueType}_p_value`;
1889
+ const columns = [
1890
+ { label: "Cluster" },
1891
+ { label: "Gene(s)" },
1892
+ { label: "\u0394PSI", sortable: true },
1893
+ { label: pLabel, sortable: true }
1894
+ ];
1895
+ const rows = dots.map((d) => [
1896
+ { value: d.cluster_id },
1897
+ { value: d.genes || "" },
1898
+ { value: roundValueAuto(d.delta_psi) },
1899
+ { value: roundValueAuto(d[pField]) }
1900
+ ]);
1901
+ return { columns, rows };
1902
+ }
1903
+ // p-value rows duplicate those in addTooltipRows
1904
+ addSpliceTooltipRows(d, table) {
1905
+ const c = d;
1906
+ addTooltipRow(table, "Cluster", c.cluster_id);
1907
+ if (c.genes) addTooltipRow(table, "Gene(s)", c.genes);
1908
+ if (c.chr) addTooltipRow(table, "Position", `${c.chr}:${c.start}-${c.stop}`);
1909
+ addTooltipRow(table, "\u0394PSI", roundValueAuto(c.delta_psi));
1910
+ if (c.psi_control != null) addTooltipRow(table, "PSI (group 1)", roundValueAuto(c.psi_control));
1911
+ if (c.psi_case != null) addTooltipRow(table, "PSI (group 2)", roundValueAuto(c.psi_case));
1912
+ if (c.n_junc != null) addTooltipRow(table, "Junctions", c.n_junc);
1913
+ if (c.top_intron) addTooltipRow(table, "Top intron", c.top_intron);
1914
+ if (this.viewData.singlePValue) {
1915
+ addTooltipRow(table, this.viewData.pValueLabel, roundValueAuto(d.original_p_value));
1916
+ } else {
1917
+ addTooltipRow(table, "Original p-value", roundValueAuto(d.original_p_value));
1918
+ if (d.adjusted_p_value != void 0) addTooltipRow(table, "Adjusted p-value", roundValueAuto(d.adjusted_p_value));
1919
+ }
1920
+ }
1921
+ buildMultiHitTable(dots) {
1922
+ if (this.termType === DATermTypes.JUNCTION) return this.buildSpliceMultiHitTable(dots);
1923
+ const isDM = this.termType === DATermTypes.DNA_METHYLATION;
1924
+ const isDAP = this.termType === DATermTypes.PROTEOME_DAP;
1925
+ const effectLabel = this.onDeltaBeta ? "\u0394\u03B2" : "log\u2082(FC)";
1926
+ const pValueType = this.settings.pValueType;
1927
+ const { pValueLabel, singlePValue } = this.viewData;
1928
+ const pLabel = pValueLabel.charAt(0).toUpperCase() + pValueLabel.slice(1);
1929
+ const pField = singlePValue ? "original_p_value" : `${pValueType}_p_value`;
1930
+ const columns = isDM ? [
1931
+ { label: elementNoun(this.settings?.elementType).one },
1932
+ { label: "Gene(s)" },
1933
+ { label: effectLabel, sortable: true },
1934
+ { label: pLabel, sortable: true }
1935
+ ] : isDAP ? [
1936
+ { label: "Identifier" },
1937
+ { label: "Gene" },
1938
+ { label: effectLabel, sortable: true },
1939
+ { label: pLabel, sortable: true }
1940
+ ] : [{ label: "Gene" }, { label: effectLabel, sortable: true }, { label: pLabel, sortable: true }];
1941
+ const rows = dots.map((d) => {
1942
+ const fc = { value: roundValueAuto(this.onDeltaBeta ? d.delta_beta : d.fold_change) };
1943
+ const pval = { value: roundValueAuto(d[pField]) };
1944
+ if (isDM) {
1945
+ return [{ value: formatPromoterLabel(d) }, { value: d.gene_name || "" }, fc, pval];
1946
+ }
1947
+ if (isDAP) {
1948
+ return [{ value: d.gene_name || "" }, { value: d.gene || "" }, fc, pval];
1949
+ }
1950
+ return [{ value: d.gene_name || "" }, fc, pval];
1951
+ });
1952
+ return { columns, rows };
1953
+ }
1954
+ /** Per-data-point action menu items (Violin / DMR / Box-plot). Used by
1955
+ * both the single-gene click flow and the multi-gene click-menu rows so
1956
+ * the launchers stay in lock-step. */
1957
+ getActionMenuOpts(d) {
1958
+ const termType = this.termType;
1959
+ const interactions = this.interactions;
1960
+ const all = [
1961
+ {
1962
+ label: "Violin plot",
1963
+ isVisible: () => termType === DATermTypes.DNA_METHYLATION || termType === DATermTypes.GENE_EXPRESSION,
1964
+ onClick: async () => {
1965
+ if (termType === DATermTypes.DNA_METHYLATION) interactions.launchDNAMethViolin(d);
1966
+ if (termType === DATermTypes.GENE_EXPRESSION) interactions.launchViolinGeneExp(d.gene_name);
1967
+ }
1968
+ },
1969
+ {
1970
+ /* A scan has already called every DMR: the browser shows them from the cache, beside
1971
+ the genes and cCREs, where the region view would re-fit the chromosome to draw the same
1972
+ track. The region view stays for the element classes, whose hits are not yet DMRs. */
1973
+ label: "Genome browser",
1974
+ isVisible: () => termType === DATermTypes.DNA_METHYLATION && !!this.viewData.scan,
1975
+ onClick: async () => {
1976
+ const dm = d;
1977
+ await interactions.launchScanGenomeBrowser(dm, this.viewData.scan);
1978
+ }
1979
+ },
1980
+ {
1981
+ label: "Genome browser",
1982
+ isVisible: () => termType === DATermTypes.JUNCTION,
1983
+ onClick: async () => {
1984
+ await interactions.launchSpliceGenomeBrowser(d);
1985
+ }
1986
+ },
1987
+ {
1988
+ label: "DMR analysis",
1989
+ isVisible: () => termType === DATermTypes.DNA_METHYLATION && !this.viewData.scan,
1990
+ onClick: async () => {
1991
+ const dm = d;
1992
+ await interactions.launchDmr({
1993
+ chr: dm.chr,
1994
+ start: dm.start,
1995
+ stop: dm.stop,
1996
+ promoterId: dm.promoter_id
1997
+ });
1998
+ }
1999
+ },
2000
+ {
2001
+ label: "Box plot",
2002
+ isVisible: () => termType === DATermTypes.GENE_EXPRESSION,
2003
+ onClick: async () => {
2004
+ interactions.launchBoxPlot(d.gene_name);
2005
+ }
2006
+ }
2007
+ ];
2008
+ return all.filter((o) => o.isVisible()).map(({ label, onClick }) => ({ label, onClick }));
2009
+ }
2010
+ /** Populates a `table2col` instance with the standard volcano hover rows
2011
+ * (gene/promoter, fold-change, original + adjusted p-values). */
2012
+ addTooltipRows(d, table) {
2013
+ if (this.termType === DATermTypes.JUNCTION) {
2014
+ this.addSpliceTooltipRows(d, table);
2015
+ return;
2016
+ }
2017
+ if (this.termType === DATermTypes.DNA_METHYLATION) {
2018
+ if ("promoter_id" in d)
2019
+ addTooltipRow(table, elementNoun(this.settings?.elementType).one, formatPromoterLabel(d));
2020
+ if (d.gene_name) addTooltipRow(table, "Gene(s)", d.gene_name);
2021
+ } else if (this.termType === DATermTypes.PROTEOME_DAP) {
2022
+ addTooltipRow(table, "Identifier", d.gene_name);
2023
+ if ("gene" in d) addTooltipRow(table, "Gene", d.gene);
2024
+ } else {
2025
+ addTooltipRow(table, "Gene name", d.gene_name);
2026
+ }
2027
+ if (this.onDeltaBeta) {
2028
+ addTooltipRow(table, "\u0394\u03B2", roundValueAuto(d.delta_beta));
2029
+ } else {
2030
+ addTooltipRow(table, "log<sub>2</sub>(fold-change)", roundValueAuto(d.fold_change));
2031
+ }
2032
+ if (this.viewData.singlePValue) {
2033
+ addTooltipRow(table, this.viewData.pValueLabel, roundValueAuto(d.original_p_value));
2034
+ } else {
2035
+ addTooltipRow(table, "Original p-value", roundValueAuto(d.original_p_value));
2036
+ if (d.adjusted_p_value != void 0) addTooltipRow(table, "Adjusted p-value", roundValueAuto(d.adjusted_p_value));
2037
+ }
2038
+ }
2039
+ };
2040
+ function addTooltipRow(table, text, value) {
2041
+ const [td1, td2] = table.addRow();
2042
+ td1.html(text);
2043
+ td2.text(value);
2044
+ }
2045
+ function renderDataPoints(self) {
2046
+ 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");
2047
+ }
2048
+
2049
+ // plots/volcano/VolcanoControlInputs.ts
2050
+ var isScan = (plot) => plot?.settings?.volcano?.elementType == DMR_SCAN_ELEMENT_TYPE;
2051
+ var VolcanoControlInputs = class {
2052
+ constructor(config, termType, elementTypes, chromosomes) {
2053
+ this.config = config;
2054
+ if (this.config.termType == GENE_EXPRESSION) this.sampleNum = getSampleNum(config);
2055
+ this.termType = termType;
2056
+ this.elementTypes = elementTypes || [];
2057
+ this.chromosomes = chromosomes || [];
2058
+ this.inputs = [
2059
+ {
2060
+ // DAP volcanoes threshold a single FDR (adjusted p-value); other term types
2061
+ // threshold a p-value.
2062
+ label: this.config.termType == PROTEOME_DAP ? "FDR significance (-log\u2081\u2080)" : "P value significance (-log\u2081\u2080)",
2063
+ type: "number",
2064
+ chartType: "volcano",
2065
+ settingsKey: "pValue",
2066
+ title: this.config.termType == PROTEOME_DAP ? "The FDR threshold to determine statistical significance" : "The p-value threshold to determine statistical significance",
2067
+ min: 0,
2068
+ // 5e-324 is the smallest positive number greater than 0 representable
2069
+ // in IEEE 64-bit floating point (i.e. javascripts native Number.MIN_VALUE)
2070
+ // -Math.log10(5e-324) = 323.3
2071
+ max: 323.3,
2072
+ step: 1
2073
+ },
2074
+ {
2075
+ label: "P value",
2076
+ type: "radio",
2077
+ chartType: "volcano",
2078
+ settingsKey: "pValueType",
2079
+ title: "Toggle between original and adjusted pvalues for volcano plot",
2080
+ // DAP files carry only a single FDR, and a DMR scan a single p, so there is nothing to
2081
+ // toggle between
2082
+ getDisplayStyle: (plot) => this.config.termType == PROTEOME_DAP || isScan(plot) ? "none" : "",
2083
+ options: [
2084
+ { label: "Adjusted", value: "adjusted" },
2085
+ { label: "Original", value: "original" }
2086
+ ]
2087
+ },
2088
+ /* Hidden for differential methylation: a DM run plots and thresholds on delta-beta,
2089
+ so a log2 cutoff would set a limit in units the plot never shows. Every other term
2090
+ type still gets it.
2091
+ Splicing is hidden for the same reason -- it plots and thresholds on delta-PSI, and
2092
+ supplies its own |dPSI| control in addSplicingControlInputs(). */
2093
+ ...this.termType === DNA_METHYLATION || this.termType === JUNCTION ? [] : [
2094
+ {
2095
+ label: "Fold change (log\u2082)",
2096
+ type: "number",
2097
+ chartType: "volcano",
2098
+ settingsKey: "foldChangeCutoff",
2099
+ title: "The fold change threshold to determine biological significance",
2100
+ min: -10,
2101
+ max: 10
2102
+ }
2103
+ ],
2104
+ {
2105
+ label: "Max interactive dots",
2106
+ type: "number",
2107
+ chartType: "volcano",
2108
+ settingsKey: "maxInteractiveDots",
2109
+ title: "Cap on the number of top-significant points the server returns as interactive overlay circles. The PNG still shows every dot.",
2110
+ min: 0,
2111
+ max: 2e4,
2112
+ step: 100
2113
+ },
2114
+ //Preferably, keep all the display (e.g. colors, sizes, etc.) controls
2115
+ //at the bottom of the list or at least together
2116
+ {
2117
+ label: "Plot height",
2118
+ type: "number",
2119
+ chartType: "volcano",
2120
+ settingsKey: "height",
2121
+ title: "Height of the plot in pixels",
2122
+ min: 300,
2123
+ max: 1e3
2124
+ },
2125
+ {
2126
+ label: "Plot width",
2127
+ type: "number",
2128
+ chartType: "volcano",
2129
+ settingsKey: "width",
2130
+ title: "Width of the plot in pixels",
2131
+ min: 300,
2132
+ max: 1e3
2133
+ },
2134
+ {
2135
+ label: "Significant value color",
2136
+ type: "color",
2137
+ chartType: "volcano",
2138
+ title: "Default color for significant data points.",
2139
+ settingsKey: "defaultSignColor",
2140
+ getDisplayStyle: () => {
2141
+ if (this.config.termType == SINGLECELL_CELLTYPE) return "none";
2142
+ const controlColor = this.config.tw?.term?.values?.[this.config.samplelst.groups[0].name]?.color;
2143
+ const caseColor = this.config.tw?.term?.values?.[this.config.samplelst.groups[1].name].color;
2144
+ if (controlColor && caseColor) return "none";
2145
+ else return "";
2146
+ }
2147
+ },
2148
+ {
2149
+ label: "Non-significant value color",
2150
+ type: "color",
2151
+ chartType: "volcano",
2152
+ title: "Default color for non-significant data points.",
2153
+ settingsKey: "defaultNonSignColor"
2154
+ },
2155
+ {
2156
+ label: "Highlight color",
2157
+ type: "color",
2158
+ chartType: "volcano",
2159
+ title: "Default color for highlighted data points.",
2160
+ settingsKey: "defaultHighlightColor"
2161
+ }
2162
+ ];
2163
+ this.setVolcanoControlInputs();
2164
+ }
2165
+ /** Add more term type specific controls here. */
2166
+ setVolcanoControlInputs() {
2167
+ this.addGeneExpControlInputs();
2168
+ this.addDNAMethControlInputs();
2169
+ this.addSplicingControlInputs();
2170
+ this.addSingleCellCTControlInputs();
2171
+ }
2172
+ addGeneExpControlInputs() {
2173
+ if (this.termType !== GENE_EXPRESSION) return;
2174
+ const geInputs = [
2175
+ {
2176
+ label: "Minimum read count",
2177
+ type: "number",
2178
+ chartType: "volcano",
2179
+ settingsKey: "minCount",
2180
+ title: "The smallest number of reads required for a gene to be considered in the analysis",
2181
+ min: 0,
2182
+ max: 1e4
2183
+ },
2184
+ {
2185
+ label: "Minimum total read count",
2186
+ type: "number",
2187
+ chartType: "volcano",
2188
+ settingsKey: "minTotalCount",
2189
+ title: "The smallest total number of reads required for a gene to be considered in the analysis",
2190
+ min: 0,
2191
+ max: 1e4
2192
+ },
2193
+ {
2194
+ label: "CPM cutoff",
2195
+ type: "number",
2196
+ chartType: "volcano",
2197
+ settingsKey: "cpmCutoff",
2198
+ title: "The minimum normalized expression threshold to retain only genes with sufficient expression",
2199
+ min: 0
2200
+ },
2201
+ {
2202
+ label: "Method",
2203
+ type: "radio",
2204
+ chartType: "volcano",
2205
+ settingsKey: "method",
2206
+ title: "Toggle between analysis methods",
2207
+ options: this.getMethodOptions()
2208
+ }
2209
+ // {
2210
+ // label: 'Rank Genes by',
2211
+ // type: 'radio',
2212
+ // chartType: 'volcano',
2213
+ // settingsKey: 'rankBy',
2214
+ // title: 'Rank genes by either the absolute value of the fold change or the variance',
2215
+ // options: [
2216
+ // { label: 'abs(Fold Change)', value: 'abs(foldChange)' },
2217
+ // { label: 'Variance', value: 'variance' }
2218
+ // ],
2219
+ // //TODO: will enable this feature when there is backhand support
2220
+ // getDisplayStyle: () => 'none'
2221
+ // }
2222
+ ];
2223
+ this.inputs.splice(0, 0, ...geInputs);
2224
+ }
2225
+ addDNAMethControlInputs() {
2226
+ if (this.termType !== DNA_METHYLATION) return;
2227
+ const scanOnly = (plot) => isScan(plot) ? "" : "none";
2228
+ const notScan = (plot) => isScan(plot) ? "none" : "";
2229
+ const dmInputs = [
2230
+ /* Element class comes FIRST because it is categorically different from the
2231
+ controls below it: those tune how the test is run, this one changes what is
2232
+ being tested. Promoters, eQTM blocks, and cCRE classes are different genomic
2233
+ features with different coordinates and different test counts, so switching
2234
+ produces a different analysis rather than a refined one.
2235
+
2236
+ Hidden unless the dataset offers a genuine choice -- a single class means
2237
+ there is nothing to pick, and a dataset using the legacy promoter-only config
2238
+ gets no new UI at all. */
2239
+ ...this.elementTypes.length > 1 ? [
2240
+ {
2241
+ label: "Element class",
2242
+ type: "dropdown",
2243
+ chartType: "volcano",
2244
+ settingsKey: "elementType",
2245
+ options: this.elementTypes.map((e) => ({ value: e.key, label: e.label })),
2246
+ 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."
2247
+ }
2248
+ ] : [],
2249
+ /* The scan's own knobs, shown only while the scan is the selected class. The chromosome
2250
+ picker is a plain dropdown rather than the region search box: string2pos() turns a bare
2251
+ "chr20" into a 20kb window at the chromosome midpoint, which would silently scan 0.005% of
2252
+ the target. chrM is left out -- 16.5 kb of circular DNA that cannot carry a domain. */
2253
+ {
2254
+ label: "Scan",
2255
+ type: "dropdown",
2256
+ chartType: "volcano",
2257
+ settingsKey: "scanChromosome",
2258
+ getDisplayStyle: scanOnly,
2259
+ options: [
2260
+ { value: "", label: "Whole genome" },
2261
+ ...this.chromosomes.filter((c) => c != "chrM" && c != "chrMT").map((c) => ({ value: c, label: c }))
2262
+ ],
2263
+ title: "Call DMRs de novo across the whole genome, or across one chromosome. A whole-genome scan takes about 1 minute the first time, or about 1.5 to 2 minutes with the background drift correction, and is cached after that."
2264
+ },
2265
+ {
2266
+ label: "Correct for background drift",
2267
+ type: "checkbox",
2268
+ chartType: "volcano",
2269
+ settingsKey: "backgroundCorrection",
2270
+ boxLabel: "",
2271
+ getDisplayStyle: scanOnly,
2272
+ title: BACKGROUND_CORRECTION_TITLE
2273
+ },
2274
+ {
2275
+ label: "Min CpGs per DMR",
2276
+ type: "number",
2277
+ chartType: "volcano",
2278
+ settingsKey: "minCpgs",
2279
+ getDisplayStyle: scanOnly,
2280
+ min: 1,
2281
+ max: 1e3,
2282
+ title: "Drop DMRs called from fewer CpGs. Two-CpG calls carry the largest effect sizes and no direction (51.5% hyper on MMRF chr1, a coin flip, against 58% for 10+ CpG calls), so a \u0394\u03B2-sorted table would lead with the rows that mean least. Applied to the cached scan, so changing it redraws rather than refits."
2283
+ },
2284
+ /* DMRcate's region-shape knobs. Unlike the CpG floor these change the fit's output, so each
2285
+ one refits the scan (and gets its own cache entry). */
2286
+ {
2287
+ label: "DMR bandwidth \u03BB (bp)",
2288
+ type: "number",
2289
+ chartType: "volcano",
2290
+ settingsKey: "lambda",
2291
+ getDisplayStyle: scanOnly,
2292
+ min: 50,
2293
+ max: 1e5,
2294
+ step: 50,
2295
+ title: "DMRcate lambda. Two things at once: the width of the Gaussian kernel that smooths per-CpG statistics along the genome, and the largest gap allowed between significant CpGs chained into one DMR. Larger values merge nearby signal into fewer, wider DMRs and recover broad domains; smaller values split them into narrow, focal regions. DMRcate recommends 1000 bp for CpG-resolution data. Changing it refits the scan (about 1 minute genome-wide, or about 1.5 to 2 with the background drift correction)."
2296
+ },
2297
+ {
2298
+ label: "DMR kernel scaling C",
2299
+ type: "number",
2300
+ chartType: "volcano",
2301
+ settingsKey: "C",
2302
+ getDisplayStyle: scanOnly,
2303
+ min: 0.5,
2304
+ max: 50,
2305
+ step: 0.5,
2306
+ title: "DMRcate C: the kernel standard deviation is lambda / C. A larger C gives a narrower kernel, so each CpG borrows evidence from fewer neighbours: sharper boundaries and more, smaller DMRs, at the cost of power in sparse regions. A smaller C smooths further. DMRcate recommends 2. Changing it refits the scan."
2307
+ },
2308
+ {
2309
+ label: "Per-CpG FDR cutoff",
2310
+ type: "number",
2311
+ chartType: "volcano",
2312
+ settingsKey: "fdrCutoff",
2313
+ getDisplayStyle: scanOnly,
2314
+ min: 1e-4,
2315
+ max: 0.5,
2316
+ step: 0.01,
2317
+ title: "The FDR a CpG's smoothed statistic must pass to take part in a DMR. Raising it lets weaker CpGs join, which extends DMRs and bridges gaps between them; lowering it keeps only the strongest CpGs, giving shorter, fewer DMRs. DMRcate's default is 0.05. This is not the volcano's significance threshold, which is applied afterwards to each DMR. Changing it refits the scan."
2318
+ },
2319
+ {
2320
+ /* Display width for the methylome-wide profile only. The metric is the 100 kb bin and
2321
+ the Statistics rows stay on it whatever this says -- this is here because 29,000 dots
2322
+ over 1,000 px overlap however small the dot, so the native figure reads as a band. */
2323
+ label: "Profile bin width",
2324
+ type: "dropdown",
2325
+ chartType: "volcano",
2326
+ settingsKey: "profileBinBp",
2327
+ getDisplayStyle: scanOnly,
2328
+ options: [
2329
+ { value: 1e5, label: "100 Kb (native)" },
2330
+ { value: 5e5, label: "500 Kb" },
2331
+ { value: 1e6, label: "1 Mb" },
2332
+ { value: 5e6, label: "5 Mb" }
2333
+ ],
2334
+ // a <select> hands back its value as a string; the setting is a width in bp
2335
+ processInput: (v) => Number(v),
2336
+ title: "How wide a bin the methylome-wide profile draws. 100 kb is the width the metric is computed and reported at (Zhou 2018); the coarser widths average neighbouring bins into one dot, weighted by the CpGs each rests on, so a genome-wide shift is legible instead of hidden in a band of overlapping dots. Display only: the Statistics rows and the fraction-of-bins-moved figures stay on the 100 kb bins, and changing this redraws the cached scan rather than refitting it. The most extreme 1,000 bins per direction stay hoverable at any width."
2337
+ },
2338
+ {
2339
+ label: "Min samples per group",
2340
+ type: "number",
2341
+ chartType: "volcano",
2342
+ settingsKey: "minSamplesPerGroup",
2343
+ title: "Minimum non-NA samples required per group for a promoter to be tested",
2344
+ // the scan resolves its own groups (3+ per group, fixed) and has no per-element NA filter
2345
+ getDisplayStyle: notScan,
2346
+ min: 1,
2347
+ max: 100
2348
+ },
2349
+ {
2350
+ label: "Exclude sex chromosomes",
2351
+ type: "checkbox",
2352
+ chartType: "volcano",
2353
+ settingsKey: "excludeSexChr",
2354
+ boxLabel: "",
2355
+ // the scan honours it too: scanChromosomes() drops chrX/chrY from a whole-genome scan
2356
+ title: "Drop chrX and chrY (promoters, elements, or whole chromosomes from a DMR scan). 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. On a scan, autosomal DMRs are unchanged (each chromosome is fitted on its own); gene links and gene set enrichment lose the X-linked genes."
2357
+ },
2358
+ {
2359
+ label: "Center \u0394\u03B2 on median",
2360
+ type: "checkbox",
2361
+ chartType: "volcano",
2362
+ settingsKey: "centerDeltaBeta",
2363
+ boxLabel: "",
2364
+ // the background correction is the scan's version of this question
2365
+ getDisplayStyle: notScan,
2366
+ title: 'Move the \u0394\u03B2 origin to the median across all tested elements, so 0 is the typical element rather than no change. Use it to ask "which elements moved MORE than the typical one" \u2014 at a symmetric cutoff, a contrast whose whole distribution sits off zero clears the hyper threshold more easily than the hypo one, which skews the hyper:hypo ratio on its own. Leave it off to ask "which elements gained or lost methylation", since a genuine genome-wide shift is itself a result and centering would subtract it. The \u0394\u03B2 values in the table and its download are unaffected either way.'
2367
+ },
2368
+ {
2369
+ label: "Min \u0394\u03B2",
2370
+ type: "number",
2371
+ chartType: "volcano",
2372
+ settingsKey: "deltaBetaCutoff",
2373
+ 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.",
2374
+ min: 0,
2375
+ max: 1,
2376
+ step: 0.01
2377
+ }
2378
+ ];
2379
+ this.inputs.splice(0, 0, ...dmInputs);
2380
+ }
2381
+ addSingleCellCTControlInputs() {
2382
+ if (this.termType !== SINGLECELL_CELLTYPE) return;
2383
+ const scctInputs = [];
2384
+ this.inputs.splice(0, 0, ...scctInputs);
2385
+ }
2386
+ addSplicingControlInputs() {
2387
+ if (this.termType !== JUNCTION) return;
2388
+ const dsInputs = [
2389
+ {
2390
+ label: "Method",
2391
+ type: "radio",
2392
+ chartType: "volcano",
2393
+ settingsKey: "method",
2394
+ title: "Which engine computes the test",
2395
+ options: this.getSpliceMethodOptions()
2396
+ },
2397
+ {
2398
+ label: "Minimum counts per cluster",
2399
+ type: "number",
2400
+ chartType: "volcano",
2401
+ settingsKey: "minCountsPerCluster",
2402
+ title: "Threshold on each sample's total read count in the cluster",
2403
+ min: 0,
2404
+ max: 1e4
2405
+ },
2406
+ {
2407
+ /* leafcutter's -i: an intron must be seen in at least this many samples. Defaulted by
2408
+ validateDSSettings to a fraction of cohort size rather than a fixed count, because a
2409
+ fixed one silently loosens as N grows -- 5 samples is a third of a 15-sample run and
2410
+ 0.2% of a 2,500-sample one. Editable here so a user can override that default. */
2411
+ label: "Minimum samples per intron",
2412
+ type: "number",
2413
+ chartType: "volcano",
2414
+ settingsKey: "minSamplesPerIntron",
2415
+ title: "An intron must be observed in at least this many samples to be kept. Defaults to 2% of the cohort, floor 5.",
2416
+ min: 1,
2417
+ max: 1e4
2418
+ },
2419
+ {
2420
+ // leafcutter's -g: the same floor, applied within each of the two groups
2421
+ label: "Minimum samples per group",
2422
+ type: "number",
2423
+ chartType: "volcano",
2424
+ settingsKey: "minSamplesPerGroup",
2425
+ title: "A cluster must have sufficient coverage in at least this many samples in EACH group. Defaults to 1% of the cohort, floor 3.",
2426
+ min: 1,
2427
+ max: 1e4
2428
+ },
2429
+ {
2430
+ /* The cutoff that actually matters for this term type. At large cohorts the p-value
2431
+ stops discriminating -- at ~1000 per group most "significant" clusters shift under a
2432
+ percentage point of PSI -- so the effect size is the filter, not the p. The unit is
2433
+ named in the title because 0.05 here is 5 percentage points, not a p-value. */
2434
+ label: "Minimum |\u0394PSI|",
2435
+ type: "number",
2436
+ chartType: "volcano",
2437
+ settingsKey: "deltaPsiCutoff",
2438
+ title: "Clusters must shift at least this much in PSI to count as significant. 0.05 = 5 percentage points.",
2439
+ min: 0,
2440
+ max: 1,
2441
+ step: 0.01
2442
+ }
2443
+ ];
2444
+ this.inputs.splice(0, 0, ...dsInputs);
2445
+ }
2446
+ // only edgeR is wired; add leafcutter here later
2447
+ getSpliceMethodOptions() {
2448
+ if (this.termType !== JUNCTION) return;
2449
+ return [{ label: "edgeR (diffSplice)", value: "edgeR" }];
2450
+ }
2451
+ getMethodOptions() {
2452
+ if (this.termType !== GENE_EXPRESSION) return;
2453
+ const settings = this.config.settings.volcano;
2454
+ const features = JSON.parse(sessionStorage.getItem("optionalFeatures"));
2455
+ if (features?.runDE_methods?.length) {
2456
+ const opts = [];
2457
+ for (const m of features.runDE_methods) {
2458
+ opts.push({ label: m, value: m.toLowerCase() });
2459
+ }
2460
+ return opts;
2461
+ }
2462
+ if (this.sampleNum < settings.sampleNumCutoff) {
2463
+ return [
2464
+ { label: "edgeR", value: "edgeR" },
2465
+ { label: "Wilcoxon", value: "wilcoxon" },
2466
+ { label: "Limma", value: "limma" }
2467
+ ];
2468
+ } else return [{ label: "Wilcoxon", value: "wilcoxon" }];
2469
+ }
2470
+ };
2471
+
2472
+ // plots/volcano/Volcano.ts
2473
+ var MIN_WILCOXON_GROUP_SIZE = 20;
2474
+ var Volcano = class _Volcano extends PlotBase {
2475
+ static {
2476
+ this.type = "volcano";
2477
+ }
2478
+ constructor(opts, api) {
2479
+ super(opts, api);
2480
+ if (this.opts.parentId) this.parentId = this.opts.parentId;
2481
+ this.type = _Volcano.type;
2482
+ this.components = {
2483
+ controls: {}
2484
+ };
2485
+ this.termType = opts.termType;
2486
+ const holder = opts.holder.classed("sjpp-volcano-main", true).attr("data-testid", `sjpp-volcano-main-${opts.termType}`);
2487
+ const controls = typeof opts.controls == "object" ? opts.controls : holder || holder.append("div");
2488
+ const error = opts.holder.append("div").attr("id", "sjpp-volcano-error").attr("data-testid", `sjpp-volcano-error-${opts.termType}`).style("opacity", 0.75);
2489
+ this.dom = {
2490
+ holder,
2491
+ controls,
2492
+ error,
2493
+ 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..."),
2494
+ tip: new Menu({ padding: "" }),
2495
+ actionsTip: new Menu({ padding: "" })
2496
+ };
2497
+ }
2498
+ getState(appState) {
2499
+ const config = appState.plots.find((p) => p.id === this.id);
2500
+ if (!config) {
2501
+ throw new Error(
2502
+ `No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`
2503
+ );
2504
+ }
2505
+ const parentConfig = this.parentId && appState.plots.find((p) => p.id === this.parentId);
2506
+ const termfilter = getCombinedTermFilter(appState, config.filter || parentConfig?.filter);
2507
+ return {
2508
+ config: Object.assign({}, config, {
2509
+ settings: {
2510
+ volcano: config.settings.volcano
2511
+ }
2512
+ }),
2513
+ termfilter
2514
+ };
2515
+ }
2516
+ async setControls() {
2517
+ const plotConfig = this.app.getState().plots.find((p) => p.id === this.id);
2518
+ const controls = new VolcanoControlInputs(
2519
+ plotConfig,
2520
+ this.termType,
2521
+ this.app.vocabApi.termdbConfig?.queries?.dnaMethylation?.elementTypes,
2522
+ this.app.opts.genome?.majorchrorder
2523
+ );
2524
+ this.components.controls = await controlsInit({
2525
+ app: this.app,
2526
+ id: this.id,
2527
+ holder: this.dom.controls.style("display", "inline-block"),
2528
+ inputs: controls.inputs
2529
+ });
2530
+ this.components.controls.on("downloadClick.volcano", () => this.interactions.download(this.termType));
2531
+ if (plotConfig.chartType == "differentialAnalysis")
2532
+ this.components.controls.on(
2533
+ "helpClick.differentialAnalysis",
2534
+ () => (
2535
+ //Opens the page for the differential analysis wiki
2536
+ //Can't put in parent as DA does not have a controls component
2537
+ window.open("https://github.com/stjude/proteinpaint/wiki/Differential-analysis")
2538
+ )
2539
+ );
2540
+ }
2541
+ async init() {
2542
+ this.interactions = new VolcanoInteractions(this.app, this.id, this.dom);
2543
+ this.model = new VolcanoModel(this, this.termType);
2544
+ this.view = new VolcanoPlotView(this.dom, this.interactions, this.termType);
2545
+ await this.setControls();
2546
+ }
2547
+ async main() {
2548
+ if (!this.interactions) throw new Error("Volcano Interactions not initialized");
2549
+ if (!this.model) throw new Error("Volcano Model not initialized");
2550
+ if (!this.view) throw new Error("Volcano View not initialized");
2551
+ const config = structuredClone(this.state.config);
2552
+ if (config.chartType != this.type && config.childType != this.type) return;
2553
+ const settings = config.settings.volcano;
2554
+ let showWait, waitTimer;
2555
+ try {
2556
+ const isScan2 = settings.elementType == DMR_SCAN_ELEMENT_TYPE;
2557
+ const waitText = !isScan2 ? "Loading..." : settings.scanChromosome ? `Scanning ${settings.scanChromosome} for DMRs...` : `Scanning for DMRs... a whole-genome scan ${settings.backgroundCorrection ? "with the background drift correction takes about 1.5 to 2 minutes" : "takes about 1 minute"} the first time, and is cached after that.`;
2558
+ this.dom.wait.text(waitText);
2559
+ showWait = setTimeout(() => {
2560
+ this.dom.wait.style("display", "block");
2561
+ }, 500);
2562
+ const start = Date.now();
2563
+ if (this.termType == DNA_METHYLATION)
2564
+ waitTimer = setInterval(() => {
2565
+ const ms = Math.round((Date.now() - start) / 1e3) * 1e3;
2566
+ this.dom.wait.text(`${waitText} ${formatElapsedTime(ms, 0)} elapsed.`);
2567
+ }, 1e3);
2568
+ const response = await this.model.getData(config, settings);
2569
+ this.dom.error.text("");
2570
+ if (!response || response.error || !response.data || !response.data.volcanoPng || !response.data.totalRows) {
2571
+ const msg = response?.error || "No data returned from server";
2572
+ if (response?.code === "CACHE_BUSY") {
2573
+ if (window.confirm(msg)) this.main();
2574
+ } else sayerror(this.dom.error, msg);
2575
+ return;
2576
+ }
2577
+ const viewModel = new VolcanoViewModel(config, response, settings);
2578
+ this.interactions.pValueTableData = viewModel.viewData.pValueTableData;
2579
+ this.interactions.data = response.data.dots;
2580
+ this.interactions.daRequest = response.daRequest;
2581
+ this.interactions.totalSignificantRows = response.data.totalSignificantRows;
2582
+ this.interactions.provenance = viewModel.viewData.provenance;
2583
+ this.interactions.fetchAllRows = async () => {
2584
+ const full = await new VolcanoModel(this, this.termType).getData(config, {
2585
+ ...settings,
2586
+ maxInteractiveDots: null
2587
+ });
2588
+ if (!full || full.error || !full.data?.dots) throw new Error(full?.error || "no rows returned");
2589
+ return new VolcanoViewModel(config, full, settings).viewData.pValueTableData;
2590
+ };
2591
+ this.view.render(settings, viewModel.viewData);
2592
+ const notes = [];
2593
+ if (!response.data.dots.length) notes.push("No points passed the significance thresholds.");
2594
+ const smallestGroup = Math.min(response.sample_size1, response.sample_size2);
2595
+ if (settings.method == "wilcoxon" && smallestGroup < MIN_WILCOXON_GROUP_SIZE) {
2596
+ const samplesLabel = uiLabel(this.app.vocabApi.termdbConfig?.uiLabels, "samples", "samples");
2597
+ notes.push(
2598
+ `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.`
2599
+ );
2600
+ }
2601
+ if (notes.length) this.dom.error.text(notes.join(" ")).style("color", "#555");
2602
+ } catch (e) {
2603
+ if (e instanceof Error) console.error(e.message || e);
2604
+ else if (e.stack) console.log(e.stack);
2605
+ throw e;
2606
+ } finally {
2607
+ clearTimeout(showWait);
2608
+ clearInterval(waitTimer);
2609
+ this.dom.wait.style("display", "none");
2610
+ }
2611
+ }
2612
+ };
2613
+ var volcanoInit = getCompInit(Volcano);
2614
+ var componentInit = volcanoInit;
2615
+ async function getPlotConfig(opts, app) {
2616
+ if (!opts.termType) throw new Error(".termType is required");
2617
+ const config = {
2618
+ settings: {
2619
+ // app is passed through so the defaults can read the dataset's preferred starting
2620
+ // element class from termdbConfig; opts alone does not carry it
2621
+ volcano: getDefaultVolcanoSettings(opts.overrides, { ...opts, app })
2622
+ },
2623
+ highlightedData: opts.highlightedData || [],
2624
+ termType: opts.termType
2625
+ };
2626
+ if (opts.termType == GENE_EXPRESSION || opts.termType == DNA_METHYLATION) {
2627
+ if (opts.confounderTws) {
2628
+ try {
2629
+ for (const tw of opts.confounderTws) {
2630
+ await fillTermWrapper(tw, app.vocabApi);
2631
+ }
2632
+ } catch (e) {
2633
+ console.error(e.message || e);
2634
+ throw new Error(`Volcano getPlotConfig() failed to fill confounder term wrappers: ${e}`);
2635
+ }
2636
+ }
2637
+ Object.assign(config, {
2638
+ confounderTws: opts.confounderTws || [],
2639
+ samplelst: opts.samplelst
2640
+ });
2641
+ }
2642
+ if (opts.termType == SINGLECELL_CELLTYPE) {
2643
+ Object.assign(config, {
2644
+ //TODO: Fix this logic
2645
+ sample: opts.experimentID || opts.sample || opts.samples?.[0]?.experiments[0]?.experimentID,
2646
+ termId: app.vocabApi.termdbConfig.queries.singleCell.DEgenes.termId,
2647
+ //TODO: 'Cluster' is a fallback for development
2648
+ //Should require opts.categoryName in the future
2649
+ categoryName: opts.categoryName || "Cluster"
2650
+ });
2651
+ }
2652
+ validateVolcanoSettings(config, opts);
2653
+ return copyMerge(config, opts);
2654
+ }
2655
+ export {
2656
+ Volcano,
2657
+ componentInit,
2658
+ getPlotConfig,
2659
+ volcanoInit
2660
+ };
2661
+ //# sourceMappingURL=Volcano-RWGO2QRK.js.map