@sjcrh/proteinpaint-client 2.208.0 → 2.210.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 (940) hide show
  1. package/dist/2dmaf-43QBND66.js +1367 -0
  2. package/dist/AggMatrixInput-X7NGFUHH.js +406 -0
  3. package/dist/AggregateMatrix-M4HRI4PX.js +41 -0
  4. package/dist/AppHeader-QBRQN6PM.js +830 -0
  5. package/dist/BoxPlot-V6SPSEQ2.js +1211 -0
  6. package/dist/CorrelationVolcano-UFPCYC77.js +617 -0
  7. package/dist/Cuminc-KXGXGLKZ.js +1219 -0
  8. package/dist/DE-K2YXHOOW.js +89 -0
  9. package/dist/DEinput-O6LBFAAH.js +501 -0
  10. package/dist/DEinput-O6LBFAAH.js.map +7 -0
  11. package/dist/DM-C7VN3RWB.js +90 -0
  12. package/dist/DifferentialAnalysis-A2BU4WB3.js +239 -0
  13. package/dist/DifferentialAnalysis-A2BU4WB3.js.map +7 -0
  14. package/dist/Disco-HECQVKXG.js +3389 -0
  15. package/dist/Disco.UI-XF2GEKRW.js +243 -0
  16. package/dist/DmrPlot-TVXVXOHL.js +362 -0
  17. package/dist/DmrPlot-TVXVXOHL.js.map +7 -0
  18. package/dist/GB-66ZGJ5ST.js +1428 -0
  19. package/dist/GB-66ZGJ5ST.js.map +7 -0
  20. package/dist/GSEA-Z4YPI4HY.js +875 -0
  21. package/dist/GSEA-Z4YPI4HY.js.map +7 -0
  22. package/dist/GeneExpInput-VBIZZV27.js +42 -0
  23. package/dist/Geomap-UIIOLRFA.js +84 -0
  24. package/dist/HicApp-73ESVNBA.js +2245 -0
  25. package/dist/IDCViewer-RBYN5A4P.js +10812 -0
  26. package/dist/NumBinaryEditor-DJLSNSLE.js +279 -0
  27. package/dist/NumBinaryEditor.unit.spec-LCJHL3XM.js +312 -0
  28. package/dist/NumContEditor-SVLDJ2ML.js +105 -0
  29. package/dist/NumContEditor.unit.spec-JDMSK4HY.js +164 -0
  30. package/dist/NumCustomBinEditor-BI63AH3R.js +33 -0
  31. package/dist/NumCustomBinEditor.unit.spec-5433G7Y2.js +397 -0
  32. package/dist/NumDiscreteEditor-LEZTGXAV.js +170 -0
  33. package/dist/NumDiscreteEditor.unit.spec-5OEORHJ4.js +233 -0
  34. package/dist/NumRegularBinEditor-EXWHIWPM.js +33 -0
  35. package/dist/NumRegularBinEditor.unit.spec-QY25Z2TT.js +278 -0
  36. package/dist/NumSplineEditor-XPPMYYAD.js +210 -0
  37. package/dist/NumSplineEditor.unit.spec-GOGBKWMN.js +224 -0
  38. package/dist/NumericDensity-RKY2IQ72.js +33 -0
  39. package/dist/NumericDensity.unit.spec-5ZM6ICXM.js +418 -0
  40. package/dist/NumericHandler-FXF3M5M3.js +34 -0
  41. package/dist/NumericHandler.unit.spec-M2OQTBJX.js +214 -0
  42. package/dist/ProteomeInput-TMZ3THRL.js +388 -0
  43. package/dist/Regression-GQGAATHG.js +1416 -0
  44. package/dist/Regression-GQGAATHG.js.map +7 -0
  45. package/dist/RunChart2-7GNDWRKC.js +749 -0
  46. package/dist/SC-R2I2EMHA.js +1183 -0
  47. package/dist/SC-R2I2EMHA.js.map +7 -0
  48. package/dist/Violin-GKKEB55L.js +1081 -0
  49. package/dist/Violin-GKKEB55L.js.map +7 -0
  50. package/dist/Volcano-HRG5EFWH.js +2443 -0
  51. package/dist/Volcano-HRG5EFWH.js.map +7 -0
  52. package/dist/Wsi-OHRCGYYD.js +629 -0
  53. package/dist/adSandbox-H56B25WR.js +33 -0
  54. package/dist/animatedBubbleChart-7SXFHU4J.js +547 -0
  55. package/dist/app-22JCSULA.js +42 -0
  56. package/dist/app-RGZJB6LN.js +32 -0
  57. package/dist/app.js +14 -14
  58. package/dist/bam-HA65TRGX.js +876 -0
  59. package/dist/barchart-6XO75OMA.js +42 -0
  60. package/dist/barchart2-6E5BIRHD.js +309 -0
  61. package/dist/block-43KNTXZ5.js +6250 -0
  62. package/dist/block-43KNTXZ5.js.map +7 -0
  63. package/dist/block.init-TPU5QIPA.js +33 -0
  64. package/dist/block.mds.expressionrank-QZDRFXCH.js +354 -0
  65. package/dist/block.mds.geneboxplot-64QVBK5Q.js +823 -0
  66. package/dist/block.mds.junction-I4J6VXNT.js +1539 -0
  67. package/dist/block.mds.svcnv-GDQMSQFF.js +6796 -0
  68. package/dist/block.svg-2MZFT5QP.js +159 -0
  69. package/dist/block.tk.aicheck-2MKHF6LX.js +278 -0
  70. package/dist/block.tk.ase-CLYGKFTS.js +360 -0
  71. package/dist/block.tk.bam-XTR4QA5Z.js +1901 -0
  72. package/dist/block.tk.bedgraphdot-A2P2CXRU.js +379 -0
  73. package/dist/block.tk.bigwig.ui-YZH6JXEO.js +206 -0
  74. package/dist/block.tk.hicstraw-QBK5VWGU.js +818 -0
  75. package/dist/block.tk.junction-5DEVBA7G.js +2358 -0
  76. package/dist/block.tk.junction.textmatrixui-7TTQMO6W.js +194 -0
  77. package/dist/block.tk.ld-PRIVUPKL.js +94 -0
  78. package/dist/block.tk.menu-JGBRFSS3.js +1024 -0
  79. package/dist/block.tk.pgv-KQJCJMVD.js +938 -0
  80. package/dist/brainImaging-4SLVJ2HV.js +555 -0
  81. package/dist/brainRegions-BDIVM2SG.js +217 -0
  82. package/dist/bubbleHeatmap-ORKFJNEQ.js +378 -0
  83. package/dist/cellTypeBubbleHeatmap-VOHLI4P7.js +278 -0
  84. package/dist/chunk-26N3B2JO.js +194 -0
  85. package/dist/chunk-2HNJF5ZI.js +240 -0
  86. package/dist/chunk-2LNGHIOC.js +281 -0
  87. package/dist/chunk-3FEP6B5T.js +119 -0
  88. package/dist/chunk-3SCQGODD.js +274 -0
  89. package/dist/chunk-47STLK7K.js +518 -0
  90. package/dist/chunk-4G73CMUL.js +38 -0
  91. package/dist/chunk-4XYQG3XU.js +276 -0
  92. package/dist/chunk-53XNEXR6.js +34 -0
  93. package/dist/chunk-55FABQU2.js +24955 -0
  94. package/dist/chunk-55FABQU2.js.map +7 -0
  95. package/dist/chunk-5UB5H7A3.js +123 -0
  96. package/dist/chunk-6FYQYTV6.js +141 -0
  97. package/dist/chunk-6RP6CR4Q.js +182 -0
  98. package/dist/chunk-A5D37SIL.js +103 -0
  99. package/dist/chunk-ADRFQ5AL.js +102 -0
  100. package/dist/chunk-AUZ63NKJ.js +70 -0
  101. package/dist/chunk-B563DUNQ.js +217 -0
  102. package/dist/chunk-B563DUNQ.js.map +7 -0
  103. package/dist/chunk-BK6UDL7F.js +339 -0
  104. package/dist/chunk-CFZ2ZW3E.js +382 -0
  105. package/dist/chunk-CKOU3P27.js +26 -0
  106. package/dist/chunk-CT4IG5IR.js +339 -0
  107. package/dist/chunk-D6UBH77N.js +1731 -0
  108. package/dist/chunk-DS4GLMJL.js +170 -0
  109. package/dist/chunk-DSBRHWZ7.js +2853 -0
  110. package/dist/chunk-DX35MKPR.js +272 -0
  111. package/dist/chunk-EDZJ3VNZ.js +54 -0
  112. package/dist/chunk-F47A4CVK.js +1339 -0
  113. package/dist/chunk-FSLOUTTK.js +37 -0
  114. package/dist/chunk-FSLOUTTK.js.map +7 -0
  115. package/dist/chunk-G4H34RNK.js +446 -0
  116. package/dist/chunk-G7RUMSHL.js +263 -0
  117. package/dist/chunk-GXFS25SK.js +480 -0
  118. package/dist/chunk-I25LKYC4.js +379 -0
  119. package/dist/chunk-I25LKYC4.js.map +7 -0
  120. package/dist/chunk-IAB2PRIH.js +396 -0
  121. package/dist/chunk-IAB2PRIH.js.map +7 -0
  122. package/dist/chunk-IBT6WRY6.js +692 -0
  123. package/dist/chunk-IJ7AIDEO.js +302 -0
  124. package/dist/chunk-JBFVJHZN.js +1233 -0
  125. package/dist/chunk-JDVBUIEU.js +56 -0
  126. package/dist/chunk-JTANDSTD.js +54 -0
  127. package/dist/chunk-K7RW5TPU.js +4375 -0
  128. package/dist/chunk-KIAMLQ7S.js +424 -0
  129. package/dist/chunk-KIAMLQ7S.js.map +7 -0
  130. package/dist/chunk-LBCIXRI2.js +49 -0
  131. package/dist/chunk-MNXL2UV5.js +98 -0
  132. package/dist/chunk-NDOKW2HJ.js +31 -0
  133. package/dist/chunk-NI5CVN43.js +203 -0
  134. package/dist/chunk-NOBXDQDU.js +397 -0
  135. package/dist/chunk-NQNVLZOA.js +6360 -0
  136. package/dist/chunk-NULFGPE3.js +158 -0
  137. package/dist/chunk-OUIXGM3K.js +299 -0
  138. package/dist/chunk-P4LGA36F.js +14 -0
  139. package/dist/chunk-PU5FQWAY.js +55 -0
  140. package/dist/chunk-PZ2OSHBF.js +56 -0
  141. package/dist/chunk-QBNDPW7O.js +5071 -0
  142. package/dist/chunk-QD75Q5LM.js +59 -0
  143. package/dist/chunk-R5PKBL7V.js +80 -0
  144. package/dist/chunk-R5PKBL7V.js.map +7 -0
  145. package/dist/chunk-RFSOP75Z.js +1988 -0
  146. package/dist/chunk-RFSOP75Z.js.map +7 -0
  147. package/dist/chunk-RI65SIN3.js +626 -0
  148. package/dist/chunk-RPGLLO4T.js +2676 -0
  149. package/dist/chunk-RXNZK7MF.js +134 -0
  150. package/dist/chunk-S2ICJ3RZ.js +550 -0
  151. package/dist/chunk-SB36AUG7.js +1614 -0
  152. package/dist/chunk-SB36AUG7.js.map +7 -0
  153. package/dist/chunk-SFHG6H2D.js +129 -0
  154. package/dist/chunk-TQ2DVEQO.js +783 -0
  155. package/dist/chunk-U6BJ4ZNU.js +176 -0
  156. package/dist/chunk-UXD6G6G4.js +178 -0
  157. package/dist/chunk-VA57CUC7.js +2146 -0
  158. package/dist/chunk-VA57CUC7.js.map +7 -0
  159. package/dist/chunk-VH5W6ODW.js +294 -0
  160. package/dist/chunk-VROF55EH.js +255 -0
  161. package/dist/chunk-VROF55EH.js.map +7 -0
  162. package/dist/chunk-VWA7BYSV.js +217 -0
  163. package/dist/chunk-X37BRSGS.js +102 -0
  164. package/dist/chunk-XQYDXA47.js +562 -0
  165. package/dist/chunk-XXPUZVS4.js +237 -0
  166. package/dist/chunk-XXPUZVS4.js.map +7 -0
  167. package/dist/chunk-Y7V5AIUH.js +468 -0
  168. package/dist/chunk-YBNIOGUE.js +243 -0
  169. package/dist/chunk-YEYMNF7V.js +2327 -0
  170. package/dist/chunk-YJ74QATP.js +1278 -0
  171. package/dist/chunk-ZG2HCGAO.js +2784 -0
  172. package/dist/chunk-ZZN7ZD7J.js +54 -0
  173. package/dist/cohort-6OCRQQ2S.js +70 -0
  174. package/dist/condition-SZVXH3VU.js +327 -0
  175. package/dist/controls-MO6ZND76.js +34 -0
  176. package/dist/controls.config-P4MSTGL4.js +34 -0
  177. package/dist/correlation-NMI3CM3T.js +95 -0
  178. package/dist/customdata.inputui-VCHSCA65.js +284 -0
  179. package/dist/dataDownload-VQHOTQ5D.js +329 -0
  180. package/dist/databrowser.ui-ZFOCAG32.js +425 -0
  181. package/dist/dictionary-S5YCFUWH.js +113 -0
  182. package/dist/dnaMethylation-MQZLZRGT.js +33 -0
  183. package/dist/dnaMethylation.integration.spec-H546EBUO.js +198 -0
  184. package/dist/dofetch-QZIYSC7H.js +48 -0
  185. package/dist/e2pca-XOXOS3PN.js +344 -0
  186. package/dist/ep-U6KRL7FR.js +1249 -0
  187. package/dist/expclust.gdc.spec-HCK65C63.js +302 -0
  188. package/dist/facet-DCC25KJO.js +519 -0
  189. package/dist/gb-TIFWFD4Y.js +81 -0
  190. package/dist/geneExpClustering-6DQEOTOY.js +244 -0
  191. package/dist/geneExpression-EASRAN6B.js +310 -0
  192. package/dist/geneExpression-G4YMDCBH.js +33 -0
  193. package/dist/geneExpression.unit.spec-XVEJYMPX.js +128 -0
  194. package/dist/geneExpression.unit.spec-XVEJYMPX.js.map +7 -0
  195. package/dist/geneORA-6UBS5GSC.js +273 -0
  196. package/dist/geneRanking-UXXYWHNB.js +548 -0
  197. package/dist/geneVariant-SZRJOXVC.js +289 -0
  198. package/dist/geneVariant-SZRJOXVC.js.map +7 -0
  199. package/dist/geneVariant-TKFKARZK.js +36 -0
  200. package/dist/geneVariant.integration.spec-PXMAYJN3.js +503 -0
  201. package/dist/geneVariant.integration.spec-PXMAYJN3.js.map +7 -0
  202. package/dist/genefusion.ui-TJLYXSVL.js +303 -0
  203. package/dist/geneset-YTBDLEIH.js +203 -0
  204. package/dist/genomeBrowser.spec-ZO4LFIXE.js +276 -0
  205. package/dist/grin2-FC4VYU54.js +949 -0
  206. package/dist/grin2-FC4VYU54.js.map +7 -0
  207. package/dist/grin2-LIFKBMVK.js +70 -0
  208. package/dist/hierCluster-56EGAPOR.js +59 -0
  209. package/dist/hierCluster-DR5NWCXA.js +55 -0
  210. package/dist/hierCluster.config-NACE3FH2.js +36 -0
  211. package/dist/hierCluster.integration.spec-PEEXPAS6.js +483 -0
  212. package/dist/hierCluster.interactivity-OCBGLUJM.js +49 -0
  213. package/dist/hierCluster.renderers-JNQUSAP4.js +19 -0
  214. package/dist/imagePlot-GR4JNUGG.js +156 -0
  215. package/dist/importPlot-4R4BSPVD.js +8 -0
  216. package/dist/isoformExpression-ST5ZW2NE.js +35 -0
  217. package/dist/isoformExpression.unit.spec-PPFC5Z7N.js +237 -0
  218. package/dist/junction-7AKZHOHV.js +36 -0
  219. package/dist/junction.customTerm-TMV43R7Z.js +16 -0
  220. package/dist/junction.unit.spec-SZUJXRQ2.js +182 -0
  221. package/dist/launch.adhoc-RWJQUOJ6.js +37 -0
  222. package/dist/leftlabel.sample-WRHLVQAQ.js +258 -0
  223. package/dist/lollipop-ZZWXTM23.js +166 -0
  224. package/dist/maf-N4XPZTQU.js +455 -0
  225. package/dist/maftimeline-2FBS6RWS.js +587 -0
  226. package/dist/matrix-5KEQPB5H.js +59 -0
  227. package/dist/matrix-RJUNXB5N.js +54 -0
  228. package/dist/matrix.cells-WXTPOJYB.js +26 -0
  229. package/dist/matrix.config-ZZFLLD6Z.js +37 -0
  230. package/dist/matrix.data-3PQ73GVJ.js +23 -0
  231. package/dist/matrix.groups-U6CKS6WW.js +26 -0
  232. package/dist/matrix.integration.spec-T53PMVHC.js +3160 -0
  233. package/dist/matrix.integration.spec-T53PMVHC.js.map +7 -0
  234. package/dist/matrix.interactivity-3LDZV3F7.js +37 -0
  235. package/dist/matrix.layout-MINLYQCA.js +39 -0
  236. package/dist/matrix.legend-6GSDFZHS.js +20 -0
  237. package/dist/matrix.renderers-5BKOXDE3.js +34 -0
  238. package/dist/matrix.serieses-6FCFIFAQ.js +19 -0
  239. package/dist/matrix.sort-EHVVYDZ3.js +26 -0
  240. package/dist/matrix.sort.unit.spec-BCWE4AFX.js +468 -0
  241. package/dist/matrix.sorterUi-WL5I6S3K.js +16 -0
  242. package/dist/matrix.sorterUi.unit.spec-XJR5KXRL.js +338 -0
  243. package/dist/matrix.unit.spec-TUCKPE26.js +150 -0
  244. package/dist/mavb-GWSNRBLM.js +727 -0
  245. package/dist/mds.fimo-OMAQRSMW.js +513 -0
  246. package/dist/mds.samplescatterplot-4UW3CC45.js +1545 -0
  247. package/dist/mds.survivalplot-2CJYJBD2.js +477 -0
  248. package/dist/multivalue-G44MHEYI.js +83 -0
  249. package/dist/numericDictTermCluster-5BDRGVQG.js +63 -0
  250. package/dist/oncomatrix-ZTVO23ZH.js +290 -0
  251. package/dist/oncomatrix.spec-2QVK2A3Q.js +443 -0
  252. package/dist/plot.2dvaf-CL5YUXKH.js +372 -0
  253. package/dist/plot.app-4ANKPSNP.js +36 -0
  254. package/dist/plot.barplot-BMGDNZRA.js +97 -0
  255. package/dist/plot.boxplot-GMLQCDP6.js +146 -0
  256. package/dist/plot.brainImaging-RZXX3NUZ.js +51 -0
  257. package/dist/plot.disco-3MD4J4C7.js +99 -0
  258. package/dist/plot.ssgq-ZC4UYKOT.js +134 -0
  259. package/dist/plot.vaf2cov-4DHFMYQV.js +253 -0
  260. package/dist/polar2-TMB5EITR.js +232 -0
  261. package/dist/profileForms-GD7BIOOD.js +941 -0
  262. package/dist/profilePlot-CZLK5E74.js +49 -0
  263. package/dist/proteinView-FEEEXLKT.js +1357 -0
  264. package/dist/proteomeCohortCompare-NVLJ2FXX.js +912 -0
  265. package/dist/pseudbulk.unit.spec-GHQZPNAH.js +86 -0
  266. package/dist/pseudobulk-G5UQIRKL.js +35 -0
  267. package/dist/qualitative-EAUUCKU5.js +38 -0
  268. package/dist/radar2-CJQ2L6KE.js +327 -0
  269. package/dist/radarFacility2-BLVRZE4V.js +335 -0
  270. package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +211 -0
  271. package/dist/render-KKAQPH6Y.js +33 -0
  272. package/dist/report-OSOJHTSD.js +217 -0
  273. package/dist/sampleView-WB74RLD7.js +43 -0
  274. package/dist/samplelst-ZKXV5WOD.js +106 -0
  275. package/dist/samplematrix-WJFYMWLT.js +2193 -0
  276. package/dist/sc-RBRBUCLR.js +81 -0
  277. package/dist/scatter-5K3QTIDK.js +88 -0
  278. package/dist/scatter-SM7GQENM.js +925 -0
  279. package/dist/selectGenomeWithTklst-ZZUJ7AQ7.js +129 -0
  280. package/dist/singleCellCellType-LCF2JNZ2.js +33 -0
  281. package/dist/singleCellCellType.unit.spec-T6DYH4BC.js +154 -0
  282. package/dist/singleCellGeneExpression-2XUYTH4C.js +33 -0
  283. package/dist/singleCellGeneExpression.unit.spec-SMRCLOF4.js +148 -0
  284. package/dist/singleCellNumericValue-57I33FZT.js +33 -0
  285. package/dist/singleCellNumericValue.unit.spec-4YNB4OEV.js +416 -0
  286. package/dist/singleCellPlot-L6TKQHGD.js +48 -0
  287. package/dist/singlecell-LZKR3UDV.js +81 -0
  288. package/dist/singlecell-UKN2VCXQ.js +1566 -0
  289. package/dist/snp-3LJITU5B.js +33 -0
  290. package/dist/snp.unit.spec-ZQNU6XRM.js +171 -0
  291. package/dist/snplocus-OME7UQBW.js +203 -0
  292. package/dist/spliceevent.a53ss.diagram-C32IEFMU.js +146 -0
  293. package/dist/spliceevent.exonskip.diagram-CZ7MVRLK.js +278 -0
  294. package/dist/spliceevent.noeventdiagram-ZO6R3776.js +455 -0
  295. package/dist/ssGSEA-BGPQ2PFY.js +33 -0
  296. package/dist/ssGSEA.unit.spec-U7TBUSSK.js +83 -0
  297. package/dist/stattable-FISGQCED.js +117 -0
  298. package/dist/studyCatalog-UHFUT2CJ.js +414 -0
  299. package/dist/summarizeCnvGeneexp-OVZO6KIB.js +158 -0
  300. package/dist/summarizeGeneexpSurvival-KVQ4JGWK.js +105 -0
  301. package/dist/summarizeMutationCnv-RAKGHNLE.js +159 -0
  302. package/dist/summarizeMutationDiagnosis-LGCINAGG.js +35 -0
  303. package/dist/summarizeMutationSurvival-J7H7L4FX.js +99 -0
  304. package/dist/summary-2632JZXH.js +44 -0
  305. package/dist/summary.integration.spec-5WBS2ZRP.js +409 -0
  306. package/dist/summaryInput-BH6C3ATV.js +242 -0
  307. package/dist/sunburst-AMRR2IHM.js +278 -0
  308. package/dist/survival-2RNJQVFS.js +1248 -0
  309. package/dist/survival-WYCH4QOQ.js +53 -0
  310. package/dist/survival.integration.spec-7IFPY4I4.js +613 -0
  311. package/dist/svgraph-YQWS52ZJ.js +1382 -0
  312. package/dist/svmr-NRN6LGKK.js +3837 -0
  313. package/dist/table-3QOMV2NN.js +197 -0
  314. package/dist/termCollection-2ZJ7TJGO.js +33 -0
  315. package/dist/termCollection-3MCVR7BA.js +252 -0
  316. package/dist/termCollection.unit.spec-QYOEA3X6.js +299 -0
  317. package/dist/termCollectionFractionSelection-5AH6EF4L.js +42 -0
  318. package/dist/termCollectionFractionSelection.unit.spec-WPGW4WJN.js +188 -0
  319. package/dist/tk-DQ7D5UEO.js +41 -0
  320. package/dist/tk-ONKYBG6R.js +1121 -0
  321. package/dist/tp.ui-C7BTMHEI.js +1454 -0
  322. package/dist/tvs.dt-PLRMK7OT.js +34 -0
  323. package/dist/tvs.dtcnv.categorical-IZUY2AQO.js +35 -0
  324. package/dist/tvs.dtcnv.continuous-ENV3RHHA.js +67 -0
  325. package/dist/tvs.dtfusion-2DVCV6AM.js +35 -0
  326. package/dist/tvs.dtitd-XNDIRQYU.js +35 -0
  327. package/dist/tvs.dtsnvindel-4D3G7XSF.js +35 -0
  328. package/dist/tvs.dtsv-QYMIMC4Z.js +35 -0
  329. package/dist/tvs.numeric-M5LH3PRH.js +20 -0
  330. package/dist/tvs.samplelst-2KEU2ZWB.js +98 -0
  331. package/dist/tvs.termCollection-FEY746V5.js +124 -0
  332. package/dist/vocabulary-BR4NJDPS.js +36 -0
  333. package/dist/wsi.direct-JWDUNHIO.js +8343 -0
  334. package/package.json +3 -3
  335. package/dist/2dmaf-PN5YS362.js +0 -1367
  336. package/dist/AggMatrixInput-NJHU4FU2.js +0 -406
  337. package/dist/AggregateMatrix-IBWOJWOC.js +0 -41
  338. package/dist/AppHeader-XV6S7GG5.js +0 -830
  339. package/dist/BoxPlot-ZIVA55SK.js +0 -1211
  340. package/dist/CorrelationVolcano-33I4FC44.js +0 -617
  341. package/dist/Cuminc-WKY35UGV.js +0 -1219
  342. package/dist/DE-E256DHID.js +0 -89
  343. package/dist/DEinput-YU3W72K7.js +0 -499
  344. package/dist/DEinput-YU3W72K7.js.map +0 -7
  345. package/dist/DM-W7PXTIKY.js +0 -90
  346. package/dist/DifferentialAnalysis-SHMQHWJL.js +0 -236
  347. package/dist/DifferentialAnalysis-SHMQHWJL.js.map +0 -7
  348. package/dist/Disco-OZY5GW2Z.js +0 -3389
  349. package/dist/Disco.UI-NRALEYXK.js +0 -243
  350. package/dist/DmrPlot-QKUX5XUW.js +0 -637
  351. package/dist/DmrPlot-QKUX5XUW.js.map +0 -7
  352. package/dist/GB-ZYH7PGHT.js +0 -1391
  353. package/dist/GB-ZYH7PGHT.js.map +0 -7
  354. package/dist/GSEA-VQTD4MLY.js +0 -851
  355. package/dist/GSEA-VQTD4MLY.js.map +0 -7
  356. package/dist/GeneExpInput-XEFUTLFU.js +0 -42
  357. package/dist/Geomap-GEK7UEDU.js +0 -84
  358. package/dist/HicApp-ZY7UHV5H.js +0 -2245
  359. package/dist/IDCViewer-YNKG4V46.js +0 -10812
  360. package/dist/NumBinaryEditor-NEL727DX.js +0 -279
  361. package/dist/NumBinaryEditor.unit.spec-GCGZMJYF.js +0 -312
  362. package/dist/NumContEditor-IM6RRDGU.js +0 -105
  363. package/dist/NumContEditor.unit.spec-B5AJXANS.js +0 -164
  364. package/dist/NumCustomBinEditor-EZT5DRKP.js +0 -33
  365. package/dist/NumCustomBinEditor.unit.spec-KLUDS6TH.js +0 -397
  366. package/dist/NumDiscreteEditor-2M6Q5AAZ.js +0 -170
  367. package/dist/NumDiscreteEditor.unit.spec-2JYZYJUX.js +0 -233
  368. package/dist/NumRegularBinEditor-AQDHA2PU.js +0 -33
  369. package/dist/NumRegularBinEditor.unit.spec-62BYFNYG.js +0 -278
  370. package/dist/NumSplineEditor-6Y5TZSTO.js +0 -210
  371. package/dist/NumSplineEditor.unit.spec-S65AV5EK.js +0 -224
  372. package/dist/NumericDensity-5ES4SDWZ.js +0 -33
  373. package/dist/NumericDensity.unit.spec-J6KZSE2P.js +0 -418
  374. package/dist/NumericHandler-ZTLDPP2F.js +0 -34
  375. package/dist/NumericHandler.unit.spec-BZFBVHGU.js +0 -214
  376. package/dist/ProteomeInput-IKEXPCGV.js +0 -388
  377. package/dist/Regression-6F6YP3AX.js +0 -1416
  378. package/dist/Regression-6F6YP3AX.js.map +0 -7
  379. package/dist/RunChart2-CVRPXQH5.js +0 -749
  380. package/dist/SC-FPXVXBXF.js +0 -1175
  381. package/dist/SC-FPXVXBXF.js.map +0 -7
  382. package/dist/Violin-BAS6DQHL.js +0 -1081
  383. package/dist/Violin-BAS6DQHL.js.map +0 -7
  384. package/dist/Volcano-FCCWUMX7.js +0 -1649
  385. package/dist/Volcano-FCCWUMX7.js.map +0 -7
  386. package/dist/Wsi-3YTFABWG.js +0 -629
  387. package/dist/adSandbox-QYIG6637.js +0 -33
  388. package/dist/animatedBubbleChart-X53PR73H.js +0 -547
  389. package/dist/app-HJLTRZPI.js +0 -32
  390. package/dist/app-MGY6A4DM.js +0 -42
  391. package/dist/bam-VRQHRCP5.js +0 -876
  392. package/dist/barchart-TWMOUZFL.js +0 -42
  393. package/dist/barchart2-CV7RMMRG.js +0 -309
  394. package/dist/block-L53P4UGQ.js +0 -6249
  395. package/dist/block-L53P4UGQ.js.map +0 -7
  396. package/dist/block.init-XYOJTXKP.js +0 -33
  397. package/dist/block.mds.expressionrank-77FSBDHA.js +0 -354
  398. package/dist/block.mds.geneboxplot-4TSYV4WS.js +0 -823
  399. package/dist/block.mds.junction-P4MYDET6.js +0 -1539
  400. package/dist/block.mds.svcnv-CYOFAS2T.js +0 -6796
  401. package/dist/block.svg-IT3ELCF4.js +0 -159
  402. package/dist/block.tk.aicheck-GULHJLV5.js +0 -278
  403. package/dist/block.tk.ase-RW5YL6HN.js +0 -360
  404. package/dist/block.tk.bam-MPGQW6KB.js +0 -1901
  405. package/dist/block.tk.bedgraphdot-EYRY374P.js +0 -379
  406. package/dist/block.tk.bigwig.ui-BKSXCDNM.js +0 -206
  407. package/dist/block.tk.hicstraw-76PV6NM3.js +0 -818
  408. package/dist/block.tk.junction-Z52QHQJQ.js +0 -2358
  409. package/dist/block.tk.junction.textmatrixui-K32OOTZC.js +0 -194
  410. package/dist/block.tk.ld-DDGLRHPO.js +0 -94
  411. package/dist/block.tk.menu-MO6TESKI.js +0 -1024
  412. package/dist/block.tk.pgv-AKLKKSEP.js +0 -938
  413. package/dist/brainImaging-KSTJQJAB.js +0 -555
  414. package/dist/brainRegions-WCRMMSK4.js +0 -217
  415. package/dist/bubbleHeatmap-4YOQ3BAB.js +0 -378
  416. package/dist/cellTypeBubbleHeatmap-O6YZ2RW4.js +0 -278
  417. package/dist/chunk-3GUVLDUS.js +0 -299
  418. package/dist/chunk-3PQDD5HM.js +0 -446
  419. package/dist/chunk-3WYUHDDP.js +0 -1986
  420. package/dist/chunk-3WYUHDDP.js.map +0 -7
  421. package/dist/chunk-4C7MA5Q3.js +0 -158
  422. package/dist/chunk-4EZLVENZ.js +0 -1612
  423. package/dist/chunk-4EZLVENZ.js.map +0 -7
  424. package/dist/chunk-4PB5ZEOB.js +0 -102
  425. package/dist/chunk-5IMFPVGT.js +0 -119
  426. package/dist/chunk-6DPELKO5.js +0 -518
  427. package/dist/chunk-6HGTVMZM.js +0 -54
  428. package/dist/chunk-72P6O537.js +0 -1731
  429. package/dist/chunk-74C6G6JD.js +0 -397
  430. package/dist/chunk-A7TXS6JR.js +0 -276
  431. package/dist/chunk-AAJXHERO.js +0 -123
  432. package/dist/chunk-AVS4IXEA.js +0 -692
  433. package/dist/chunk-BFXZBZEV.js +0 -176
  434. package/dist/chunk-BGVGN73F.js +0 -480
  435. package/dist/chunk-BL7EYUZC.js +0 -6360
  436. package/dist/chunk-BPGZUNLL.js +0 -274
  437. package/dist/chunk-CPIPN5F6.js +0 -141
  438. package/dist/chunk-D5MSWPAZ.js +0 -217
  439. package/dist/chunk-DFT2PAIU.js +0 -243
  440. package/dist/chunk-DMWOK4DS.js +0 -178
  441. package/dist/chunk-E7NVJ44Z.js +0 -263
  442. package/dist/chunk-EMMGUSJB.js +0 -54
  443. package/dist/chunk-G3CCQOLH.js +0 -240
  444. package/dist/chunk-GGQVDHYF.js +0 -379
  445. package/dist/chunk-GGQVDHYF.js.map +0 -7
  446. package/dist/chunk-GMRIEUBW.js +0 -408
  447. package/dist/chunk-GMRIEUBW.js.map +0 -7
  448. package/dist/chunk-GPZYAJQH.js +0 -2676
  449. package/dist/chunk-GS6ZMPKP.js +0 -272
  450. package/dist/chunk-GUXKLMLM.js +0 -102
  451. package/dist/chunk-HELEV3LT.js +0 -2853
  452. package/dist/chunk-HKKTNIMX.js +0 -339
  453. package/dist/chunk-HKSRIEWJ.js +0 -26
  454. package/dist/chunk-IELQ3HMN.js +0 -70
  455. package/dist/chunk-IISNWG4X.js +0 -103
  456. package/dist/chunk-J7KB2MH3.js +0 -34
  457. package/dist/chunk-JEJV7V7M.js +0 -2327
  458. package/dist/chunk-JIZ3B32T.js +0 -626
  459. package/dist/chunk-KAY2ODXX.js +0 -38
  460. package/dist/chunk-KJM6PLXM.js +0 -5071
  461. package/dist/chunk-KTKZSYIH.js +0 -24
  462. package/dist/chunk-KTKZSYIH.js.map +0 -7
  463. package/dist/chunk-KZHF3MQX.js +0 -1278
  464. package/dist/chunk-MC674TS2.js +0 -194
  465. package/dist/chunk-MLKQZ3RL.js +0 -1339
  466. package/dist/chunk-MSSPT5YM.js +0 -550
  467. package/dist/chunk-N6IWVSFP.js +0 -4375
  468. package/dist/chunk-NBGVEZNX.js +0 -56
  469. package/dist/chunk-OBBR4UYN.js +0 -54
  470. package/dist/chunk-PQA3C2NY.js +0 -294
  471. package/dist/chunk-QJ2VBXFB.js +0 -134
  472. package/dist/chunk-QJ3HYZH3.js +0 -24772
  473. package/dist/chunk-QJ3HYZH3.js.map +0 -7
  474. package/dist/chunk-QP7EJXSU.js +0 -55
  475. package/dist/chunk-QUHXX7JE.js +0 -56
  476. package/dist/chunk-REPQKF5L.js +0 -182
  477. package/dist/chunk-SHXJW27D.js +0 -2784
  478. package/dist/chunk-SUNDNTVY.js +0 -302
  479. package/dist/chunk-SYPSS3JQ.js +0 -387
  480. package/dist/chunk-SYPSS3JQ.js.map +0 -7
  481. package/dist/chunk-TSI4W6XO.js +0 -98
  482. package/dist/chunk-TXIQ5PHR.js +0 -468
  483. package/dist/chunk-U45R6QNT.js +0 -562
  484. package/dist/chunk-UMZJQWWK.js +0 -1233
  485. package/dist/chunk-VMRO6DMC.js +0 -2140
  486. package/dist/chunk-VMRO6DMC.js.map +0 -7
  487. package/dist/chunk-VO7Q4WMM.js +0 -55
  488. package/dist/chunk-VO7Q4WMM.js.map +0 -7
  489. package/dist/chunk-VWGRKOVJ.js +0 -170
  490. package/dist/chunk-WCTKHF5T.js +0 -197
  491. package/dist/chunk-WCTKHF5T.js.map +0 -7
  492. package/dist/chunk-WOMERKMR.js +0 -31
  493. package/dist/chunk-WXX2YD4Q.js +0 -59
  494. package/dist/chunk-X44AR557.js +0 -382
  495. package/dist/chunk-XEU5HXOY.js +0 -783
  496. package/dist/chunk-XGYQZHNX.js +0 -281
  497. package/dist/chunk-XOND7UIK.js +0 -49
  498. package/dist/chunk-XRMUUWLS.js +0 -339
  499. package/dist/chunk-XTOGCXPD.js +0 -129
  500. package/dist/chunk-Y5BBFDC3.js +0 -14
  501. package/dist/chunk-Z2FSHODI.js +0 -203
  502. package/dist/cohort-JWIQOO7U.js +0 -70
  503. package/dist/condition-ZUAQYF5C.js +0 -327
  504. package/dist/controls-ZPQ6SXD2.js +0 -34
  505. package/dist/controls.config-NELL5HY5.js +0 -34
  506. package/dist/correlation-2X76UI3K.js +0 -95
  507. package/dist/customdata.inputui-V6QIGFRP.js +0 -284
  508. package/dist/dataDownload-NSDY4MSL.js +0 -329
  509. package/dist/databrowser.ui-DDLFQB6K.js +0 -425
  510. package/dist/dictionary-WSDD6TFI.js +0 -113
  511. package/dist/dnaMethylation-3IM4OACZ.js +0 -33
  512. package/dist/dnaMethylation.integration.spec-5CSJA67S.js +0 -198
  513. package/dist/dofetch-GZ7POIBV.js +0 -48
  514. package/dist/e2pca-AX7U2DOI.js +0 -344
  515. package/dist/ep-UKACHFJU.js +0 -1249
  516. package/dist/expclust.gdc.spec-46HDKH2Q.js +0 -302
  517. package/dist/facet-3EONZDDE.js +0 -519
  518. package/dist/gb-W7GX5NWS.js +0 -81
  519. package/dist/geneExpClustering-PJA6Y5GW.js +0 -244
  520. package/dist/geneExpression-EMLVPVNK.js +0 -310
  521. package/dist/geneExpression-JMGYBT53.js +0 -33
  522. package/dist/geneExpression.unit.spec-DDZVZJVC.js +0 -128
  523. package/dist/geneExpression.unit.spec-DDZVZJVC.js.map +0 -7
  524. package/dist/geneORA-CIAFQQWB.js +0 -273
  525. package/dist/geneRanking-JRAU6FMJ.js +0 -548
  526. package/dist/geneVariant-3DZTWQFG.js +0 -36
  527. package/dist/geneVariant-YWURIZ72.js +0 -286
  528. package/dist/geneVariant-YWURIZ72.js.map +0 -7
  529. package/dist/geneVariant.integration.spec-V3KECZMM.js +0 -489
  530. package/dist/geneVariant.integration.spec-V3KECZMM.js.map +0 -7
  531. package/dist/genefusion.ui-AO3TUDTL.js +0 -303
  532. package/dist/geneset-RCIP2GZH.js +0 -203
  533. package/dist/genomeBrowser.spec-7PZCNBL3.js +0 -276
  534. package/dist/grin2-EUBCNH4Q.js +0 -70
  535. package/dist/grin2-YYBB5XJK.js +0 -1137
  536. package/dist/grin2-YYBB5XJK.js.map +0 -7
  537. package/dist/hierCluster-AV5NO2GW.js +0 -59
  538. package/dist/hierCluster-W2MVN34V.js +0 -55
  539. package/dist/hierCluster.config-4MBWG6RZ.js +0 -36
  540. package/dist/hierCluster.integration.spec-JUIBIUKH.js +0 -483
  541. package/dist/hierCluster.interactivity-6PJE64PF.js +0 -49
  542. package/dist/hierCluster.renderers-RWDQ5SHY.js +0 -19
  543. package/dist/imagePlot-XLDQNUJA.js +0 -156
  544. package/dist/importPlot-7FISAQKR.js +0 -8
  545. package/dist/isoformExpression-WOQAOVZS.js +0 -35
  546. package/dist/isoformExpression.unit.spec-BMEGJNCO.js +0 -237
  547. package/dist/junction-6NO36IPU.js +0 -36
  548. package/dist/junction.customTerm-N6JAOWZO.js +0 -16
  549. package/dist/junction.unit.spec-UKGSQHO4.js +0 -182
  550. package/dist/launch.adhoc-42PUNEA6.js +0 -37
  551. package/dist/leftlabel.sample-EXAUDPSB.js +0 -258
  552. package/dist/lollipop-4ASTA5HO.js +0 -166
  553. package/dist/maf-HPXANL3M.js +0 -455
  554. package/dist/maftimeline-2SXFX3HF.js +0 -587
  555. package/dist/matrix-DX4W5XMX.js +0 -59
  556. package/dist/matrix-S34ITAPJ.js +0 -54
  557. package/dist/matrix.cells-BLULUGSZ.js +0 -26
  558. package/dist/matrix.config-Z3LWYH74.js +0 -37
  559. package/dist/matrix.data-73HY7Y2V.js +0 -23
  560. package/dist/matrix.groups-NOUMYNFY.js +0 -26
  561. package/dist/matrix.integration.spec-VTXYJ46U.js +0 -3160
  562. package/dist/matrix.integration.spec-VTXYJ46U.js.map +0 -7
  563. package/dist/matrix.interactivity-YHDIO5A2.js +0 -37
  564. package/dist/matrix.layout-25HYKUF2.js +0 -39
  565. package/dist/matrix.legend-IMK7DH4V.js +0 -20
  566. package/dist/matrix.renderers-3RZRN6HO.js +0 -34
  567. package/dist/matrix.serieses-ZTVHQ7QA.js +0 -19
  568. package/dist/matrix.sort-EDXHT6NZ.js +0 -26
  569. package/dist/matrix.sort.unit.spec-LSNY7PHU.js +0 -468
  570. package/dist/matrix.sorterUi-3DRNHG5Z.js +0 -16
  571. package/dist/matrix.sorterUi.unit.spec-GNIIWGRJ.js +0 -338
  572. package/dist/matrix.unit.spec-7A6ZFRXI.js +0 -150
  573. package/dist/mavb-M5AXPLYX.js +0 -727
  574. package/dist/mds.fimo-QE5OFA22.js +0 -513
  575. package/dist/mds.samplescatterplot-664EOHX2.js +0 -1545
  576. package/dist/mds.survivalplot-H4TJD44D.js +0 -477
  577. package/dist/multivalue-JD3CNQJR.js +0 -83
  578. package/dist/numericDictTermCluster-XPKEYXD7.js +0 -63
  579. package/dist/oncomatrix-TX5PZQ76.js +0 -290
  580. package/dist/oncomatrix.spec-6X2WAHL7.js +0 -443
  581. package/dist/plot.2dvaf-5OHUFTMK.js +0 -372
  582. package/dist/plot.app-XIVVJHWG.js +0 -36
  583. package/dist/plot.barplot-PSODLAXD.js +0 -97
  584. package/dist/plot.boxplot-W3ASYFOG.js +0 -146
  585. package/dist/plot.brainImaging-JGDLKLR7.js +0 -51
  586. package/dist/plot.disco-TPMXTTZK.js +0 -99
  587. package/dist/plot.ssgq-KIZIOZIF.js +0 -134
  588. package/dist/plot.vaf2cov-MSMW72IY.js +0 -253
  589. package/dist/polar2-LA4MSRRN.js +0 -232
  590. package/dist/profileForms-BJRNB2ZF.js +0 -941
  591. package/dist/profilePlot-DDO53C4T.js +0 -49
  592. package/dist/proteinView-NFUR42XQ.js +0 -1357
  593. package/dist/proteomeCohortCompare-OZVF3X66.js +0 -912
  594. package/dist/pseudbulk.unit.spec-RY72JF7A.js +0 -86
  595. package/dist/pseudobulk-UVT5G2VL.js +0 -35
  596. package/dist/qualitative-X3VXNC7X.js +0 -38
  597. package/dist/radar2-RTVUJ3AN.js +0 -327
  598. package/dist/radarFacility2-ZGLZ5AKM.js +0 -335
  599. package/dist/rememberedGvQ.unit.spec-RLLLWU5M.js +0 -211
  600. package/dist/render-LR5BOYW6.js +0 -33
  601. package/dist/report-37W5OXUM.js +0 -217
  602. package/dist/sampleView-BDC2WPH7.js +0 -43
  603. package/dist/samplelst-V2EIVZC5.js +0 -106
  604. package/dist/samplematrix-XOSKILUL.js +0 -2193
  605. package/dist/sc-ZVZPWQY7.js +0 -81
  606. package/dist/scatter-2ZE5MCYH.js +0 -88
  607. package/dist/scatter-ZOWFPGIS.js +0 -925
  608. package/dist/selectGenomeWithTklst-EF7WYEAJ.js +0 -129
  609. package/dist/singleCellCellType-TKCGC3G3.js +0 -33
  610. package/dist/singleCellCellType.unit.spec-JZ6UHC5F.js +0 -154
  611. package/dist/singleCellGeneExpression-I2INGXGI.js +0 -33
  612. package/dist/singleCellGeneExpression.unit.spec-KL77FSHZ.js +0 -148
  613. package/dist/singleCellNumericValue-2X5NCEHL.js +0 -33
  614. package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js +0 -416
  615. package/dist/singleCellPlot-Q6INE54V.js +0 -48
  616. package/dist/singlecell-5N2P5ZAT.js +0 -81
  617. package/dist/singlecell-NPSWMNI3.js +0 -1566
  618. package/dist/snp-2WPJYPDE.js +0 -33
  619. package/dist/snp.unit.spec-PPWIIOX6.js +0 -171
  620. package/dist/snplocus-T3HZFZWA.js +0 -203
  621. package/dist/spliceevent.a53ss.diagram-APCF4LV5.js +0 -146
  622. package/dist/spliceevent.exonskip.diagram-TT5JGBSC.js +0 -278
  623. package/dist/spliceevent.noeventdiagram-CPXQSX3Z.js +0 -455
  624. package/dist/ssGSEA-FSX6P7HA.js +0 -33
  625. package/dist/ssGSEA.unit.spec-TXYT665R.js +0 -83
  626. package/dist/stattable-BD64SFYV.js +0 -117
  627. package/dist/studyCatalog-6BOWO4PO.js +0 -414
  628. package/dist/summarizeCnvGeneexp-AMLYJIPU.js +0 -158
  629. package/dist/summarizeGeneexpSurvival-IDM7T333.js +0 -105
  630. package/dist/summarizeMutationCnv-R6SYSJQC.js +0 -159
  631. package/dist/summarizeMutationDiagnosis-XZJ4JLW2.js +0 -35
  632. package/dist/summarizeMutationSurvival-ABJ5RL4L.js +0 -99
  633. package/dist/summary-NVYCTE6P.js +0 -44
  634. package/dist/summary.integration.spec-SSLTLVNW.js +0 -409
  635. package/dist/summaryInput-SJOZETRP.js +0 -242
  636. package/dist/sunburst-RU5ZPJKW.js +0 -278
  637. package/dist/survival-BHJQMXKI.js +0 -53
  638. package/dist/survival-DVG6Y2FV.js +0 -1248
  639. package/dist/survival.integration.spec-OJUPTY5N.js +0 -613
  640. package/dist/svgraph-ETFA4GRX.js +0 -1382
  641. package/dist/svmr-AI3RU4JK.js +0 -3837
  642. package/dist/table-YCTSMLQL.js +0 -197
  643. package/dist/termCollection-GMKEZR6D.js +0 -252
  644. package/dist/termCollection-VEVKKJZD.js +0 -33
  645. package/dist/termCollection.unit.spec-EU6YCEPX.js +0 -299
  646. package/dist/termCollectionFractionSelection-UBS74X36.js +0 -42
  647. package/dist/termCollectionFractionSelection.unit.spec-Y5OJFGDD.js +0 -188
  648. package/dist/tk-HMF4HCNV.js +0 -1121
  649. package/dist/tk-W6Z4FJMW.js +0 -41
  650. package/dist/tp.ui-NECRDJCS.js +0 -1454
  651. package/dist/tvs.dt-2JEH3F35.js +0 -34
  652. package/dist/tvs.dtcnv.categorical-YBXKEBR2.js +0 -35
  653. package/dist/tvs.dtcnv.continuous-AD3SJ6BY.js +0 -67
  654. package/dist/tvs.dtfusion-ODI3CLQS.js +0 -35
  655. package/dist/tvs.dtitd-V3LYLPJY.js +0 -35
  656. package/dist/tvs.dtsnvindel-R3V5LTNL.js +0 -35
  657. package/dist/tvs.dtsv-ZQLKEDLJ.js +0 -35
  658. package/dist/tvs.numeric-22AHXO5K.js +0 -20
  659. package/dist/tvs.samplelst-G25A7HM6.js +0 -98
  660. package/dist/tvs.termCollection-WLVCWDEJ.js +0 -124
  661. package/dist/vocabulary-6K537FJM.js +0 -36
  662. package/dist/wsi.direct-SNPPQPVO.js +0 -8343
  663. /package/dist/{2dmaf-PN5YS362.js.map → 2dmaf-43QBND66.js.map} +0 -0
  664. /package/dist/{AggMatrixInput-NJHU4FU2.js.map → AggMatrixInput-X7NGFUHH.js.map} +0 -0
  665. /package/dist/{AggregateMatrix-IBWOJWOC.js.map → AggregateMatrix-M4HRI4PX.js.map} +0 -0
  666. /package/dist/{AppHeader-XV6S7GG5.js.map → AppHeader-QBRQN6PM.js.map} +0 -0
  667. /package/dist/{BoxPlot-ZIVA55SK.js.map → BoxPlot-V6SPSEQ2.js.map} +0 -0
  668. /package/dist/{CorrelationVolcano-33I4FC44.js.map → CorrelationVolcano-UFPCYC77.js.map} +0 -0
  669. /package/dist/{Cuminc-WKY35UGV.js.map → Cuminc-KXGXGLKZ.js.map} +0 -0
  670. /package/dist/{DE-E256DHID.js.map → DE-K2YXHOOW.js.map} +0 -0
  671. /package/dist/{DM-W7PXTIKY.js.map → DM-C7VN3RWB.js.map} +0 -0
  672. /package/dist/{Disco-OZY5GW2Z.js.map → Disco-HECQVKXG.js.map} +0 -0
  673. /package/dist/{Disco.UI-NRALEYXK.js.map → Disco.UI-XF2GEKRW.js.map} +0 -0
  674. /package/dist/{GeneExpInput-XEFUTLFU.js.map → GeneExpInput-VBIZZV27.js.map} +0 -0
  675. /package/dist/{Geomap-GEK7UEDU.js.map → Geomap-UIIOLRFA.js.map} +0 -0
  676. /package/dist/{HicApp-ZY7UHV5H.js.map → HicApp-73ESVNBA.js.map} +0 -0
  677. /package/dist/{IDCViewer-YNKG4V46.js.map → IDCViewer-RBYN5A4P.js.map} +0 -0
  678. /package/dist/{NumBinaryEditor-NEL727DX.js.map → NumBinaryEditor-DJLSNSLE.js.map} +0 -0
  679. /package/dist/{NumBinaryEditor.unit.spec-GCGZMJYF.js.map → NumBinaryEditor.unit.spec-LCJHL3XM.js.map} +0 -0
  680. /package/dist/{NumContEditor-IM6RRDGU.js.map → NumContEditor-SVLDJ2ML.js.map} +0 -0
  681. /package/dist/{NumContEditor.unit.spec-B5AJXANS.js.map → NumContEditor.unit.spec-JDMSK4HY.js.map} +0 -0
  682. /package/dist/{NumCustomBinEditor-EZT5DRKP.js.map → NumCustomBinEditor-BI63AH3R.js.map} +0 -0
  683. /package/dist/{NumCustomBinEditor.unit.spec-KLUDS6TH.js.map → NumCustomBinEditor.unit.spec-5433G7Y2.js.map} +0 -0
  684. /package/dist/{NumDiscreteEditor-2M6Q5AAZ.js.map → NumDiscreteEditor-LEZTGXAV.js.map} +0 -0
  685. /package/dist/{NumDiscreteEditor.unit.spec-2JYZYJUX.js.map → NumDiscreteEditor.unit.spec-5OEORHJ4.js.map} +0 -0
  686. /package/dist/{NumRegularBinEditor-AQDHA2PU.js.map → NumRegularBinEditor-EXWHIWPM.js.map} +0 -0
  687. /package/dist/{NumRegularBinEditor.unit.spec-62BYFNYG.js.map → NumRegularBinEditor.unit.spec-QY25Z2TT.js.map} +0 -0
  688. /package/dist/{NumSplineEditor-6Y5TZSTO.js.map → NumSplineEditor-XPPMYYAD.js.map} +0 -0
  689. /package/dist/{NumSplineEditor.unit.spec-S65AV5EK.js.map → NumSplineEditor.unit.spec-GOGBKWMN.js.map} +0 -0
  690. /package/dist/{NumericDensity-5ES4SDWZ.js.map → NumericDensity-RKY2IQ72.js.map} +0 -0
  691. /package/dist/{NumericDensity.unit.spec-J6KZSE2P.js.map → NumericDensity.unit.spec-5ZM6ICXM.js.map} +0 -0
  692. /package/dist/{NumericHandler-ZTLDPP2F.js.map → NumericHandler-FXF3M5M3.js.map} +0 -0
  693. /package/dist/{NumericHandler.unit.spec-BZFBVHGU.js.map → NumericHandler.unit.spec-M2OQTBJX.js.map} +0 -0
  694. /package/dist/{ProteomeInput-IKEXPCGV.js.map → ProteomeInput-TMZ3THRL.js.map} +0 -0
  695. /package/dist/{RunChart2-CVRPXQH5.js.map → RunChart2-7GNDWRKC.js.map} +0 -0
  696. /package/dist/{Wsi-3YTFABWG.js.map → Wsi-OHRCGYYD.js.map} +0 -0
  697. /package/dist/{adSandbox-QYIG6637.js.map → adSandbox-H56B25WR.js.map} +0 -0
  698. /package/dist/{animatedBubbleChart-X53PR73H.js.map → animatedBubbleChart-7SXFHU4J.js.map} +0 -0
  699. /package/dist/{app-HJLTRZPI.js.map → app-22JCSULA.js.map} +0 -0
  700. /package/dist/{app-MGY6A4DM.js.map → app-RGZJB6LN.js.map} +0 -0
  701. /package/dist/{bam-VRQHRCP5.js.map → bam-HA65TRGX.js.map} +0 -0
  702. /package/dist/{barchart-TWMOUZFL.js.map → barchart-6XO75OMA.js.map} +0 -0
  703. /package/dist/{barchart2-CV7RMMRG.js.map → barchart2-6E5BIRHD.js.map} +0 -0
  704. /package/dist/{block.init-XYOJTXKP.js.map → block.init-TPU5QIPA.js.map} +0 -0
  705. /package/dist/{block.mds.expressionrank-77FSBDHA.js.map → block.mds.expressionrank-QZDRFXCH.js.map} +0 -0
  706. /package/dist/{block.mds.geneboxplot-4TSYV4WS.js.map → block.mds.geneboxplot-64QVBK5Q.js.map} +0 -0
  707. /package/dist/{block.mds.junction-P4MYDET6.js.map → block.mds.junction-I4J6VXNT.js.map} +0 -0
  708. /package/dist/{block.mds.svcnv-CYOFAS2T.js.map → block.mds.svcnv-GDQMSQFF.js.map} +0 -0
  709. /package/dist/{block.svg-IT3ELCF4.js.map → block.svg-2MZFT5QP.js.map} +0 -0
  710. /package/dist/{block.tk.aicheck-GULHJLV5.js.map → block.tk.aicheck-2MKHF6LX.js.map} +0 -0
  711. /package/dist/{block.tk.ase-RW5YL6HN.js.map → block.tk.ase-CLYGKFTS.js.map} +0 -0
  712. /package/dist/{block.tk.bam-MPGQW6KB.js.map → block.tk.bam-XTR4QA5Z.js.map} +0 -0
  713. /package/dist/{block.tk.bedgraphdot-EYRY374P.js.map → block.tk.bedgraphdot-A2P2CXRU.js.map} +0 -0
  714. /package/dist/{block.tk.bigwig.ui-BKSXCDNM.js.map → block.tk.bigwig.ui-YZH6JXEO.js.map} +0 -0
  715. /package/dist/{block.tk.hicstraw-76PV6NM3.js.map → block.tk.hicstraw-QBK5VWGU.js.map} +0 -0
  716. /package/dist/{block.tk.junction-Z52QHQJQ.js.map → block.tk.junction-5DEVBA7G.js.map} +0 -0
  717. /package/dist/{block.tk.junction.textmatrixui-K32OOTZC.js.map → block.tk.junction.textmatrixui-7TTQMO6W.js.map} +0 -0
  718. /package/dist/{block.tk.ld-DDGLRHPO.js.map → block.tk.ld-PRIVUPKL.js.map} +0 -0
  719. /package/dist/{block.tk.menu-MO6TESKI.js.map → block.tk.menu-JGBRFSS3.js.map} +0 -0
  720. /package/dist/{block.tk.pgv-AKLKKSEP.js.map → block.tk.pgv-KQJCJMVD.js.map} +0 -0
  721. /package/dist/{brainImaging-KSTJQJAB.js.map → brainImaging-4SLVJ2HV.js.map} +0 -0
  722. /package/dist/{brainRegions-WCRMMSK4.js.map → brainRegions-BDIVM2SG.js.map} +0 -0
  723. /package/dist/{bubbleHeatmap-4YOQ3BAB.js.map → bubbleHeatmap-ORKFJNEQ.js.map} +0 -0
  724. /package/dist/{cellTypeBubbleHeatmap-O6YZ2RW4.js.map → cellTypeBubbleHeatmap-VOHLI4P7.js.map} +0 -0
  725. /package/dist/{chunk-MC674TS2.js.map → chunk-26N3B2JO.js.map} +0 -0
  726. /package/dist/{chunk-G3CCQOLH.js.map → chunk-2HNJF5ZI.js.map} +0 -0
  727. /package/dist/{chunk-XGYQZHNX.js.map → chunk-2LNGHIOC.js.map} +0 -0
  728. /package/dist/{chunk-5IMFPVGT.js.map → chunk-3FEP6B5T.js.map} +0 -0
  729. /package/dist/{chunk-BPGZUNLL.js.map → chunk-3SCQGODD.js.map} +0 -0
  730. /package/dist/{chunk-6DPELKO5.js.map → chunk-47STLK7K.js.map} +0 -0
  731. /package/dist/{chunk-KAY2ODXX.js.map → chunk-4G73CMUL.js.map} +0 -0
  732. /package/dist/{chunk-A7TXS6JR.js.map → chunk-4XYQG3XU.js.map} +0 -0
  733. /package/dist/{chunk-J7KB2MH3.js.map → chunk-53XNEXR6.js.map} +0 -0
  734. /package/dist/{chunk-AAJXHERO.js.map → chunk-5UB5H7A3.js.map} +0 -0
  735. /package/dist/{chunk-CPIPN5F6.js.map → chunk-6FYQYTV6.js.map} +0 -0
  736. /package/dist/{chunk-REPQKF5L.js.map → chunk-6RP6CR4Q.js.map} +0 -0
  737. /package/dist/{chunk-IISNWG4X.js.map → chunk-A5D37SIL.js.map} +0 -0
  738. /package/dist/{chunk-4PB5ZEOB.js.map → chunk-ADRFQ5AL.js.map} +0 -0
  739. /package/dist/{chunk-IELQ3HMN.js.map → chunk-AUZ63NKJ.js.map} +0 -0
  740. /package/dist/{chunk-HKKTNIMX.js.map → chunk-BK6UDL7F.js.map} +0 -0
  741. /package/dist/{chunk-X44AR557.js.map → chunk-CFZ2ZW3E.js.map} +0 -0
  742. /package/dist/{chunk-HKSRIEWJ.js.map → chunk-CKOU3P27.js.map} +0 -0
  743. /package/dist/{chunk-XRMUUWLS.js.map → chunk-CT4IG5IR.js.map} +0 -0
  744. /package/dist/{chunk-72P6O537.js.map → chunk-D6UBH77N.js.map} +0 -0
  745. /package/dist/{chunk-VWGRKOVJ.js.map → chunk-DS4GLMJL.js.map} +0 -0
  746. /package/dist/{chunk-HELEV3LT.js.map → chunk-DSBRHWZ7.js.map} +0 -0
  747. /package/dist/{chunk-GS6ZMPKP.js.map → chunk-DX35MKPR.js.map} +0 -0
  748. /package/dist/{chunk-6HGTVMZM.js.map → chunk-EDZJ3VNZ.js.map} +0 -0
  749. /package/dist/{chunk-MLKQZ3RL.js.map → chunk-F47A4CVK.js.map} +0 -0
  750. /package/dist/{chunk-3PQDD5HM.js.map → chunk-G4H34RNK.js.map} +0 -0
  751. /package/dist/{chunk-E7NVJ44Z.js.map → chunk-G7RUMSHL.js.map} +0 -0
  752. /package/dist/{chunk-BGVGN73F.js.map → chunk-GXFS25SK.js.map} +0 -0
  753. /package/dist/{chunk-AVS4IXEA.js.map → chunk-IBT6WRY6.js.map} +0 -0
  754. /package/dist/{chunk-SUNDNTVY.js.map → chunk-IJ7AIDEO.js.map} +0 -0
  755. /package/dist/{chunk-UMZJQWWK.js.map → chunk-JBFVJHZN.js.map} +0 -0
  756. /package/dist/{chunk-NBGVEZNX.js.map → chunk-JDVBUIEU.js.map} +0 -0
  757. /package/dist/{chunk-OBBR4UYN.js.map → chunk-JTANDSTD.js.map} +0 -0
  758. /package/dist/{chunk-N6IWVSFP.js.map → chunk-K7RW5TPU.js.map} +0 -0
  759. /package/dist/{chunk-XOND7UIK.js.map → chunk-LBCIXRI2.js.map} +0 -0
  760. /package/dist/{chunk-TSI4W6XO.js.map → chunk-MNXL2UV5.js.map} +0 -0
  761. /package/dist/{chunk-WOMERKMR.js.map → chunk-NDOKW2HJ.js.map} +0 -0
  762. /package/dist/{chunk-Z2FSHODI.js.map → chunk-NI5CVN43.js.map} +0 -0
  763. /package/dist/{chunk-74C6G6JD.js.map → chunk-NOBXDQDU.js.map} +0 -0
  764. /package/dist/{chunk-BL7EYUZC.js.map → chunk-NQNVLZOA.js.map} +0 -0
  765. /package/dist/{chunk-4C7MA5Q3.js.map → chunk-NULFGPE3.js.map} +0 -0
  766. /package/dist/{chunk-3GUVLDUS.js.map → chunk-OUIXGM3K.js.map} +0 -0
  767. /package/dist/{chunk-Y5BBFDC3.js.map → chunk-P4LGA36F.js.map} +0 -0
  768. /package/dist/{chunk-QP7EJXSU.js.map → chunk-PU5FQWAY.js.map} +0 -0
  769. /package/dist/{chunk-QUHXX7JE.js.map → chunk-PZ2OSHBF.js.map} +0 -0
  770. /package/dist/{chunk-KJM6PLXM.js.map → chunk-QBNDPW7O.js.map} +0 -0
  771. /package/dist/{chunk-WXX2YD4Q.js.map → chunk-QD75Q5LM.js.map} +0 -0
  772. /package/dist/{chunk-JIZ3B32T.js.map → chunk-RI65SIN3.js.map} +0 -0
  773. /package/dist/{chunk-GPZYAJQH.js.map → chunk-RPGLLO4T.js.map} +0 -0
  774. /package/dist/{chunk-QJ2VBXFB.js.map → chunk-RXNZK7MF.js.map} +0 -0
  775. /package/dist/{chunk-MSSPT5YM.js.map → chunk-S2ICJ3RZ.js.map} +0 -0
  776. /package/dist/{chunk-XTOGCXPD.js.map → chunk-SFHG6H2D.js.map} +0 -0
  777. /package/dist/{chunk-XEU5HXOY.js.map → chunk-TQ2DVEQO.js.map} +0 -0
  778. /package/dist/{chunk-BFXZBZEV.js.map → chunk-U6BJ4ZNU.js.map} +0 -0
  779. /package/dist/{chunk-DMWOK4DS.js.map → chunk-UXD6G6G4.js.map} +0 -0
  780. /package/dist/{chunk-PQA3C2NY.js.map → chunk-VH5W6ODW.js.map} +0 -0
  781. /package/dist/{chunk-D5MSWPAZ.js.map → chunk-VWA7BYSV.js.map} +0 -0
  782. /package/dist/{chunk-GUXKLMLM.js.map → chunk-X37BRSGS.js.map} +0 -0
  783. /package/dist/{chunk-U45R6QNT.js.map → chunk-XQYDXA47.js.map} +0 -0
  784. /package/dist/{chunk-TXIQ5PHR.js.map → chunk-Y7V5AIUH.js.map} +0 -0
  785. /package/dist/{chunk-DFT2PAIU.js.map → chunk-YBNIOGUE.js.map} +0 -0
  786. /package/dist/{chunk-JEJV7V7M.js.map → chunk-YEYMNF7V.js.map} +0 -0
  787. /package/dist/{chunk-KZHF3MQX.js.map → chunk-YJ74QATP.js.map} +0 -0
  788. /package/dist/{chunk-SHXJW27D.js.map → chunk-ZG2HCGAO.js.map} +0 -0
  789. /package/dist/{chunk-EMMGUSJB.js.map → chunk-ZZN7ZD7J.js.map} +0 -0
  790. /package/dist/{cohort-JWIQOO7U.js.map → cohort-6OCRQQ2S.js.map} +0 -0
  791. /package/dist/{condition-ZUAQYF5C.js.map → condition-SZVXH3VU.js.map} +0 -0
  792. /package/dist/{controls-ZPQ6SXD2.js.map → controls-MO6ZND76.js.map} +0 -0
  793. /package/dist/{controls.config-NELL5HY5.js.map → controls.config-P4MSTGL4.js.map} +0 -0
  794. /package/dist/{correlation-2X76UI3K.js.map → correlation-NMI3CM3T.js.map} +0 -0
  795. /package/dist/{customdata.inputui-V6QIGFRP.js.map → customdata.inputui-VCHSCA65.js.map} +0 -0
  796. /package/dist/{dataDownload-NSDY4MSL.js.map → dataDownload-VQHOTQ5D.js.map} +0 -0
  797. /package/dist/{databrowser.ui-DDLFQB6K.js.map → databrowser.ui-ZFOCAG32.js.map} +0 -0
  798. /package/dist/{dictionary-WSDD6TFI.js.map → dictionary-S5YCFUWH.js.map} +0 -0
  799. /package/dist/{dnaMethylation-3IM4OACZ.js.map → dnaMethylation-MQZLZRGT.js.map} +0 -0
  800. /package/dist/{dnaMethylation.integration.spec-5CSJA67S.js.map → dnaMethylation.integration.spec-H546EBUO.js.map} +0 -0
  801. /package/dist/{dofetch-GZ7POIBV.js.map → dofetch-QZIYSC7H.js.map} +0 -0
  802. /package/dist/{e2pca-AX7U2DOI.js.map → e2pca-XOXOS3PN.js.map} +0 -0
  803. /package/dist/{ep-UKACHFJU.js.map → ep-U6KRL7FR.js.map} +0 -0
  804. /package/dist/{expclust.gdc.spec-46HDKH2Q.js.map → expclust.gdc.spec-HCK65C63.js.map} +0 -0
  805. /package/dist/{facet-3EONZDDE.js.map → facet-DCC25KJO.js.map} +0 -0
  806. /package/dist/{gb-W7GX5NWS.js.map → gb-TIFWFD4Y.js.map} +0 -0
  807. /package/dist/{geneExpClustering-PJA6Y5GW.js.map → geneExpClustering-6DQEOTOY.js.map} +0 -0
  808. /package/dist/{geneExpression-EMLVPVNK.js.map → geneExpression-EASRAN6B.js.map} +0 -0
  809. /package/dist/{geneExpression-JMGYBT53.js.map → geneExpression-G4YMDCBH.js.map} +0 -0
  810. /package/dist/{geneORA-CIAFQQWB.js.map → geneORA-6UBS5GSC.js.map} +0 -0
  811. /package/dist/{geneRanking-JRAU6FMJ.js.map → geneRanking-UXXYWHNB.js.map} +0 -0
  812. /package/dist/{geneVariant-3DZTWQFG.js.map → geneVariant-TKFKARZK.js.map} +0 -0
  813. /package/dist/{genefusion.ui-AO3TUDTL.js.map → genefusion.ui-TJLYXSVL.js.map} +0 -0
  814. /package/dist/{geneset-RCIP2GZH.js.map → geneset-YTBDLEIH.js.map} +0 -0
  815. /package/dist/{genomeBrowser.spec-7PZCNBL3.js.map → genomeBrowser.spec-ZO4LFIXE.js.map} +0 -0
  816. /package/dist/{grin2-EUBCNH4Q.js.map → grin2-LIFKBMVK.js.map} +0 -0
  817. /package/dist/{hierCluster-AV5NO2GW.js.map → hierCluster-56EGAPOR.js.map} +0 -0
  818. /package/dist/{hierCluster-W2MVN34V.js.map → hierCluster-DR5NWCXA.js.map} +0 -0
  819. /package/dist/{hierCluster.config-4MBWG6RZ.js.map → hierCluster.config-NACE3FH2.js.map} +0 -0
  820. /package/dist/{hierCluster.integration.spec-JUIBIUKH.js.map → hierCluster.integration.spec-PEEXPAS6.js.map} +0 -0
  821. /package/dist/{hierCluster.interactivity-6PJE64PF.js.map → hierCluster.interactivity-OCBGLUJM.js.map} +0 -0
  822. /package/dist/{hierCluster.renderers-RWDQ5SHY.js.map → hierCluster.renderers-JNQUSAP4.js.map} +0 -0
  823. /package/dist/{imagePlot-XLDQNUJA.js.map → imagePlot-GR4JNUGG.js.map} +0 -0
  824. /package/dist/{importPlot-7FISAQKR.js.map → importPlot-4R4BSPVD.js.map} +0 -0
  825. /package/dist/{isoformExpression-WOQAOVZS.js.map → isoformExpression-ST5ZW2NE.js.map} +0 -0
  826. /package/dist/{isoformExpression.unit.spec-BMEGJNCO.js.map → isoformExpression.unit.spec-PPFC5Z7N.js.map} +0 -0
  827. /package/dist/{junction-6NO36IPU.js.map → junction-7AKZHOHV.js.map} +0 -0
  828. /package/dist/{junction.customTerm-N6JAOWZO.js.map → junction.customTerm-TMV43R7Z.js.map} +0 -0
  829. /package/dist/{junction.unit.spec-UKGSQHO4.js.map → junction.unit.spec-SZUJXRQ2.js.map} +0 -0
  830. /package/dist/{launch.adhoc-42PUNEA6.js.map → launch.adhoc-RWJQUOJ6.js.map} +0 -0
  831. /package/dist/{leftlabel.sample-EXAUDPSB.js.map → leftlabel.sample-WRHLVQAQ.js.map} +0 -0
  832. /package/dist/{lollipop-4ASTA5HO.js.map → lollipop-ZZWXTM23.js.map} +0 -0
  833. /package/dist/{maf-HPXANL3M.js.map → maf-N4XPZTQU.js.map} +0 -0
  834. /package/dist/{maftimeline-2SXFX3HF.js.map → maftimeline-2FBS6RWS.js.map} +0 -0
  835. /package/dist/{matrix-DX4W5XMX.js.map → matrix-5KEQPB5H.js.map} +0 -0
  836. /package/dist/{matrix-S34ITAPJ.js.map → matrix-RJUNXB5N.js.map} +0 -0
  837. /package/dist/{matrix.cells-BLULUGSZ.js.map → matrix.cells-WXTPOJYB.js.map} +0 -0
  838. /package/dist/{matrix.config-Z3LWYH74.js.map → matrix.config-ZZFLLD6Z.js.map} +0 -0
  839. /package/dist/{matrix.data-73HY7Y2V.js.map → matrix.data-3PQ73GVJ.js.map} +0 -0
  840. /package/dist/{matrix.groups-NOUMYNFY.js.map → matrix.groups-U6CKS6WW.js.map} +0 -0
  841. /package/dist/{matrix.interactivity-YHDIO5A2.js.map → matrix.interactivity-3LDZV3F7.js.map} +0 -0
  842. /package/dist/{matrix.layout-25HYKUF2.js.map → matrix.layout-MINLYQCA.js.map} +0 -0
  843. /package/dist/{matrix.legend-IMK7DH4V.js.map → matrix.legend-6GSDFZHS.js.map} +0 -0
  844. /package/dist/{matrix.renderers-3RZRN6HO.js.map → matrix.renderers-5BKOXDE3.js.map} +0 -0
  845. /package/dist/{matrix.serieses-ZTVHQ7QA.js.map → matrix.serieses-6FCFIFAQ.js.map} +0 -0
  846. /package/dist/{matrix.sort-EDXHT6NZ.js.map → matrix.sort-EHVVYDZ3.js.map} +0 -0
  847. /package/dist/{matrix.sort.unit.spec-LSNY7PHU.js.map → matrix.sort.unit.spec-BCWE4AFX.js.map} +0 -0
  848. /package/dist/{matrix.sorterUi-3DRNHG5Z.js.map → matrix.sorterUi-WL5I6S3K.js.map} +0 -0
  849. /package/dist/{matrix.sorterUi.unit.spec-GNIIWGRJ.js.map → matrix.sorterUi.unit.spec-XJR5KXRL.js.map} +0 -0
  850. /package/dist/{matrix.unit.spec-7A6ZFRXI.js.map → matrix.unit.spec-TUCKPE26.js.map} +0 -0
  851. /package/dist/{mavb-M5AXPLYX.js.map → mavb-GWSNRBLM.js.map} +0 -0
  852. /package/dist/{mds.fimo-QE5OFA22.js.map → mds.fimo-OMAQRSMW.js.map} +0 -0
  853. /package/dist/{mds.samplescatterplot-664EOHX2.js.map → mds.samplescatterplot-4UW3CC45.js.map} +0 -0
  854. /package/dist/{mds.survivalplot-H4TJD44D.js.map → mds.survivalplot-2CJYJBD2.js.map} +0 -0
  855. /package/dist/{multivalue-JD3CNQJR.js.map → multivalue-G44MHEYI.js.map} +0 -0
  856. /package/dist/{numericDictTermCluster-XPKEYXD7.js.map → numericDictTermCluster-5BDRGVQG.js.map} +0 -0
  857. /package/dist/{oncomatrix-TX5PZQ76.js.map → oncomatrix-ZTVO23ZH.js.map} +0 -0
  858. /package/dist/{oncomatrix.spec-6X2WAHL7.js.map → oncomatrix.spec-2QVK2A3Q.js.map} +0 -0
  859. /package/dist/{plot.2dvaf-5OHUFTMK.js.map → plot.2dvaf-CL5YUXKH.js.map} +0 -0
  860. /package/dist/{plot.app-XIVVJHWG.js.map → plot.app-4ANKPSNP.js.map} +0 -0
  861. /package/dist/{plot.barplot-PSODLAXD.js.map → plot.barplot-BMGDNZRA.js.map} +0 -0
  862. /package/dist/{plot.boxplot-W3ASYFOG.js.map → plot.boxplot-GMLQCDP6.js.map} +0 -0
  863. /package/dist/{plot.brainImaging-JGDLKLR7.js.map → plot.brainImaging-RZXX3NUZ.js.map} +0 -0
  864. /package/dist/{plot.disco-TPMXTTZK.js.map → plot.disco-3MD4J4C7.js.map} +0 -0
  865. /package/dist/{plot.ssgq-KIZIOZIF.js.map → plot.ssgq-ZC4UYKOT.js.map} +0 -0
  866. /package/dist/{plot.vaf2cov-MSMW72IY.js.map → plot.vaf2cov-4DHFMYQV.js.map} +0 -0
  867. /package/dist/{polar2-LA4MSRRN.js.map → polar2-TMB5EITR.js.map} +0 -0
  868. /package/dist/{profileForms-BJRNB2ZF.js.map → profileForms-GD7BIOOD.js.map} +0 -0
  869. /package/dist/{profilePlot-DDO53C4T.js.map → profilePlot-CZLK5E74.js.map} +0 -0
  870. /package/dist/{proteinView-NFUR42XQ.js.map → proteinView-FEEEXLKT.js.map} +0 -0
  871. /package/dist/{proteomeCohortCompare-OZVF3X66.js.map → proteomeCohortCompare-NVLJ2FXX.js.map} +0 -0
  872. /package/dist/{pseudbulk.unit.spec-RY72JF7A.js.map → pseudbulk.unit.spec-GHQZPNAH.js.map} +0 -0
  873. /package/dist/{pseudobulk-UVT5G2VL.js.map → pseudobulk-G5UQIRKL.js.map} +0 -0
  874. /package/dist/{qualitative-X3VXNC7X.js.map → qualitative-EAUUCKU5.js.map} +0 -0
  875. /package/dist/{radar2-RTVUJ3AN.js.map → radar2-CJQ2L6KE.js.map} +0 -0
  876. /package/dist/{radarFacility2-ZGLZ5AKM.js.map → radarFacility2-BLVRZE4V.js.map} +0 -0
  877. /package/dist/{rememberedGvQ.unit.spec-RLLLWU5M.js.map → rememberedGvQ.unit.spec-DYRO2LO5.js.map} +0 -0
  878. /package/dist/{render-LR5BOYW6.js.map → render-KKAQPH6Y.js.map} +0 -0
  879. /package/dist/{report-37W5OXUM.js.map → report-OSOJHTSD.js.map} +0 -0
  880. /package/dist/{sampleView-BDC2WPH7.js.map → sampleView-WB74RLD7.js.map} +0 -0
  881. /package/dist/{samplelst-V2EIVZC5.js.map → samplelst-ZKXV5WOD.js.map} +0 -0
  882. /package/dist/{samplematrix-XOSKILUL.js.map → samplematrix-WJFYMWLT.js.map} +0 -0
  883. /package/dist/{sc-ZVZPWQY7.js.map → sc-RBRBUCLR.js.map} +0 -0
  884. /package/dist/{scatter-2ZE5MCYH.js.map → scatter-5K3QTIDK.js.map} +0 -0
  885. /package/dist/{scatter-ZOWFPGIS.js.map → scatter-SM7GQENM.js.map} +0 -0
  886. /package/dist/{selectGenomeWithTklst-EF7WYEAJ.js.map → selectGenomeWithTklst-ZZUJ7AQ7.js.map} +0 -0
  887. /package/dist/{singleCellCellType-TKCGC3G3.js.map → singleCellCellType-LCF2JNZ2.js.map} +0 -0
  888. /package/dist/{singleCellCellType.unit.spec-JZ6UHC5F.js.map → singleCellCellType.unit.spec-T6DYH4BC.js.map} +0 -0
  889. /package/dist/{singleCellGeneExpression-I2INGXGI.js.map → singleCellGeneExpression-2XUYTH4C.js.map} +0 -0
  890. /package/dist/{singleCellGeneExpression.unit.spec-KL77FSHZ.js.map → singleCellGeneExpression.unit.spec-SMRCLOF4.js.map} +0 -0
  891. /package/dist/{singleCellNumericValue-2X5NCEHL.js.map → singleCellNumericValue-57I33FZT.js.map} +0 -0
  892. /package/dist/{singleCellNumericValue.unit.spec-OUDBX5MY.js.map → singleCellNumericValue.unit.spec-4YNB4OEV.js.map} +0 -0
  893. /package/dist/{singleCellPlot-Q6INE54V.js.map → singleCellPlot-L6TKQHGD.js.map} +0 -0
  894. /package/dist/{singlecell-5N2P5ZAT.js.map → singlecell-LZKR3UDV.js.map} +0 -0
  895. /package/dist/{singlecell-NPSWMNI3.js.map → singlecell-UKN2VCXQ.js.map} +0 -0
  896. /package/dist/{snp-2WPJYPDE.js.map → snp-3LJITU5B.js.map} +0 -0
  897. /package/dist/{snp.unit.spec-PPWIIOX6.js.map → snp.unit.spec-ZQNU6XRM.js.map} +0 -0
  898. /package/dist/{snplocus-T3HZFZWA.js.map → snplocus-OME7UQBW.js.map} +0 -0
  899. /package/dist/{spliceevent.a53ss.diagram-APCF4LV5.js.map → spliceevent.a53ss.diagram-C32IEFMU.js.map} +0 -0
  900. /package/dist/{spliceevent.exonskip.diagram-TT5JGBSC.js.map → spliceevent.exonskip.diagram-CZ7MVRLK.js.map} +0 -0
  901. /package/dist/{spliceevent.noeventdiagram-CPXQSX3Z.js.map → spliceevent.noeventdiagram-ZO6R3776.js.map} +0 -0
  902. /package/dist/{ssGSEA-FSX6P7HA.js.map → ssGSEA-BGPQ2PFY.js.map} +0 -0
  903. /package/dist/{ssGSEA.unit.spec-TXYT665R.js.map → ssGSEA.unit.spec-U7TBUSSK.js.map} +0 -0
  904. /package/dist/{stattable-BD64SFYV.js.map → stattable-FISGQCED.js.map} +0 -0
  905. /package/dist/{studyCatalog-6BOWO4PO.js.map → studyCatalog-UHFUT2CJ.js.map} +0 -0
  906. /package/dist/{summarizeCnvGeneexp-AMLYJIPU.js.map → summarizeCnvGeneexp-OVZO6KIB.js.map} +0 -0
  907. /package/dist/{summarizeGeneexpSurvival-IDM7T333.js.map → summarizeGeneexpSurvival-KVQ4JGWK.js.map} +0 -0
  908. /package/dist/{summarizeMutationCnv-R6SYSJQC.js.map → summarizeMutationCnv-RAKGHNLE.js.map} +0 -0
  909. /package/dist/{summarizeMutationDiagnosis-XZJ4JLW2.js.map → summarizeMutationDiagnosis-LGCINAGG.js.map} +0 -0
  910. /package/dist/{summarizeMutationSurvival-ABJ5RL4L.js.map → summarizeMutationSurvival-J7H7L4FX.js.map} +0 -0
  911. /package/dist/{summary-NVYCTE6P.js.map → summary-2632JZXH.js.map} +0 -0
  912. /package/dist/{summary.integration.spec-SSLTLVNW.js.map → summary.integration.spec-5WBS2ZRP.js.map} +0 -0
  913. /package/dist/{summaryInput-SJOZETRP.js.map → summaryInput-BH6C3ATV.js.map} +0 -0
  914. /package/dist/{sunburst-RU5ZPJKW.js.map → sunburst-AMRR2IHM.js.map} +0 -0
  915. /package/dist/{survival-DVG6Y2FV.js.map → survival-2RNJQVFS.js.map} +0 -0
  916. /package/dist/{survival-BHJQMXKI.js.map → survival-WYCH4QOQ.js.map} +0 -0
  917. /package/dist/{survival.integration.spec-OJUPTY5N.js.map → survival.integration.spec-7IFPY4I4.js.map} +0 -0
  918. /package/dist/{svgraph-ETFA4GRX.js.map → svgraph-YQWS52ZJ.js.map} +0 -0
  919. /package/dist/{svmr-AI3RU4JK.js.map → svmr-NRN6LGKK.js.map} +0 -0
  920. /package/dist/{table-YCTSMLQL.js.map → table-3QOMV2NN.js.map} +0 -0
  921. /package/dist/{termCollection-VEVKKJZD.js.map → termCollection-2ZJ7TJGO.js.map} +0 -0
  922. /package/dist/{termCollection-GMKEZR6D.js.map → termCollection-3MCVR7BA.js.map} +0 -0
  923. /package/dist/{termCollection.unit.spec-EU6YCEPX.js.map → termCollection.unit.spec-QYOEA3X6.js.map} +0 -0
  924. /package/dist/{termCollectionFractionSelection-UBS74X36.js.map → termCollectionFractionSelection-5AH6EF4L.js.map} +0 -0
  925. /package/dist/{termCollectionFractionSelection.unit.spec-Y5OJFGDD.js.map → termCollectionFractionSelection.unit.spec-WPGW4WJN.js.map} +0 -0
  926. /package/dist/{tk-W6Z4FJMW.js.map → tk-DQ7D5UEO.js.map} +0 -0
  927. /package/dist/{tk-HMF4HCNV.js.map → tk-ONKYBG6R.js.map} +0 -0
  928. /package/dist/{tp.ui-NECRDJCS.js.map → tp.ui-C7BTMHEI.js.map} +0 -0
  929. /package/dist/{tvs.dt-2JEH3F35.js.map → tvs.dt-PLRMK7OT.js.map} +0 -0
  930. /package/dist/{tvs.dtcnv.categorical-YBXKEBR2.js.map → tvs.dtcnv.categorical-IZUY2AQO.js.map} +0 -0
  931. /package/dist/{tvs.dtcnv.continuous-AD3SJ6BY.js.map → tvs.dtcnv.continuous-ENV3RHHA.js.map} +0 -0
  932. /package/dist/{tvs.dtfusion-ODI3CLQS.js.map → tvs.dtfusion-2DVCV6AM.js.map} +0 -0
  933. /package/dist/{tvs.dtitd-V3LYLPJY.js.map → tvs.dtitd-XNDIRQYU.js.map} +0 -0
  934. /package/dist/{tvs.dtsnvindel-R3V5LTNL.js.map → tvs.dtsnvindel-4D3G7XSF.js.map} +0 -0
  935. /package/dist/{tvs.dtsv-ZQLKEDLJ.js.map → tvs.dtsv-QYMIMC4Z.js.map} +0 -0
  936. /package/dist/{tvs.numeric-22AHXO5K.js.map → tvs.numeric-M5LH3PRH.js.map} +0 -0
  937. /package/dist/{tvs.samplelst-G25A7HM6.js.map → tvs.samplelst-2KEU2ZWB.js.map} +0 -0
  938. /package/dist/{tvs.termCollection-WLVCWDEJ.js.map → tvs.termCollection-FEY746V5.js.map} +0 -0
  939. /package/dist/{vocabulary-6K537FJM.js.map → vocabulary-BR4NJDPS.js.map} +0 -0
  940. /package/dist/{wsi.direct-SNPPQPVO.js.map → wsi.direct-JWDUNHIO.js.map} +0 -0
