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