@@ -0,0 +1,1233 @@
1
+ import {
2
+ BRAIN_P_THRESHOLD,
3
+ brainFillByRegion,
4
+ brainTooltipByRegion,
5
+ loadBrainAssets,
6
+ makeBrainFcScale,
7
+ makeDiseaseTabs,
8
+ renderBrainSvg
9
+ } from "./chunk-ILEXRHF7.js";
10
+ import {
11
+ axisstyle,
12
+ newpane,
13
+ table2col
14
+ } from "./chunk-55FABQU2.js";
15
+ import {
16
+ Menu
17
+ } from "./chunk-ELJX3QIQ.js";
18
+ import {
19
+ dofetch3
20
+ } from "./chunk-VA57CUC7.js";
21
+ import {
22
+ NumericModes
23
+ } from "./chunk-KIAMLQ7S.js";
24
+ import {
25
+ axisBottom,
26
+ axisLeft,
27
+ line_default
28
+ } from "./chunk-Z2ZITHT4.js";
29
+ import {
30
+ band,
31
+ linear,
32
+ point,
33
+ sqrt
34
+ } from "./chunk-4OLM3KSB.js";
35
+ import {
36
+ roundValue
37
+ } from "./chunk-TLT4YIG3.js";
38
+ import {
39
+ select_default
40
+ } from "./chunk-I6Y4O3RR.js";
41
+
42
+ // plots/proteinView.tiles.ts
43
+ function getProteinViewConfig(self) {
44
+ return self?.app?.vocabApi?.termdbConfig?.queries?.proteome?.proteinView || {};
45
+ }
46
+ function getTileConfigs(self) {
47
+ return getProteinViewConfig(self).tiles || [];
48
+ }
49
+ function getTileConfig(self, key) {
50
+ return getTileConfigs(self).find((t) => t.key === key);
51
+ }
52
+ function diseaseCfg(self) {
53
+ return getProteinViewConfig(self).diseases || {};
54
+ }
55
+ var diseaseOrder = (self) => Object.keys(diseaseCfg(self));
56
+ var diseaseLabel = (self, d) => diseaseCfg(self)[d]?.label || d;
57
+ var isSpecificityControl = (self, d) => !!diseaseCfg(self)[d]?.specificityControl;
58
+ var modelOrder = (self) => Object.keys(getProteinViewConfig(self).models || {});
59
+ var modelColor = (self, m) => getProteinViewConfig(self).models?.[m]?.color || SINGLE_MODEL_COLOR;
60
+ var cellTypeCfg = (self) => getProteinViewConfig(self).cellTypes || {};
61
+ var proteomeLabel = (self, organism, assay) => self?.app?.vocabApi?.termdbConfig?.queries?.proteome?.organisms?.[organism]?.assays?.[assay]?.proteomeLabel || assay;
62
+ function orderBy(keys, order) {
63
+ const rank = (k) => order.indexOf(k) === -1 ? order.length : order.indexOf(k);
64
+ return [...keys].sort((a, b) => rank(a) - rank(b));
65
+ }
66
+ function cohortMatches(m, organism, assay, catalog) {
67
+ if (!m) return false;
68
+ if (m.organism && m.organism !== organism) return false;
69
+ if (m.assay && m.assay !== assay) return false;
70
+ const c = catalog || {};
71
+ for (const k in m.catalog || {}) if (c[k] !== m.catalog[k]) return false;
72
+ for (const k of m.with || []) if (!c[k]) return false;
73
+ for (const k of m.without || []) if (c[k]) return false;
74
+ return true;
75
+ }
76
+ var SIG_P = 0.05;
77
+ function parseAge(ageGroup) {
78
+ const n = parseInt(ageGroup || "");
79
+ return Number.isFinite(n) ? n : null;
80
+ }
81
+ var byAge = (a, b) => (parseAge(a) ?? 0) - (parseAge(b) ?? 0);
82
+ var fetchCache = /* @__PURE__ */ new Map();
83
+ function cachedFetch(key, load) {
84
+ if (!fetchCache.has(key)) {
85
+ const p = load();
86
+ p.catch(() => fetchCache.delete(key));
87
+ fetchCache.set(key, p);
88
+ }
89
+ return fetchCache.get(key);
90
+ }
91
+ var vocabKey = (self) => `${self.app.opts.state.vocab.genome}|${self.app.opts.state.vocab.dslabel}`;
92
+ var TILE_FACE_SCALE = 0.67;
93
+ var TILE_FACE_SCALE_X = 0.45;
94
+ var EXPANDED_SCALE = 1.7;
95
+ var CARD_W = 230;
96
+ var CARD_MIN_H = 235;
97
+ var SINGLE_MODEL_COLOR = "#6b7280";
98
+ var ND_COLOR = "#4263eb";
99
+ var PSY_COLOR = "#9ca3af";
100
+ var WHOLE_COLOR = "#2166ac";
101
+ var INSOLUBLE_COLOR = "#b2182b";
102
+ var REFERENCE_COLOR = "#111827";
103
+ var FC_NEG_COLOR = "#762a83";
104
+ var FC_ZERO_COLOR = "#f7f7f7";
105
+ var FC_POS_COLOR = "#2166ac";
106
+ function getLog2Ratio(foldChange) {
107
+ if (!Number.isFinite(foldChange) || foldChange <= 0) return null;
108
+ return Math.log2(foldChange);
109
+ }
110
+ function launchViolinPlot(self, organismName, assayName, cohortName, isoform) {
111
+ const selectedProtein = self.state.config?.tw?.term;
112
+ if (!selectedProtein) throw new Error("proteinView: selected protein term is missing");
113
+ const action = {
114
+ type: "plot_create",
115
+ config: {
116
+ chartType: "summary"
117
+ }
118
+ };
119
+ action.config.assayCohortTitle = `${organismName} ${assayName}: ${cohortName}`;
120
+ action.config.proteomeDetails = { organism: organismName, assay: assayName, cohort: cohortName };
121
+ const termdbConfig = self.app.vocabApi.termdbConfig;
122
+ const proteomeOverlayTerm = termdbConfig?.queries?.proteome?.organisms?.[organismName]?.overlayTerm;
123
+ const t = structuredClone(selectedProtein);
124
+ t.name = `${t.name}: ${isoform}`;
125
+ t.dataTypeDetails = { organism: organismName, assay: assayName, cohort: cohortName };
126
+ action.config.term = { term: t, q: { mode: NumericModes.continuous } };
127
+ if (proteomeOverlayTerm) {
128
+ action.config.term2 = { term: structuredClone(proteomeOverlayTerm), q: {} };
129
+ }
130
+ self.app.dispatch(action);
131
+ }
132
+ var entries = (td, key) => td.byTile[key] || [];
133
+ function catalogForEntry(self, e) {
134
+ return self.app.vocabApi.termdbConfig?.queries?.proteome?.organisms?.[e.organism]?.assays?.[e.assayName]?.cohorts?.[e.cohortName]?.catalog;
135
+ }
136
+ function prepareTileData(data, self) {
137
+ const catalogFor = (e) => catalogForEntry(self, e);
138
+ const accessions = /* @__PURE__ */ new Set();
139
+ let ptmSiteCount = 0;
140
+ const byCohort = /* @__PURE__ */ new Map();
141
+ for (const e of data?.cohorts || []) {
142
+ if (e.PTMType) {
143
+ ptmSiteCount++;
144
+ continue;
145
+ }
146
+ accessions.add(e.proteinAccession);
147
+ const log2fc = getLog2Ratio(e.foldChange);
148
+ if (log2fc === null) continue;
149
+ const key = `${e.organism}|${e.assayName}|${e.cohortName}`;
150
+ const p = Number(e.fdr);
151
+ const pRank = Number.isFinite(p) && p > 0 ? p : Infinity;
152
+ const cur = byCohort.get(key);
153
+ if (!cur) byCohort.set(key, { best: { e, pRank }, count: 1 });
154
+ else {
155
+ cur.count++;
156
+ if (pRank < cur.best.pRank) cur.best = { e, pRank };
157
+ }
158
+ }
159
+ const tiles = getTileConfigs(self);
160
+ const td = {
161
+ byTile: Object.fromEntries(tiles.map((t) => [t.key, []])),
162
+ isoformCount: accessions.size,
163
+ ptmSiteCount,
164
+ cohortCount: byCohort.size
165
+ };
166
+ for (const { best, count } of byCohort.values()) {
167
+ const e = best.e;
168
+ const catalog = catalogFor(e);
169
+ if (!catalog) continue;
170
+ const p = Number(e.fdr);
171
+ const entry = {
172
+ organism: e.organism,
173
+ assayName: e.assayName,
174
+ cohortName: e.cohortName,
175
+ disease: catalog.disease || e.disease,
176
+ uniqueIdentifier: e.uniqueIdentifier,
177
+ proteinAccession: e.proteinAccession,
178
+ log2fc: getLog2Ratio(e.foldChange),
179
+ fdr: Number.isFinite(p) && p > 0 ? p : null,
180
+ testedN: Number(e.testedN) || 0,
181
+ controlN: Number(e.controlN) || 0,
182
+ isoformCount: count,
183
+ catalog
184
+ };
185
+ const tile = tiles.find((t) => cohortMatches(t.cohortMatch, e.organism, e.assayName, catalog));
186
+ if (tile) td.byTile[tile.key].push(entry);
187
+ }
188
+ return td;
189
+ }
190
+ function makeTileGrid(holder) {
191
+ return holder.append("div").style("display", "flex").style("flex-wrap", "wrap").style("gap", "14px").style("margin-top", "10px").style("white-space", "normal");
192
+ }
193
+ function makeTileCard(grid, opts) {
194
+ const card = grid.append("div").style("border", opts.disabled ? "1px dashed #e5e7eb" : "1px solid #e5e7eb").style("border-radius", "8px").style("padding", "10px 12px").style("background", opts.disabled ? "#f9fafb" : "#fff");
195
+ if (opts.fullWidth) card.style("flex", "1 1 100%");
196
+ if (opts.uniform) {
197
+ card.style("width", `${CARD_W}px`).style("min-height", `${CARD_MIN_H}px`).style("display", "flex").style("flex-direction", "column");
198
+ }
199
+ const header = card.append("div").style("display", "flex").style("align-items", "baseline").style("gap", "8px").style("flex-wrap", "wrap");
200
+ header.append("span").style("font-weight", "600").style("font-size", ".9em").style("min-width", "0").style("color", opts.disabled ? "#9ca3af" : "#111827").text(opts.title);
201
+ if (opts.onExpand) {
202
+ header.append("span").attr("title", "Expand").attr("role", "button").attr("tabindex", "0").attr("aria-label", `Expand ${opts.title}`).style("margin-left", "auto").style("cursor", "pointer").style("color", "#9ca3af").style("font-size", "1em").style("line-height", "1").text("\u2922").on("mouseover", function() {
203
+ select_default(this).style("color", "#374151");
204
+ }).on("mouseout", function() {
205
+ select_default(this).style("color", "#9ca3af");
206
+ }).on("click", opts.onExpand).on("keydown", (event) => {
207
+ if (event.key === "Enter" || event.key === " ") {
208
+ event.preventDefault();
209
+ opts.onExpand?.();
210
+ }
211
+ });
212
+ }
213
+ if (opts.subtitle) {
214
+ card.append("div").style("font-size", ".75em").style("color", "#6b7280").style("margin", "2px 0 4px 0").text(opts.subtitle);
215
+ }
216
+ return card.append("div");
217
+ }
218
+ var tileClickMenu = new Menu({ padding: "0px" });
219
+ var TILE_PANE_ZINDEX = 100;
220
+ function raiseSharedMenus(self) {
221
+ for (const m of [self?.dom?.tip, tileClickMenu]) {
222
+ const n = m?.d?.node?.();
223
+ if (!n) continue;
224
+ if (!n.style.zIndex) n.style.zIndex = String(TILE_PANE_ZINDEX + 1);
225
+ if (n.parentNode === document.body && n !== document.body.lastChild) document.body.appendChild(n);
226
+ }
227
+ }
228
+ function entryTipTable(entry, holder) {
229
+ const tbl = table2col({ holder: holder.append("table") });
230
+ tbl.addRow("Sample set", entry.cohortName);
231
+ const c = entry.catalog || {};
232
+ if (entry.disease) tbl.addRow("Disease", entry.disease);
233
+ if (c.model) tbl.addRow("Model", c.model);
234
+ if (c.cellType) tbl.addRow("Cell type", c.cellType);
235
+ if (c.ageGroup) tbl.addRow("Age group", c.ageGroup);
236
+ if (c.brainRegion) tbl.addRow("Brain region", c.brainRegion);
237
+ if (entry.ptmType) tbl.addRow("PTM type", entry.ptmType);
238
+ if (entry.modSites) tbl.addRow("Modified site", entry.modSites);
239
+ tbl.addRow("Assay", entry.assayName);
240
+ tbl.addRow("log2 fold change", entry.log2fc === null ? "NA" : roundValue(entry.log2fc, 3));
241
+ tbl.addRow("FDR", entry.fdr === null ? "NA" : entry.fdr.toExponential(2));
242
+ tbl.addRow("Case samples", entry.testedN);
243
+ tbl.addRow("Control samples", entry.controlN);
244
+ tbl.addRow("Protein accession", entry.proteinAccession);
245
+ if (entry.isoformCount > 1) tbl.addRow("Note", `most significant of ${entry.isoformCount} isoforms`);
246
+ }
247
+ function attachEntryBehavior(shape, entry, self) {
248
+ shape.style("cursor", "pointer").on("mouseover", (event) => {
249
+ raiseSharedMenus(self);
250
+ self.dom.tip.clear();
251
+ entryTipTable(entry, self.dom.tip.d);
252
+ self.dom.tip.show(event.clientX, event.clientY);
253
+ }).on("mouseout", () => self.dom.tip.hide()).on("click", (event) => {
254
+ raiseSharedMenus(self);
255
+ self.dom.tip.hide();
256
+ tileClickMenu.clear();
257
+ const div = tileClickMenu.d.append("div");
258
+ entryTipTable(entry, div.append("div").style("padding", "5px"));
259
+ div.append("div").attr("class", "sja_menuoption sja_sharp_border").text("Violin plot").on("click", () => {
260
+ tileClickMenu.hide();
261
+ launchViolinPlot(self, entry.organism, entry.assayName, entry.cohortName, entry.uniqueIdentifier);
262
+ });
263
+ tileClickMenu.show(event.clientX, event.clientY);
264
+ });
265
+ }
266
+ var isSig = (e) => e.fdr !== null && e.fdr < SIG_P;
267
+ function drawMarker(g, x, y, color, sig, r = 4.5) {
268
+ return g.append("circle").attr("cx", x).attr("cy", y).attr("r", r).attr("fill", sig ? color : "#fff").attr("fill-opacity", sig ? 0.9 : 1).attr("stroke", color).attr("stroke-width", 1.5);
269
+ }
270
+ function fcDomain(values) {
271
+ let min = Math.min(0, ...values);
272
+ let max = Math.max(0, ...values);
273
+ const span = Math.max(0.4, max - min);
274
+ const pad = span * 0.15;
275
+ if (min < 0) min -= pad;
276
+ max += pad;
277
+ if (min === 0) min = -span * 0.05;
278
+ return [min, max];
279
+ }
280
+ function addSigFootnote(body) {
281
+ body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px").text(`filled: FDR < ${SIG_P}; hollow: not significant`);
282
+ }
283
+ function drawZeroLine(g, x1, y1, x2, y2) {
284
+ g.append("line").attr("x1", x1).attr("y1", y1).attr("x2", x2).attr("y2", y2).attr("stroke", "black").attr("stroke-dasharray", "4 3").attr("stroke-opacity", 0.35);
285
+ }
286
+ function styledAxis(g, axis, tickFontSize) {
287
+ const a = g.call(axis);
288
+ axisstyle({ axis: a, color: "black", showline: true });
289
+ if (tickFontSize) a.selectAll("text").style("font-size", tickFontSize);
290
+ return a;
291
+ }
292
+ function rotateXTicks(axisG) {
293
+ axisG.selectAll("text").attr("transform", "rotate(-38)").attr("text-anchor", "end").attr("dx", "-2px").attr("dy", "5px");
294
+ }
295
+ function yAxisTitle(svg, innerH, marginTop, text) {
296
+ svg.append("text").attr("transform", `translate(11,${marginTop + innerH / 2}) rotate(-90)`).attr("text-anchor", "middle").style("font-size", "11px").style("fill", "#374151").text(text);
297
+ }
298
+ function renderCrossDiseaseTile(body, td, self, cfg, opts = {}) {
299
+ const k = opts.scale || 1;
300
+ const kx = opts.scaleX ?? k;
301
+ const mr = 4.5 * Math.sqrt(k);
302
+ const tickFont = k < 1 ? "8.5px" : null;
303
+ const byDisease = /* @__PURE__ */ new Map();
304
+ const multiCohort = /* @__PURE__ */ new Set();
305
+ for (const e of entries(td, cfg.key)) {
306
+ const d = e.disease || e.cohortName;
307
+ const cur = byDisease.get(d);
308
+ if (cur) multiCohort.add(d);
309
+ if (!cur || (e.fdr ?? Infinity) < (cur.fdr ?? Infinity)) byDisease.set(d, e);
310
+ }
311
+ const diseases = orderBy([...byDisease.keys()], diseaseOrder(self));
312
+ const isControl = (d) => isSpecificityControl(self, d);
313
+ const margin = { top: 12, right: 10, bottom: 34, left: 46 };
314
+ const innerW = Math.max(200, diseases.length * 38) * kx;
315
+ const innerH = 150 * k;
316
+ const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
317
+ const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
318
+ const x = band().domain(diseases).range([0, innerW]).padding(0.4);
319
+ const y = linear().domain(fcDomain(diseases.map((d) => byDisease.get(d).log2fc))).range([innerH, 0]);
320
+ const xAxisG = styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x), tickFont);
321
+ if (kx < 0.6) rotateXTicks(xAxisG);
322
+ styledAxis(g.append("g"), axisLeft(y).ticks(4), tickFont);
323
+ drawZeroLine(g, 0, y(0), innerW, y(0));
324
+ yAxisTitle(svg, innerH, margin.top, "log2FC vs control");
325
+ const firstPsy = diseases.findIndex(isControl);
326
+ if (firstPsy > 0) {
327
+ const xSep = (x(diseases[firstPsy - 1]) + x.bandwidth() + x(diseases[firstPsy])) / 2;
328
+ g.append("line").attr("x1", xSep).attr("x2", xSep).attr("y1", 0).attr("y2", innerH).attr("stroke", "#d1d5db").attr("stroke-dasharray", "2 3");
329
+ if (kx >= 0.6) {
330
+ g.append("text").attr("x", (xSep + innerW) / 2).attr("y", 9).attr("text-anchor", "middle").style("font-size", "9px").style("fill", "#9ca3af").text(getProteinViewConfig(self).specificityControlLabel || "controls");
331
+ }
332
+ }
333
+ for (const d of diseases) {
334
+ const e = byDisease.get(d);
335
+ const cx = x(d) + x.bandwidth() / 2;
336
+ const color = isControl(d) ? PSY_COLOR : ND_COLOR;
337
+ g.append("line").attr("x1", cx).attr("x2", cx).attr("y1", y(0)).attr("y2", y(e.log2fc)).attr("stroke", color).attr("stroke-width", 1.5);
338
+ attachEntryBehavior(drawMarker(g, cx, y(e.log2fc), color, isSig(e), mr), e, self);
339
+ }
340
+ g.selectAll("text").each(function() {
341
+ const t = this.textContent || "";
342
+ const l = diseaseLabel(self, t);
343
+ if (l !== t) this.textContent = l;
344
+ });
345
+ addSigFootnote(body);
346
+ if (multiCohort.size) {
347
+ body.append("div").style("font-size", ".7em").style("color", "#9ca3af").text(`${[...multiCohort].map((d) => diseaseLabel(self, d)).join(", ")}: several cohorts, most significant shown`);
348
+ }
349
+ if (opts.expanded) {
350
+ body.append("div").style("font-size", ".75em").style("color", "#6b7280").style("margin-top", "4px").style("max-width", `${innerW + margin.left + margin.right}px`).text(diseases.map((d) => `${diseaseLabel(self, d)} = ${diseaseCfg(self)[d]?.name || d}`).join(" \xB7 "));
351
+ }
352
+ }
353
+ function renderInsolubleTile(body, td, self, cfg, opts = {}) {
354
+ const k = opts.scale || 1;
355
+ const kx = opts.scaleX ?? k;
356
+ const mr = 4.5 * Math.sqrt(k);
357
+ const tickFont = k < 1 ? "8.5px" : null;
358
+ const wholeByCohort = /* @__PURE__ */ new Map();
359
+ if (cfg.referenceTile) for (const e of entries(td, cfg.referenceTile)) wholeByCohort.set(e.cohortName, e);
360
+ const insol = entries(td, cfg.key);
361
+ const rows = orderBy([...new Set(insol.map((e) => e.cohortName))], diseaseOrder(self));
362
+ const pairs = rows.map((c) => ({
363
+ cohortName: c,
364
+ whole: wholeByCohort.get(c) || null,
365
+ insoluble: insol.find((e) => e.cohortName === c) || null
366
+ }));
367
+ const wholeEntry = pairs.find((p) => p.whole)?.whole;
368
+ const labelOf = (e, fallback) => e ? proteomeLabel(self, e.organism, e.assayName) : fallback;
369
+ const margin = { top: 24, right: 12, bottom: 34, left: 46 };
370
+ const innerW = 240 * kx;
371
+ const innerH = Math.max(90, rows.length * 30 * k);
372
+ const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
373
+ const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
374
+ const values = [];
375
+ for (const p of pairs) {
376
+ if (p.whole) values.push(p.whole.log2fc);
377
+ if (p.insoluble) values.push(p.insoluble.log2fc);
378
+ }
379
+ const x = linear().domain(fcDomain(values)).range([0, innerW]);
380
+ const y = band().domain(rows).range([0, innerH]).padding(0.4);
381
+ styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).ticks(4), tickFont);
382
+ styledAxis(g.append("g"), axisLeft(y), tickFont);
383
+ drawZeroLine(g, x(0), 0, x(0), innerH);
384
+ svg.append("text").attr("x", margin.left + innerW / 2).attr("y", margin.top + innerH + 30).attr("text-anchor", "middle").style("font-size", "11px").style("fill", "#374151").text("log2FC vs control");
385
+ const legend = g.append("g").attr("transform", `translate(0,-12)`);
386
+ for (const [i, item] of [
387
+ {
388
+ label: labelOf(wholeEntry, getTileConfig(self, cfg.referenceTile || "")?.title || "reference"),
389
+ color: WHOLE_COLOR
390
+ },
391
+ { label: labelOf(insol[0], cfg.cohortMatch?.assay || cfg.title), color: INSOLUBLE_COLOR }
392
+ ].entries()) {
393
+ const lx = i * (kx < 0.6 ? 58 : 80);
394
+ legend.append("circle").attr("cx", lx).attr("cy", 0).attr("r", 4).attr("fill", item.color).attr("fill-opacity", 0.9);
395
+ legend.append("text").attr("x", lx + 8).attr("y", 3).style("font-size", "10px").style("fill", "#374151").text(item.label);
396
+ }
397
+ for (const p of pairs) {
398
+ const cy = y(p.cohortName) + y.bandwidth() / 2;
399
+ if (p.whole && p.insoluble) {
400
+ g.append("line").attr("x1", x(p.whole.log2fc)).attr("x2", x(p.insoluble.log2fc)).attr("y1", cy).attr("y2", cy).attr("stroke", "#9ca3af").attr("stroke-width", 1.5);
401
+ }
402
+ if (p.whole)
403
+ attachEntryBehavior(
404
+ drawMarker(g, x(p.whole.log2fc), cy, WHOLE_COLOR, isSig(p.whole), mr),
405
+ p.whole,
406
+ self
407
+ );
408
+ if (p.insoluble)
409
+ attachEntryBehavior(
410
+ drawMarker(g, x(p.insoluble.log2fc), cy, INSOLUBLE_COLOR, isSig(p.insoluble), mr),
411
+ p.insoluble,
412
+ self
413
+ );
414
+ }
415
+ addSigFootnote(body);
416
+ }
417
+ var brainGradientSeq = 0;
418
+ function getBrainRegionsData(self) {
419
+ const gene = self.state?.config?.tw?.term?.name;
420
+ const [genome, dslabel] = vocabKey(self).split("|");
421
+ return cachedFetch(`brainRegions|${vocabKey(self)}|${gene}`, async () => {
422
+ const data = await dofetch3("termdb/brainRegions", { body: { genome, dslabel, gene } });
423
+ if (data.error) throw data.error;
424
+ const assets = Object.keys(data.isoforms || {}).length ? await cachedFetch(`brainAssets|${data.svgUrl}`, () => loadBrainAssets(data.svgUrl, Object.keys(data.regions))) : null;
425
+ return { data, assets };
426
+ });
427
+ }
428
+ var brainFcScale = (isoformData, disease) => makeBrainFcScale(isoformData.data[disease] || {});
429
+ function drawBrainForDisease(holder, data, assets, isoform, disease, self, brainW, colorScale) {
430
+ const regionData = data.isoforms[isoform]?.data?.[disease] || {};
431
+ renderBrainSvg({
432
+ holder: holder.append("div"),
433
+ width: brainW,
434
+ templateUrl: data.templateUrl,
435
+ assets,
436
+ regions: data.regions,
437
+ tip: self.dom.tip,
438
+ fillByRegion: brainFillByRegion(regionData, colorScale),
439
+ tooltipByRegion: brainTooltipByRegion(regionData)
440
+ });
441
+ }
442
+ function drawBrainLegend(holder, colorScale, maxAbsFC, nSig, disease) {
443
+ const legend = holder.append("div").style("margin-top", "6px");
444
+ if (!nSig) {
445
+ legend.append("div").style("font-size", ".75em").style("color", "#6b7280").text(`No region reaches p < ${BRAIN_P_THRESHOLD} for this isoform in ${disease} (all regions grey).`);
446
+ return;
447
+ }
448
+ const w = 160;
449
+ const h = 10;
450
+ const svg = legend.append("svg").attr("width", w).attr("height", h + 16);
451
+ const gradientId = `pv-brain-fc-gradient-${brainGradientSeq++}`;
452
+ const gradient = svg.append("defs").append("linearGradient").attr("id", gradientId).attr("x1", "0").attr("y1", "0").attr("x2", "1").attr("y2", "0");
453
+ const steps = 10;
454
+ for (let i = 0; i <= steps; i++) {
455
+ const t = i / steps;
456
+ gradient.append("stop").attr("offset", `${t * 100}%`).attr("stop-color", colorScale(-maxAbsFC + t * 2 * maxAbsFC));
457
+ }
458
+ svg.append("rect").attr("width", w).attr("height", h).attr("fill", `url(#${gradientId})`).attr("stroke", "#d1d5db");
459
+ const labels = [
460
+ [0, `-${maxAbsFC.toFixed(2)}`, "start"],
461
+ [w / 2, "0", "middle"],
462
+ [w, maxAbsFC.toFixed(2), "end"]
463
+ ];
464
+ for (const [x, text, anchor] of labels) {
465
+ svg.append("text").attr("x", x).attr("y", h + 12).attr("text-anchor", anchor).style("font-size", "9px").style("fill", "#374151").text(text);
466
+ }
467
+ legend.append("div").style("font-size", ".7em").style("color", "#9ca3af").text(`log\u2082 fold change vs control \xB7 grey: not significant (p \u2265 ${BRAIN_P_THRESHOLD})`);
468
+ }
469
+ function renderBrainRegionTile(body, _td, self, _cfg, opts = {}) {
470
+ const expanded = !!opts.expanded;
471
+ const wait = body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Loading\u2026");
472
+ getBrainRegionsData(self).then(({ data, assets }) => {
473
+ wait.remove();
474
+ const isoformIds = Object.keys(data.isoforms || {});
475
+ if (!isoformIds.length || !assets) {
476
+ body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("No brain-region data for this protein.");
477
+ return;
478
+ }
479
+ if (!expanded) {
480
+ const iso = isoformIds[0];
481
+ const tabsHolder2 = body.append("div");
482
+ const brainHolder2 = body.append("div");
483
+ const caption = body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px");
484
+ const redraw2 = (disease) => {
485
+ brainHolder2.selectAll("*").remove();
486
+ const { colorScale, nSig } = brainFcScale(data.isoforms[iso], disease);
487
+ drawBrainForDisease(brainHolder2, data, assets, iso, disease, self, 185, colorScale);
488
+ caption.text(
489
+ nSig ? `red: up \xB7 blue: down \xB7 grey: p \u2265 ${BRAIN_P_THRESHOLD}` : `no region reaches p < ${BRAIN_P_THRESHOLD} in ${disease}`
490
+ );
491
+ };
492
+ if (data.diseases.length > 1) makeDiseaseTabs(tabsHolder2, data.diseases, data.diseases[0], redraw2, ".75em");
493
+ redraw2(data.diseases[0]);
494
+ return;
495
+ }
496
+ const description = self.app.vocabApi.termdbConfig?.queries?.proteome?.brainRegions?.description;
497
+ if (description) {
498
+ body.append("div").style("font-size", ".8em").style("color", "#555").style("max-width", "640px").style("line-height", "1.4").style("margin-bottom", "8px").text(description);
499
+ }
500
+ let selectedIso = isoformIds[0];
501
+ let selectedDisease = data.diseases[0];
502
+ const controlRow = body.append("div").style("margin-bottom", "8px").style("font-size", ".85em");
503
+ controlRow.append("span").style("font-weight", "600").text("Isoform: ");
504
+ const tabsHolder = body.append("div");
505
+ const brainHolder = body.append("div");
506
+ const redraw = () => {
507
+ brainHolder.selectAll("*").remove();
508
+ const isoformData = data.isoforms[selectedIso];
509
+ if (!isoformData) return;
510
+ const { colorScale, maxAbsFC, nSig } = brainFcScale(isoformData, selectedDisease);
511
+ drawBrainForDisease(brainHolder, data, assets, selectedIso, selectedDisease, self, 460, colorScale);
512
+ drawBrainLegend(brainHolder, colorScale, maxAbsFC, nSig, selectedDisease);
513
+ };
514
+ if (data.diseases.length > 1) {
515
+ makeDiseaseTabs(
516
+ tabsHolder,
517
+ data.diseases,
518
+ selectedDisease,
519
+ (d) => {
520
+ selectedDisease = d;
521
+ redraw();
522
+ },
523
+ ".9em"
524
+ );
525
+ }
526
+ if (isoformIds.length > 1) {
527
+ const sel = controlRow.append("select").style("margin-left", "5px").on("change", () => {
528
+ selectedIso = sel.node().value;
529
+ redraw();
530
+ });
531
+ sel.selectAll("option").data(isoformIds).enter().append("option").attr("value", (d) => d).text((d) => `${data.isoforms[d].gene_name} \u2014 ${d}`);
532
+ } else {
533
+ controlRow.append("span").style("margin-left", "5px").text(`${data.isoforms[selectedIso].gene_name} \u2014 ${selectedIso}`);
534
+ }
535
+ redraw();
536
+ }).catch((err) => {
537
+ wait.style("color", "#b91c1c").text(`Failed to load: ${err?.message || err}`);
538
+ if (self.app?.opts?.debug) console.error(err);
539
+ });
540
+ }
541
+ function renderMouseModelsTile(body, td, self, cfg, opts = {}) {
542
+ const k = opts.scale || 1;
543
+ const kx = opts.scaleX ?? k;
544
+ const mr = 4 * Math.sqrt(k);
545
+ const tickFont = k < 1 ? "8.5px" : null;
546
+ const aged = /* @__PURE__ */ new Map();
547
+ const singles = [];
548
+ for (const e of entries(td, cfg.key)) {
549
+ const age = e.catalog.ageGroup ? parseAge(e.catalog.ageGroup) : null;
550
+ if (age === null) {
551
+ singles.push(e);
552
+ continue;
553
+ }
554
+ if (!aged.has(e.catalog.model)) aged.set(e.catalog.model, []);
555
+ aged.get(e.catalog.model).push({ age, e });
556
+ }
557
+ for (const pts of aged.values()) pts.sort((a, b) => a.age - b.age);
558
+ const ages = [...new Set([...aged.values()].flatMap((pts) => pts.map((p) => p.age)))].sort((a, b) => a - b);
559
+ const hasAged = ages.length > 0;
560
+ const margin = { top: 20, right: 12, bottom: 36, left: 46 };
561
+ const mainW = hasAged ? 210 * kx : 0;
562
+ const stripGap = singles.length && hasAged ? 18 * kx : 0;
563
+ const stripW = singles.length * 34 * kx;
564
+ const innerH = 150 * k;
565
+ const svg = body.append("svg").attr("width", margin.left + mainW + stripGap + stripW + margin.right).attr("height", innerH + margin.top + margin.bottom);
566
+ const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
567
+ const values = [];
568
+ for (const pts of aged.values()) for (const p of pts) values.push(p.e.log2fc);
569
+ for (const e of singles) values.push(e.log2fc);
570
+ const x = linear().domain(ages.length > 1 ? [ages[0], ages[ages.length - 1]] : [(ages[0] ?? 0) - 1, (ages[0] ?? 0) + 1]).range([0, mainW]);
571
+ const y = linear().domain(fcDomain(values)).range([innerH, 0]);
572
+ if (hasAged) {
573
+ styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).tickValues(ages), tickFont);
574
+ svg.append("text").attr("x", margin.left + mainW / 2).attr("y", margin.top + innerH + 32).attr("text-anchor", "middle").style("font-size", "11px").style("fill", "#374151").text(cfg.xLabel || "age");
575
+ }
576
+ styledAxis(g.append("g"), axisLeft(y).ticks(4), tickFont);
577
+ drawZeroLine(g, 0, y(0), mainW + stripGap + stripW, y(0));
578
+ yAxisTitle(svg, innerH, margin.top, cfg.yLabel || "log2FC vs control");
579
+ let legendX = 0;
580
+ for (const model of orderBy([...aged.keys()], modelOrder(self))) {
581
+ const pts = aged.get(model);
582
+ const color = modelColor(self, model);
583
+ const path = line_default().x((p) => x(p.age)).y((p) => y(p.e.log2fc));
584
+ g.append("path").attr("d", path(pts)).attr("fill", "none").attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-opacity", 0.75);
585
+ for (const p of pts)
586
+ attachEntryBehavior(drawMarker(g, x(p.age), y(p.e.log2fc), color, isSig(p.e), mr), p.e, self);
587
+ g.append("text").attr("x", legendX).attr("y", -8).style("font-size", "10px").style("font-weight", "600").style("fill", color).text(model);
588
+ legendX += 52;
589
+ }
590
+ if (singles.length) {
591
+ const stripX0 = mainW + stripGap;
592
+ g.append("line").attr("x1", stripX0 - stripGap / 2).attr("x2", stripX0 - stripGap / 2).attr("y1", 0).attr("y2", innerH).attr("stroke", "#d1d5db").attr("stroke-dasharray", "2 3");
593
+ for (const [i, e] of singles.entries()) {
594
+ const cx = stripX0 + i * 34 * kx + 17 * kx;
595
+ attachEntryBehavior(drawMarker(g, cx, y(e.log2fc), SINGLE_MODEL_COLOR, isSig(e), mr), e, self);
596
+ const lbl = g.append("text").attr("x", cx).attr("y", innerH + 14).attr("text-anchor", "middle").style("font-size", "9px").style("fill", "#6b7280").text(e.catalog.model);
597
+ if (kx < 0.6) lbl.attr("transform", `rotate(-38 ${cx} ${innerH + 14})`).attr("text-anchor", "end");
598
+ }
599
+ }
600
+ addSigFootnote(body);
601
+ }
602
+ function renderCellTypesTile(body, td, self, cfg, opts = {}) {
603
+ const k = opts.scale || 1;
604
+ const kx = opts.scaleX ?? k;
605
+ const all = entries(td, cfg.key);
606
+ const models = orderBy([...new Set(all.map((e) => e.catalog.model))], modelOrder(self));
607
+ const cellTypes = orderBy([...new Set(all.map((e) => e.catalog.cellType))], Object.keys(cellTypeCfg(self)));
608
+ const agesByModel = /* @__PURE__ */ new Map();
609
+ for (const m of models) {
610
+ const ages = [...new Set(all.filter((e) => e.catalog.model === m).map((e) => e.catalog.ageGroup))].sort(byAge);
611
+ agesByModel.set(m, ages);
612
+ }
613
+ const CELL_W = 34 * kx;
614
+ const CELL_H = 28 * k;
615
+ const ROW_LABEL_W = 82;
616
+ const MODEL_GAP = 12 * kx;
617
+ const HEADER_H = 34;
618
+ const colX = /* @__PURE__ */ new Map();
619
+ let xCursor = 0;
620
+ const modelSpans = [];
621
+ for (const m of models) {
622
+ const x0 = xCursor;
623
+ for (const a of agesByModel.get(m)) {
624
+ colX.set(`${m}|${a}`, xCursor + CELL_W / 2);
625
+ xCursor += CELL_W;
626
+ }
627
+ modelSpans.push({ model: m, x0, x1: xCursor });
628
+ xCursor += MODEL_GAP;
629
+ }
630
+ const gridW = xCursor - MODEL_GAP;
631
+ const gridH = cellTypes.length * CELL_H;
632
+ const svg = body.append("svg").attr("width", ROW_LABEL_W + gridW + 10).attr("height", HEADER_H + gridH + 8);
633
+ const g = svg.append("g").attr("transform", `translate(${ROW_LABEL_W},${HEADER_H})`);
634
+ for (const span of modelSpans) {
635
+ svg.append("text").attr("x", ROW_LABEL_W + (span.x0 + span.x1) / 2).attr("y", 12).attr("text-anchor", "middle").style("font-size", "10px").style("font-weight", "600").style("fill", modelColor(self, span.model)).text(span.model);
636
+ }
637
+ for (const [key, cx] of colX) {
638
+ svg.append("text").attr("x", ROW_LABEL_W + cx).attr("y", 27).attr("text-anchor", "middle").style("font-size", "9px").style("fill", "#6b7280").text(key.split("|")[1]);
639
+ }
640
+ for (const [i, ct] of cellTypes.entries()) {
641
+ svg.append("text").attr("x", ROW_LABEL_W - 6).attr("y", HEADER_H + i * CELL_H + CELL_H / 2 + 3).attr("text-anchor", "end").style("font-size", "10px").style("fill", "#374151").text(ct);
642
+ }
643
+ const maxAbsFc = Math.max(1, ...all.map((e) => Math.abs(e.log2fc)));
644
+ const colorScale = linear().domain([-maxAbsFc, 0, maxAbsFc]).range([FC_NEG_COLOR, FC_ZERO_COLOR, FC_POS_COLOR]);
645
+ const NEG_LOG_P_CAP = 10;
646
+ const rScale = sqrt().domain([0, NEG_LOG_P_CAP]).range([3 * k, Math.min(11 * k, CELL_W / 2 - 0.5)]);
647
+ for (const e of all) {
648
+ const cx = colX.get(`${e.catalog.model}|${e.catalog.ageGroup}`);
649
+ const row = cellTypes.indexOf(e.catalog.cellType);
650
+ if (cx === void 0 || row < 0) continue;
651
+ const negLogP = e.fdr === null ? 0 : Math.min(NEG_LOG_P_CAP, -Math.log10(Math.max(e.fdr, 1e-300)));
652
+ const circle = g.append("circle").attr("cx", cx).attr("cy", row * CELL_H + CELL_H / 2).attr("r", rScale(negLogP)).attr("fill", colorScale(e.log2fc)).attr("stroke", isSig(e) ? "#374151" : "#d1d5db").attr("stroke-width", 1);
653
+ attachEntryBehavior(circle, e, self);
654
+ }
655
+ const foot = body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px");
656
+ foot.style("max-width", "100%");
657
+ foot.append("span").text(`color: log2FC (purple down, blue up) \xB7 size: \u2212log10(FDR) \xB7 outline: FDR < ${SIG_P}`);
658
+ for (const ct of cellTypes) {
659
+ const note = cellTypeCfg(self)[ct]?.note;
660
+ if (note) foot.append("div").text(note);
661
+ }
662
+ }
663
+ function renderPlaqueTile(body, td, self, cfg, opts = {}) {
664
+ const k = opts.scale || 1;
665
+ const kx = opts.scaleX ?? k;
666
+ const mr = 4 * Math.sqrt(k);
667
+ const tickFont = k < 1 ? "8.5px" : null;
668
+ const all = entries(td, cfg.key);
669
+ const series = all.filter((e) => e.catalog.ageGroup && e.catalog.model);
670
+ const reference = all.filter((e) => !(e.catalog.ageGroup && e.catalog.model));
671
+ const refLabel = (e) => e.organism.charAt(0).toUpperCase() + e.organism.slice(1);
672
+ const ages = [...new Set(series.map((e) => e.catalog.ageGroup))].sort(byAge);
673
+ const refCategories = [...new Set(reference.map(refLabel))];
674
+ const categories = [...ages, ...refCategories];
675
+ const margin = { top: 20, right: 14, bottom: 36, left: 46 };
676
+ const innerW = Math.max(180, categories.length * 52) * kx;
677
+ const innerH = 140 * k;
678
+ const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
679
+ const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
680
+ const x = point().domain(categories).range([0, innerW]).padding(0.5);
681
+ const y = linear().domain(fcDomain(all.map((e) => e.log2fc))).range([innerH, 0]);
682
+ const xAxisG = styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x), tickFont);
683
+ if (kx < 0.6) rotateXTicks(xAxisG);
684
+ styledAxis(g.append("g"), axisLeft(y).ticks(4), tickFont);
685
+ drawZeroLine(g, 0, y(0), innerW, y(0));
686
+ yAxisTitle(svg, innerH, margin.top, cfg.yLabel || "log2FC vs control");
687
+ if (kx >= 0.6) {
688
+ svg.append("text").attr("x", margin.left + innerW / 2).attr("y", margin.top + innerH + 32).attr("text-anchor", "middle").style("font-size", "11px").style("fill", "#374151").text(cfg.xLabel || "age");
689
+ }
690
+ if (refCategories.length && ages.length) {
691
+ const xSep = (x(ages[ages.length - 1]) + x(refCategories[0])) / 2;
692
+ g.append("line").attr("x1", xSep).attr("x2", xSep).attr("y1", 0).attr("y2", innerH).attr("stroke", "#d1d5db").attr("stroke-dasharray", "2 3");
693
+ }
694
+ const models = orderBy([...new Set(series.map((e) => e.catalog.model))], modelOrder(self));
695
+ let legendX = 0;
696
+ for (const model of models) {
697
+ const color = modelColor(self, model);
698
+ const pts = series.filter((e) => e.catalog.model === model).sort((a, b) => byAge(a.catalog.ageGroup, b.catalog.ageGroup));
699
+ const path = line_default().x((e) => x(e.catalog.ageGroup)).y((e) => y(e.log2fc));
700
+ g.append("path").attr("d", path(pts)).attr("fill", "none").attr("stroke", color).attr("stroke-width", 1.5).attr("stroke-opacity", 0.75).attr("stroke-dasharray", pts.length < ages.length ? "5 3" : null);
701
+ for (const e of pts)
702
+ attachEntryBehavior(drawMarker(g, x(e.catalog.ageGroup), y(e.log2fc), color, isSig(e), mr), e, self);
703
+ g.append("text").attr("x", legendX).attr("y", -8).style("font-size", "10px").style("font-weight", "600").style("fill", color).text(model);
704
+ legendX += 52;
705
+ }
706
+ for (const e of reference) {
707
+ const cx = x(refLabel(e));
708
+ const cy = y(e.log2fc);
709
+ const r = 5.5 * Math.sqrt(k);
710
+ const diamond = g.append("path").attr("d", `M ${cx} ${cy - r} L ${cx + r} ${cy} L ${cx} ${cy + r} L ${cx - r} ${cy} Z`).attr("fill", isSig(e) ? REFERENCE_COLOR : "#fff").attr("stroke", REFERENCE_COLOR).attr("stroke-width", 1.5);
711
+ attachEntryBehavior(diamond, e, self);
712
+ }
713
+ addSigFootnote(body);
714
+ }
715
+ function getGeneRanks(self) {
716
+ const gene = self.state?.config?.tw?.term?.name;
717
+ const [genome, dslabel] = vocabKey(self).split("|");
718
+ return cachedFetch(`geneRanks|${vocabKey(self)}|${gene}`, async () => {
719
+ const data = await dofetch3("termdb/geneRanking", { body: { genome, dslabel, gene } });
720
+ if (data.error) throw data.error;
721
+ return data.geneRanks || {};
722
+ });
723
+ }
724
+ var rankColor = linear().domain([0, 0.1, 1]).range(["#1d4ed8", "#93c5fd", "#f3f4f6"]).clamp(true);
725
+ function renderMultiomicRankTile(body, _td, self, _cfg, opts = {}) {
726
+ const expanded = !!opts.expanded;
727
+ const rankCfg = self.app.vocabApi.termdbConfig?.queries?.geneRanking || {};
728
+ const modalities = rankCfg.modalities || [];
729
+ const integrativeColumn = rankCfg.integrativeColumn;
730
+ const statColumns = rankCfg.statColumns || [];
731
+ const rankingLabel = (key) => rankCfg.labels?.[key] || key;
732
+ const wait = body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Loading\u2026");
733
+ getGeneRanks(self).then((geneRanks) => {
734
+ wait.remove();
735
+ const keys = Object.keys(geneRanks);
736
+ const ranked = keys.filter((k) => geneRanks[k].row);
737
+ if (!ranked.length) {
738
+ body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Not present in the multiomic rankings.");
739
+ return;
740
+ }
741
+ const fmt = (n) => n.toLocaleString();
742
+ if (expanded) {
743
+ const description = self.app.vocabApi.termdbConfig?.queries?.geneRanking?.description;
744
+ if (description) {
745
+ body.append("div").style("font-size", ".8em").style("color", "#555").style("max-width", "640px").style("line-height", "1.4").style("margin-bottom", "10px").text(description);
746
+ }
747
+ }
748
+ for (const key of keys) {
749
+ const r = geneRanks[key];
750
+ const colIdx = new Map(r.columns.map((c, i) => [c, i]));
751
+ const intIdx = integrativeColumn ? colIdx.get(integrativeColumn) : void 0;
752
+ const intRank = r.row && intIdx !== void 0 ? r.row[intIdx] : null;
753
+ const section = body.append("div").style("margin-bottom", expanded ? "12px" : "6px");
754
+ const head = section.append("div").style("display", "flex").style("align-items", "baseline").style("gap", "6px").style("font-size", expanded ? ".9em" : ".8em");
755
+ head.append("span").style("font-weight", "600").style("color", "#374151").text(rankingLabel(key));
756
+ if (!r.row) {
757
+ head.append("span").style("color", "#9ca3af").text("not ranked");
758
+ continue;
759
+ }
760
+ head.append("span").style("color", typeof intRank === "number" ? "#111827" : "#9ca3af").text(typeof intRank === "number" ? `#${fmt(intRank)} of ${fmt(r.counts[intIdx])}` : "no integrative rank");
761
+ const mods = modalities.filter((m) => colIdx.has(m));
762
+ if (!expanded) {
763
+ const strip = section.append("div").style("display", "flex").style("gap", "2px").style("margin-top", "2px");
764
+ for (const m of mods) {
765
+ const c = colIdx.get(m);
766
+ const v = r.row[c];
767
+ const n = r.counts[c];
768
+ const pct = typeof v === "number" && n ? (v - 1) / Math.max(1, n - 1) : null;
769
+ strip.append("div").attr("title", pct === null ? `${m}: not ranked` : `${m}: #${fmt(v)} of ${fmt(n)}`).style("width", "20px").style("height", "9px").style("border-radius", "2px").style("background", pct === null ? "#fff" : rankColor(pct)).style("border", pct === null ? "1px dashed #d1d5db" : "1px solid transparent").style("box-sizing", "border-box");
770
+ }
771
+ continue;
772
+ }
773
+ const tbl = table2col({ holder: section.append("table") });
774
+ for (const m of mods) {
775
+ const c = colIdx.get(m);
776
+ const v = r.row[c];
777
+ const n = r.counts[c];
778
+ const pctTop = typeof v === "number" ? 100 * v / n : null;
779
+ const pctText = pctTop === null ? "" : ` (top ${pctTop < 0.1 ? pctTop.toFixed(2) : pctTop.toFixed(1)}%)`;
780
+ tbl.addRow(m, typeof v === "number" ? `#${fmt(v)} of ${fmt(n)}${pctText}` : "not ranked");
781
+ }
782
+ for (const extra of statColumns) {
783
+ const c = colIdx.get(extra);
784
+ if (c === void 0) continue;
785
+ const v = r.row[c];
786
+ tbl.addRow(extra, typeof v === "number" ? v < 1e-3 && v > 0 ? v.toExponential(2) : String(v) : "NA");
787
+ }
788
+ }
789
+ if (!expanded) {
790
+ const foot = body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "4px");
791
+ foot.text("strip: one cell per modality, darker = ranked higher \xB7 hover for ranks");
792
+ }
793
+ }).catch((err) => {
794
+ wait.style("color", "#b91c1c").text(`Failed to load: ${err?.message || err}`);
795
+ if (self.app?.opts?.debug) console.error(err);
796
+ });
797
+ }
798
+ function getConcordance(self, x, y) {
799
+ const [genome, dslabel] = vocabKey(self).split("|");
800
+ const refKey = (r) => `${r.organism}|${r.assay}|${r.cohort}`;
801
+ return cachedFetch(`dapConcordance|${vocabKey(self)}|${refKey(x)}|${refKey(y)}`, async () => {
802
+ const data = await dofetch3("termdb/dapVolcano", {
803
+ body: {
804
+ genome,
805
+ dslabel,
806
+ organism: x.organism,
807
+ assay: x.assay,
808
+ cohort: x.cohort,
809
+ concordanceWith: { organism: y.organism, assay: y.assay, cohort: y.cohort }
810
+ }
811
+ });
812
+ if (data.error) throw data.error;
813
+ return data.concordance;
814
+ });
815
+ }
816
+ function findPairCohort(self, side, age) {
817
+ const organisms = self.app?.vocabApi?.termdbConfig?.queries?.proteome?.organisms || {};
818
+ for (const organism in organisms) {
819
+ const assays = organisms[organism]?.assays || {};
820
+ for (const assay in assays) {
821
+ for (const cohort in assays[assay].cohorts || {}) {
822
+ const c = assays[assay].cohorts[cohort];
823
+ if (!c.DAPfile || !c.catalog) continue;
824
+ if (!cohortMatches(side, organism, assay, c.catalog)) continue;
825
+ if (side.ageVaries && c.catalog.ageGroup !== age) continue;
826
+ const label = side.ageVaries ? `${side.label} ${age}` : side.label;
827
+ return { organism, assay, cohort, label };
828
+ }
829
+ }
830
+ }
831
+ return null;
832
+ }
833
+ function concordanceAges(self, cfg) {
834
+ const organisms = self.app?.vocabApi?.termdbConfig?.queries?.proteome?.organisms || {};
835
+ const sides = (cfg.pairs || []).flatMap((p) => [p.x, p.y]).filter((sd) => sd.ageVaries);
836
+ const ages = /* @__PURE__ */ new Set();
837
+ for (const organism in organisms) {
838
+ const assays = organisms[organism]?.assays || {};
839
+ for (const assay in assays) {
840
+ for (const cohort in assays[assay].cohorts || {}) {
841
+ const c = assays[assay].cohorts[cohort];
842
+ if (!c.DAPfile || !c.catalog?.ageGroup) continue;
843
+ if (sides.some((sd) => cohortMatches(sd, organism, assay, c.catalog))) ages.add(c.catalog.ageGroup);
844
+ }
845
+ }
846
+ }
847
+ return [...ages].sort(byAge);
848
+ }
849
+ function defaultConcordanceAge(self, cfg) {
850
+ const ages = concordanceAges(self, cfg);
851
+ if (cfg.defaultAge && ages.includes(cfg.defaultAge)) return cfg.defaultAge;
852
+ return ages[0] || cfg.defaultAge || "";
853
+ }
854
+ function concordancePairs(self, cfg, age = defaultConcordanceAge(self, cfg)) {
855
+ const pairs = [];
856
+ for (const p of cfg.pairs || []) {
857
+ const x = findPairCohort(self, p.x, age);
858
+ const y = findPairCohort(self, p.y, age);
859
+ if (x && y) pairs.push({ key: p.key, label: p.label, x, y });
860
+ }
861
+ return pairs;
862
+ }
863
+ async function drawConcordance(holder, self, pair, gene, expanded) {
864
+ const { points: pts, r: R, p: P } = await getConcordance(self, pair.x, pair.y);
865
+ const target = gene.toUpperCase();
866
+ const hit = pts.find((p) => p.gene === target);
867
+ const margin = expanded ? { top: 14, right: 16, bottom: 44, left: 52 } : { top: 8, right: 10, bottom: 32, left: 38 };
868
+ const innerW = expanded ? 380 : 150;
869
+ const innerH = expanded ? 320 : 118;
870
+ const svg = holder.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
871
+ const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
872
+ const x = linear().domain(fcDomain(pts.map((p) => p.x))).range([0, innerW]);
873
+ const y = linear().domain(fcDomain(pts.map((p) => p.y))).range([innerH, 0]);
874
+ const tickFont = expanded ? null : "8.5px";
875
+ styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).ticks(expanded ? 6 : 4), tickFont);
876
+ styledAxis(g.append("g"), axisLeft(y).ticks(expanded ? 6 : 4), tickFont);
877
+ drawZeroLine(g, x(0), 0, x(0), innerH);
878
+ drawZeroLine(g, 0, y(0), innerW, y(0));
879
+ yAxisTitle(svg, innerH, margin.top, `${pair.y.label} log2FC`);
880
+ svg.append("text").attr("x", margin.left + innerW / 2).attr("y", margin.top + innerH + (expanded ? 36 : 28)).attr("text-anchor", "middle").style("font-size", expanded ? "11px" : "10px").style("fill", "#374151").text(`${pair.x.label} log2FC`);
881
+ for (const p of pts) {
882
+ if (p === hit) continue;
883
+ g.append("circle").attr("cx", x(p.x)).attr("cy", y(p.y)).attr("r", expanded ? 1.6 : 1.1).attr("fill", "#9ca3af").attr("fill-opacity", 0.45);
884
+ }
885
+ if (hit) {
886
+ g.append("circle").attr("cx", x(hit.x)).attr("cy", y(hit.y)).attr("r", expanded ? 6 : 4).attr("fill", "#e75480").attr("stroke", "#7f1d1d").attr("stroke-width", 1.2);
887
+ g.append("text").attr("x", x(hit.x) + (expanded ? 9 : 6)).attr("y", y(hit.y) - (expanded ? 6 : 4)).style("font-size", expanded ? "12px" : "9px").style("font-weight", "600").style("fill", "#7f1d1d").text(gene);
888
+ }
889
+ g.append("text").attr("x", innerW).attr("y", -2).attr("text-anchor", "end").style("font-size", expanded ? "11px" : "9px").style("fill", "#374151").attr("title", P === null ? null : `Pearson cor.test p = ${P < 1e-4 ? P.toExponential(1) : P.toFixed(4)}`).text(`R = ${R === null ? "NA" : R.toFixed(2)} \xB7 n = ${pts.length.toLocaleString()}`);
890
+ if (!hit) {
891
+ holder.append("div").style("font-size", ".72em").style("color", "#9ca3af").text(`${gene} is not quantified in both datasets`);
892
+ } else if (expanded) {
893
+ holder.append("div").style("font-size", ".8em").style("color", "#374151").style("margin-top", "4px").text(`${gene}: ${pair.x.label} log2FC ${hit.x.toFixed(2)} \xB7 ${pair.y.label} log2FC ${hit.y.toFixed(2)}`);
894
+ }
895
+ }
896
+ function renderConcordanceTile(body, _td, self, cfg, opts = {}) {
897
+ const expanded = !!opts.expanded;
898
+ const gene = self.state?.config?.tw?.term?.name || "";
899
+ let age = defaultConcordanceAge(self, cfg);
900
+ let pairs = concordancePairs(self, cfg, age);
901
+ if (!pairs.length) return;
902
+ let pair = pairs[0];
903
+ const controls = body.append("div").style("display", "flex").style("align-items", "center").style("gap", "12px");
904
+ const tabsHolder = controls.append("div");
905
+ const plotHolder = body.append("div");
906
+ let generation = 0;
907
+ const redraw = () => {
908
+ const gen = ++generation;
909
+ plotHolder.selectAll("*").remove();
910
+ const wait = plotHolder.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("Loading\u2026");
911
+ const target = plotHolder.append("div");
912
+ drawConcordance(target, self, pair, gene, expanded).then(() => {
913
+ if (gen !== generation) target.remove();
914
+ else wait.remove();
915
+ }).catch((err) => {
916
+ if (gen !== generation) return;
917
+ wait.style("color", "#b91c1c").text(`Failed to load: ${err?.message || err}`);
918
+ if (self.app?.opts?.debug) console.error(err);
919
+ });
920
+ };
921
+ const makeTabs = () => {
922
+ tabsHolder.selectAll("*").remove();
923
+ if (pairs.length < 2) return;
924
+ makeDiseaseTabs(
925
+ tabsHolder,
926
+ pairs.map((p) => p.label),
927
+ pair.label,
928
+ (label) => {
929
+ pair = pairs.find((p) => p.label === label) || pairs[0];
930
+ redraw();
931
+ },
932
+ ".9em"
933
+ );
934
+ };
935
+ if (expanded) {
936
+ makeTabs();
937
+ const ages = concordanceAges(self, cfg);
938
+ if (ages.length > 1) {
939
+ const ageDiv = controls.append("div").style("font-size", ".85em").style("color", "#374151");
940
+ ageDiv.append("span").text("Age: ");
941
+ const sel = ageDiv.append("select").style("font-size", "inherit");
942
+ for (const a of ages)
943
+ sel.append("option").attr("value", a).property("selected", a === age).text(a);
944
+ sel.on("change", () => {
945
+ age = sel.property("value");
946
+ const next = concordancePairs(self, cfg, age);
947
+ if (!next.length) {
948
+ plotHolder.selectAll("*").remove();
949
+ plotHolder.append("div").style("font-size", ".8em").style("color", "#9ca3af").text(`No cohorts at ${age}`);
950
+ tabsHolder.selectAll("*").remove();
951
+ return;
952
+ }
953
+ pairs = next;
954
+ pair = pairs.find((p) => p.key === pair.key) || pairs[0];
955
+ makeTabs();
956
+ redraw();
957
+ });
958
+ }
959
+ }
960
+ redraw();
961
+ if (!expanded) {
962
+ body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px").text(`${pair.label}${age ? ", " + age : ""}, all genes \xB7 expand for other pairs and ages`);
963
+ } else if (cfg.note) {
964
+ body.append("div").style("font-size", ".75em").style("color", "#9ca3af").style("margin-top", "6px").text(cfg.note);
965
+ }
966
+ }
967
+ var TILE_RENDERERS = {
968
+ crossDisease: {
969
+ has: (td, _s, cfg) => new Set(entries(td, cfg.key).map((e) => e.disease || e.cohortName)).size >= 2,
970
+ render: renderCrossDiseaseTile
971
+ },
972
+ insoluble: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 1, render: renderInsolubleTile },
973
+ brainRegions: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 2, render: renderBrainRegionTile },
974
+ mouseModels: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 2, render: renderMouseModelsTile },
975
+ cellTypes: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 2, render: renderCellTypesTile },
976
+ plaque: { has: (td, _s, cfg) => entries(td, cfg.key).length >= 1, render: renderPlaqueTile },
977
+ multiomicRank: {
978
+ // available whenever the dataset ships rankings; the gene may still be absent
979
+ has: (_td, self) => !!self?.app?.vocabApi?.termdbConfig?.queries?.geneRanking?.rankings,
980
+ render: renderMultiomicRankTile
981
+ },
982
+ concordance: { has: (_td, self, cfg) => concordancePairs(self, cfg).length > 0, render: renderConcordanceTile }
983
+ // 'ptm' is rendered by renderPTMSummaryCard from site-level data, not here
984
+ };
985
+ function configuredTiles(self) {
986
+ const out = [];
987
+ for (const cfg of getTileConfigs(self)) {
988
+ const r = TILE_RENDERERS[cfg.key];
989
+ if (!r) continue;
990
+ out.push({ ...cfg, ...r });
991
+ }
992
+ return out;
993
+ }
994
+ function renderTileError(holder, err, self) {
995
+ holder.append("div").style("color", "#b91c1c").style("font-size", ".8em").text(`Failed to render: ${err?.message || err}`);
996
+ if (self?.app?.opts?.debug) console.error(err);
997
+ }
998
+ var openTilePanes = /* @__PURE__ */ new Map();
999
+ var tilePaneKey = (self, key) => `${self?.id ?? ""}|${key}`;
1000
+ function closeTilePanes(self) {
1001
+ const prefix = `${self?.id ?? ""}|`;
1002
+ for (const [k, pane] of openTilePanes) {
1003
+ if (!k.startsWith(prefix)) continue;
1004
+ pane.pane.remove();
1005
+ openTilePanes.delete(k);
1006
+ }
1007
+ }
1008
+ function closeTilePane(self, key) {
1009
+ const k = tilePaneKey(self, key);
1010
+ const existing = openTilePanes.get(k);
1011
+ if (!existing) return false;
1012
+ existing.pane.remove();
1013
+ openTilePanes.delete(k);
1014
+ return true;
1015
+ }
1016
+ function toggleTilePane(self, key, title, make, onClose) {
1017
+ const k = tilePaneKey(self, key);
1018
+ if (closeTilePane(self, key)) return null;
1019
+ const pane = newpane({
1020
+ x: Math.max(16, (window.innerWidth - 760) / 2),
1021
+ y: 60,
1022
+ close: () => {
1023
+ pane.pane.remove();
1024
+ openTilePanes.delete(k);
1025
+ }
1026
+ });
1027
+ if (onClose) {
1028
+ const remove = pane.pane.remove.bind(pane.pane);
1029
+ pane.pane.remove = () => {
1030
+ remove();
1031
+ onClose();
1032
+ };
1033
+ }
1034
+ openTilePanes.set(k, pane);
1035
+ if (!pane.pane.node().style.zIndex) pane.pane.style("z-index", TILE_PANE_ZINDEX);
1036
+ pane.header.text(title);
1037
+ make(pane.body);
1038
+ raiseSharedMenus(self);
1039
+ return pane;
1040
+ }
1041
+ function openExpandedTile(tile, td, self) {
1042
+ const protein = self.state?.config?.tw?.term?.name || "";
1043
+ toggleTilePane(self, tile.key, `${protein ? protein + " \u2014 " : ""}${tile.title}`, (paneBody) => {
1044
+ const body = paneBody.append("div").style("padding", "12px 16px");
1045
+ body.append("div").style("font-size", ".8em").style("color", "#6b7280").style("margin-bottom", "6px").text(tile.subtitle);
1046
+ try {
1047
+ tile.render(body.append("div"), td, self, tile, { scale: EXPANDED_SCALE, expanded: true });
1048
+ } catch (err) {
1049
+ renderTileError(body, err, self);
1050
+ }
1051
+ });
1052
+ }
1053
+ function renderStudyTiles(grid, td, self) {
1054
+ const missing = [];
1055
+ for (const tile of configuredTiles(self)) {
1056
+ if (!tile.has(td, self, tile)) {
1057
+ missing.push(tile);
1058
+ continue;
1059
+ }
1060
+ const body = makeTileCard(grid, {
1061
+ title: tile.title,
1062
+ subtitle: tile.subtitle,
1063
+ uniform: true,
1064
+ onExpand: () => openExpandedTile(tile, td, self)
1065
+ });
1066
+ try {
1067
+ tile.render(body, td, self, tile, { scale: TILE_FACE_SCALE, scaleX: TILE_FACE_SCALE_X });
1068
+ } catch (err) {
1069
+ renderTileError(body, err, self);
1070
+ }
1071
+ }
1072
+ return { missing };
1073
+ }
1074
+ function renderPlaceholderTiles(grid, tiles) {
1075
+ for (const tile of tiles) {
1076
+ const body = makeTileCard(grid, { title: tile.title, disabled: true, uniform: true });
1077
+ body.style("flex", "1").style("display", "flex").style("align-items", "center").style("justify-content", "center").append("div").style("font-size", ".75em").style("color", "#9ca3af").style("max-width", "200px").style("text-align", "center").text(tile.note || "No data for this protein in this study");
1078
+ }
1079
+ }
1080
+ var PTM_FALLBACK_PALETTE = ["#d7301f", "#2166ac", "#1b9e77", "#7570b3", "#e6ab02"];
1081
+ function firstModSitePos(modSites) {
1082
+ const m = /[A-Za-z](\d+)/.exec(modSites || "");
1083
+ if (!m) return null;
1084
+ const pos = Number(m[1]);
1085
+ return Number.isInteger(pos) && pos >= 1 ? pos : null;
1086
+ }
1087
+ function renderOverviewVolcanoCard(grid, data, self, opts) {
1088
+ const pts = [];
1089
+ for (const e of data?.cohorts || []) {
1090
+ if (e.PTMType) continue;
1091
+ const log2fc = getLog2Ratio(e.foldChange);
1092
+ const p = Number(e.fdr);
1093
+ if (log2fc === null || !Number.isFinite(p) || p <= 0) continue;
1094
+ pts.push({ x: log2fc, y: -Math.log10(Math.max(p, 1e-300)), sig: p < SIG_P });
1095
+ }
1096
+ const protein = self.state?.config?.tw?.term?.name || "";
1097
+ const body = makeTileCard(grid, {
1098
+ title: "All sample sets",
1099
+ subtitle: "log2FC vs significance, every cohort",
1100
+ uniform: true,
1101
+ onExpand: () => toggleTilePane(self, "volcano", `${protein ? protein + " \u2014 " : ""}All sample sets`, (paneBody) => {
1102
+ opts.onExpandRender(paneBody.append("div").style("padding", "12px 16px"));
1103
+ })
1104
+ });
1105
+ if (!pts.length) {
1106
+ body.append("div").style("font-size", ".75em").style("color", "#9ca3af").text("No protein-level data.");
1107
+ return;
1108
+ }
1109
+ const margin = { top: 8, right: 10, bottom: 32, left: 38 };
1110
+ const innerW = 156;
1111
+ const innerH = 118;
1112
+ const svg = body.append("svg").attr("width", innerW + margin.left + margin.right).attr("height", innerH + margin.top + margin.bottom);
1113
+ const g = svg.append("g").attr("transform", `translate(${margin.left},${margin.top})`);
1114
+ const x = linear().domain(fcDomain(pts.map((p) => p.x))).range([0, innerW]);
1115
+ const y = linear().domain([0, Math.max(2, ...pts.map((p) => p.y)) * 1.05]).range([innerH, 0]);
1116
+ styledAxis(g.append("g").attr("transform", `translate(0,${innerH})`), axisBottom(x).ticks(4), "8.5px");
1117
+ styledAxis(g.append("g"), axisLeft(y).ticks(4), "8.5px");
1118
+ drawZeroLine(g, x(0), 0, x(0), innerH);
1119
+ g.append("line").attr("x1", 0).attr("x2", innerW).attr("y1", y(-Math.log10(SIG_P))).attr("y2", y(-Math.log10(SIG_P))).attr("stroke", "#9ca3af").attr("stroke-dasharray", "3 3").attr("stroke-opacity", 0.5);
1120
+ yAxisTitle(svg, innerH, margin.top, "\u2212log\u2081\u2080(FDR)");
1121
+ svg.append("text").attr("x", margin.left + innerW / 2).attr("y", margin.top + innerH + 28).attr("text-anchor", "middle").style("font-size", "10px").style("fill", "#374151").text("log2FC");
1122
+ for (const p of pts) {
1123
+ g.append("circle").attr("cx", x(p.x)).attr("cy", y(p.y)).attr("r", 2).attr("fill", p.sig ? "#e75480" : "#c7cbd1").attr("fill-opacity", 0.6);
1124
+ }
1125
+ body.append("div").style("font-size", ".7em").style("color", "#9ca3af").style("margin-top", "2px").text(`${pts.length} dots (accession \xD7 sample set) \xB7 expand for the interactive view`);
1126
+ }
1127
+ function renderPTMSummaryCard(grid, ptmEntries, self, opts) {
1128
+ if (!ptmEntries?.length) return;
1129
+ const protein = self.state?.config?.tw?.term?.name || "";
1130
+ const cfg = getTileConfig(self, "ptm");
1131
+ const title = cfg?.title || "PTM sites";
1132
+ const body = makeTileCard(grid, {
1133
+ title,
1134
+ subtitle: cfg?.subtitle || "Site-level log2FC along the protein",
1135
+ uniform: true,
1136
+ onExpand: () => toggleTilePane(self, "ptm", `${protein ? protein + " \u2014 " : ""}${title}`, async (paneBody) => {
1137
+ const holder = paneBody.append("div").style("padding", "12px 16px");
1138
+ const wait = holder.append("div").style("color", "#6b7280").style("font-size", ".85em").text("Loading\u2026");
1139
+ try {
1140
+ await opts.onExpandRender(holder);
1141
+ } catch (err) {
1142
+ renderTileError(holder, err, self);
1143
+ }
1144
+ wait.remove();
1145
+ })
1146
+ });
1147
+ const byOrganism = /* @__PURE__ */ new Map();
1148
+ const typeCounts = /* @__PURE__ */ new Map();
1149
+ for (const e of ptmEntries) {
1150
+ const pos = firstModSitePos(e.modSites);
1151
+ const log2fc = getLog2Ratio(e.foldChange);
1152
+ const mclass = Object.values(e.mclassOverride || {})[0];
1153
+ const existing = typeCounts.get(e.PTMType);
1154
+ const color = existing?.color || mclass?.color || PTM_FALLBACK_PALETTE[typeCounts.size % PTM_FALLBACK_PALETTE.length];
1155
+ const tc = existing || { count: 0, color };
1156
+ tc.count++;
1157
+ typeCounts.set(e.PTMType, tc);
1158
+ if (pos === null || log2fc === null) continue;
1159
+ const p = Number(e.fdr);
1160
+ const entry = {
1161
+ organism: e.organism,
1162
+ assayName: e.assayName,
1163
+ cohortName: e.cohortName,
1164
+ disease: e.disease,
1165
+ uniqueIdentifier: e.uniqueIdentifier,
1166
+ proteinAccession: e.proteinAccession,
1167
+ log2fc,
1168
+ fdr: Number.isFinite(p) && p > 0 ? p : null,
1169
+ testedN: Number(e.testedN) || 0,
1170
+ controlN: Number(e.controlN) || 0,
1171
+ isoformCount: 1,
1172
+ catalog: catalogForEntry(self, e) || {},
1173
+ ptmType: e.PTMType,
1174
+ modSites: e.modSites
1175
+ };
1176
+ const arr = byOrganism.get(e.organism) || [];
1177
+ arr.push({ pos, log2fc, color, entry });
1178
+ byOrganism.set(e.organism, arr);
1179
+ }
1180
+ const stripW = 152;
1181
+ const stripH = 46;
1182
+ const labelW = 46;
1183
+ for (const [organism, points] of byOrganism) {
1184
+ const maxPos = Math.max(...points.map((p) => p.pos)) * 1.05;
1185
+ const maxAbs = Math.max(0.2, ...points.map((p) => Math.abs(p.log2fc)));
1186
+ const row = body.append("div").style("display", "flex").style("align-items", "center").style("gap", "4px");
1187
+ row.append("span").style("flex", `0 0 ${labelW}px`).style("font-size", ".7em").style("color", "#6b7280").text(organism);
1188
+ const svg = row.append("svg").attr("width", stripW).attr("height", stripH);
1189
+ const x = linear().domain([0, maxPos]).range([4, stripW - 4]);
1190
+ const y = linear().domain([-maxAbs, maxAbs]).range([stripH - 4, 4]);
1191
+ svg.append("line").attr("x1", 0).attr("x2", stripW).attr("y1", y(0)).attr("y2", y(0)).attr("stroke", "#e5e7eb");
1192
+ for (const p of points) {
1193
+ svg.append("line").attr("x1", x(p.pos)).attr("x2", x(p.pos)).attr("y1", y(0)).attr("y2", y(p.log2fc)).attr("stroke", p.color).attr("stroke-opacity", 0.4);
1194
+ attachEntryBehavior(
1195
+ svg.append("circle").attr("cx", x(p.pos)).attr("cy", y(p.log2fc)).attr("r", 2.5).attr("fill", p.color).attr("fill-opacity", 0.8),
1196
+ p.entry,
1197
+ self
1198
+ );
1199
+ }
1200
+ }
1201
+ const foot = body.append("div").style("display", "flex").style("gap", "10px").style("flex-wrap", "wrap").style("font-size", ".7em").style("color", "#6b7280").style("margin-top", "4px");
1202
+ for (const [type, tc] of typeCounts) {
1203
+ const item = foot.append("span").style("display", "inline-flex").style("align-items", "center").style("gap", "4px");
1204
+ item.append("span").style("display", "inline-block").style("width", "7px").style("height", "7px").style("border-radius", "50%").style("background", tc.color);
1205
+ item.append("span").text(`${tc.count} ${type}`);
1206
+ }
1207
+ }
1208
+ function renderCoverageLine(holder, td) {
1209
+ const parts = [`${td.cohortCount} sample set${td.cohortCount === 1 ? "" : "s"}`];
1210
+ if (td.ptmSiteCount) parts.push(`${td.ptmSiteCount} PTM site measurement${td.ptmSiteCount === 1 ? "" : "s"}`);
1211
+ if (td.isoformCount > 1) parts.push(`${td.isoformCount} isoforms (tiles show the most significant per sample set)`);
1212
+ holder.append("div").style("font-size", ".8em").style("color", "#6b7280").style("margin-bottom", "4px").text(parts.join(" \xB7 "));
1213
+ }
1214
+
1215
+ export {
1216
+ getTileConfig,
1217
+ orderBy,
1218
+ getLog2Ratio,
1219
+ launchViolinPlot,
1220
+ prepareTileData,
1221
+ makeTileGrid,
1222
+ makeTileCard,
1223
+ renderTileError,
1224
+ closeTilePanes,
1225
+ closeTilePane,
1226
+ toggleTilePane,
1227
+ renderStudyTiles,
1228
+ renderPlaceholderTiles,
1229
+ renderOverviewVolcanoCard,
1230
+ renderPTMSummaryCard,
1231
+ renderCoverageLine
1232
+ };
1233
+ //# sourceMappingURL=chunk-JBFVJHZN.js.map