@sjcrh/proteinpaint-client 2.204.0 → 2.205.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 (924) hide show
  1. package/dist/2dmaf-ZQ7ACPAD.js +1367 -0
  2. package/dist/AggMatrixInput-EACGUIQA.js +277 -0
  3. package/dist/AggregateMatrix-TC5DTSYN.js +41 -0
  4. package/dist/AppHeader-PHI6US5B.js +830 -0
  5. package/dist/BoxPlot-QWKK3IJ7.js +1211 -0
  6. package/dist/CorrelationVolcano-QJJN7FVP.js +614 -0
  7. package/dist/Cuminc-6F2C5C4E.js +1219 -0
  8. package/dist/DE-HRJH6ZQL.js +89 -0
  9. package/dist/DE-HRJH6ZQL.js.map +7 -0
  10. package/dist/DEinput-T3MPAYPH.js +499 -0
  11. package/dist/DEinput-T3MPAYPH.js.map +7 -0
  12. package/dist/DM-PEG4ED2X.js +90 -0
  13. package/dist/DM-PEG4ED2X.js.map +7 -0
  14. package/dist/DifferentialAnalysis-XGXHWGPI.js +237 -0
  15. package/dist/Disco-7SRTTB3X.js +3389 -0
  16. package/dist/Disco.UI-CKKZ5MMK.js +243 -0
  17. package/dist/DmrPlot-N4CT4J2I.js +637 -0
  18. package/dist/GB-NVCLPRWN.js +1391 -0
  19. package/dist/GSEA-UZUNJG7Z.js +851 -0
  20. package/dist/GeneExpInput-3MDN2CAW.js +362 -0
  21. package/dist/Geomap-ZUF2PE5A.js +84 -0
  22. package/dist/HicApp-OIJT5TFU.js +2245 -0
  23. package/dist/IDCViewer-ZSH2E57L.js +10812 -0
  24. package/dist/NumBinaryEditor-74ZPGT7L.js +279 -0
  25. package/dist/NumBinaryEditor.unit.spec-T2I66SO5.js +312 -0
  26. package/dist/NumContEditor-M2GARZXM.js +105 -0
  27. package/dist/NumContEditor.unit.spec-G2QBBNH7.js +164 -0
  28. package/dist/NumCustomBinEditor-P44G67KS.js +33 -0
  29. package/dist/NumCustomBinEditor.unit.spec-AZHJN3V6.js +397 -0
  30. package/dist/NumDiscreteEditor-VOZ63LZY.js +170 -0
  31. package/dist/NumDiscreteEditor.unit.spec-CFSVPNBA.js +233 -0
  32. package/dist/NumRegularBinEditor-I6GJQR7W.js +33 -0
  33. package/dist/NumRegularBinEditor.unit.spec-IDJE7H6S.js +278 -0
  34. package/dist/NumSplineEditor-BCGWE52A.js +210 -0
  35. package/dist/NumSplineEditor.unit.spec-YQAL7L2E.js +224 -0
  36. package/dist/NumericDensity-P25W63RV.js +33 -0
  37. package/dist/NumericDensity.unit.spec-N7CQ5W5L.js +418 -0
  38. package/dist/NumericHandler-R7JWIFEO.js +34 -0
  39. package/dist/NumericHandler.unit.spec-LMGIAGZJ.js +214 -0
  40. package/dist/ProteomeInput-PRYKKF5E.js +388 -0
  41. package/dist/Regression-PSHH7ZXN.js +1416 -0
  42. package/dist/RunChart2-KJ2UWVCE.js +749 -0
  43. package/dist/SC-R6ZIJZ6F.js +1107 -0
  44. package/dist/Violin-GTQAUJ7B.js +1082 -0
  45. package/dist/Volcano-NER64J7W.js +1649 -0
  46. package/dist/Volcano-NER64J7W.js.map +7 -0
  47. package/dist/Wsi-GXNGL7O6.js +431 -0
  48. package/dist/adSandbox-SXSHVG4P.js +33 -0
  49. package/dist/animatedBubbleChart-Q4NEETEH.js +547 -0
  50. package/dist/app-MX4PL2QO.js +42 -0
  51. package/dist/app-R5CTEVAC.js +32 -0
  52. package/dist/app.js +14 -14
  53. package/dist/bam-45N3FEEM.js +876 -0
  54. package/dist/barchart-YCTKQJQX.js +42 -0
  55. package/dist/barchart2-252GS3CA.js +309 -0
  56. package/dist/block-CR75JHV3.js +6249 -0
  57. package/dist/block.init-U3JMED2E.js +33 -0
  58. package/dist/block.mds.expressionrank-TAN3BDPS.js +354 -0
  59. package/dist/block.mds.geneboxplot-EN344GEP.js +823 -0
  60. package/dist/block.mds.junction-RFVVJUTR.js +1539 -0
  61. package/dist/block.mds.svcnv-SSUMXEWD.js +6796 -0
  62. package/dist/block.svg-LRPGNFFI.js +159 -0
  63. package/dist/block.tk.aicheck-YY23FT2G.js +278 -0
  64. package/dist/block.tk.ase-JCGPFKFT.js +360 -0
  65. package/dist/block.tk.bam-NZDC4H7Y.js +1901 -0
  66. package/dist/block.tk.bedgraphdot-NCNZPZH6.js +379 -0
  67. package/dist/block.tk.bigwig.ui-Z7G6ZITU.js +206 -0
  68. package/dist/block.tk.hicstraw-VVDP4UF5.js +818 -0
  69. package/dist/block.tk.junction-L4YBPAHM.js +2358 -0
  70. package/dist/block.tk.junction.textmatrixui-6CMKKUB5.js +194 -0
  71. package/dist/block.tk.ld-VCP2R5UO.js +94 -0
  72. package/dist/block.tk.menu-ZJYGMEDX.js +1024 -0
  73. package/dist/block.tk.pgv-M5WNUIVS.js +938 -0
  74. package/dist/brainImaging-JGECJHZO.js +515 -0
  75. package/dist/brainRegions-NTEAXNZJ.js +234 -0
  76. package/dist/brainRegions-NTEAXNZJ.js.map +7 -0
  77. package/dist/bubbleHeatmap-7DQNWBQ2.js +378 -0
  78. package/dist/cellTypeBubbleHeatmap-LAE7U3RF.js +278 -0
  79. package/dist/chunk-2AQT3ZWL.js +626 -0
  80. package/dist/chunk-2GLNPB5J.js +203 -0
  81. package/dist/chunk-2O4CS3EZ.js +274 -0
  82. package/dist/chunk-2Z4ZSINZ.js +323 -0
  83. package/dist/chunk-2Z4ZSINZ.js.map +7 -0
  84. package/dist/chunk-3MFFZRH3.js +6360 -0
  85. package/dist/chunk-3PHXBY3Z.js +1275 -0
  86. package/dist/chunk-3PHXBY3Z.js.map +7 -0
  87. package/dist/chunk-4AQQ3BXD.js +70 -0
  88. package/dist/chunk-4PPZYVWZ.js +281 -0
  89. package/dist/chunk-4WEA7HHH.js +26 -0
  90. package/dist/chunk-57NYHASA.js +38 -0
  91. package/dist/chunk-5AAAH4OZ.js +141 -0
  92. package/dist/chunk-5BCNVZIW.js +480 -0
  93. package/dist/chunk-6JBQLOJW.js +1339 -0
  94. package/dist/chunk-756KZF5Y.js +158 -0
  95. package/dist/chunk-ABTO5QSB.js +276 -0
  96. package/dist/chunk-ALEZQQOK.js +299 -0
  97. package/dist/chunk-APK7TUJX.js +102 -0
  98. package/dist/chunk-AQAFURQM.js +59 -0
  99. package/dist/chunk-CZ5QLVWK.js +49 -0
  100. package/dist/chunk-D2MZT7CC.js +176 -0
  101. package/dist/chunk-DE3F7FAP.js +34 -0
  102. package/dist/chunk-DF3IMIR2.js +464 -0
  103. package/dist/chunk-E4WIMTK4.js +446 -0
  104. package/dist/chunk-E7TJXNIL.js +42 -0
  105. package/dist/chunk-G3JNTWCX.js +103 -0
  106. package/dist/chunk-GN2IIC6U.js +160 -0
  107. package/dist/chunk-GRI74AXV.js +294 -0
  108. package/dist/chunk-IAE3KWN5.js +550 -0
  109. package/dist/chunk-IB4NE4SI.js +397 -0
  110. package/dist/chunk-IK2BO37K.js +1608 -0
  111. package/dist/chunk-IK2BO37K.js.map +7 -0
  112. package/dist/chunk-IS4VLUEX.js +382 -0
  113. package/dist/chunk-J2DICGKC.js +194 -0
  114. package/dist/chunk-J7JDCNLU.js +24141 -0
  115. package/dist/chunk-J7JDCNLU.js.map +7 -0
  116. package/dist/chunk-JBUEQ4E6.js +263 -0
  117. package/dist/chunk-JIDJBM2R.js +2676 -0
  118. package/dist/chunk-JNVWSFNC.js +54 -0
  119. package/dist/chunk-JYOIO5UY.js +2133 -0
  120. package/dist/chunk-JYOIO5UY.js.map +7 -0
  121. package/dist/chunk-KAFDQKN7.js +1720 -0
  122. package/dist/chunk-L743GRJE.js +783 -0
  123. package/dist/chunk-L743GRJE.js.map +7 -0
  124. package/dist/chunk-LGOTIL62.js +54 -0
  125. package/dist/chunk-LHP7RXET.js +243 -0
  126. package/dist/chunk-LK2GHBUH.js +123 -0
  127. package/dist/chunk-MAVDQAZE.js +518 -0
  128. package/dist/chunk-MKT4OJ3G.js +102 -0
  129. package/dist/chunk-N635HDJ4.js +178 -0
  130. package/dist/chunk-N635HDJ4.js.map +7 -0
  131. package/dist/chunk-NFAE6VNU.js +2327 -0
  132. package/dist/chunk-NG7K5KYO.js +56 -0
  133. package/dist/chunk-NXVUL3EY.js +2853 -0
  134. package/dist/chunk-NXVUL3EY.js.map +7 -0
  135. package/dist/chunk-ODMLC5FN.js +55 -0
  136. package/dist/chunk-OJ4TDGPQ.js +339 -0
  137. package/dist/chunk-OXLBPSJ6.js +379 -0
  138. package/dist/chunk-P5GRGXH4.js +98 -0
  139. package/dist/chunk-POWG4MPT.js +31 -0
  140. package/dist/chunk-Q25DABNW.js +217 -0
  141. package/dist/chunk-QHJGWCH3.js +4311 -0
  142. package/dist/chunk-QHJGWCH3.js.map +7 -0
  143. package/dist/chunk-R5OIIFSF.js +197 -0
  144. package/dist/chunk-RJFCT67B.js +2784 -0
  145. package/dist/chunk-RN4BOWRH.js +402 -0
  146. package/dist/chunk-RZFJ6K77.js +302 -0
  147. package/dist/chunk-S5UN4VIQ.js +272 -0
  148. package/dist/chunk-SDMNZJ7X.js +50 -0
  149. package/dist/chunk-SWZAHJYP.js +170 -0
  150. package/dist/chunk-SY63UUF7.js +562 -0
  151. package/dist/chunk-T46FA72N.js +119 -0
  152. package/dist/chunk-TBPVP3KZ.js +1986 -0
  153. package/dist/chunk-TBPVP3KZ.js.map +7 -0
  154. package/dist/chunk-VIBK253J.js +134 -0
  155. package/dist/chunk-WTAPOH2W.js +22699 -0
  156. package/dist/chunk-WTAPOH2W.js.map +7 -0
  157. package/dist/chunk-XKL2D2NN.js +240 -0
  158. package/dist/chunk-XXJT7DSL.js +677 -0
  159. package/dist/chunk-YHA3AYAM.js +5071 -0
  160. package/dist/chunk-YN5NY3D3.js +339 -0
  161. package/dist/chunk-YX6FIREB.js +14 -0
  162. package/dist/chunk-ZXU4ALLZ.js +129 -0
  163. package/dist/cohort-75FUW3UO.js +70 -0
  164. package/dist/condition-VW43Q6ZE.js +327 -0
  165. package/dist/controls-HOP2AFHD.js +34 -0
  166. package/dist/controls.config-CMIFSKQE.js +34 -0
  167. package/dist/correlation-PN7BS5OR.js +95 -0
  168. package/dist/customdata.inputui-ZBZX63PS.js +284 -0
  169. package/dist/dataDownload-LGA4LAUF.js +329 -0
  170. package/dist/databrowser.ui-IQRDVL66.js +425 -0
  171. package/dist/dictionary-BPWD77LJ.js +113 -0
  172. package/dist/dnaMethylation-A3XPPBBB.js +33 -0
  173. package/dist/dnaMethylation.integration.spec-554ITDQC.js +198 -0
  174. package/dist/dofetch-FQ42AX7C.js +48 -0
  175. package/dist/e2pca-F3GWG7WZ.js +344 -0
  176. package/dist/ep-QAVN472H.js +1249 -0
  177. package/dist/expclust.gdc.spec-DQNX7FTL.js +302 -0
  178. package/dist/facet-DH7OOZTJ.js +519 -0
  179. package/dist/gb-OCXOLAMD.js +81 -0
  180. package/dist/geneExpClustering-DWYRZGTS.js +244 -0
  181. package/dist/geneExpression-2NKSKZR6.js +33 -0
  182. package/dist/geneExpression-BGFR3KQE.js +310 -0
  183. package/dist/geneExpression.unit.spec-63EKKMET.js +99 -0
  184. package/dist/geneORA-BED6XL4D.js +273 -0
  185. package/dist/geneRanking-UB5RCQNP.js +548 -0
  186. package/dist/geneVariant-WJEONTTY.js +286 -0
  187. package/dist/geneVariant-Y4C2FPJK.js +36 -0
  188. package/dist/geneVariant.integration.spec-VFYLC47N.js +388 -0
  189. package/dist/genefusion.ui-P3NBIMLE.js +303 -0
  190. package/dist/geneset-O22RQAED.js +203 -0
  191. package/dist/genomeBrowser.spec-MM7WZUGI.js +276 -0
  192. package/dist/grin2-3YBIRKUT.js +70 -0
  193. package/dist/grin2-O637DNDS.js +1137 -0
  194. package/dist/hierCluster-3X3BQVNE.js +59 -0
  195. package/dist/hierCluster-7P7M75TU.js +55 -0
  196. package/dist/hierCluster.config-XFUOLLDK.js +36 -0
  197. package/dist/hierCluster.integration.spec-HKYGSDDG.js +483 -0
  198. package/dist/hierCluster.interactivity-JUZSWCM7.js +49 -0
  199. package/dist/hierCluster.renderers-NGPPAYFM.js +19 -0
  200. package/dist/imagePlot-LKGAFJO7.js +156 -0
  201. package/dist/importPlot-SRWQA2FH.js +8 -0
  202. package/dist/isoformExpression-RYIZQIVX.js +35 -0
  203. package/dist/isoformExpression.unit.spec-DP4ECITF.js +237 -0
  204. package/dist/junction-D7QQ3YSG.js +36 -0
  205. package/dist/junction.customTerm-ZEVNCVU7.js +16 -0
  206. package/dist/junction.unit.spec-6MAKIB3R.js +182 -0
  207. package/dist/launch.adhoc-FAHRZFYG.js +37 -0
  208. package/dist/leftlabel.sample-PDZLWLJ4.js +258 -0
  209. package/dist/lollipop-VWGJUHNX.js +166 -0
  210. package/dist/maf-W52H44WK.js +455 -0
  211. package/dist/maftimeline-5JV3HZLE.js +587 -0
  212. package/dist/matrix-CEVGKXSK.js +54 -0
  213. package/dist/matrix-EXNYXYLK.js +59 -0
  214. package/dist/matrix.cells-DVPWSLJW.js +26 -0
  215. package/dist/matrix.config-RLSTWDXC.js +37 -0
  216. package/dist/matrix.data-Z6GUACVZ.js +23 -0
  217. package/dist/matrix.groups-3ZSTUWRK.js +26 -0
  218. package/dist/matrix.integration.spec-4U2R3UB2.js +3160 -0
  219. package/dist/matrix.interactivity-DJZFQ7DN.js +37 -0
  220. package/dist/matrix.layout-RQJ6VB4P.js +39 -0
  221. package/dist/matrix.legend-YQ36NWKW.js +20 -0
  222. package/dist/matrix.renderers-MWDFI6HW.js +34 -0
  223. package/dist/matrix.serieses-LTC4RLYD.js +19 -0
  224. package/dist/matrix.sort-5VFYLABY.js +26 -0
  225. package/dist/matrix.sort.unit.spec-2RUEKUT4.js +468 -0
  226. package/dist/matrix.sorterUi-EEMYZLPI.js +16 -0
  227. package/dist/matrix.sorterUi.unit.spec-ZXGSPRFZ.js +338 -0
  228. package/dist/matrix.unit.spec-HTF6UV4L.js +150 -0
  229. package/dist/mavb-GGQRDCO6.js +727 -0
  230. package/dist/mds.fimo-YKV5OIYV.js +513 -0
  231. package/dist/mds.samplescatterplot-RQOEW2AW.js +1545 -0
  232. package/dist/mds.survivalplot-TN636DED.js +477 -0
  233. package/dist/multivalue-MDQY64EH.js +83 -0
  234. package/dist/numericDictTermCluster-E73TJCLI.js +63 -0
  235. package/dist/oncomatrix-AENXQMLL.js +290 -0
  236. package/dist/oncomatrix.spec-UD6U462U.js +443 -0
  237. package/dist/plot.2dvaf-XMRV6KEG.js +372 -0
  238. package/dist/plot.app-A6JKLYQQ.js +36 -0
  239. package/dist/plot.barplot-UIX7LVWR.js +97 -0
  240. package/dist/plot.boxplot-DIFWVLMA.js +146 -0
  241. package/dist/plot.brainImaging-ZRPVE2UK.js +51 -0
  242. package/dist/plot.disco-I56MT3PC.js +99 -0
  243. package/dist/plot.ssgq-FCKFSZTV.js +134 -0
  244. package/dist/plot.vaf2cov-E5C7RJ7Z.js +253 -0
  245. package/dist/polar2-SKVBB4FD.js +232 -0
  246. package/dist/profileForms-5B3MTUNP.js +941 -0
  247. package/dist/profilePlot-MCYCGEWT.js +49 -0
  248. package/dist/proteinView-5X55JWVL.js +1562 -0
  249. package/dist/proteomeCohortCompare-WZBMBLFD.js +780 -0
  250. package/dist/pseudbulk.unit.spec-Q4YTIPH7.js +86 -0
  251. package/dist/pseudobulk-3UIWCCCQ.js +35 -0
  252. package/dist/qualitative-6TJRXZFV.js +38 -0
  253. package/dist/radar2-6X4XW5IZ.js +327 -0
  254. package/dist/radarFacility2-UVPXWPV5.js +335 -0
  255. package/dist/rememberedGvQ.unit.spec-GVRFRVSO.js +211 -0
  256. package/dist/render-G7V6R4PV.js +33 -0
  257. package/dist/report-O7D46EKQ.js +217 -0
  258. package/dist/sampleView-6Y3OOOMW.js +43 -0
  259. package/dist/samplelst-JRVC4GYC.js +106 -0
  260. package/dist/samplematrix-VP5RQVRH.js +2193 -0
  261. package/dist/sc-BPHVEP6N.js +81 -0
  262. package/dist/scatter-2YYRZCSW.js +88 -0
  263. package/dist/scatter-Y4BIG2PW.js +880 -0
  264. package/dist/selectGenomeWithTklst-2BVZU5SW.js +129 -0
  265. package/dist/singleCellCellType-XBGCSIQT.js +33 -0
  266. package/dist/singleCellCellType.unit.spec-T4GFRLVZ.js +154 -0
  267. package/dist/singleCellGeneExpression-5ZPWLSVW.js +33 -0
  268. package/dist/singleCellGeneExpression.unit.spec-4O5UBUDU.js +148 -0
  269. package/dist/singleCellPlot-CZLQBGVU.js +49 -0
  270. package/dist/singlecell-IIUYX7OG.js +1566 -0
  271. package/dist/singlecell-O3P5BLWT.js +81 -0
  272. package/dist/snp-ZCYBF3ZQ.js +33 -0
  273. package/dist/snp.unit.spec-TAGD2DRL.js +171 -0
  274. package/dist/snplocus-TL25OOPE.js +203 -0
  275. package/dist/spliceevent.a53ss.diagram-I7J4PQZT.js +146 -0
  276. package/dist/spliceevent.exonskip.diagram-SB4454HB.js +278 -0
  277. package/dist/spliceevent.noeventdiagram-FOSDNYLH.js +455 -0
  278. package/dist/ssGSEA-WANB2X5L.js +33 -0
  279. package/dist/ssGSEA.unit.spec-4XXWU4XV.js +83 -0
  280. package/dist/stattable-FNTJLVNB.js +117 -0
  281. package/dist/studyCatalog-7KEOFLO2.js +378 -0
  282. package/dist/summarizeCnvGeneexp-P4AFZMKD.js +158 -0
  283. package/dist/summarizeGeneexpSurvival-YL2J7F4R.js +105 -0
  284. package/dist/summarizeMutationCnv-BHBHST5F.js +159 -0
  285. package/dist/summarizeMutationDiagnosis-Z7ZHTV27.js +35 -0
  286. package/dist/summarizeMutationSurvival-PZ4TYHT7.js +99 -0
  287. package/dist/summary-ZMNPO65S.js +42 -0
  288. package/dist/summary.integration.spec-DPJR2ZBE.js +409 -0
  289. package/dist/summaryInput-6JUFJZ5P.js +242 -0
  290. package/dist/sunburst-OWAUI3HC.js +278 -0
  291. package/dist/survival-6JPKG3VA.js +53 -0
  292. package/dist/survival-7EXICNK7.js +1248 -0
  293. package/dist/survival-7EXICNK7.js.map +7 -0
  294. package/dist/survival.integration.spec-A6NUJLL6.js +613 -0
  295. package/dist/svgraph-34IKFHUS.js +1382 -0
  296. package/dist/svmr-4XNPSVVQ.js +3837 -0
  297. package/dist/table-LPZATFLC.js +197 -0
  298. package/dist/termCollection-DYY5FXU5.js +252 -0
  299. package/dist/termCollection-WOAUFFIC.js +33 -0
  300. package/dist/termCollection.unit.spec-WTICTZ7H.js +299 -0
  301. package/dist/termCollectionFractionSelection-K5HPDEFP.js +42 -0
  302. package/dist/termCollectionFractionSelection.unit.spec-D7DG2HOI.js +188 -0
  303. package/dist/tk-DD2LWVGM.js +1121 -0
  304. package/dist/tk-NV7NBLT6.js +41 -0
  305. package/dist/tp.ui-B5J3UUVB.js +1454 -0
  306. package/dist/tvs.dt-XLKQT64T.js +34 -0
  307. package/dist/tvs.dtcnv.categorical-XIC3RH2D.js +35 -0
  308. package/dist/tvs.dtcnv.continuous-OA2K4LHF.js +67 -0
  309. package/dist/tvs.dtfusion-ZGNKALZB.js +35 -0
  310. package/dist/tvs.dtitd-6QSG4E34.js +35 -0
  311. package/dist/tvs.dtsnvindel-5CXXOGPH.js +35 -0
  312. package/dist/tvs.dtsv-QYYEYUD3.js +35 -0
  313. package/dist/tvs.samplelst-X77ODFFR.js +98 -0
  314. package/dist/tvs.termCollection-VXROWAPS.js +124 -0
  315. package/dist/vocabulary-DKWYTZRC.js +36 -0
  316. package/dist/wsi.direct-C3HQEC2V.js +8184 -0
  317. package/dist/wsi.direct-C3HQEC2V.js.map +7 -0
  318. package/package.json +3 -3
  319. package/dist/2dmaf-JIY57FG6.js +0 -1367
  320. package/dist/AIProjectAdmin-DGTBIE6E.js +0 -952
  321. package/dist/AIProjectAdmin-DGTBIE6E.js.map +0 -7
  322. package/dist/AggMatrixInput-FH6WRTLP.js +0 -277
  323. package/dist/AggregateMatrix-MGEX5AVF.js +0 -41
  324. package/dist/AppHeader-FFOQFH55.js +0 -830
  325. package/dist/BoxPlot-KCY4JVRX.js +0 -1211
  326. package/dist/CorrelationVolcano-E5URKQSM.js +0 -614
  327. package/dist/Cuminc-CBPMCKIC.js +0 -1219
  328. package/dist/DE-VANPWKZI.js +0 -88
  329. package/dist/DE-VANPWKZI.js.map +0 -7
  330. package/dist/DEinput-MONPHDB2.js +0 -405
  331. package/dist/DEinput-MONPHDB2.js.map +0 -7
  332. package/dist/DifferentialAnalysis-XRBS4PZI.js +0 -237
  333. package/dist/Disco-V2VJIDWG.js +0 -3389
  334. package/dist/Disco.UI-OEF5JXBU.js +0 -243
  335. package/dist/DmrPlot-KZUWJWBD.js +0 -637
  336. package/dist/GB-IYTEMMU7.js +0 -1391
  337. package/dist/GSEA-QB62B5KB.js +0 -851
  338. package/dist/GeneExpInput-CXX7SXMQ.js +0 -362
  339. package/dist/Geomap-QNHSCN4N.js +0 -84
  340. package/dist/HicApp-UIULZYYJ.js +0 -2245
  341. package/dist/IDCViewer-B2JENGZZ.js +0 -10812
  342. package/dist/NumBinaryEditor-JOU2J23M.js +0 -279
  343. package/dist/NumBinaryEditor.unit.spec-UXZBBVWL.js +0 -312
  344. package/dist/NumContEditor-BJGP4PVS.js +0 -105
  345. package/dist/NumContEditor.unit.spec-HEXOYIXC.js +0 -164
  346. package/dist/NumCustomBinEditor-HDRTVWNK.js +0 -33
  347. package/dist/NumCustomBinEditor.unit.spec-MN6QZ3ZB.js +0 -397
  348. package/dist/NumDiscreteEditor-JUBR45IJ.js +0 -170
  349. package/dist/NumDiscreteEditor.unit.spec-SDK2LR5B.js +0 -233
  350. package/dist/NumRegularBinEditor-AQPRZ3MI.js +0 -33
  351. package/dist/NumRegularBinEditor.unit.spec-GM3SFB2N.js +0 -278
  352. package/dist/NumSplineEditor-LYLROEGE.js +0 -210
  353. package/dist/NumSplineEditor.unit.spec-3Q2HP6IB.js +0 -224
  354. package/dist/NumericDensity-3ZCDZORO.js +0 -33
  355. package/dist/NumericDensity.unit.spec-MNIAR2PR.js +0 -418
  356. package/dist/NumericHandler-MUNEB5IS.js +0 -34
  357. package/dist/NumericHandler.unit.spec-KPWG2T27.js +0 -214
  358. package/dist/ProteomeInput-NEUHQ2G4.js +0 -388
  359. package/dist/Regression-C75T5LOY.js +0 -1416
  360. package/dist/RunChart2-CMQ2BBSJ.js +0 -749
  361. package/dist/SC-HYK26DXI.js +0 -1107
  362. package/dist/Violin-J5Z3NKMU.js +0 -1082
  363. package/dist/Volcano-VZGOJFM7.js +0 -1573
  364. package/dist/Volcano-VZGOJFM7.js.map +0 -7
  365. package/dist/WSIViewer-EEKHINZU.js +0 -18892
  366. package/dist/WSIViewer-EEKHINZU.js.map +0 -7
  367. package/dist/Wsi-ZP36MKK7.js +0 -431
  368. package/dist/WsiSamplesPlot-6G3U7U5L.js +0 -160
  369. package/dist/WsiSamplesPlot-6G3U7U5L.js.map +0 -7
  370. package/dist/adSandbox-W4THMDUI.js +0 -33
  371. package/dist/animatedBubbleChart-2IVR2WC3.js +0 -547
  372. package/dist/app-LAIPU5IO.js +0 -42
  373. package/dist/app-WMRDJINC.js +0 -32
  374. package/dist/bam-44WCWB5P.js +0 -876
  375. package/dist/barchart-P6XKCJRF.js +0 -42
  376. package/dist/barchart2-5NTYCQYN.js +0 -309
  377. package/dist/block-VEOD6CP4.js +0 -6249
  378. package/dist/block.init-RCPDUYAV.js +0 -33
  379. package/dist/block.mds.expressionrank-KALPK27B.js +0 -354
  380. package/dist/block.mds.geneboxplot-ZASU25BG.js +0 -823
  381. package/dist/block.mds.junction-DCVGVSYG.js +0 -1539
  382. package/dist/block.mds.svcnv-CEGYMRSE.js +0 -6796
  383. package/dist/block.svg-AW4E7NSS.js +0 -159
  384. package/dist/block.tk.aicheck-4ZPFLI5I.js +0 -278
  385. package/dist/block.tk.ase-F3VMNBE3.js +0 -360
  386. package/dist/block.tk.bam-3VDSEMVO.js +0 -1901
  387. package/dist/block.tk.bedgraphdot-3F6AMWFD.js +0 -379
  388. package/dist/block.tk.bigwig.ui-QO334QC3.js +0 -206
  389. package/dist/block.tk.hicstraw-VA7GNOOD.js +0 -818
  390. package/dist/block.tk.junction-7WIZ63R7.js +0 -2358
  391. package/dist/block.tk.junction.textmatrixui-ZHSVODGI.js +0 -194
  392. package/dist/block.tk.ld-JME4SP6A.js +0 -94
  393. package/dist/block.tk.menu-7BFQTH3Q.js +0 -1024
  394. package/dist/block.tk.pgv-C2N7UFYT.js +0 -938
  395. package/dist/brainImaging-6XFUKFZE.js +0 -515
  396. package/dist/brainRegions-SEMS7V4O.js +0 -216
  397. package/dist/brainRegions-SEMS7V4O.js.map +0 -7
  398. package/dist/bubbleHeatmap-YO4232WO.js +0 -378
  399. package/dist/cellTypeBubbleHeatmap-GM4BGCQ3.js +0 -278
  400. package/dist/chunk-2YDQC5BV.js +0 -562
  401. package/dist/chunk-3QMXNK7G.js +0 -379
  402. package/dist/chunk-4C2N2BQC.js +0 -6360
  403. package/dist/chunk-4Q46RDNU.js +0 -34
  404. package/dist/chunk-4YEDSMFX.js +0 -123
  405. package/dist/chunk-56HEUYYM.js +0 -2891
  406. package/dist/chunk-56HEUYYM.js.map +0 -7
  407. package/dist/chunk-5VMEMA4O.js +0 -158
  408. package/dist/chunk-66BJC6ZX.js +0 -217
  409. package/dist/chunk-6RN4RVKF.js +0 -480
  410. package/dist/chunk-6SKLD7JU.js +0 -59
  411. package/dist/chunk-7C45EYL6.js +0 -274
  412. package/dist/chunk-7RX5UEF3.js +0 -24193
  413. package/dist/chunk-7RX5UEF3.js.map +0 -7
  414. package/dist/chunk-AAM7HHPU.js +0 -103
  415. package/dist/chunk-AFMD6226.js +0 -240
  416. package/dist/chunk-AK3SW3VT.js +0 -176
  417. package/dist/chunk-BBYVVPEO.js +0 -1271
  418. package/dist/chunk-BBYVVPEO.js.map +0 -7
  419. package/dist/chunk-BMVRYEN2.js +0 -397
  420. package/dist/chunk-BZYTL2EU.js +0 -294
  421. package/dist/chunk-CLOHFGFX.js +0 -14
  422. package/dist/chunk-DAJT3XVZ.js +0 -31
  423. package/dist/chunk-DKPV7GCZ.js +0 -7966
  424. package/dist/chunk-DKPV7GCZ.js.map +0 -7
  425. package/dist/chunk-DMT6S5HJ.js +0 -5071
  426. package/dist/chunk-DO4SLQNP.js +0 -194
  427. package/dist/chunk-DUGOFIQS.js +0 -464
  428. package/dist/chunk-E3O6ZEWQ.js +0 -129
  429. package/dist/chunk-EJ3SSI5J.js +0 -382
  430. package/dist/chunk-FSDY4QVA.js +0 -272
  431. package/dist/chunk-FUEJFIQX.js +0 -203
  432. package/dist/chunk-FUSTNOQZ.js +0 -2130
  433. package/dist/chunk-FUSTNOQZ.js.map +0 -7
  434. package/dist/chunk-GAW2EETX.js +0 -281
  435. package/dist/chunk-GF6CKFXE.js +0 -1720
  436. package/dist/chunk-GI3RVOO4.js +0 -339
  437. package/dist/chunk-GQ6T62VJ.js +0 -141
  438. package/dist/chunk-GTMHDSOQ.js +0 -550
  439. package/dist/chunk-H555QBYP.js +0 -243
  440. package/dist/chunk-HKQDZKSF.js +0 -119
  441. package/dist/chunk-HLZVDBAI.js +0 -1985
  442. package/dist/chunk-HLZVDBAI.js.map +0 -7
  443. package/dist/chunk-HWMZ2OHD.js +0 -49
  444. package/dist/chunk-JG6SE6YU.js +0 -1339
  445. package/dist/chunk-JSVLKCIQ.js +0 -160
  446. package/dist/chunk-JVRGY6IU.js +0 -54
  447. package/dist/chunk-JXUFZZRJ.js +0 -626
  448. package/dist/chunk-K5YG7MVJ.js +0 -2676
  449. package/dist/chunk-KAUMP3RR.js +0 -56
  450. package/dist/chunk-KLGNLUXR.js +0 -518
  451. package/dist/chunk-KWLBPOPE.js +0 -38
  452. package/dist/chunk-L42F5J5C.js +0 -185
  453. package/dist/chunk-L42F5J5C.js.map +0 -7
  454. package/dist/chunk-LXTBOUBG.js +0 -677
  455. package/dist/chunk-MCRWA655.js +0 -98
  456. package/dist/chunk-NGBQL4CM.js +0 -54
  457. package/dist/chunk-OKUFTLFL.js +0 -4297
  458. package/dist/chunk-OKUFTLFL.js.map +0 -7
  459. package/dist/chunk-ONXYJWY6.js +0 -102
  460. package/dist/chunk-OYHID2D7.js +0 -50
  461. package/dist/chunk-PT5JDHPR.js +0 -42
  462. package/dist/chunk-PZZIDJIB.js +0 -806
  463. package/dist/chunk-PZZIDJIB.js.map +0 -7
  464. package/dist/chunk-S5SOLLGM.js +0 -1654
  465. package/dist/chunk-S5SOLLGM.js.map +0 -7
  466. package/dist/chunk-S6XG74R4.js +0 -70
  467. package/dist/chunk-TAEU6SPJ.js +0 -197
  468. package/dist/chunk-UBZRZ3PS.js +0 -102
  469. package/dist/chunk-VHDVTQFR.js +0 -2784
  470. package/dist/chunk-VRY7WSS6.js +0 -170
  471. package/dist/chunk-VSPUFGDX.js +0 -339
  472. package/dist/chunk-VVDFRJVN.js +0 -306
  473. package/dist/chunk-VVDFRJVN.js.map +0 -7
  474. package/dist/chunk-WFOC4W5A.js +0 -55
  475. package/dist/chunk-WVPFLPWB.js +0 -402
  476. package/dist/chunk-WZUUWGEU.js +0 -22834
  477. package/dist/chunk-WZUUWGEU.js.map +0 -7
  478. package/dist/chunk-X7IAKV5Z.js +0 -276
  479. package/dist/chunk-XHOL37O6.js +0 -299
  480. package/dist/chunk-XJGPL2JZ.js +0 -39
  481. package/dist/chunk-XJGPL2JZ.js.map +0 -7
  482. package/dist/chunk-XPB2GP3C.js +0 -2327
  483. package/dist/chunk-XPVU5AMT.js +0 -263
  484. package/dist/chunk-YLWSTPPL.js +0 -302
  485. package/dist/chunk-YZVWOQBP.js +0 -134
  486. package/dist/chunk-ZB3RP5QP.js +0 -446
  487. package/dist/chunk-ZU47ERPU.js +0 -26
  488. package/dist/cohort-ZTT2PSQA.js +0 -70
  489. package/dist/condition-L5DXIAJT.js +0 -327
  490. package/dist/controls-ROZP2O7A.js +0 -34
  491. package/dist/controls.config-YQKGHMIP.js +0 -34
  492. package/dist/correlation-6AKRIQXN.js +0 -95
  493. package/dist/customdata.inputui-DD3OFHUS.js +0 -284
  494. package/dist/dataDownload-VHHSLSZV.js +0 -329
  495. package/dist/databrowser.ui-RLYJOEWQ.js +0 -425
  496. package/dist/dictionary-IMOOQHIH.js +0 -113
  497. package/dist/dnaMethylation-T6XUIOJF.js +0 -33
  498. package/dist/dnaMethylation.integration.spec-NRJOIDRD.js +0 -198
  499. package/dist/dofetch-MLAEV3A2.js +0 -48
  500. package/dist/e2pca-F3TGJOMW.js +0 -344
  501. package/dist/ep-UAF6OL2Y.js +0 -1249
  502. package/dist/expclust.gdc.spec-GHH3JQ65.js +0 -302
  503. package/dist/facet-MB4C7GII.js +0 -519
  504. package/dist/gb-C5YSAFWP.js +0 -81
  505. package/dist/geneExpClustering-3BRSI5BR.js +0 -244
  506. package/dist/geneExpression-K3IZLSYC.js +0 -310
  507. package/dist/geneExpression-SIAPRA3E.js +0 -33
  508. package/dist/geneExpression.unit.spec-I66QVNT5.js +0 -99
  509. package/dist/geneORA-SLM3SNNS.js +0 -273
  510. package/dist/geneRanking-4EFYOR6A.js +0 -548
  511. package/dist/geneVariant-O347F2OY.js +0 -286
  512. package/dist/geneVariant-Z3BUIBLS.js +0 -36
  513. package/dist/geneVariant.integration.spec-ZZ65EYEL.js +0 -388
  514. package/dist/genefusion.ui-TK6UKPDR.js +0 -303
  515. package/dist/geneset-MVXSEOKZ.js +0 -203
  516. package/dist/genomeBrowser.spec-QDB4Z2L6.js +0 -276
  517. package/dist/grin2-DCU6PLPU.js +0 -70
  518. package/dist/grin2-P6Z45MCJ.js +0 -1137
  519. package/dist/hierCluster-3H47NLKS.js +0 -55
  520. package/dist/hierCluster-JG6VXTCV.js +0 -59
  521. package/dist/hierCluster.config-IP6I7RTS.js +0 -36
  522. package/dist/hierCluster.integration.spec-7PUNHRRS.js +0 -483
  523. package/dist/hierCluster.interactivity-FIDVRACV.js +0 -49
  524. package/dist/hierCluster.renderers-QMJWUPAI.js +0 -19
  525. package/dist/imagePlot-CXYKBCWS.js +0 -156
  526. package/dist/importPlot-Z4A54RXH.js +0 -8
  527. package/dist/isoformExpression-DMDV2PZY.js +0 -35
  528. package/dist/isoformExpression.unit.spec-W2LIYOXS.js +0 -237
  529. package/dist/junction-R5GMEO7Z.js +0 -36
  530. package/dist/junction.customTerm-AI44GNFV.js +0 -16
  531. package/dist/junction.unit.spec-SCRCANOC.js +0 -182
  532. package/dist/launch.adhoc-THLTYZJT.js +0 -37
  533. package/dist/leftlabel.sample-GKQXEY4J.js +0 -258
  534. package/dist/lollipop-2TW6GGPY.js +0 -166
  535. package/dist/maf-A4PVW5V2.js +0 -455
  536. package/dist/maftimeline-QMX3HOAU.js +0 -587
  537. package/dist/matrix-BGRYRU3T.js +0 -54
  538. package/dist/matrix-GPXTUVCQ.js +0 -59
  539. package/dist/matrix.cells-C6OY7F5T.js +0 -26
  540. package/dist/matrix.config-Z5ZGHXDV.js +0 -37
  541. package/dist/matrix.data-WB26I3TF.js +0 -23
  542. package/dist/matrix.groups-C2V2CV4A.js +0 -26
  543. package/dist/matrix.integration.spec-3COAXQBV.js +0 -3160
  544. package/dist/matrix.interactivity-NGHIQR3A.js +0 -37
  545. package/dist/matrix.layout-NYIOESGN.js +0 -39
  546. package/dist/matrix.legend-Q5HHWP5Q.js +0 -20
  547. package/dist/matrix.renderers-GLXZARIP.js +0 -34
  548. package/dist/matrix.serieses-LDQEPXPD.js +0 -19
  549. package/dist/matrix.sort-44TQNRIX.js +0 -26
  550. package/dist/matrix.sort.unit.spec-T3BDWJ3Z.js +0 -468
  551. package/dist/matrix.sorterUi-6Y4YBQYL.js +0 -16
  552. package/dist/matrix.sorterUi.unit.spec-NHUYNMNU.js +0 -338
  553. package/dist/matrix.unit.spec-C7IRIBN6.js +0 -150
  554. package/dist/mavb-E37LI73X.js +0 -727
  555. package/dist/mds.fimo-YTGX7VEN.js +0 -513
  556. package/dist/mds.samplescatterplot-FFGGJSI3.js +0 -1545
  557. package/dist/mds.survivalplot-NCWRXXV4.js +0 -477
  558. package/dist/multivalue-N7A2PU5K.js +0 -83
  559. package/dist/numericDictTermCluster-AKQKRBQH.js +0 -63
  560. package/dist/oncomatrix-QPVGACMF.js +0 -290
  561. package/dist/oncomatrix.spec-6L2NDN2G.js +0 -443
  562. package/dist/plot.2dvaf-6TLON77B.js +0 -372
  563. package/dist/plot.app-VM273TXU.js +0 -36
  564. package/dist/plot.barplot-IQTZURHK.js +0 -97
  565. package/dist/plot.boxplot-WEXB6HII.js +0 -146
  566. package/dist/plot.brainImaging-REGSSBHV.js +0 -51
  567. package/dist/plot.disco-F25Z3FQL.js +0 -99
  568. package/dist/plot.ssgq-CRRK26RS.js +0 -134
  569. package/dist/plot.vaf2cov-WCNPZKXK.js +0 -253
  570. package/dist/plot.wsi-6OAPT5BA.js +0 -36
  571. package/dist/plot.wsi-6OAPT5BA.js.map +0 -7
  572. package/dist/polar2-MH5GPXHJ.js +0 -232
  573. package/dist/profileForms-2YX2OYDI.js +0 -941
  574. package/dist/profilePlot-FUTMZ2PP.js +0 -49
  575. package/dist/proteinView-6Z4ALZW2.js +0 -1562
  576. package/dist/proteomeCohortCompare-6GLFOYI5.js +0 -780
  577. package/dist/pseudbulk.unit.spec-S7FDL3IX.js +0 -86
  578. package/dist/pseudobulk-A3LB23N2.js +0 -35
  579. package/dist/qualitative-5VJRMF4S.js +0 -38
  580. package/dist/radar2-2SJX4ZXN.js +0 -327
  581. package/dist/radarFacility2-7FPO34JS.js +0 -335
  582. package/dist/rememberedGvQ.unit.spec-WOQVPQ75.js +0 -211
  583. package/dist/render-ZLA2RRBP.js +0 -33
  584. package/dist/report-VCE6RILD.js +0 -217
  585. package/dist/sampleView-QYTX4OLI.js +0 -43
  586. package/dist/samplelst-7NGH3SUM.js +0 -106
  587. package/dist/samplematrix-SNAR6IBB.js +0 -2193
  588. package/dist/sc-2JETYAI4.js +0 -81
  589. package/dist/scatter-D7VZOBEE.js +0 -880
  590. package/dist/scatter-GHBQM2RR.js +0 -88
  591. package/dist/selectGenomeWithTklst-BD4GMGX3.js +0 -129
  592. package/dist/singleCellCellType-XHLOJVVC.js +0 -33
  593. package/dist/singleCellCellType.unit.spec-LCLR3IOD.js +0 -154
  594. package/dist/singleCellGeneExpression-JRBONI5C.js +0 -33
  595. package/dist/singleCellGeneExpression.unit.spec-Z2KSVCIG.js +0 -148
  596. package/dist/singleCellPlot-4462CQHF.js +0 -49
  597. package/dist/singlecell-CDUQ6MTO.js +0 -81
  598. package/dist/singlecell-SO3B5KJ7.js +0 -1566
  599. package/dist/snp-YE2MXKJO.js +0 -33
  600. package/dist/snp.unit.spec-MT57TGGQ.js +0 -171
  601. package/dist/snplocus-RSNKWY63.js +0 -203
  602. package/dist/spliceevent.a53ss.diagram-6N6YGYV7.js +0 -146
  603. package/dist/spliceevent.exonskip.diagram-LMNUS4XV.js +0 -278
  604. package/dist/spliceevent.noeventdiagram-LTBH4YD5.js +0 -455
  605. package/dist/ssGSEA-DPK4PDM2.js +0 -33
  606. package/dist/ssGSEA.unit.spec-K2SA7ME7.js +0 -83
  607. package/dist/stattable-PR47XT4F.js +0 -117
  608. package/dist/studyCatalog-GMUWIUL4.js +0 -378
  609. package/dist/summarizeCnvGeneexp-YZEMDLES.js +0 -158
  610. package/dist/summarizeGeneexpSurvival-3TXV6ZNI.js +0 -105
  611. package/dist/summarizeMutationCnv-EBWSEHWJ.js +0 -159
  612. package/dist/summarizeMutationDiagnosis-FXA25W3O.js +0 -35
  613. package/dist/summarizeMutationSurvival-MR4AOMNS.js +0 -99
  614. package/dist/summary-4C6LGTMF.js +0 -42
  615. package/dist/summary.integration.spec-Y6JLH7NH.js +0 -409
  616. package/dist/summaryInput-NWT2DXWU.js +0 -242
  617. package/dist/sunburst-266MA7E2.js +0 -278
  618. package/dist/survival-CAZCIY2N.js +0 -53
  619. package/dist/survival-EILGNIY7.js +0 -1246
  620. package/dist/survival-EILGNIY7.js.map +0 -7
  621. package/dist/survival.integration.spec-34JJVLLI.js +0 -613
  622. package/dist/svgraph-OFUESREM.js +0 -1382
  623. package/dist/svmr-PVH42MY4.js +0 -3837
  624. package/dist/table-C2SICFZV.js +0 -197
  625. package/dist/termCollection-H4RL5WJG.js +0 -33
  626. package/dist/termCollection-TGYDI7NP.js +0 -252
  627. package/dist/termCollection.unit.spec-JSALS7GL.js +0 -299
  628. package/dist/termCollectionFractionSelection-YJVDNV4I.js +0 -42
  629. package/dist/termCollectionFractionSelection.unit.spec-4GM7P4ZW.js +0 -188
  630. package/dist/tk-RZCPSHJG.js +0 -1121
  631. package/dist/tk-SNTRA5CC.js +0 -41
  632. package/dist/tp.ui-2W4K3XH6.js +0 -1454
  633. package/dist/tvs.dt-GIPVC3R6.js +0 -34
  634. package/dist/tvs.dtcnv.categorical-TEYAS4OU.js +0 -35
  635. package/dist/tvs.dtcnv.continuous-VQRATYPZ.js +0 -67
  636. package/dist/tvs.dtfusion-P2KF5Z4H.js +0 -35
  637. package/dist/tvs.dtitd-TM6UROSH.js +0 -35
  638. package/dist/tvs.dtsnvindel-FZXC23NF.js +0 -35
  639. package/dist/tvs.dtsv-Y5QEJPYG.js +0 -35
  640. package/dist/tvs.samplelst-MLAFPFER.js +0 -98
  641. package/dist/tvs.termCollection-ZQQDKESH.js +0 -124
  642. package/dist/vocabulary-JRUZPHMG.js +0 -36
  643. package/dist/wsi.direct-6QYNXOBY.js +0 -244
  644. package/dist/wsi.direct-6QYNXOBY.js.map +0 -7
  645. /package/dist/{2dmaf-JIY57FG6.js.map → 2dmaf-ZQ7ACPAD.js.map} +0 -0
  646. /package/dist/{AggMatrixInput-FH6WRTLP.js.map → AggMatrixInput-EACGUIQA.js.map} +0 -0
  647. /package/dist/{AggregateMatrix-MGEX5AVF.js.map → AggregateMatrix-TC5DTSYN.js.map} +0 -0
  648. /package/dist/{AppHeader-FFOQFH55.js.map → AppHeader-PHI6US5B.js.map} +0 -0
  649. /package/dist/{BoxPlot-KCY4JVRX.js.map → BoxPlot-QWKK3IJ7.js.map} +0 -0
  650. /package/dist/{CorrelationVolcano-E5URKQSM.js.map → CorrelationVolcano-QJJN7FVP.js.map} +0 -0
  651. /package/dist/{Cuminc-CBPMCKIC.js.map → Cuminc-6F2C5C4E.js.map} +0 -0
  652. /package/dist/{DifferentialAnalysis-XRBS4PZI.js.map → DifferentialAnalysis-XGXHWGPI.js.map} +0 -0
  653. /package/dist/{Disco-V2VJIDWG.js.map → Disco-7SRTTB3X.js.map} +0 -0
  654. /package/dist/{Disco.UI-OEF5JXBU.js.map → Disco.UI-CKKZ5MMK.js.map} +0 -0
  655. /package/dist/{DmrPlot-KZUWJWBD.js.map → DmrPlot-N4CT4J2I.js.map} +0 -0
  656. /package/dist/{GB-IYTEMMU7.js.map → GB-NVCLPRWN.js.map} +0 -0
  657. /package/dist/{GSEA-QB62B5KB.js.map → GSEA-UZUNJG7Z.js.map} +0 -0
  658. /package/dist/{GeneExpInput-CXX7SXMQ.js.map → GeneExpInput-3MDN2CAW.js.map} +0 -0
  659. /package/dist/{Geomap-QNHSCN4N.js.map → Geomap-ZUF2PE5A.js.map} +0 -0
  660. /package/dist/{HicApp-UIULZYYJ.js.map → HicApp-OIJT5TFU.js.map} +0 -0
  661. /package/dist/{IDCViewer-B2JENGZZ.js.map → IDCViewer-ZSH2E57L.js.map} +0 -0
  662. /package/dist/{NumBinaryEditor-JOU2J23M.js.map → NumBinaryEditor-74ZPGT7L.js.map} +0 -0
  663. /package/dist/{NumBinaryEditor.unit.spec-UXZBBVWL.js.map → NumBinaryEditor.unit.spec-T2I66SO5.js.map} +0 -0
  664. /package/dist/{NumContEditor-BJGP4PVS.js.map → NumContEditor-M2GARZXM.js.map} +0 -0
  665. /package/dist/{NumContEditor.unit.spec-HEXOYIXC.js.map → NumContEditor.unit.spec-G2QBBNH7.js.map} +0 -0
  666. /package/dist/{NumCustomBinEditor-HDRTVWNK.js.map → NumCustomBinEditor-P44G67KS.js.map} +0 -0
  667. /package/dist/{NumCustomBinEditor.unit.spec-MN6QZ3ZB.js.map → NumCustomBinEditor.unit.spec-AZHJN3V6.js.map} +0 -0
  668. /package/dist/{NumDiscreteEditor-JUBR45IJ.js.map → NumDiscreteEditor-VOZ63LZY.js.map} +0 -0
  669. /package/dist/{NumDiscreteEditor.unit.spec-SDK2LR5B.js.map → NumDiscreteEditor.unit.spec-CFSVPNBA.js.map} +0 -0
  670. /package/dist/{NumRegularBinEditor-AQPRZ3MI.js.map → NumRegularBinEditor-I6GJQR7W.js.map} +0 -0
  671. /package/dist/{NumRegularBinEditor.unit.spec-GM3SFB2N.js.map → NumRegularBinEditor.unit.spec-IDJE7H6S.js.map} +0 -0
  672. /package/dist/{NumSplineEditor-LYLROEGE.js.map → NumSplineEditor-BCGWE52A.js.map} +0 -0
  673. /package/dist/{NumSplineEditor.unit.spec-3Q2HP6IB.js.map → NumSplineEditor.unit.spec-YQAL7L2E.js.map} +0 -0
  674. /package/dist/{NumericDensity-3ZCDZORO.js.map → NumericDensity-P25W63RV.js.map} +0 -0
  675. /package/dist/{NumericDensity.unit.spec-MNIAR2PR.js.map → NumericDensity.unit.spec-N7CQ5W5L.js.map} +0 -0
  676. /package/dist/{NumericHandler-MUNEB5IS.js.map → NumericHandler-R7JWIFEO.js.map} +0 -0
  677. /package/dist/{NumericHandler.unit.spec-KPWG2T27.js.map → NumericHandler.unit.spec-LMGIAGZJ.js.map} +0 -0
  678. /package/dist/{ProteomeInput-NEUHQ2G4.js.map → ProteomeInput-PRYKKF5E.js.map} +0 -0
  679. /package/dist/{Regression-C75T5LOY.js.map → Regression-PSHH7ZXN.js.map} +0 -0
  680. /package/dist/{RunChart2-CMQ2BBSJ.js.map → RunChart2-KJ2UWVCE.js.map} +0 -0
  681. /package/dist/{SC-HYK26DXI.js.map → SC-R6ZIJZ6F.js.map} +0 -0
  682. /package/dist/{Violin-J5Z3NKMU.js.map → Violin-GTQAUJ7B.js.map} +0 -0
  683. /package/dist/{Wsi-ZP36MKK7.js.map → Wsi-GXNGL7O6.js.map} +0 -0
  684. /package/dist/{adSandbox-W4THMDUI.js.map → adSandbox-SXSHVG4P.js.map} +0 -0
  685. /package/dist/{animatedBubbleChart-2IVR2WC3.js.map → animatedBubbleChart-Q4NEETEH.js.map} +0 -0
  686. /package/dist/{app-LAIPU5IO.js.map → app-MX4PL2QO.js.map} +0 -0
  687. /package/dist/{app-WMRDJINC.js.map → app-R5CTEVAC.js.map} +0 -0
  688. /package/dist/{bam-44WCWB5P.js.map → bam-45N3FEEM.js.map} +0 -0
  689. /package/dist/{barchart-P6XKCJRF.js.map → barchart-YCTKQJQX.js.map} +0 -0
  690. /package/dist/{barchart2-5NTYCQYN.js.map → barchart2-252GS3CA.js.map} +0 -0
  691. /package/dist/{block-VEOD6CP4.js.map → block-CR75JHV3.js.map} +0 -0
  692. /package/dist/{block.init-RCPDUYAV.js.map → block.init-U3JMED2E.js.map} +0 -0
  693. /package/dist/{block.mds.expressionrank-KALPK27B.js.map → block.mds.expressionrank-TAN3BDPS.js.map} +0 -0
  694. /package/dist/{block.mds.geneboxplot-ZASU25BG.js.map → block.mds.geneboxplot-EN344GEP.js.map} +0 -0
  695. /package/dist/{block.mds.junction-DCVGVSYG.js.map → block.mds.junction-RFVVJUTR.js.map} +0 -0
  696. /package/dist/{block.mds.svcnv-CEGYMRSE.js.map → block.mds.svcnv-SSUMXEWD.js.map} +0 -0
  697. /package/dist/{block.svg-AW4E7NSS.js.map → block.svg-LRPGNFFI.js.map} +0 -0
  698. /package/dist/{block.tk.aicheck-4ZPFLI5I.js.map → block.tk.aicheck-YY23FT2G.js.map} +0 -0
  699. /package/dist/{block.tk.ase-F3VMNBE3.js.map → block.tk.ase-JCGPFKFT.js.map} +0 -0
  700. /package/dist/{block.tk.bam-3VDSEMVO.js.map → block.tk.bam-NZDC4H7Y.js.map} +0 -0
  701. /package/dist/{block.tk.bedgraphdot-3F6AMWFD.js.map → block.tk.bedgraphdot-NCNZPZH6.js.map} +0 -0
  702. /package/dist/{block.tk.bigwig.ui-QO334QC3.js.map → block.tk.bigwig.ui-Z7G6ZITU.js.map} +0 -0
  703. /package/dist/{block.tk.hicstraw-VA7GNOOD.js.map → block.tk.hicstraw-VVDP4UF5.js.map} +0 -0
  704. /package/dist/{block.tk.junction-7WIZ63R7.js.map → block.tk.junction-L4YBPAHM.js.map} +0 -0
  705. /package/dist/{block.tk.junction.textmatrixui-ZHSVODGI.js.map → block.tk.junction.textmatrixui-6CMKKUB5.js.map} +0 -0
  706. /package/dist/{block.tk.ld-JME4SP6A.js.map → block.tk.ld-VCP2R5UO.js.map} +0 -0
  707. /package/dist/{block.tk.menu-7BFQTH3Q.js.map → block.tk.menu-ZJYGMEDX.js.map} +0 -0
  708. /package/dist/{block.tk.pgv-C2N7UFYT.js.map → block.tk.pgv-M5WNUIVS.js.map} +0 -0
  709. /package/dist/{brainImaging-6XFUKFZE.js.map → brainImaging-JGECJHZO.js.map} +0 -0
  710. /package/dist/{bubbleHeatmap-YO4232WO.js.map → bubbleHeatmap-7DQNWBQ2.js.map} +0 -0
  711. /package/dist/{cellTypeBubbleHeatmap-GM4BGCQ3.js.map → cellTypeBubbleHeatmap-LAE7U3RF.js.map} +0 -0
  712. /package/dist/{chunk-JXUFZZRJ.js.map → chunk-2AQT3ZWL.js.map} +0 -0
  713. /package/dist/{chunk-FUEJFIQX.js.map → chunk-2GLNPB5J.js.map} +0 -0
  714. /package/dist/{chunk-7C45EYL6.js.map → chunk-2O4CS3EZ.js.map} +0 -0
  715. /package/dist/{chunk-4C2N2BQC.js.map → chunk-3MFFZRH3.js.map} +0 -0
  716. /package/dist/{chunk-S6XG74R4.js.map → chunk-4AQQ3BXD.js.map} +0 -0
  717. /package/dist/{chunk-GAW2EETX.js.map → chunk-4PPZYVWZ.js.map} +0 -0
  718. /package/dist/{chunk-ZU47ERPU.js.map → chunk-4WEA7HHH.js.map} +0 -0
  719. /package/dist/{chunk-KWLBPOPE.js.map → chunk-57NYHASA.js.map} +0 -0
  720. /package/dist/{chunk-GQ6T62VJ.js.map → chunk-5AAAH4OZ.js.map} +0 -0
  721. /package/dist/{chunk-6RN4RVKF.js.map → chunk-5BCNVZIW.js.map} +0 -0
  722. /package/dist/{chunk-JG6SE6YU.js.map → chunk-6JBQLOJW.js.map} +0 -0
  723. /package/dist/{chunk-5VMEMA4O.js.map → chunk-756KZF5Y.js.map} +0 -0
  724. /package/dist/{chunk-X7IAKV5Z.js.map → chunk-ABTO5QSB.js.map} +0 -0
  725. /package/dist/{chunk-XHOL37O6.js.map → chunk-ALEZQQOK.js.map} +0 -0
  726. /package/dist/{chunk-UBZRZ3PS.js.map → chunk-APK7TUJX.js.map} +0 -0
  727. /package/dist/{chunk-6SKLD7JU.js.map → chunk-AQAFURQM.js.map} +0 -0
  728. /package/dist/{chunk-HWMZ2OHD.js.map → chunk-CZ5QLVWK.js.map} +0 -0
  729. /package/dist/{chunk-AK3SW3VT.js.map → chunk-D2MZT7CC.js.map} +0 -0
  730. /package/dist/{chunk-4Q46RDNU.js.map → chunk-DE3F7FAP.js.map} +0 -0
  731. /package/dist/{chunk-DUGOFIQS.js.map → chunk-DF3IMIR2.js.map} +0 -0
  732. /package/dist/{chunk-ZB3RP5QP.js.map → chunk-E4WIMTK4.js.map} +0 -0
  733. /package/dist/{chunk-PT5JDHPR.js.map → chunk-E7TJXNIL.js.map} +0 -0
  734. /package/dist/{chunk-AAM7HHPU.js.map → chunk-G3JNTWCX.js.map} +0 -0
  735. /package/dist/{chunk-JSVLKCIQ.js.map → chunk-GN2IIC6U.js.map} +0 -0
  736. /package/dist/{chunk-BZYTL2EU.js.map → chunk-GRI74AXV.js.map} +0 -0
  737. /package/dist/{chunk-GTMHDSOQ.js.map → chunk-IAE3KWN5.js.map} +0 -0
  738. /package/dist/{chunk-BMVRYEN2.js.map → chunk-IB4NE4SI.js.map} +0 -0
  739. /package/dist/{chunk-EJ3SSI5J.js.map → chunk-IS4VLUEX.js.map} +0 -0
  740. /package/dist/{chunk-DO4SLQNP.js.map → chunk-J2DICGKC.js.map} +0 -0
  741. /package/dist/{chunk-XPVU5AMT.js.map → chunk-JBUEQ4E6.js.map} +0 -0
  742. /package/dist/{chunk-K5YG7MVJ.js.map → chunk-JIDJBM2R.js.map} +0 -0
  743. /package/dist/{chunk-JVRGY6IU.js.map → chunk-JNVWSFNC.js.map} +0 -0
  744. /package/dist/{chunk-GF6CKFXE.js.map → chunk-KAFDQKN7.js.map} +0 -0
  745. /package/dist/{chunk-NGBQL4CM.js.map → chunk-LGOTIL62.js.map} +0 -0
  746. /package/dist/{chunk-H555QBYP.js.map → chunk-LHP7RXET.js.map} +0 -0
  747. /package/dist/{chunk-4YEDSMFX.js.map → chunk-LK2GHBUH.js.map} +0 -0
  748. /package/dist/{chunk-KLGNLUXR.js.map → chunk-MAVDQAZE.js.map} +0 -0
  749. /package/dist/{chunk-ONXYJWY6.js.map → chunk-MKT4OJ3G.js.map} +0 -0
  750. /package/dist/{chunk-XPB2GP3C.js.map → chunk-NFAE6VNU.js.map} +0 -0
  751. /package/dist/{chunk-KAUMP3RR.js.map → chunk-NG7K5KYO.js.map} +0 -0
  752. /package/dist/{chunk-WFOC4W5A.js.map → chunk-ODMLC5FN.js.map} +0 -0
  753. /package/dist/{chunk-GI3RVOO4.js.map → chunk-OJ4TDGPQ.js.map} +0 -0
  754. /package/dist/{chunk-3QMXNK7G.js.map → chunk-OXLBPSJ6.js.map} +0 -0
  755. /package/dist/{chunk-MCRWA655.js.map → chunk-P5GRGXH4.js.map} +0 -0
  756. /package/dist/{chunk-DAJT3XVZ.js.map → chunk-POWG4MPT.js.map} +0 -0
  757. /package/dist/{chunk-66BJC6ZX.js.map → chunk-Q25DABNW.js.map} +0 -0
  758. /package/dist/{chunk-TAEU6SPJ.js.map → chunk-R5OIIFSF.js.map} +0 -0
  759. /package/dist/{chunk-VHDVTQFR.js.map → chunk-RJFCT67B.js.map} +0 -0
  760. /package/dist/{chunk-WVPFLPWB.js.map → chunk-RN4BOWRH.js.map} +0 -0
  761. /package/dist/{chunk-YLWSTPPL.js.map → chunk-RZFJ6K77.js.map} +0 -0
  762. /package/dist/{chunk-FSDY4QVA.js.map → chunk-S5UN4VIQ.js.map} +0 -0
  763. /package/dist/{chunk-OYHID2D7.js.map → chunk-SDMNZJ7X.js.map} +0 -0
  764. /package/dist/{chunk-VRY7WSS6.js.map → chunk-SWZAHJYP.js.map} +0 -0
  765. /package/dist/{chunk-2YDQC5BV.js.map → chunk-SY63UUF7.js.map} +0 -0
  766. /package/dist/{chunk-HKQDZKSF.js.map → chunk-T46FA72N.js.map} +0 -0
  767. /package/dist/{chunk-YZVWOQBP.js.map → chunk-VIBK253J.js.map} +0 -0
  768. /package/dist/{chunk-AFMD6226.js.map → chunk-XKL2D2NN.js.map} +0 -0
  769. /package/dist/{chunk-LXTBOUBG.js.map → chunk-XXJT7DSL.js.map} +0 -0
  770. /package/dist/{chunk-DMT6S5HJ.js.map → chunk-YHA3AYAM.js.map} +0 -0
  771. /package/dist/{chunk-VSPUFGDX.js.map → chunk-YN5NY3D3.js.map} +0 -0
  772. /package/dist/{chunk-CLOHFGFX.js.map → chunk-YX6FIREB.js.map} +0 -0
  773. /package/dist/{chunk-E3O6ZEWQ.js.map → chunk-ZXU4ALLZ.js.map} +0 -0
  774. /package/dist/{cohort-ZTT2PSQA.js.map → cohort-75FUW3UO.js.map} +0 -0
  775. /package/dist/{condition-L5DXIAJT.js.map → condition-VW43Q6ZE.js.map} +0 -0
  776. /package/dist/{controls-ROZP2O7A.js.map → controls-HOP2AFHD.js.map} +0 -0
  777. /package/dist/{controls.config-YQKGHMIP.js.map → controls.config-CMIFSKQE.js.map} +0 -0
  778. /package/dist/{correlation-6AKRIQXN.js.map → correlation-PN7BS5OR.js.map} +0 -0
  779. /package/dist/{customdata.inputui-DD3OFHUS.js.map → customdata.inputui-ZBZX63PS.js.map} +0 -0
  780. /package/dist/{dataDownload-VHHSLSZV.js.map → dataDownload-LGA4LAUF.js.map} +0 -0
  781. /package/dist/{databrowser.ui-RLYJOEWQ.js.map → databrowser.ui-IQRDVL66.js.map} +0 -0
  782. /package/dist/{dictionary-IMOOQHIH.js.map → dictionary-BPWD77LJ.js.map} +0 -0
  783. /package/dist/{dnaMethylation-T6XUIOJF.js.map → dnaMethylation-A3XPPBBB.js.map} +0 -0
  784. /package/dist/{dnaMethylation.integration.spec-NRJOIDRD.js.map → dnaMethylation.integration.spec-554ITDQC.js.map} +0 -0
  785. /package/dist/{dofetch-MLAEV3A2.js.map → dofetch-FQ42AX7C.js.map} +0 -0
  786. /package/dist/{e2pca-F3TGJOMW.js.map → e2pca-F3GWG7WZ.js.map} +0 -0
  787. /package/dist/{ep-UAF6OL2Y.js.map → ep-QAVN472H.js.map} +0 -0
  788. /package/dist/{expclust.gdc.spec-GHH3JQ65.js.map → expclust.gdc.spec-DQNX7FTL.js.map} +0 -0
  789. /package/dist/{facet-MB4C7GII.js.map → facet-DH7OOZTJ.js.map} +0 -0
  790. /package/dist/{gb-C5YSAFWP.js.map → gb-OCXOLAMD.js.map} +0 -0
  791. /package/dist/{geneExpClustering-3BRSI5BR.js.map → geneExpClustering-DWYRZGTS.js.map} +0 -0
  792. /package/dist/{geneExpression-SIAPRA3E.js.map → geneExpression-2NKSKZR6.js.map} +0 -0
  793. /package/dist/{geneExpression-K3IZLSYC.js.map → geneExpression-BGFR3KQE.js.map} +0 -0
  794. /package/dist/{geneExpression.unit.spec-I66QVNT5.js.map → geneExpression.unit.spec-63EKKMET.js.map} +0 -0
  795. /package/dist/{geneORA-SLM3SNNS.js.map → geneORA-BED6XL4D.js.map} +0 -0
  796. /package/dist/{geneRanking-4EFYOR6A.js.map → geneRanking-UB5RCQNP.js.map} +0 -0
  797. /package/dist/{geneVariant-O347F2OY.js.map → geneVariant-WJEONTTY.js.map} +0 -0
  798. /package/dist/{geneVariant-Z3BUIBLS.js.map → geneVariant-Y4C2FPJK.js.map} +0 -0
  799. /package/dist/{geneVariant.integration.spec-ZZ65EYEL.js.map → geneVariant.integration.spec-VFYLC47N.js.map} +0 -0
  800. /package/dist/{genefusion.ui-TK6UKPDR.js.map → genefusion.ui-P3NBIMLE.js.map} +0 -0
  801. /package/dist/{geneset-MVXSEOKZ.js.map → geneset-O22RQAED.js.map} +0 -0
  802. /package/dist/{genomeBrowser.spec-QDB4Z2L6.js.map → genomeBrowser.spec-MM7WZUGI.js.map} +0 -0
  803. /package/dist/{grin2-DCU6PLPU.js.map → grin2-3YBIRKUT.js.map} +0 -0
  804. /package/dist/{grin2-P6Z45MCJ.js.map → grin2-O637DNDS.js.map} +0 -0
  805. /package/dist/{hierCluster-3H47NLKS.js.map → hierCluster-3X3BQVNE.js.map} +0 -0
  806. /package/dist/{hierCluster-JG6VXTCV.js.map → hierCluster-7P7M75TU.js.map} +0 -0
  807. /package/dist/{hierCluster.config-IP6I7RTS.js.map → hierCluster.config-XFUOLLDK.js.map} +0 -0
  808. /package/dist/{hierCluster.integration.spec-7PUNHRRS.js.map → hierCluster.integration.spec-HKYGSDDG.js.map} +0 -0
  809. /package/dist/{hierCluster.interactivity-FIDVRACV.js.map → hierCluster.interactivity-JUZSWCM7.js.map} +0 -0
  810. /package/dist/{hierCluster.renderers-QMJWUPAI.js.map → hierCluster.renderers-NGPPAYFM.js.map} +0 -0
  811. /package/dist/{imagePlot-CXYKBCWS.js.map → imagePlot-LKGAFJO7.js.map} +0 -0
  812. /package/dist/{importPlot-Z4A54RXH.js.map → importPlot-SRWQA2FH.js.map} +0 -0
  813. /package/dist/{isoformExpression-DMDV2PZY.js.map → isoformExpression-RYIZQIVX.js.map} +0 -0
  814. /package/dist/{isoformExpression.unit.spec-W2LIYOXS.js.map → isoformExpression.unit.spec-DP4ECITF.js.map} +0 -0
  815. /package/dist/{junction-R5GMEO7Z.js.map → junction-D7QQ3YSG.js.map} +0 -0
  816. /package/dist/{junction.customTerm-AI44GNFV.js.map → junction.customTerm-ZEVNCVU7.js.map} +0 -0
  817. /package/dist/{junction.unit.spec-SCRCANOC.js.map → junction.unit.spec-6MAKIB3R.js.map} +0 -0
  818. /package/dist/{launch.adhoc-THLTYZJT.js.map → launch.adhoc-FAHRZFYG.js.map} +0 -0
  819. /package/dist/{leftlabel.sample-GKQXEY4J.js.map → leftlabel.sample-PDZLWLJ4.js.map} +0 -0
  820. /package/dist/{lollipop-2TW6GGPY.js.map → lollipop-VWGJUHNX.js.map} +0 -0
  821. /package/dist/{maf-A4PVW5V2.js.map → maf-W52H44WK.js.map} +0 -0
  822. /package/dist/{maftimeline-QMX3HOAU.js.map → maftimeline-5JV3HZLE.js.map} +0 -0
  823. /package/dist/{matrix-BGRYRU3T.js.map → matrix-CEVGKXSK.js.map} +0 -0
  824. /package/dist/{matrix-GPXTUVCQ.js.map → matrix-EXNYXYLK.js.map} +0 -0
  825. /package/dist/{matrix.cells-C6OY7F5T.js.map → matrix.cells-DVPWSLJW.js.map} +0 -0
  826. /package/dist/{matrix.config-Z5ZGHXDV.js.map → matrix.config-RLSTWDXC.js.map} +0 -0
  827. /package/dist/{matrix.data-WB26I3TF.js.map → matrix.data-Z6GUACVZ.js.map} +0 -0
  828. /package/dist/{matrix.groups-C2V2CV4A.js.map → matrix.groups-3ZSTUWRK.js.map} +0 -0
  829. /package/dist/{matrix.integration.spec-3COAXQBV.js.map → matrix.integration.spec-4U2R3UB2.js.map} +0 -0
  830. /package/dist/{matrix.interactivity-NGHIQR3A.js.map → matrix.interactivity-DJZFQ7DN.js.map} +0 -0
  831. /package/dist/{matrix.layout-NYIOESGN.js.map → matrix.layout-RQJ6VB4P.js.map} +0 -0
  832. /package/dist/{matrix.legend-Q5HHWP5Q.js.map → matrix.legend-YQ36NWKW.js.map} +0 -0
  833. /package/dist/{matrix.renderers-GLXZARIP.js.map → matrix.renderers-MWDFI6HW.js.map} +0 -0
  834. /package/dist/{matrix.serieses-LDQEPXPD.js.map → matrix.serieses-LTC4RLYD.js.map} +0 -0
  835. /package/dist/{matrix.sort-44TQNRIX.js.map → matrix.sort-5VFYLABY.js.map} +0 -0
  836. /package/dist/{matrix.sort.unit.spec-T3BDWJ3Z.js.map → matrix.sort.unit.spec-2RUEKUT4.js.map} +0 -0
  837. /package/dist/{matrix.sorterUi-6Y4YBQYL.js.map → matrix.sorterUi-EEMYZLPI.js.map} +0 -0
  838. /package/dist/{matrix.sorterUi.unit.spec-NHUYNMNU.js.map → matrix.sorterUi.unit.spec-ZXGSPRFZ.js.map} +0 -0
  839. /package/dist/{matrix.unit.spec-C7IRIBN6.js.map → matrix.unit.spec-HTF6UV4L.js.map} +0 -0
  840. /package/dist/{mavb-E37LI73X.js.map → mavb-GGQRDCO6.js.map} +0 -0
  841. /package/dist/{mds.fimo-YTGX7VEN.js.map → mds.fimo-YKV5OIYV.js.map} +0 -0
  842. /package/dist/{mds.samplescatterplot-FFGGJSI3.js.map → mds.samplescatterplot-RQOEW2AW.js.map} +0 -0
  843. /package/dist/{mds.survivalplot-NCWRXXV4.js.map → mds.survivalplot-TN636DED.js.map} +0 -0
  844. /package/dist/{multivalue-N7A2PU5K.js.map → multivalue-MDQY64EH.js.map} +0 -0
  845. /package/dist/{numericDictTermCluster-AKQKRBQH.js.map → numericDictTermCluster-E73TJCLI.js.map} +0 -0
  846. /package/dist/{oncomatrix-QPVGACMF.js.map → oncomatrix-AENXQMLL.js.map} +0 -0
  847. /package/dist/{oncomatrix.spec-6L2NDN2G.js.map → oncomatrix.spec-UD6U462U.js.map} +0 -0
  848. /package/dist/{plot.2dvaf-6TLON77B.js.map → plot.2dvaf-XMRV6KEG.js.map} +0 -0
  849. /package/dist/{plot.app-VM273TXU.js.map → plot.app-A6JKLYQQ.js.map} +0 -0
  850. /package/dist/{plot.barplot-IQTZURHK.js.map → plot.barplot-UIX7LVWR.js.map} +0 -0
  851. /package/dist/{plot.boxplot-WEXB6HII.js.map → plot.boxplot-DIFWVLMA.js.map} +0 -0
  852. /package/dist/{plot.brainImaging-REGSSBHV.js.map → plot.brainImaging-ZRPVE2UK.js.map} +0 -0
  853. /package/dist/{plot.disco-F25Z3FQL.js.map → plot.disco-I56MT3PC.js.map} +0 -0
  854. /package/dist/{plot.ssgq-CRRK26RS.js.map → plot.ssgq-FCKFSZTV.js.map} +0 -0
  855. /package/dist/{plot.vaf2cov-WCNPZKXK.js.map → plot.vaf2cov-E5C7RJ7Z.js.map} +0 -0
  856. /package/dist/{polar2-MH5GPXHJ.js.map → polar2-SKVBB4FD.js.map} +0 -0
  857. /package/dist/{profileForms-2YX2OYDI.js.map → profileForms-5B3MTUNP.js.map} +0 -0
  858. /package/dist/{profilePlot-FUTMZ2PP.js.map → profilePlot-MCYCGEWT.js.map} +0 -0
  859. /package/dist/{proteinView-6Z4ALZW2.js.map → proteinView-5X55JWVL.js.map} +0 -0
  860. /package/dist/{proteomeCohortCompare-6GLFOYI5.js.map → proteomeCohortCompare-WZBMBLFD.js.map} +0 -0
  861. /package/dist/{pseudbulk.unit.spec-S7FDL3IX.js.map → pseudbulk.unit.spec-Q4YTIPH7.js.map} +0 -0
  862. /package/dist/{pseudobulk-A3LB23N2.js.map → pseudobulk-3UIWCCCQ.js.map} +0 -0
  863. /package/dist/{qualitative-5VJRMF4S.js.map → qualitative-6TJRXZFV.js.map} +0 -0
  864. /package/dist/{radar2-2SJX4ZXN.js.map → radar2-6X4XW5IZ.js.map} +0 -0
  865. /package/dist/{radarFacility2-7FPO34JS.js.map → radarFacility2-UVPXWPV5.js.map} +0 -0
  866. /package/dist/{rememberedGvQ.unit.spec-WOQVPQ75.js.map → rememberedGvQ.unit.spec-GVRFRVSO.js.map} +0 -0
  867. /package/dist/{render-ZLA2RRBP.js.map → render-G7V6R4PV.js.map} +0 -0
  868. /package/dist/{report-VCE6RILD.js.map → report-O7D46EKQ.js.map} +0 -0
  869. /package/dist/{sampleView-QYTX4OLI.js.map → sampleView-6Y3OOOMW.js.map} +0 -0
  870. /package/dist/{samplelst-7NGH3SUM.js.map → samplelst-JRVC4GYC.js.map} +0 -0
  871. /package/dist/{samplematrix-SNAR6IBB.js.map → samplematrix-VP5RQVRH.js.map} +0 -0
  872. /package/dist/{sc-2JETYAI4.js.map → sc-BPHVEP6N.js.map} +0 -0
  873. /package/dist/{scatter-GHBQM2RR.js.map → scatter-2YYRZCSW.js.map} +0 -0
  874. /package/dist/{scatter-D7VZOBEE.js.map → scatter-Y4BIG2PW.js.map} +0 -0
  875. /package/dist/{selectGenomeWithTklst-BD4GMGX3.js.map → selectGenomeWithTklst-2BVZU5SW.js.map} +0 -0
  876. /package/dist/{singleCellCellType-XHLOJVVC.js.map → singleCellCellType-XBGCSIQT.js.map} +0 -0
  877. /package/dist/{singleCellCellType.unit.spec-LCLR3IOD.js.map → singleCellCellType.unit.spec-T4GFRLVZ.js.map} +0 -0
  878. /package/dist/{singleCellGeneExpression-JRBONI5C.js.map → singleCellGeneExpression-5ZPWLSVW.js.map} +0 -0
  879. /package/dist/{singleCellGeneExpression.unit.spec-Z2KSVCIG.js.map → singleCellGeneExpression.unit.spec-4O5UBUDU.js.map} +0 -0
  880. /package/dist/{singleCellPlot-4462CQHF.js.map → singleCellPlot-CZLQBGVU.js.map} +0 -0
  881. /package/dist/{singlecell-SO3B5KJ7.js.map → singlecell-IIUYX7OG.js.map} +0 -0
  882. /package/dist/{singlecell-CDUQ6MTO.js.map → singlecell-O3P5BLWT.js.map} +0 -0
  883. /package/dist/{snp-YE2MXKJO.js.map → snp-ZCYBF3ZQ.js.map} +0 -0
  884. /package/dist/{snp.unit.spec-MT57TGGQ.js.map → snp.unit.spec-TAGD2DRL.js.map} +0 -0
  885. /package/dist/{snplocus-RSNKWY63.js.map → snplocus-TL25OOPE.js.map} +0 -0
  886. /package/dist/{spliceevent.a53ss.diagram-6N6YGYV7.js.map → spliceevent.a53ss.diagram-I7J4PQZT.js.map} +0 -0
  887. /package/dist/{spliceevent.exonskip.diagram-LMNUS4XV.js.map → spliceevent.exonskip.diagram-SB4454HB.js.map} +0 -0
  888. /package/dist/{spliceevent.noeventdiagram-LTBH4YD5.js.map → spliceevent.noeventdiagram-FOSDNYLH.js.map} +0 -0
  889. /package/dist/{ssGSEA-DPK4PDM2.js.map → ssGSEA-WANB2X5L.js.map} +0 -0
  890. /package/dist/{ssGSEA.unit.spec-K2SA7ME7.js.map → ssGSEA.unit.spec-4XXWU4XV.js.map} +0 -0
  891. /package/dist/{stattable-PR47XT4F.js.map → stattable-FNTJLVNB.js.map} +0 -0
  892. /package/dist/{studyCatalog-GMUWIUL4.js.map → studyCatalog-7KEOFLO2.js.map} +0 -0
  893. /package/dist/{summarizeCnvGeneexp-YZEMDLES.js.map → summarizeCnvGeneexp-P4AFZMKD.js.map} +0 -0
  894. /package/dist/{summarizeGeneexpSurvival-3TXV6ZNI.js.map → summarizeGeneexpSurvival-YL2J7F4R.js.map} +0 -0
  895. /package/dist/{summarizeMutationCnv-EBWSEHWJ.js.map → summarizeMutationCnv-BHBHST5F.js.map} +0 -0
  896. /package/dist/{summarizeMutationDiagnosis-FXA25W3O.js.map → summarizeMutationDiagnosis-Z7ZHTV27.js.map} +0 -0
  897. /package/dist/{summarizeMutationSurvival-MR4AOMNS.js.map → summarizeMutationSurvival-PZ4TYHT7.js.map} +0 -0
  898. /package/dist/{summary-4C6LGTMF.js.map → summary-ZMNPO65S.js.map} +0 -0
  899. /package/dist/{summary.integration.spec-Y6JLH7NH.js.map → summary.integration.spec-DPJR2ZBE.js.map} +0 -0
  900. /package/dist/{summaryInput-NWT2DXWU.js.map → summaryInput-6JUFJZ5P.js.map} +0 -0
  901. /package/dist/{sunburst-266MA7E2.js.map → sunburst-OWAUI3HC.js.map} +0 -0
  902. /package/dist/{survival-CAZCIY2N.js.map → survival-6JPKG3VA.js.map} +0 -0
  903. /package/dist/{survival.integration.spec-34JJVLLI.js.map → survival.integration.spec-A6NUJLL6.js.map} +0 -0
  904. /package/dist/{svgraph-OFUESREM.js.map → svgraph-34IKFHUS.js.map} +0 -0
  905. /package/dist/{svmr-PVH42MY4.js.map → svmr-4XNPSVVQ.js.map} +0 -0
  906. /package/dist/{table-C2SICFZV.js.map → table-LPZATFLC.js.map} +0 -0
  907. /package/dist/{termCollection-TGYDI7NP.js.map → termCollection-DYY5FXU5.js.map} +0 -0
  908. /package/dist/{termCollection-H4RL5WJG.js.map → termCollection-WOAUFFIC.js.map} +0 -0
  909. /package/dist/{termCollection.unit.spec-JSALS7GL.js.map → termCollection.unit.spec-WTICTZ7H.js.map} +0 -0
  910. /package/dist/{termCollectionFractionSelection-YJVDNV4I.js.map → termCollectionFractionSelection-K5HPDEFP.js.map} +0 -0
  911. /package/dist/{termCollectionFractionSelection.unit.spec-4GM7P4ZW.js.map → termCollectionFractionSelection.unit.spec-D7DG2HOI.js.map} +0 -0
  912. /package/dist/{tk-RZCPSHJG.js.map → tk-DD2LWVGM.js.map} +0 -0
  913. /package/dist/{tk-SNTRA5CC.js.map → tk-NV7NBLT6.js.map} +0 -0
  914. /package/dist/{tp.ui-2W4K3XH6.js.map → tp.ui-B5J3UUVB.js.map} +0 -0
  915. /package/dist/{tvs.dt-GIPVC3R6.js.map → tvs.dt-XLKQT64T.js.map} +0 -0
  916. /package/dist/{tvs.dtcnv.categorical-TEYAS4OU.js.map → tvs.dtcnv.categorical-XIC3RH2D.js.map} +0 -0
  917. /package/dist/{tvs.dtcnv.continuous-VQRATYPZ.js.map → tvs.dtcnv.continuous-OA2K4LHF.js.map} +0 -0
  918. /package/dist/{tvs.dtfusion-P2KF5Z4H.js.map → tvs.dtfusion-ZGNKALZB.js.map} +0 -0
  919. /package/dist/{tvs.dtitd-TM6UROSH.js.map → tvs.dtitd-6QSG4E34.js.map} +0 -0
  920. /package/dist/{tvs.dtsnvindel-FZXC23NF.js.map → tvs.dtsnvindel-5CXXOGPH.js.map} +0 -0
  921. /package/dist/{tvs.dtsv-Y5QEJPYG.js.map → tvs.dtsv-QYYEYUD3.js.map} +0 -0
  922. /package/dist/{tvs.samplelst-MLAFPFER.js.map → tvs.samplelst-X77ODFFR.js.map} +0 -0
  923. /package/dist/{tvs.termCollection-ZQQDKESH.js.map → tvs.termCollection-VXROWAPS.js.map} +0 -0
  924. /package/dist/{vocabulary-JRUZPHMG.js.map → vocabulary-DKWYTZRC.js.map} +0 -0
@@ -0,0 +1,2193 @@
1
+ import {
2
+ appear2 as appear,
3
+ disappear2 as disappear,
4
+ export_data,
5
+ first_genetrack_tolist,
6
+ font,
7
+ make_table_2col,
8
+ newpane,
9
+ sayerror
10
+ } from "./chunk-J7JDCNLU.js";
11
+ import {
12
+ invalidcoord,
13
+ string2pos
14
+ } from "./chunk-HJ6L54YS.js";
15
+ import "./chunk-KV4W2ACA.js";
16
+ import "./chunk-N635HDJ4.js";
17
+ import "./chunk-T46FA72N.js";
18
+ import {
19
+ Menu
20
+ } from "./chunk-ELJX3QIQ.js";
21
+ import "./chunk-EEB5VE2A.js";
22
+ import "./chunk-6RRZRISL.js";
23
+ import "./chunk-2KM4PRQM.js";
24
+ import {
25
+ dofetch,
26
+ dofetch2,
27
+ dofetch3,
28
+ vcfparsemeta
29
+ } from "./chunk-JYOIO5UY.js";
30
+ import "./chunk-YN5NY3D3.js";
31
+ import "./chunk-RN4BOWRH.js";
32
+ import {
33
+ bplen,
34
+ dt2label,
35
+ dtcnv,
36
+ dtfusionrna,
37
+ dtitd,
38
+ dtloh,
39
+ dtsnvindel,
40
+ dtsv,
41
+ getMax_byiqr,
42
+ mclass,
43
+ mclassitd,
44
+ tkt,
45
+ validtkt
46
+ } from "./chunk-IK2BO37K.js";
47
+ import "./chunk-WINIL2KN.js";
48
+ import "./chunk-PF4DSFDR.js";
49
+ import "./chunk-D6G64XPJ.js";
50
+ import "./chunk-W5J3LTYS.js";
51
+ import {
52
+ category10_default
53
+ } from "./chunk-YLJOZP4P.js";
54
+ import {
55
+ linear,
56
+ ordinal
57
+ } from "./chunk-HDTFYTEL.js";
58
+ import "./chunk-FXQXCOII.js";
59
+ import "./chunk-TLT4YIG3.js";
60
+ import "./chunk-5R63Q5KH.js";
61
+ import "./chunk-I6Y4O3RR.js";
62
+ import "./chunk-Q5RDQNIT.js";
63
+ import "./chunk-DQC5FFGV.js";
64
+ import "./chunk-HS5PO5ZQ.js";
65
+
66
+ // src/samplematrix.featuremenu.js
67
+ function showMenu_isgenevalue(smat, f) {
68
+ smat.menu.d.append("div").attr("class", "sja_menuoption").text("Sort").on("click", () => {
69
+ smat.menu.hide();
70
+ if (f.sort) {
71
+ return;
72
+ }
73
+ for (const f2 of smat.features) {
74
+ if (f2.isgenevalue) delete f2.sort;
75
+ }
76
+ f.sort = 1;
77
+ smat.draw_matrix();
78
+ });
79
+ }
80
+ function showMenu_iscnv(smat, f, obj) {
81
+ {
82
+ const row = smat.menu.d.append("div").style("margin", "10px");
83
+ row.append("span").html("CNV log2(ratio) cutoff ");
84
+ row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
85
+ if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
86
+ let v = Number.parseFloat(event2.target.value);
87
+ if (!v || v < 0) {
88
+ v = 0;
89
+ }
90
+ if (v == 0) {
91
+ if (obj.valuecutoff) {
92
+ obj.valuecutoff = 0;
93
+ smat.update_singlefeature(f);
94
+ } else {
95
+ }
96
+ return;
97
+ }
98
+ if (obj.valuecutoff) {
99
+ if (obj.valuecutoff == v) {
100
+ } else {
101
+ obj.valuecutoff = v;
102
+ smat.update_singlefeature(f);
103
+ }
104
+ } else {
105
+ obj.valuecutoff = v;
106
+ smat.update_singlefeature(f);
107
+ }
108
+ });
109
+ row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Only show CNV with absolute log2(ratio) no less than cutoff.<br>Set to 0 to cancel.");
110
+ }
111
+ {
112
+ const row = smat.menu.d.append("div").style("margin", "10px");
113
+ row.append("span").html("CNV segment size limit&nbsp;");
114
+ row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
115
+ if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
116
+ let v = Number.parseInt(event2.target.value);
117
+ if (!v || v < 0) {
118
+ v = 0;
119
+ }
120
+ if (v == 0) {
121
+ if (obj.focalsizelimit) {
122
+ obj.focalsizelimit = 0;
123
+ smat.update_singlefeature(f);
124
+ } else {
125
+ }
126
+ return;
127
+ }
128
+ if (obj.focalsizelimit) {
129
+ if (obj.focalsizelimit == v) {
130
+ } else {
131
+ obj.focalsizelimit = v;
132
+ smat.update_singlefeature(f);
133
+ }
134
+ } else {
135
+ obj.focalsizelimit = v;
136
+ smat.update_singlefeature(f);
137
+ }
138
+ });
139
+ row.append("span").text("bp");
140
+ row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Limit the CNV segment length to show only focal events.<br>Set to 0 to cancel.");
141
+ }
142
+ }
143
+ function showMenu_isloh(smat, f, obj) {
144
+ {
145
+ const row = smat.menu.d.append("div").style("margin", "10px");
146
+ row.append("span").html("LOH segmean cutoff&nbsp;");
147
+ row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
148
+ if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
149
+ let v = Number.parseFloat(event2.target.value);
150
+ if (!v || v < 0) {
151
+ v = 0;
152
+ }
153
+ if (v == 0) {
154
+ if (obj.valuecutoff) {
155
+ obj.valuecutoff = 0;
156
+ smat.update_singlefeature(f);
157
+ } else {
158
+ }
159
+ return;
160
+ }
161
+ if (obj.valuecutoff) {
162
+ if (obj.valuecutoff == v) {
163
+ } else {
164
+ obj.valuecutoff = v;
165
+ smat.update_singlefeature(f);
166
+ }
167
+ } else {
168
+ obj.valuecutoff = v;
169
+ smat.update_singlefeature(f);
170
+ }
171
+ });
172
+ row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Only show LOH with segmean no less than cutoff.<br>Set to 0 to cancel.");
173
+ }
174
+ {
175
+ const row = smat.menu.d.append("div").style("margin", "10px");
176
+ row.append("span").html("LOH segment size limit&nbsp;");
177
+ row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
178
+ if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
179
+ let v = Number.parseInt(event2.target.value);
180
+ if (!v || v < 0) {
181
+ v = 0;
182
+ }
183
+ if (v == 0) {
184
+ if (obj.focalsizelimit) {
185
+ obj.focalsizelimit = 0;
186
+ smat.update_singlefeature(f);
187
+ } else {
188
+ }
189
+ return;
190
+ }
191
+ if (obj.focalsizelimit) {
192
+ if (obj.focalsizelimit == v) {
193
+ } else {
194
+ obj.focalsizelimit = v;
195
+ smat.update_singlefeature(f);
196
+ }
197
+ } else {
198
+ obj.focalsizelimit = v;
199
+ smat.update_singlefeature(f);
200
+ }
201
+ });
202
+ row.append("span").text("bp");
203
+ row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Limit the LOH segment length to show only focal events.<br>Set to 0 to cancel.");
204
+ }
205
+ }
206
+ function showMenu_ismutation(smat, f) {
207
+ {
208
+ const div = smat.menu.d.append("div").style("margin", "10px").style("border", "solid 1px #ededed");
209
+ const update = () => {
210
+ smat.update_singlefeature(f);
211
+ smat.menu.hide();
212
+ };
213
+ const table = div.append("table").style("margin", "10px").style("border-spacing", "1px");
214
+ const tbody = table.append("tbody");
215
+ {
216
+ const tr = tbody.append("tr");
217
+ tr.append("td").style("opacity", 0.5).text("CNV");
218
+ tr.append("td").attr("class", "sja_menuoption").text(f.cnv.hidden ? "Show" : "Hide").on("click", () => {
219
+ f.cnv.hidden = !f.cnv.hidden;
220
+ update();
221
+ });
222
+ tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
223
+ ismutation_hideallclass(f);
224
+ delete f.cnv.hidden;
225
+ update();
226
+ });
227
+ const td = tr.append("td");
228
+ if (!f.cnv.hidden) {
229
+ td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
230
+ smat.menu.clear();
231
+ showMenu_iscnv(smat, f, f.cnv);
232
+ });
233
+ }
234
+ }
235
+ {
236
+ const tr = tbody.append("tr");
237
+ tr.append("td").style("opacity", 0.5).text("LOH");
238
+ tr.append("td").attr("class", "sja_menuoption").text(f.loh.hidden ? "Show" : "Hide").on("click", () => {
239
+ f.loh.hidden = !f.loh.hidden;
240
+ update();
241
+ });
242
+ tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
243
+ ismutation_hideallclass(f);
244
+ delete f.loh.hidden;
245
+ update();
246
+ });
247
+ const td = tr.append("td");
248
+ if (!f.loh.hidden) {
249
+ td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
250
+ smat.menu.clear();
251
+ showMenu_isloh(smat, f, f.loh);
252
+ });
253
+ }
254
+ }
255
+ {
256
+ const tr = tbody.append("tr");
257
+ tr.append("td").style("opacity", 0.5).text("ITD");
258
+ tr.append("td").attr("class", "sja_menuoption").text(f.itd.hidden ? "Show" : "Hide").on("click", () => {
259
+ f.itd.hidden = !f.itd.hidden;
260
+ update();
261
+ });
262
+ tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
263
+ ismutation_hideallclass(f);
264
+ delete f.itd.hidden;
265
+ update();
266
+ });
267
+ const td = tr.append("td");
268
+ if (!f.itd.hidden) {
269
+ }
270
+ }
271
+ {
272
+ const tr = tbody.append("tr");
273
+ tr.append("td").style("opacity", 0.5).text("SV");
274
+ tr.append("td").attr("class", "sja_menuoption").text(f.sv.hidden ? "Show" : "Hide").on("click", () => {
275
+ f.sv.hidden = !f.sv.hidden;
276
+ update();
277
+ });
278
+ tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
279
+ ismutation_hideallclass(f);
280
+ delete f.sv.hidden;
281
+ update();
282
+ });
283
+ const td = tr.append("td");
284
+ if (!f.sv.hidden) {
285
+ }
286
+ }
287
+ {
288
+ const tr = tbody.append("tr");
289
+ tr.append("td").style("opacity", 0.5).text("Fusion");
290
+ tr.append("td").attr("class", "sja_menuoption").text(f.fusion.hidden ? "show" : "hide").on("click", () => {
291
+ f.fusion.hidden = !f.fusion.hidden;
292
+ update();
293
+ });
294
+ tr.append("td").attr("class", "sja_menuoption").text("show only").on("click", () => {
295
+ ismutation_hideallclass(f);
296
+ delete f.fusion.hidden;
297
+ update();
298
+ });
299
+ const td = tr.append("td");
300
+ if (!f.fusion.hidden) {
301
+ }
302
+ }
303
+ table.append("tbody").append("tr").append("td").attr("colspan", 4).style("padding-top", "10px").append("span").style("font-size", ".8em").text("List SNV/indel").attr("class", "sja_clbtext").on("click", () => {
304
+ if (tbody2.style("display") == "none") {
305
+ tbody2.style("display", "table-row-group");
306
+ } else {
307
+ tbody2.style("display", "none");
308
+ }
309
+ });
310
+ const tbody2 = table.append("tbody").style("display", "none");
311
+ for (const k in mclass) {
312
+ const c = mclass[k];
313
+ if (c.dt != dtsnvindel) {
314
+ continue;
315
+ }
316
+ const tr = tbody2.append("tr");
317
+ tr.append("td").style("opacity", 0.5).text(c.label);
318
+ tr.append("td").attr("class", "sja_menuoption").text(f.snvindel.excludeclasses[k] ? "Show" : "Hide").on("click", () => {
319
+ if (f.snvindel.excludeclasses[k]) {
320
+ delete f.snvindel.excludeclasses[k];
321
+ } else {
322
+ f.snvindel.excludeclasses[k] = 1;
323
+ }
324
+ update();
325
+ });
326
+ tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
327
+ ismutation_hideallclass(f);
328
+ delete f.snvindel.excludeclasses[k];
329
+ update();
330
+ });
331
+ const td = tr.append("td");
332
+ }
333
+ div.append("div").style("margin", "10px").append("span").style("font-size", ".8em").text("Show all classes").attr("class", "sja_clbtext").on("click", () => {
334
+ f.cnv.hidden = false;
335
+ f.loh.hidden = false;
336
+ f.itd.hidden = false;
337
+ f.sv.hidden = false;
338
+ f.fusion.hidden = false;
339
+ f.snvindel.excludeclasses = {};
340
+ update();
341
+ });
342
+ }
343
+ }
344
+ function ismutation_hideallclass(f) {
345
+ f.cnv.hidden = true;
346
+ f.loh.hidden = true;
347
+ f.itd.hidden = true;
348
+ f.sv.hidden = true;
349
+ f.fusion.hidden = true;
350
+ f.snvindel.excludeclasses = {};
351
+ for (const k in mclass) {
352
+ if (mclass[k].dt == dtsnvindel) f.snvindel.excludeclasses[k] = 1;
353
+ }
354
+ }
355
+
356
+ // src/samplematrix.kmplot.js
357
+ function may_add_kmplotbutton(smat, buttonrow) {
358
+ if (!smat.mds || !smat.mds.survivalplot) return;
359
+ buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("SURVIVAL PLOT").attr("class", "sja_clbtext").on("click", (event2) => {
360
+ smat.menu.clear().showunder(event2.target);
361
+ kmplot_menu(smat);
362
+ });
363
+ }
364
+ async function kmplot_menu(smat) {
365
+ const mutation_features = smat.features.filter((i) => i.ismutation);
366
+ try {
367
+ if (mutation_features.length != 2) throw "only works with two genomic features.";
368
+ await kmplot_do(smat, mutation_features[0], mutation_features[1]);
369
+ } catch (e) {
370
+ smat.menu.d.append("div").style("margin", "20px").text("Cannot make survival plot: " + (e.message || e));
371
+ }
372
+ }
373
+ async function kmplot_do(smat, f1, f2) {
374
+ const s1 = [], s2 = [], s12 = [];
375
+ for (const i of smat.samples) {
376
+ const in1 = f1.items.find((j) => j.sample == i.name);
377
+ const in2 = f2.items.find((j) => j.sample == i.name);
378
+ if (in1) {
379
+ if (in2) s12.push(i.name);
380
+ else s1.push(i.name);
381
+ } else {
382
+ s2.push(i.name);
383
+ }
384
+ }
385
+ const plot = {
386
+ renderplot: 1,
387
+ samplerule: {
388
+ full: {},
389
+ mutated_sets: [
390
+ { name: f1.label + " mutated (n=" + s1.length + ")", samplenames: s1 },
391
+ { name: f2.label + " mutated (n=" + s2.length + ")", samplenames: s2 },
392
+ { name: f1.label + " and " + f2.label + " mutated (n=" + s12.length + ")", samplenames: s12 }
393
+ ]
394
+ }
395
+ };
396
+ if (smat.limitsamplebyeitherannotation) {
397
+ plot.samplerule.full = {
398
+ byattr: 1,
399
+ key: smat.limitsamplebyeitherannotation[0].key,
400
+ value: smat.limitsamplebyeitherannotation[0].value,
401
+ immutable: 1
402
+ };
403
+ }
404
+ const pane = newpane({ x: 100, y: 100 });
405
+ pane.header.text(
406
+ (smat.limitsamplebyeitherannotation ? smat.limitsamplebyeitherannotation[0].value + " " : "") + "survival by " + f1.label + " and " + f2.label + " mutation status"
407
+ );
408
+ const _ = await import("./mds.survivalplot-TN636DED.js");
409
+ _.init(
410
+ {
411
+ mds: smat.mds,
412
+ genome: smat.genome,
413
+ plotlist: [plot]
414
+ },
415
+ pane.body
416
+ );
417
+ }
418
+
419
+ // src/samplematrix.js
420
+ var saynovalue = "na";
421
+ var default_cnvgaincolor = "#D6683C";
422
+ var default_cnvlosscolor = "#67a9cf";
423
+ var default_genevaluecolor = "#095873";
424
+ var default_lohcolor = "#858585";
425
+ var default_svcolor = "#858585";
426
+ var minheight2showname = 8;
427
+ var Samplematrix = class {
428
+ /*
429
+ init ui
430
+ */
431
+ constructor(p) {
432
+ for (const k in p) {
433
+ this[k] = p[k];
434
+ }
435
+ if (this.debugmode) window.smat = this;
436
+ this.tip = new Menu({ padding: "0px", hideXmute: 1, hideYmute: 1 });
437
+ this.menu = new Menu({ padding: "0px" });
438
+ this.errdiv = this.holder.append("div");
439
+ if (!this.iscustom) {
440
+ try {
441
+ if (!this.dslabel) throw "not custom data but dslabel is missing";
442
+ this.mds = this.genome.datasets[this.dslabel];
443
+ if (!this.mds) throw "invalid dataset name: " + this.dslabel;
444
+ if (!this.mds.isMds) throw "improper dataset: " + this.dslabel;
445
+ } catch (e) {
446
+ this.error(e);
447
+ }
448
+ }
449
+ init_controlui(this);
450
+ if (this.header) {
451
+ this.holder.append("div").style("margin-bottom", "20px").html(this.header);
452
+ }
453
+ this.wait_div = this.holder.append("div");
454
+ this.wait_div.style("display", "block").text("Loading...");
455
+ this.svg = this.holder.append("svg");
456
+ this.validate_config().then(() => {
457
+ return this.get_features();
458
+ }).catch((err) => {
459
+ if (typeof err == "string") {
460
+ this.error(err);
461
+ } else {
462
+ this.error(err.message);
463
+ if (err.stack) console.log(err.stack);
464
+ }
465
+ });
466
+ }
467
+ error(m) {
468
+ sayerror(this.errdiv, m);
469
+ }
470
+ async validate_config() {
471
+ if (this.iscustom) {
472
+ if (!this.querykey2tracks) throw "querykey2tracks missing for custom dataset";
473
+ let novalidtk = true;
474
+ for (const key in this.querykey2tracks) {
475
+ const tk = this.querykey2tracks[key];
476
+ if (!tk.file && !tk.url) throw "no file or url for a custom track by key " + key;
477
+ if (!tk.type) throw "missing type for member track by key " + key;
478
+ if (!validtkt(tk.type)) throw "invalid type for a member track: " + tk.type;
479
+ novalidtk = false;
480
+ }
481
+ if (novalidtk) throw "no custom tracks from querykey2tracks";
482
+ let vcftk;
483
+ for (const key in this.querykey2tracks) {
484
+ const tk = this.querykey2tracks[key];
485
+ if (tk.type == tkt.mdsvcf) {
486
+ vcftk = tk;
487
+ }
488
+ }
489
+ if (vcftk) {
490
+ await this.may_init_customvcf(vcftk);
491
+ }
492
+ } else {
493
+ if (this.mds.mdsIsUninitiated) {
494
+ const d = await dofetch3(`getDataset?genome=${this.genome.name}&dsname=${this.mds.label}`);
495
+ if (d.error) throw d.error;
496
+ if (!d.ds) throw "ds missing";
497
+ Object.assign(this.mds, d.ds);
498
+ delete this.mds.mdsIsUninitiated;
499
+ }
500
+ }
501
+ if (this.limitsamplebyeitherannotation) {
502
+ if (!Array.isArray(this.limitsamplebyeitherannotation)) throw "limitsamplebyeitherannotation must be an array";
503
+ const tr = this.legendtable.append("tr");
504
+ for (const anno of this.limitsamplebyeitherannotation) {
505
+ if (!anno.key) throw ".key missing from an element of limitsamplebyeitherannotation";
506
+ if (!anno.value) throw ".value missing from an element of limitsamplebyeitherannotation";
507
+ }
508
+ this.showlegend_limitsample();
509
+ }
510
+ const cnv_tr = this.legendtable.append("tr");
511
+ cnv_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("CNV cutoff");
512
+ this.legendtable.cnv_td = cnv_tr.append("td");
513
+ const loh_tr = this.legendtable.append("tr");
514
+ loh_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("LOH cutoff");
515
+ this.legendtable.loh_td = loh_tr.append("td");
516
+ if (this.limitbysamplesetgroup) {
517
+ if (!Array.isArray(this.limitbysamplesetgroup.samples)) throw ".limitbysamplesetgroup.samples is not array";
518
+ }
519
+ if (!this.rowspace) this.rowspace = 1;
520
+ if (!this.colspace) this.colspace = 1;
521
+ if (!this.rowlabspace) this.rowlabspace = 5;
522
+ if (!this.collabspace) this.collabspace = 5;
523
+ if (!this.rowlabticksize) this.rowlabticksize = 5;
524
+ if (!this.collabticksize) this.collabticksize = 5;
525
+ if (!this.features) throw "missing features[]";
526
+ if (!Array.isArray(this.features)) throw "features must be an array";
527
+ if (this.features[0].height) this.ori_feature_height = this.features[0].height;
528
+ if (this.features[0].width) this.ori_feature_width = this.features[0].width;
529
+ for (const f of this.features) {
530
+ await this.validate_feature(f);
531
+ }
532
+ }
533
+ showlegend_limitsample() {
534
+ if (!this.limitsamplebyeitherannotation) return;
535
+ }
536
+ feature_parseposition_maygene(f) {
537
+ return Promise.resolve().then(() => {
538
+ if (f.position) {
539
+ const o = string2pos(f.position, this.genome);
540
+ if (o) {
541
+ f.chr = o.chr;
542
+ f.start = o.start;
543
+ f.stop = o.stop;
544
+ }
545
+ }
546
+ if (f.chr) {
547
+ const err = invalidcoord(this.genome, f.chr, f.start, f.stop);
548
+ if (err) {
549
+ throw 'feature "' + f.label + '" position error: ' + err;
550
+ } else {
551
+ return;
552
+ }
553
+ }
554
+ if (!f.genename) throw "position required for a feature: no position or genename given";
555
+ return dofetch("/genelookup", {
556
+ input: f.genename,
557
+ genome: this.genome.name,
558
+ deep: 1
559
+ }).then((data) => {
560
+ if (data.error) throw data.error;
561
+ if (!data.gmlst || data.gmlst.length == 0) throw "no gene can be found for " + f.genename;
562
+ const regions = [];
563
+ for (const gm of data.gmlst) {
564
+ let nooverlap = true;
565
+ for (const region of regions) {
566
+ if (gm.chr == region.chr && Math.max(gm.start, region.start) < Math.min(gm.stop, region.stop)) {
567
+ nooverlap = false;
568
+ region.start = Math.min(region.start, gm.start);
569
+ region.stop = Math.max(region.stop, gm.stop);
570
+ break;
571
+ }
572
+ }
573
+ if (nooverlap) {
574
+ regions.push({
575
+ chr: gm.chr,
576
+ start: gm.start,
577
+ stop: gm.stop
578
+ });
579
+ }
580
+ }
581
+ if (regions.length > 1) {
582
+ sayerror(
583
+ this.errdiv,
584
+ "multiple regions found for gene " + f.genename + " you'd better specify one in feature"
585
+ );
586
+ }
587
+ f.chr = regions[0].chr;
588
+ f.start = regions[0].start;
589
+ f.stop = regions[0].stop;
590
+ });
591
+ });
592
+ }
593
+ validate_feature(f) {
594
+ return Promise.resolve().then(() => {
595
+ f.id = Math.random().toString();
596
+ const tr = this.legendtable.append("tr");
597
+ f.legend_tr = tr;
598
+ if (f.isgenevalue) {
599
+ if (!f.genename) throw ".genename missing for isgenevalue feature";
600
+ f.label = f.genename + " expression";
601
+ if (this.dslabel) {
602
+ if (!f.querykey) throw ".querykey missing for isgenevalue feature while loading from official dataset";
603
+ } else {
604
+ }
605
+ if (!f.scale) f.scale = { auto: 1 };
606
+ if (f.missingvalue == void 0) f.missingvalue = 0;
607
+ tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
608
+ f.legendholder = tr.append("td");
609
+ if (!f.width) f.width = 20;
610
+ if (!f.color) f.color = default_genevaluecolor;
611
+ return this.feature_parseposition_maygene(f);
612
+ }
613
+ if (f.iscnv) {
614
+ if (this.dslabel) {
615
+ if (!f.querykey) throw ".querykey missing for iscnv feature while loading from official dataset";
616
+ } else {
617
+ }
618
+ if (!f.label && f.genename) {
619
+ f.label = f.genename + " CNV";
620
+ }
621
+ tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
622
+ f.legendholder = tr.append("td");
623
+ if (!f.width) f.width = 40;
624
+ if (!f.colorgain) f.colorgain = default_cnvgaincolor;
625
+ if (!f.colorloss) f.colorloss = default_cnvlosscolor;
626
+ return this.feature_parseposition_maygene(f).then(() => {
627
+ if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV";
628
+ f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
629
+ });
630
+ }
631
+ if (f.isloh) {
632
+ if (this.dslabel) {
633
+ if (!f.querykey) throw ".querykey missing for isloh feature while loading from official dataset";
634
+ } else {
635
+ }
636
+ if (!f.label && f.genename) {
637
+ f.label = f.genename + " LOH";
638
+ }
639
+ tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
640
+ f.legendholder = tr.append("td");
641
+ if (!f.width) f.width = 40;
642
+ if (!f.color) f.color = default_lohcolor;
643
+ return this.feature_parseposition_maygene(f).then(() => {
644
+ if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " LOH";
645
+ f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
646
+ });
647
+ }
648
+ if (f.isvcf) {
649
+ if (this.dslabel) {
650
+ if (!f.querykey) throw ".querykey missing for isvcf feature while loading from official dataset";
651
+ } else {
652
+ }
653
+ if (!f.label && f.genename) {
654
+ f.label = f.genename + " SNV/indel";
655
+ }
656
+ tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
657
+ f.legendholder = tr.append("td");
658
+ if (!f.width) f.width = 20;
659
+ if (!f.snvindel) f.snvindel = {};
660
+ return this.feature_parseposition_maygene(f).then(() => {
661
+ if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SNV/indel";
662
+ });
663
+ }
664
+ if (f.isitd) {
665
+ if (this.dslabel) {
666
+ if (!f.querykey) throw ".querykey missing for isitd feature while loading from official dataset";
667
+ } else {
668
+ }
669
+ if (!f.label && f.genename) {
670
+ f.label = f.genename + " ITD";
671
+ }
672
+ if (!f.width) f.width = 20;
673
+ if (!f.color) f.color = mclass[mclassitd].color;
674
+ tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
675
+ f.legendholder = tr.append("td");
676
+ f.legendholder.append("div").style("width", "20px").html("&nbsp;").style("background", f.color);
677
+ return this.feature_parseposition_maygene(f).then(() => {
678
+ if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " ITD";
679
+ });
680
+ }
681
+ if (f.issvfusion) {
682
+ if (this.dslabel) {
683
+ if (!f.querykey) throw ".querykey missing for issvfusion feature while loading from official dataset";
684
+ } else {
685
+ }
686
+ if (!f.label && f.genename) {
687
+ f.label = f.genename + " SV/fusion";
688
+ }
689
+ if (!f.width) f.width = 20;
690
+ if (!f.color) f.color = default_svcolor;
691
+ tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
692
+ f.legendholder = tr.append("td");
693
+ return this.feature_parseposition_maygene(f).then(() => {
694
+ if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SV/fusion";
695
+ });
696
+ }
697
+ if (f.issvcnv) {
698
+ if (this.dslabel) {
699
+ if (!f.querykey) throw ".querykey missing for issvcnv feature while loading from official dataset";
700
+ } else {
701
+ }
702
+ if (!f.label && f.genename) {
703
+ f.label = f.genename + " CNV/SV";
704
+ }
705
+ tr.append("td").text(f.label).style("color", "#858585").style("text-align", "right");
706
+ f.legendholder = tr.append("td");
707
+ initfeature_polymutation(f);
708
+ return this.feature_parseposition_maygene(f).then(() => {
709
+ if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV/SV";
710
+ });
711
+ }
712
+ if (f.ismutation) {
713
+ if (this.dslabel) {
714
+ if (!f.querykeylst) throw ".querykeylst missing for ismutation feature";
715
+ if (!Array.isArray(f.querykeylst)) throw ".querykeylst[] should be array for ismutation feature";
716
+ if (f.querykeylst.length == 0) throw "querykeylst[] empty array for ismutation feature";
717
+ } else {
718
+ }
719
+ if (!f.label && f.genename) {
720
+ f.label = f.genename + " mutation";
721
+ }
722
+ tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
723
+ f.legendholder = tr.append("td");
724
+ initfeature_polymutation(f);
725
+ return this.feature_parseposition_maygene(f).then(() => {
726
+ if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " mutation";
727
+ f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
728
+ });
729
+ }
730
+ if (f.issampleattribute) {
731
+ if (!this.dslabel) throw ".dslabel missing: sampleattribute only works for official dataset";
732
+ if (!f.key) throw ".key missing for issampleattribute feature";
733
+ if (!f.label) f.label = f.key;
734
+ if (this.mds && this.mds.sampleAttribute && this.mds.sampleAttribute.attributes) {
735
+ const registry = this.mds.sampleAttribute.attributes[f.key];
736
+ if (registry) {
737
+ f.values = registry.values;
738
+ }
739
+ }
740
+ if (!f.values) {
741
+ f.values = {};
742
+ }
743
+ f.assignmissingcolor = ordinal(category10_default);
744
+ if (!f.width && !this.features_on_rows) f.width = 20;
745
+ else if (!f.height && this.features_on_rows) f.height = 50;
746
+ tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
747
+ f.legendholder = tr.append("td");
748
+ return Promise.resolve();
749
+ }
750
+ throw "unknown feature type in validating feature";
751
+ });
752
+ }
753
+ get_features(featureset) {
754
+ this.max_cnv = 0;
755
+ this.min_cnv = 0;
756
+ this.max_loh = 0;
757
+ this.min_loh = 0;
758
+ const arg = {
759
+ genome: this.genome.name,
760
+ limitsamplebyeitherannotation: this.limitsamplebyeitherannotation,
761
+ features: (featureset || this.features).map(feature2arg)
762
+ };
763
+ if (this.limitbysamplesetgroup) {
764
+ arg.sampleset = this.limitbysamplesetgroup.samples;
765
+ }
766
+ if (this.iscustom) {
767
+ arg.iscustom = 1;
768
+ arg.querykey2tracks = {};
769
+ for (const f of arg.features) {
770
+ if (f.querykey) {
771
+ arg.querykey2tracks[f.querykey] = this.querykey2tracks[f.querykey];
772
+ } else if (f.querykeylst) {
773
+ for (const k of f.querykeylst) arg.querykey2tracks[k] = this.querykey2tracks[k];
774
+ }
775
+ }
776
+ } else {
777
+ arg.dslabel = this.mds.label;
778
+ }
779
+ return dofetch("/samplematrix", arg).then((data) => {
780
+ if (data.error) {
781
+ for (const f0 of arg.features) {
782
+ const f = this.features.find((f2) => f2.id == f0.id);
783
+ if (f) f.items = [];
784
+ }
785
+ throw data.error;
786
+ }
787
+ for (const dat of data.results) {
788
+ const f = this.features.find((f2) => f2.id == dat.id);
789
+ if (!f) throw "feature not found: " + f.id;
790
+ f.items = dat.items;
791
+ this.prep_featuredata(f);
792
+ }
793
+ this.draw_matrix();
794
+ this.make_legend();
795
+ this.wait_div.style("display", "none");
796
+ });
797
+ }
798
+ update_singlefeature(f) {
799
+ this.get_features([f]).catch((err) => {
800
+ if (typeof err == "string") {
801
+ this.error(err);
802
+ } else {
803
+ this.error(err.message);
804
+ if (err.stack) console.log(err.stack);
805
+ }
806
+ });
807
+ }
808
+ addnewfeature_update(f) {
809
+ this.features.push(f);
810
+ this.validate_feature(f).then(() => {
811
+ return this.get_features([f]);
812
+ }).catch((err) => {
813
+ this.error(typeof err == "string" ? err : err.message);
814
+ if (err.stack) console.log(err.stack);
815
+ });
816
+ }
817
+ prep_featuredata(f) {
818
+ if (f.isgenevalue) {
819
+ f.scale.maxv = 0;
820
+ f.scale.minv = 0;
821
+ for (const i of f.items) {
822
+ f.scale.maxv = Math.max(f.scale.maxv, i.value);
823
+ }
824
+ return;
825
+ }
826
+ if (f.iscnv) {
827
+ const gain = [], loss = [];
828
+ for (const i of f.items) {
829
+ if (i.value > 0) {
830
+ gain.push(i.value);
831
+ } else {
832
+ loss.push(-i.value);
833
+ }
834
+ }
835
+ const gmax = getMax_byiqr(gain, 0);
836
+ const lmax = getMax_byiqr(loss, 0);
837
+ f.maxabslogratio = Math.max(gmax, lmax);
838
+ if (f.maxabslogratio > this.max_cnv) this.max_cnv = f.maxabslogratio;
839
+ return;
840
+ }
841
+ if (f.isloh) {
842
+ const values = f.items.map((i) => i.segmean);
843
+ f.minvalue = 0;
844
+ f.maxvalue = Math.max(...values);
845
+ if (f.maxvalue > this.max_loh) this.max_loh = f.maxvalue;
846
+ return;
847
+ }
848
+ if (f.isvcf) {
849
+ return;
850
+ }
851
+ if (f.isitd) {
852
+ return;
853
+ }
854
+ if (f.issvfusion) {
855
+ return;
856
+ }
857
+ if (f.issvcnv || f.ismutation) {
858
+ const cnvgain = [], cnvloss = [];
859
+ let lohmax = 0;
860
+ for (const i of f.items) {
861
+ if (i.dt == dtcnv) {
862
+ if (i.value > 0) {
863
+ cnvgain.push(i.value);
864
+ } else {
865
+ cnvloss.push(-i.value);
866
+ }
867
+ } else if (i.dt == dtloh) {
868
+ lohmax = Math.max(i.segmean, lohmax);
869
+ }
870
+ }
871
+ if (cnvgain.length + cnvloss.length > 0) {
872
+ const gmax = getMax_byiqr(cnvgain, 0);
873
+ const lmax = getMax_byiqr(cnvloss, 0);
874
+ f.cnv.maxabslogratio = Math.max(gmax, lmax);
875
+ if (f.cnv.maxabslogratio > this.max_cnv) {
876
+ this.max_cnv = f.cnv.maxabslogratio;
877
+ this.min_cnv = -f.cnv.maxabslogratio;
878
+ this.cnv_colorloss = f.cnv.colorloss;
879
+ this.cnv_colorgain = f.cnv.colorgain;
880
+ }
881
+ }
882
+ if (lohmax) {
883
+ f.loh.minvalue = 0;
884
+ f.loh.maxvalue = lohmax;
885
+ if (f.loh.maxvalue > this.max_loh) this.max_loh = f.loh.maxvalue;
886
+ this.loh_color = f.loh.color;
887
+ }
888
+ return;
889
+ }
890
+ if (f.issampleattribute) {
891
+ for (const i of f.items) {
892
+ if (!f.values[i.value]) {
893
+ f.values[i.value] = {
894
+ name: i.value,
895
+ color: f.assignmissingcolor(i.value)
896
+ };
897
+ }
898
+ }
899
+ return;
900
+ }
901
+ throw "unknown feature type in preparing feature data";
902
+ }
903
+ make_legend() {
904
+ for (const f of this.features) {
905
+ const h = f.legendholder;
906
+ h.selectAll("*").remove();
907
+ if (f.isgenevalue) {
908
+ h.append("span").text(f.scale.minv.toFixed(3));
909
+ h.append("div").style("margin", "2px 10px").style("display", "inline-block").style("width", "100px").style("height", "15px").style("background", "linear-gradient( to right, white, " + f.color + ")");
910
+ h.append("span").text(f.scale.maxv.toFixed(3));
911
+ continue;
912
+ }
913
+ if (f.iscnv) {
914
+ h.append("span").html(
915
+ 'Gain <span style="background:' + f.colorgain + ';color:white;padding:1px 5px">' + f.maxabslogratio.toFixed(3) + '</span> &nbsp; Loss <span style="background:' + f.colorloss + ';color:white;padding:1px 5px">-' + f.maxabslogratio.toFixed(3) + "</span>"
916
+ );
917
+ continue;
918
+ }
919
+ if (f.isloh) {
920
+ h.append("span").text(f.minvalue.toFixed(3));
921
+ h.append("div").style("margin", "2px 10px").style("display", "inline-block").style("width", "100px").style("height", "15px").style("background", "linear-gradient( to right, white, " + f.color + ")");
922
+ h.append("span").text(f.maxvalue.toFixed(3));
923
+ continue;
924
+ }
925
+ if (f.isvcf) {
926
+ const classes = /* @__PURE__ */ new Set();
927
+ for (const m of f.items) {
928
+ if (m.class) {
929
+ classes.add(m.class);
930
+ } else {
931
+ }
932
+ }
933
+ for (const c of classes) {
934
+ const cell = h.append("div").style("display", "inline-block").style("margin-right", "10px");
935
+ cell.append("span").style("background", mclass[c].color).style("margin-right", "2px").html("&nbsp;&nbsp;&nbsp;");
936
+ cell.append("span").text(mclass[c].label).style("color", mclass[c].color);
937
+ }
938
+ continue;
939
+ }
940
+ if (f.isitd) {
941
+ continue;
942
+ }
943
+ if (f.issvfusion) {
944
+ continue;
945
+ }
946
+ if (f.issvcnv || f.ismutation) {
947
+ const vcfclass2count = /* @__PURE__ */ new Map();
948
+ let itdcount = 0;
949
+ let svcount = 0;
950
+ let fusioncount = 0;
951
+ for (const i of f.items) {
952
+ if (i.dt == dtsnvindel) {
953
+ if (i.class && i.sampledata) {
954
+ if (!vcfclass2count.has(i.class)) {
955
+ vcfclass2count.set(i.class, 0);
956
+ }
957
+ vcfclass2count.set(i.class, vcfclass2count.get(i.class) + i.sampledata.length);
958
+ } else {
959
+ }
960
+ } else if (i.dt == dtitd) {
961
+ itdcount++;
962
+ } else if (i.dt == dtsv) {
963
+ svcount++;
964
+ } else if (i.dt == dtfusionrna) {
965
+ fusioncount++;
966
+ }
967
+ }
968
+ if (vcfclass2count.size + itdcount + svcount + fusioncount > 0) {
969
+ const row = h.append("div").style("margin-bottom", "5px").style("white-space", "nowrap");
970
+ for (const [classname, count] of vcfclass2count) {
971
+ const c = mclass[classname];
972
+ const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
973
+ cell.append("span").attr("class", "sja_mcdot").style("background", c.color).text(count);
974
+ cell.append("span").text(c.label).style("color", c.color);
975
+ }
976
+ if (itdcount) {
977
+ const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
978
+ cell.append("span").attr("class", "sja_mcdot").style("background", f.itd.color).text(itdcount);
979
+ cell.append("span").text("ITD");
980
+ }
981
+ if (svcount) {
982
+ const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
983
+ cell.append("span").attr("class", "sja_mcdot").style("background", f.sv.color).text(svcount);
984
+ cell.append("span").text("SV");
985
+ }
986
+ if (fusioncount) {
987
+ const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
988
+ cell.append("span").attr("class", "sja_mcdot").style("background", f.fusion.color).text(fusioncount);
989
+ cell.append("span").text("Fusion");
990
+ }
991
+ }
992
+ continue;
993
+ }
994
+ if (f.issampleattribute) {
995
+ const value2count = /* @__PURE__ */ new Map();
996
+ for (const sample of this.samples) {
997
+ const anno = f.items.find((i) => i.sample == sample.name);
998
+ if (anno) {
999
+ value2count.set(anno.value, (value2count.get(anno.value) || 0) + 1);
1000
+ }
1001
+ }
1002
+ for (const [value, count] of value2count) {
1003
+ const cell = h.append("div").style("display", "inline-block").style("margin-right", "20px");
1004
+ cell.append("span").attr("class", "sja_mcdot").style("background", f.values[value].color).text(count);
1005
+ cell.append("span").text(f.values[value].name);
1006
+ }
1007
+ continue;
1008
+ }
1009
+ throw "unknown feature type in making legend";
1010
+ }
1011
+ this.makeGlobalCnvLohLegend();
1012
+ }
1013
+ makeGlobalCnvLohLegend() {
1014
+ const legend_data = [
1015
+ { type: "cnv", legend_label: "CNV log2(ratio): " },
1016
+ { type: "loh", legend_label: "LOH seg.mean: " }
1017
+ ];
1018
+ const min_cnv_orig = parseFloat(this.min_cnv.toFixed(3));
1019
+ const max_cnv_orig = parseFloat(this.max_cnv.toFixed(3));
1020
+ const min_loh_orig = parseFloat(this.min_loh.toFixed(3));
1021
+ const max_loh_orig = parseFloat(this.max_loh.toFixed(3));
1022
+ let changed_flag = false;
1023
+ legend_data.forEach((data) => {
1024
+ let min_cutoff = data.type == "cnv" ? this.min_cnv : this.min_loh;
1025
+ let max_cutoff = data.type == "cnv" ? this.max_cnv : this.max_loh;
1026
+ const td = data.type == "cnv" ? this.legendtable.cnv_td : this.legendtable.loh_td;
1027
+ const row = td.append("div").style("margin-bottom", "5px");
1028
+ row.append("span").text(data.legend_label);
1029
+ const lower_range_txt = row.append("span").text(min_cutoff.toFixed(3));
1030
+ const lower_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", min_cutoff.toFixed(3));
1031
+ if (data.type == "cnv") {
1032
+ row.append("div").style("margin", "4px 0 1px 10px").style("display", "inline-block").style("width", "50px").style("height", "15px").style("background", "linear-gradient( to right," + this.cnv_colorloss + ",white)");
1033
+ }
1034
+ row.append("div").style("margin", "4px 10px 1px 10px").style("margin-left", data.type == "cnv" ? "0" : "10px").style("display", "inline-block").style("width", data.type == "cnv" ? "50px" : "100px").style("height", "15px").style(
1035
+ "background",
1036
+ "linear-gradient( to right, white, " + (data.type == "cnv" ? this.cnv_colorgain : this.loh_color) + ")"
1037
+ );
1038
+ const upper_range_txt = row.append("span").text(max_cutoff.toFixed(3));
1039
+ const upper_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", max_cutoff.toFixed(3));
1040
+ const edit_btn = row.append("button").style("margin", "2px 5px").style("padding", "3px 10px").text("Edit").on("click", () => {
1041
+ lower_range_txt.style("display", "none");
1042
+ upper_range_txt.style("display", "none");
1043
+ lower_range_input.style("display", "inline-block");
1044
+ upper_range_input.style("display", "inline-block");
1045
+ edit_btn.style("display", "none");
1046
+ submit_btn.style("display", "inline-block");
1047
+ });
1048
+ const submit_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Submit").on("click", () => {
1049
+ if (data.type == "cnv") {
1050
+ this.min_cnv = min_cutoff = lower_range_input.property("value");
1051
+ this.max_cnv = max_cutoff = upper_range_input.property("value");
1052
+ if (this.min_cnv != min_cnv_orig || this.max_cnv != max_cnv_orig) changed_flag = true;
1053
+ } else {
1054
+ this.min_loh = min_cutoff = parseFloat(lower_range_input.property("value"));
1055
+ this.max_loh = max_cutoff = parseFloat(upper_range_input.property("value"));
1056
+ if (this.min_loh != min_loh_orig || this.max_loh != max_loh_orig) changed_flag = true;
1057
+ }
1058
+ lower_range_txt.style("display", "inline-block").text(parseFloat(min_cutoff).toFixed(3));
1059
+ upper_range_txt.style("display", "inline-block").text(parseFloat(max_cutoff).toFixed(3));
1060
+ lower_range_input.style("display", "none");
1061
+ upper_range_input.style("display", "none");
1062
+ edit_btn.style("display", "inline-block");
1063
+ submit_btn.style("display", "none");
1064
+ reset_btn.style("display", changed_flag ? "inline-block" : "none");
1065
+ this.draw_matrix();
1066
+ });
1067
+ const reset_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Reset").on("click", () => {
1068
+ if (data.type == "cnv") {
1069
+ this.min_cnv = min_cutoff = min_cnv_orig;
1070
+ this.max_cnv = max_cutoff = max_cnv_orig;
1071
+ } else {
1072
+ this.min_loh = min_cutoff = min_loh_orig;
1073
+ this.max_loh = max_cutoff = max_loh_orig;
1074
+ }
1075
+ lower_range_txt.text(parseFloat(min_cutoff).toFixed(3));
1076
+ upper_range_txt.text(parseFloat(max_cutoff).toFixed(3));
1077
+ lower_range_input.property("value", parseFloat(min_cutoff).toFixed(3));
1078
+ upper_range_input.property("value", parseFloat(max_cutoff).toFixed(3));
1079
+ reset_btn.style("display", "none");
1080
+ changed_flag = false;
1081
+ this.draw_matrix();
1082
+ });
1083
+ reset_btn.style("display", "none");
1084
+ });
1085
+ }
1086
+ gatherSamplesFromFeatureData() {
1087
+ const name2sample = /* @__PURE__ */ new Map();
1088
+ for (const feature of this.features) {
1089
+ if (feature.donotaddsample) {
1090
+ continue;
1091
+ }
1092
+ if (feature.isgenevalue || feature.iscnv || feature.isloh || feature.isitd || feature.issvfusion || feature.issvcnv) {
1093
+ for (const item of feature.items) {
1094
+ if (!name2sample.has(item.sample)) {
1095
+ name2sample.set(item.sample, {});
1096
+ }
1097
+ }
1098
+ } else if (feature.isvcf) {
1099
+ for (const m of feature.items) {
1100
+ if (m.dt == dtsnvindel) {
1101
+ if (!m.sampledata) continue;
1102
+ for (const s of m.sampledata) {
1103
+ if (!name2sample.has(s.sampleobj.name)) {
1104
+ name2sample.set(s.sampleobj.name, {});
1105
+ }
1106
+ }
1107
+ } else {
1108
+ console.error("unsupported dt from isvcf: " + m.dt);
1109
+ }
1110
+ }
1111
+ } else if (feature.ismutation) {
1112
+ for (const m of feature.items) {
1113
+ if (m.dt == dtsnvindel) {
1114
+ if (!m.sampledata) continue;
1115
+ for (const s of m.sampledata) {
1116
+ if (!name2sample.has(s.sampleobj.name)) {
1117
+ name2sample.set(s.sampleobj.name, {});
1118
+ }
1119
+ }
1120
+ } else {
1121
+ if (!m.sample) continue;
1122
+ if (!name2sample.has(m.sample)) {
1123
+ name2sample.set(m.sample, {});
1124
+ }
1125
+ }
1126
+ }
1127
+ } else if (feature.issampleattribute) {
1128
+ for (const i of feature.items) {
1129
+ if (!name2sample.has(i.sample)) {
1130
+ name2sample.set(i.sample, {});
1131
+ }
1132
+ }
1133
+ } else {
1134
+ console.error("unknown feature type from this.data");
1135
+ }
1136
+ }
1137
+ const uniformheight = Math.min(18, Math.max(1, Math.ceil(800 / name2sample.size)));
1138
+ this.samples = [];
1139
+ for (const [n, sample] of name2sample) {
1140
+ if (!this.features_on_rows) sample.height = uniformheight;
1141
+ else sample.width = uniformheight;
1142
+ sample.name = n;
1143
+ this.samples.push(sample);
1144
+ }
1145
+ }
1146
+ /*********** __draw *****/
1147
+ draw_matrix() {
1148
+ this.svg.selectAll("*").remove();
1149
+ const svgg = this.svg.append("g");
1150
+ this.gatherSamplesFromFeatureData();
1151
+ this.sortsamplesbyfeatures();
1152
+ const rows_lst = this.features_on_rows ? this.features : this.samples;
1153
+ const cols_lst = this.features_on_rows ? this.samples : this.features;
1154
+ let y = 0, samplenamemaxwidth = 0;
1155
+ for (const r of rows_lst) {
1156
+ r.g = svgg.append("g").attr("transform", "translate(0," + y + ")");
1157
+ y += r.height + this.rowspace;
1158
+ if (r.height >= minheight2showname) {
1159
+ r.g.append("text").attr("font-family", font).attr("font-size", Math.min(16, r.height)).attr("text-anchor", "end").attr("dominant-baseline", "central").attr("x", -this.rowlabspace - this.rowlabticksize).attr("y", r.height / 2).text(this.features_on_rows ? r.label + (r.count ? " (" + r.count + ")" : "") : r.name).each(function() {
1160
+ samplenamemaxwidth = Math.max(samplenamemaxwidth, this.getBBox().width);
1161
+ }).attr("class", "sja_clbtext").on("mouseover", () => {
1162
+ this.features_on_rows ? this.showTip_feature(r) : this.showTip_sample(r);
1163
+ }).on("mouseout", () => {
1164
+ this.tip.hide();
1165
+ }).on("click", () => {
1166
+ if (this.features_on_rows) this.showMenu_feature(r);
1167
+ });
1168
+ r.g.append("line").attr("x1", -this.rowlabticksize).attr("y1", r.height / 2).attr("y2", r.height / 2).attr("stroke", "black").attr("shape-rendering", "crispEdges");
1169
+ }
1170
+ }
1171
+ let x = 0, featurenamemaxwidth = 0;
1172
+ for (const c of cols_lst) {
1173
+ const g = svgg.append("g").attr("transform", "translate(" + (x + c.width / 2) + ",-" + (this.collabspace + this.collabticksize) + ")");
1174
+ x += c.width + this.colspace;
1175
+ const label = g.append("text").attr("font-family", font).attr("font-size", Math.min(16, c.width - 2)).attr("dominant-baseline", "central").attr("transform", "rotate(-90)").text(this.features_on_rows ? c.name : c.label + (c.count ? " (" + c.count + ")" : "")).each(function() {
1176
+ featurenamemaxwidth = Math.max(featurenamemaxwidth, this.getBBox().width);
1177
+ }).on("mouseover", () => {
1178
+ this.features_on_rows ? this.showTip_sample(c) : this.showTip_feature(c);
1179
+ }).on("mouseout", () => {
1180
+ this.tip.hide();
1181
+ }).on("click", () => {
1182
+ if (!this.features_on_rows) this.showMenu_feature(c);
1183
+ });
1184
+ if (c.isgenevalue) {
1185
+ label.attr("fill", c.color);
1186
+ }
1187
+ g.append("line").attr("y1", this.collabspace).attr("y2", this.collabspace + this.collabticksize).attr("stroke", "black").attr("shape-rendering", "crispEdges");
1188
+ }
1189
+ for (const r of rows_lst) {
1190
+ let x2 = 0;
1191
+ for (const c of cols_lst) {
1192
+ const sample = this.features_on_rows ? c : r;
1193
+ const feature = this.features_on_rows ? r : c;
1194
+ const cell = r.g.append("g").attr("transform", "translate(" + x2 + ",0)");
1195
+ x2 += c.width + this.colspace;
1196
+ if (feature.isgenevalue) {
1197
+ this.drawCell_isgenevalue(sample, feature, cell);
1198
+ } else if (feature.iscnv) {
1199
+ this.drawCell_iscnv(sample, feature, cell);
1200
+ } else if (feature.isloh) {
1201
+ this.drawCell_isloh(sample, feature, cell);
1202
+ } else if (feature.isvcf) {
1203
+ this.drawCell_isvcf(sample, feature, cell);
1204
+ } else if (feature.isitd) {
1205
+ this.drawCell_isitd(sample, feature, cell);
1206
+ } else if (feature.issvfusion) {
1207
+ this.drawCell_issvfusion(sample, feature, cell);
1208
+ } else if (feature.issvcnv || feature.ismutation) {
1209
+ this.drawCell_ismutation(sample, feature, cell);
1210
+ } else if (feature.issampleattribute) {
1211
+ this.drawCell_issampleattribute(sample, feature, cell);
1212
+ } else {
1213
+ console.error("unknown feature type when drawing cell");
1214
+ }
1215
+ }
1216
+ }
1217
+ svgg.attr(
1218
+ "transform",
1219
+ "translate(" + (samplenamemaxwidth + this.rowlabspace + this.rowlabticksize) + "," + (featurenamemaxwidth + this.collabspace + this.collabticksize) + ")"
1220
+ );
1221
+ this.svg.attr(
1222
+ "width",
1223
+ samplenamemaxwidth + this.rowlabspace + this.rowlabticksize + cols_lst.reduce((i, j) => i + j.width, 0) + cols_lst.length * this.colspace
1224
+ ).attr(
1225
+ "height",
1226
+ featurenamemaxwidth + this.collabspace + this.collabticksize + rows_lst.reduce((i, j) => i + j.height, 0) + rows_lst.length * this.rowspace
1227
+ );
1228
+ }
1229
+ drawCell_isgenevalue(sample, feature, g) {
1230
+ const height = this.features_on_rows ? feature.height : sample.height;
1231
+ const width = this.features_on_rows ? sample.width : feature.width;
1232
+ const item = feature.items.find((i) => i.sample == sample.name);
1233
+ if (!item) {
1234
+ this.drawEmptycell(sample, feature, g);
1235
+ return;
1236
+ }
1237
+ const rect = g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1238
+ event2.target.setAttribute("stroke-opacity", 1);
1239
+ this.showTip_cell(sample, feature);
1240
+ }).on("mouseout", (event2) => {
1241
+ event2.target.setAttribute("stroke-opacity", 0);
1242
+ this.tip.hide();
1243
+ }).on("click", () => {
1244
+ this.click_cell(sample, feature);
1245
+ });
1246
+ if (item.value < feature.scale.maxv) {
1247
+ rect.attr("fill-opacity", item.value / feature.scale.maxv);
1248
+ }
1249
+ }
1250
+ drawCell_iscnv(sample, feature, g) {
1251
+ const height = this.features_on_rows ? feature.height : sample.height;
1252
+ const width = this.features_on_rows ? sample.width : feature.width;
1253
+ const items = feature.items.filter((i) => i.sample == sample.name);
1254
+ if (items.length == 0) {
1255
+ this.drawEmptycell(sample, feature, g);
1256
+ return;
1257
+ }
1258
+ for (const item of items) {
1259
+ const x1 = feature.coordscale(Math.max(feature.start, item.start));
1260
+ const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1261
+ const maxabslogratio = this.max_cnv;
1262
+ g.append("rect").attr("x", x1).attr("width", Math.max(1, x2 - x1)).attr("height", sample.height).attr("fill", item.value > 0 ? feature.colorgain : feature.colorloss).attr("fill-opacity", Math.abs(item.value / maxabslogratio)).attr("shape-rendering", "crispEdges");
1263
+ }
1264
+ g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1265
+ event2.target.setAttribute("stroke-opacity", 1);
1266
+ this.showTip_cell(sample, feature);
1267
+ }).on("mouseout", (event2) => {
1268
+ event2.target.setAttribute("stroke-opacity", 0);
1269
+ this.tip.hide();
1270
+ }).on("click", () => {
1271
+ this.click_cell(sample, feature);
1272
+ });
1273
+ }
1274
+ drawCell_isloh(sample, feature, g) {
1275
+ const height = this.features_on_rows ? feature.height : sample.height;
1276
+ const width = this.features_on_rows ? sample.width : feature.width;
1277
+ const items = feature.items.filter((i) => i.sample == sample.name);
1278
+ if (items.length == 0) {
1279
+ this.drawEmptycell(sample, feature, g);
1280
+ return;
1281
+ }
1282
+ for (const item of items) {
1283
+ const x1 = feature.coordscale(Math.max(feature.start, item.start));
1284
+ const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1285
+ const loh_range = this.max_loh - this.min_loh;
1286
+ g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.color).attr("fill-opacity", (item.segmean - this.min_loh) / loh_range).attr("shape-rendering", "crispEdges");
1287
+ }
1288
+ g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1289
+ event2.target.setAttribute("stroke-opacity", 1);
1290
+ this.showTip_cell(sample, feature);
1291
+ }).on("mouseout", (event2) => {
1292
+ event2.target.setAttribute("stroke-opacity", 0);
1293
+ this.tip.hide();
1294
+ }).on("click", () => {
1295
+ this.click_cell(sample, feature);
1296
+ });
1297
+ }
1298
+ drawCell_isvcf(sample, feature, g) {
1299
+ const height = this.features_on_rows ? feature.height : sample.height;
1300
+ const width = this.features_on_rows ? sample.width : feature.width;
1301
+ const mlst = getitemforsample_vcf(feature, sample);
1302
+ if (mlst.length == 0) {
1303
+ this.drawEmptycell(sample, feature, g);
1304
+ return;
1305
+ }
1306
+ const class2count = /* @__PURE__ */ new Map();
1307
+ for (const m of mlst) {
1308
+ if (!class2count.has(m.class)) {
1309
+ class2count.set(m.class, 0);
1310
+ }
1311
+ class2count.set(m.class, class2count.get(m.class) + 1);
1312
+ }
1313
+ let start = 0;
1314
+ for (const [cname, count] of class2count) {
1315
+ const span = count / mlst.length * this.features_on_rows ? height : width;
1316
+ g.append("rect").attr("x", this.features_on_rows ? 0 : start).attr("y", this.features_on_rows ? start : 0).attr("width", this.features_on_rows ? width : span).attr("height", this.features_on_rows ? span : height).attr("fill", mclass[cname].color).attr("shape-rendering", "crispEdges");
1317
+ start += span;
1318
+ }
1319
+ g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1320
+ event2.target.setAttribute("stroke-opacity", 1);
1321
+ this.showTip_cell(sample, feature);
1322
+ }).on("mouseout", (event2) => {
1323
+ event2.target.setAttribute("stroke-opacity", 0);
1324
+ this.tip.hide();
1325
+ }).on("click", () => {
1326
+ this.click_cell(sample, feature);
1327
+ });
1328
+ }
1329
+ drawCell_isitd(sample, feature, g) {
1330
+ const height = this.features_on_rows ? feature.height : sample.height;
1331
+ const width = this.features_on_rows ? sample.width : feature.width;
1332
+ const item = feature.items.find((i) => i.sample == sample.name);
1333
+ if (!item) {
1334
+ this.drawEmptycell(sample, feature, g);
1335
+ return;
1336
+ }
1337
+ g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1338
+ event2.target.setAttribute("stroke-opacity", 1);
1339
+ this.showTip_cell(sample, feature);
1340
+ }).on("mouseout", (event2) => {
1341
+ event2.target.setAttribute("stroke-opacity", 0);
1342
+ this.tip.hide();
1343
+ }).on("click", () => {
1344
+ this.click_cell(sample, feature);
1345
+ });
1346
+ }
1347
+ drawCell_issampleattribute(sample, feature, g) {
1348
+ const height = this.features_on_rows ? feature.height : sample.height;
1349
+ const width = this.features_on_rows ? sample.width : feature.width;
1350
+ const item = feature.items.find((i) => i.sample == sample.name);
1351
+ if (!item) {
1352
+ this.drawEmptycell(sample, feature, g);
1353
+ return;
1354
+ }
1355
+ g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.values[item.value].color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1356
+ event2.target.setAttribute("stroke-opacity", 1);
1357
+ this.showTip_cell(sample, feature);
1358
+ }).on("mouseout", (event2) => {
1359
+ event2.target.setAttribute("stroke-opacity", 0);
1360
+ this.tip.hide();
1361
+ }).on("click", () => {
1362
+ this.click_cell(sample, feature);
1363
+ });
1364
+ }
1365
+ drawCell_issvfusion(sample, feature, g) {
1366
+ const height = this.features_on_rows ? feature.height : sample.height;
1367
+ const width = this.features_on_rows ? sample.width : feature.width;
1368
+ const item = feature.items.find((i) => i.sample == sample.name);
1369
+ if (!item) {
1370
+ this.drawEmptycell(sample, feature, g);
1371
+ return;
1372
+ }
1373
+ g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1374
+ event2.target.setAttribute("stroke-opacity", 1);
1375
+ this.showTip_cell(sample, feature);
1376
+ }).on("mouseout", (event2) => {
1377
+ event2.target.setAttribute("stroke-opacity", 0);
1378
+ this.tip.hide();
1379
+ }).on("click", () => {
1380
+ this.click_cell(sample, feature);
1381
+ });
1382
+ }
1383
+ drawCell_ismutation(sample, feature, g) {
1384
+ const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(feature, sample);
1385
+ const height = this.features_on_rows ? feature.height : sample.height;
1386
+ const width = this.features_on_rows ? sample.width : feature.width;
1387
+ if (cnv.length + loh.length + itd.length + sv.length + fusion.length + snvindel.length == 0) {
1388
+ this.drawEmptycell(sample, feature, g);
1389
+ return;
1390
+ }
1391
+ let is_symbolic = false;
1392
+ if (this.ismutation_allsymbolic) {
1393
+ is_symbolic = true;
1394
+ } else if (this.ismutation_allnotsymbolic) {
1395
+ } else {
1396
+ if (height <= 4) {
1397
+ is_symbolic = true;
1398
+ }
1399
+ }
1400
+ if (is_symbolic) {
1401
+ this.drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel);
1402
+ } else {
1403
+ if (loh.length) {
1404
+ for (const item of loh) {
1405
+ const x1 = feature.coordscale(Math.max(feature.start, item.start));
1406
+ const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1407
+ const loh_range = this.max_loh - this.min_loh;
1408
+ g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.loh.color).attr("fill-opacity", (item.segmean - this.min_loh) / loh_range).attr("shape-rendering", "crispEdges");
1409
+ }
1410
+ }
1411
+ if (cnv.length) {
1412
+ for (const item of cnv) {
1413
+ const x1 = feature.coordscale(Math.max(feature.start, item.start));
1414
+ const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1415
+ const maxabslogratio = item.value > 0 ? this.max_cnv : this.min_cnv;
1416
+ g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", item.value > 0 ? feature.cnv.colorgain : feature.cnv.colorloss).attr("fill-opacity", Math.abs(item.value / maxabslogratio)).attr("shape-rendering", "crispEdges");
1417
+ }
1418
+ }
1419
+ if (itd.length) {
1420
+ for (const item of itd) {
1421
+ const x1 = feature.coordscale(Math.max(feature.start, item.start));
1422
+ const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1423
+ g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.itd.color).attr("shape-rendering", "crispEdges");
1424
+ }
1425
+ }
1426
+ if (sv.length) {
1427
+ g.append("circle").attr("cx", width / 2).attr("cy", height / 2).attr("r", Math.min(width, height) / 2).attr("stroke", feature.sv.color).attr("fill", "none");
1428
+ }
1429
+ if (fusion.length) {
1430
+ g.append("circle").attr("cx", width / 2).attr("cy", height / 2).attr("r", Math.min(width, height) / 2).attr("stroke", feature.fusion.color).attr("fill", "none");
1431
+ }
1432
+ if (snvindel.length) {
1433
+ const m = snvindel[0];
1434
+ const g2 = g.append("g").attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");
1435
+ const color = mclass[m.m.class].color;
1436
+ const w = Math.min(width, height) / 2;
1437
+ g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", "white").attr("stroke-width", 3);
1438
+ g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", "white").attr("stroke-width", 3);
1439
+ g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", color);
1440
+ g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", color);
1441
+ }
1442
+ }
1443
+ g.append("rect").attr("width", width).attr("height", height).attr("fill", "white").attr("fill-opacity", 0).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1444
+ event2.target.setAttribute("stroke-opacity", 1);
1445
+ this.showTip_cell(sample, feature);
1446
+ }).on("mouseout", (event2) => {
1447
+ event2.target.setAttribute("stroke-opacity", 0);
1448
+ this.tip.hide();
1449
+ }).on("click", () => {
1450
+ this.click_cell(sample, feature);
1451
+ });
1452
+ }
1453
+ drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel) {
1454
+ const height = this.features_on_rows ? feature.height : sample.height;
1455
+ const width = this.features_on_rows ? sample.width : feature.width;
1456
+ const loh_range = this.max_loh - this.min_loh;
1457
+ const lst = [];
1458
+ if (cnv.length) {
1459
+ for (const i of cnv) {
1460
+ const maxabslogratio = i.value > 0 ? this.max_cnv : this.min_cnv;
1461
+ let k;
1462
+ if (i.value > 0) {
1463
+ k = { color: feature.cnv.colorgain };
1464
+ } else {
1465
+ k = { color: feature.cnv.colorloss };
1466
+ }
1467
+ k.opacity = Math.abs(i.value / maxabslogratio);
1468
+ lst.push(k);
1469
+ }
1470
+ }
1471
+ if (loh.length) {
1472
+ for (const i of loh) {
1473
+ lst.push({
1474
+ color: feature.loh.color,
1475
+ opacity: (i.segmean - this.min_loh) / loh_range
1476
+ });
1477
+ }
1478
+ }
1479
+ if (itd.length) {
1480
+ for (const i of itd) {
1481
+ lst.push({ color: feature.itd.color });
1482
+ }
1483
+ }
1484
+ if (sv.length) {
1485
+ for (const i of sv) {
1486
+ lst.push({ color: feature.sv.color });
1487
+ }
1488
+ }
1489
+ if (fusion.length) {
1490
+ for (const i of fusion) {
1491
+ lst.push({ color: feature.fusion.color });
1492
+ }
1493
+ }
1494
+ if (snvindel.length) {
1495
+ for (const i of snvindel) {
1496
+ lst.push({ color: mclass[i.m.class].color });
1497
+ }
1498
+ }
1499
+ const f_len = this.features_on_rows ? height / lst.length : width / lst.length;
1500
+ let f_start = 0;
1501
+ for (const i of lst) {
1502
+ const r = g.append("rect").attr("x", this.features_on_rows ? 0 : f_start).attr("y", this.features_on_rows ? f_start : 0).attr("width", this.features_on_rows ? width : f_len).attr("height", this.features_on_rows ? f_len : height).attr("fill", i.color).attr("shape-rendering", "crispEdges");
1503
+ if (i.opacity) r.attr("opacity", i.opacity);
1504
+ f_start += f_len;
1505
+ }
1506
+ }
1507
+ // __newattr draw cell for new feature
1508
+ /*********** __draw ends *****/
1509
+ async click_cell(sample, feature) {
1510
+ try {
1511
+ let svcnvtk;
1512
+ if (this.iscustom) {
1513
+ svcnvtk = {
1514
+ iscustom: true,
1515
+ type: tkt.mdssvcnv,
1516
+ singlesample: {
1517
+ name: sample.name
1518
+ }
1519
+ };
1520
+ for (const k in this.querykey2tracks) {
1521
+ const t = this.querykey2tracks[k];
1522
+ if (t.type == tkt.mdssvcnv) {
1523
+ svcnvtk.name = t.name || "Custom tk";
1524
+ svcnvtk.file = t.file;
1525
+ svcnvtk.url = t.url;
1526
+ svcnvtk.indexURL = t.indexURL;
1527
+ } else if (t.type == tkt.mdsvcf) {
1528
+ svcnvtk.checkvcf = {
1529
+ file: t.file,
1530
+ url: t.url,
1531
+ indexURL: t.indexURL
1532
+ };
1533
+ } else if (t.type == tkt.mdsexpression) {
1534
+ svcnvtk.checkexpressionrank = {
1535
+ file: t.file,
1536
+ url: t.url,
1537
+ indexURL: t.indexURL
1538
+ };
1539
+ }
1540
+ }
1541
+ } else {
1542
+ if (!this.mds) throw "not custom but .mds{} missing";
1543
+ for (const querykey in this.mds.queries) {
1544
+ const tk = this.mds.queries[querykey];
1545
+ if (tk.type == tkt.mdssvcnv) {
1546
+ svcnvtk = {
1547
+ mds: this.mds,
1548
+ querykey,
1549
+ singlesample: {
1550
+ name: sample.name
1551
+ }
1552
+ };
1553
+ for (const k in tk) svcnvtk[k] = tk[k];
1554
+ break;
1555
+ }
1556
+ }
1557
+ }
1558
+ if (!svcnvtk) throw "cannot find a svcnv tk";
1559
+ svcnvtk.bplengthUpperLimit = 0;
1560
+ const pane = newpane({ x: 100, y: 100 });
1561
+ const blockarg = {
1562
+ jwt: this.jwt,
1563
+ hostURL: this.hostURL,
1564
+ nobox: 1,
1565
+ genome: this.genome,
1566
+ holder: pane.body,
1567
+ chr: feature.chr,
1568
+ start: feature.start,
1569
+ stop: feature.stop,
1570
+ tklst: []
1571
+ };
1572
+ first_genetrack_tolist(this.genome, blockarg.tklst);
1573
+ blockarg.tklst.push(svcnvtk);
1574
+ if (!this.iscustom) {
1575
+ if (!this.dslabel) throw "not custom but dslabel missing";
1576
+ const par = {
1577
+ genome: this.genome.name,
1578
+ dslabel: this.dslabel,
1579
+ querykey: svcnvtk.querykey,
1580
+ gettrack4singlesample: sample.name
1581
+ };
1582
+ const data = await dofetch("/mdssvcnv", par);
1583
+ if (data.error) throw "Error checking for assay track: " + data.error;
1584
+ if (data.tracks) {
1585
+ for (const t of data.tracks) blockarg.tklst.push(t);
1586
+ }
1587
+ }
1588
+ const _ = await import("./block-CR75JHV3.js");
1589
+ new _.Block(blockarg);
1590
+ } catch (e) {
1591
+ window.alert(e.message || e);
1592
+ if (e.stack) console.log(e.stack);
1593
+ }
1594
+ }
1595
+ /********** __menu and tooltip **********/
1596
+ showTip_feature(f) {
1597
+ this.tip.clear();
1598
+ this.tipContent_feature(f, this.tip.d);
1599
+ this.tip.showunder(event.target);
1600
+ }
1601
+ showMenu_feature(f) {
1602
+ this.menu.showunder(event.target).clear();
1603
+ this.tipContent_feature(f, this.menu.d);
1604
+ this.menu.d.append("div").attr("class", "sja_menuoption").text("Remove this feature").on("click", () => {
1605
+ this.menu.hide();
1606
+ f.legend_tr.remove();
1607
+ this.features.splice(
1608
+ this.features.findIndex((i) => i.id == f.id),
1609
+ 1
1610
+ );
1611
+ this.draw_matrix();
1612
+ });
1613
+ if (f.isgenevalue) return showMenu_isgenevalue(this, f);
1614
+ if (f.iscnv) return showMenu_iscnv(this, f, f);
1615
+ if (f.isloh) return showMenu_isloh(this, f, f);
1616
+ if (f.ismutation) return showMenu_ismutation(this, f);
1617
+ if (f.isitd) {
1618
+ return;
1619
+ }
1620
+ if (f.issvfusion) {
1621
+ return;
1622
+ }
1623
+ if (f.issvcnv) {
1624
+ return;
1625
+ }
1626
+ if (f.issampleattribute) {
1627
+ return;
1628
+ }
1629
+ }
1630
+ tipContent_feature(f, holder) {
1631
+ holder.append("div").text(f.label).style("opacity", 0.5).style("font-size", ".7em").style("margin", "10px");
1632
+ if (f.isgenevalue || f.iscnv || f.isloh || f.isitd || f.issvfusion) {
1633
+ holder.append("div").html(f.chr + ":" + f.start + "-" + f.stop + " &nbsp; " + bplen(f.stop - f.start)).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
1634
+ } else if (f.issvcnv || f.ismutation) {
1635
+ if (!f.genename) {
1636
+ holder.append("div").html(f.chr + ":" + f.start + "-" + f.stop + " &nbsp; " + bplen(f.stop - f.start)).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
1637
+ }
1638
+ } else if (f.issampleattribute) {
1639
+ holder.append("div").text(f.label);
1640
+ }
1641
+ if (f.isgenevalue) {
1642
+ holder.append("div").text("Min: " + f.scale.minv + ", max: " + f.scale.maxv).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
1643
+ }
1644
+ }
1645
+ showTip_sample(sample) {
1646
+ this.tip.clear().d.append("div").text(sample.name).style("padding", "10px").style("font-size", ".7em");
1647
+ const lst = [];
1648
+ for (const f of this.features) {
1649
+ if (lst.length > 10) {
1650
+ lst.push({ k: "more", v: "..." });
1651
+ break;
1652
+ }
1653
+ if (f.isgenevalue) {
1654
+ const v = f.items.find((i) => i.sample == sample.name);
1655
+ lst.push({ k: f.label, v: v ? v.value : saynovalue });
1656
+ continue;
1657
+ }
1658
+ if (f.iscnv) {
1659
+ const items = f.items.filter((i) => i.sample == sample.name);
1660
+ let text;
1661
+ if (items.length == 0) {
1662
+ text = saynovalue;
1663
+ } else {
1664
+ const lst2 = items.map((i) => {
1665
+ return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + (i.value > 0 ? f.colorgain : f.colorloss) + ';color:white;padding:1px 5px">' + i.value + "</span></div>";
1666
+ });
1667
+ text = lst2.join("");
1668
+ }
1669
+ lst.push({ k: f.label, v: text });
1670
+ continue;
1671
+ }
1672
+ if (f.isloh) {
1673
+ const items = f.items.filter((i) => i.sample == sample.name);
1674
+ let text;
1675
+ if (items.length == 0) {
1676
+ text = saynovalue;
1677
+ } else {
1678
+ const lst2 = items.map((i) => {
1679
+ return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + f.color + ';color:white;padding:1px 5px">' + i.segmean + "</span></div>";
1680
+ });
1681
+ text = lst2.join("");
1682
+ }
1683
+ lst.push({ k: f.label, v: text });
1684
+ continue;
1685
+ }
1686
+ if (f.isvcf) {
1687
+ const mlst = getitemforsample_vcf(f, sample);
1688
+ let text;
1689
+ if (mlst.length == 0) {
1690
+ text = saynovalue;
1691
+ } else {
1692
+ text = mlst.map((m) => {
1693
+ return '<div><span style="color:' + mclass[m.class].color + '">' + m.mname + '</span> <span style="font-size:.7em;opacity:.5">' + mclass[m.class].label + "</span></div>";
1694
+ }).join("");
1695
+ }
1696
+ lst.push({ k: f.label, v: text });
1697
+ continue;
1698
+ }
1699
+ if (f.isitd) {
1700
+ const items = f.items.filter((i) => i.sample == sample.name);
1701
+ let text;
1702
+ if (items.length == 0) {
1703
+ text = saynovalue;
1704
+ } else {
1705
+ text = '<div style="background:' + f.color + ';width:20px">&nbsp;</div>';
1706
+ }
1707
+ lst.push({ k: f.label, v: text });
1708
+ continue;
1709
+ }
1710
+ if (f.issvfusion) {
1711
+ const items = f.items.filter((i) => i.sample == sample.name);
1712
+ let text;
1713
+ if (items.length == 0) {
1714
+ text = saynovalue;
1715
+ } else {
1716
+ text = '<div style="background:' + f.color + ';width:20px">&nbsp;</div>';
1717
+ }
1718
+ lst.push({ k: f.label, v: text });
1719
+ continue;
1720
+ }
1721
+ if (f.issvcnv) {
1722
+ continue;
1723
+ }
1724
+ if (f.ismutation) {
1725
+ continue;
1726
+ }
1727
+ if (f.issampleattribute) {
1728
+ const item = f.items.find((i) => i.sample == sample.name);
1729
+ if (item) {
1730
+ lst.push({ k: f.label, v: item.value });
1731
+ }
1732
+ continue;
1733
+ }
1734
+ console.error("sample tooltip: Unknown feature type");
1735
+ }
1736
+ make_table_2col(this.tip.d, lst);
1737
+ this.tip.show(event.clientX, event.clientY);
1738
+ }
1739
+ showTip_cell(sample, f) {
1740
+ const lst = [{ k: "sample", v: sample.name }];
1741
+ if (f.isgenevalue) {
1742
+ const v = f.items.find((i) => i.sample == sample.name);
1743
+ lst.push({ k: f.label, v: v ? v.value : saynovalue });
1744
+ } else if (f.iscnv) {
1745
+ const items = f.items.filter((i) => i.sample == sample.name);
1746
+ let text;
1747
+ if (items.length == 0) {
1748
+ text = saynovalue;
1749
+ } else {
1750
+ const lst2 = items.map((i) => {
1751
+ return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + (i.value > 0 ? f.colorgain : f.colorloss) + ';color:white;padding:1px 5px">' + i.value + "</span></div>";
1752
+ });
1753
+ text = lst2.join("");
1754
+ }
1755
+ lst.push({ k: f.label, v: text });
1756
+ } else if (f.isloh) {
1757
+ const items = f.items.filter((i) => i.sample == sample.name);
1758
+ let text;
1759
+ if (items.length == 0) {
1760
+ text = saynovalue;
1761
+ } else {
1762
+ const lst2 = items.map((i) => {
1763
+ return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + f.color + ';color:white;padding:1px 5px">' + i.segmean + "</span></div>";
1764
+ });
1765
+ text = lst2.join("");
1766
+ }
1767
+ lst.push({ k: f.label, v: text });
1768
+ } else if (f.isvcf) {
1769
+ const mlst = getitemforsample_vcf(f, sample);
1770
+ let text;
1771
+ if (mlst.length == 0) {
1772
+ text = saynovalue;
1773
+ } else {
1774
+ text = mlst.map((m) => {
1775
+ return '<div><span style="color:' + mclass[m.class].color + '">' + m.mname + '</span> <span style="font-size:.7em;opacity:.5">' + mclass[m.class].label + "</span></div>";
1776
+ }).join("");
1777
+ }
1778
+ lst.push({ k: f.label, v: text });
1779
+ } else if (f.isitd) {
1780
+ const items = f.items.filter((i) => i.sample == sample.name);
1781
+ let text;
1782
+ if (items.length == 0) {
1783
+ text = saynovalue;
1784
+ } else {
1785
+ const lst2 = items.map((i) => {
1786
+ return "<div>" + i.chr + ":" + i.start + "-" + i.stop + " </div>";
1787
+ });
1788
+ text = lst2.join("");
1789
+ }
1790
+ lst.push({ k: f.label, v: text });
1791
+ } else if (f.issvfusion) {
1792
+ const items = f.items.filter((i) => i.sample == sample.name);
1793
+ let text;
1794
+ if (items.length == 0) {
1795
+ text = saynovalue;
1796
+ } else {
1797
+ const lst2 = items.map((i) => {
1798
+ return "<div>" + i.chrA + ":" + i.posA + " - " + i.chrB + ":" + i.posB + " </div>";
1799
+ });
1800
+ text = lst2.join("");
1801
+ }
1802
+ lst.push({ k: f.label, v: text });
1803
+ } else if (f.issvcnv || f.ismutation) {
1804
+ const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(f, sample);
1805
+ if (cnv.length) {
1806
+ lst.push({
1807
+ k: (f.genename || f.label) + " CNV",
1808
+ v: cnv.map((i) => {
1809
+ return '<div><span style="background:' + (i.value > 0 ? f.cnv.colorgain : f.cnv.colorloss) + ';color:white;padding:0px 3px">' + i.value + '</span> <span style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + " &nbsp;&nbsp;" + bplen(i.stop - i.start) + "</span></div>";
1810
+ }).join("")
1811
+ });
1812
+ }
1813
+ if (loh.length) {
1814
+ lst.push({
1815
+ k: (f.genename || f.label) + " LOH",
1816
+ v: loh.map((i) => {
1817
+ return '<div><span style="background:' + f.loh.color + ';color:white;padding:0px 3px">' + i.segmean + '</span> <span style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + " &nbsp;&nbsp;" + bplen(i.stop - i.start) + "</span></div>";
1818
+ }).join("")
1819
+ });
1820
+ }
1821
+ if (itd.length) {
1822
+ lst.push({
1823
+ k: (f.genename || f.label) + " ITD",
1824
+ v: itd.map((i) => {
1825
+ return '<div style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + "</div>";
1826
+ }).join("")
1827
+ });
1828
+ }
1829
+ if (sv.length) {
1830
+ lst.push({
1831
+ k: (f.genename || f.label) + " SV",
1832
+ v: sv.map((i) => {
1833
+ return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " &gt; " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
1834
+ }).join("")
1835
+ });
1836
+ }
1837
+ if (fusion.length) {
1838
+ lst.push({
1839
+ k: (f.genename || f.label) + " fusion",
1840
+ v: fusion.map((i) => {
1841
+ return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " &gt; " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
1842
+ }).join("")
1843
+ });
1844
+ }
1845
+ if (snvindel.length) {
1846
+ lst.push({
1847
+ k: (f.genename || f.label) + " SNV/indel",
1848
+ v: snvindel.map((m) => {
1849
+ const c = mclass[m.m.class];
1850
+ return '<div><span style="color:' + c.color + '">' + (m.m.mname || "") + '</span> <span style="font-size:.7em;opacity:.5">' + c.label + "</span></div>";
1851
+ }).join("")
1852
+ });
1853
+ }
1854
+ } else if (f.issampleattribute) {
1855
+ const item = f.items.find((i) => i.sample == sample.name);
1856
+ if (item) {
1857
+ lst.push({
1858
+ k: f.label,
1859
+ v: item.value
1860
+ });
1861
+ }
1862
+ } else {
1863
+ console.error("cell tooltip: unknown feature type");
1864
+ }
1865
+ this.tip.clear();
1866
+ make_table_2col(this.tip.d, lst);
1867
+ this.tip.show(event.clientX, event.clientY);
1868
+ }
1869
+ /********** __menu ends **********/
1870
+ sortsamplesbyfeatures() {
1871
+ const sortbygenevalue = this.features.find((f) => f.isgenevalue && f.sort);
1872
+ if (sortbygenevalue && sortbygenevalue.items) {
1873
+ const sample2value = /* @__PURE__ */ new Map();
1874
+ for (const i of sortbygenevalue.items) {
1875
+ sample2value.set(i.sample, i.value);
1876
+ }
1877
+ this.samples.sort((i, j) => {
1878
+ const vi = sample2value.has(i.name) ? sample2value.get(i.name) : sortbygenevalue.missingvalue;
1879
+ const vj = sample2value.has(j.name) ? sample2value.get(j.name) : sortbygenevalue.missingvalue;
1880
+ return vj - vi;
1881
+ });
1882
+ }
1883
+ }
1884
+ may_init_customvcf(tk) {
1885
+ if (tk.info) return;
1886
+ const arg = ["genome=" + this.genome.name];
1887
+ if (tk.file) {
1888
+ arg.push("file=" + tk.file);
1889
+ } else {
1890
+ arg.push("url=" + tk.url);
1891
+ if (tk.indexURL) arg.push("indexURL=" + tk.indexURL);
1892
+ }
1893
+ return dofetch2("vcfheader?" + arg.join("&")).then((data) => {
1894
+ const [info, format, samples, errs] = vcfparsemeta(data.metastr.split("\n"));
1895
+ if (errs) throw "Error parsing VCF meta lines: " + errs.join("; ");
1896
+ tk.info = info;
1897
+ tk.format = format;
1898
+ tk.samples = samples;
1899
+ tk.nochr = data.nochr;
1900
+ });
1901
+ }
1902
+ drawEmptycell(sample, feature, g) {
1903
+ const height = this.features_on_rows ? feature.height : sample.height;
1904
+ const width = this.features_on_rows ? sample.width : feature.width;
1905
+ if (height < 5) return;
1906
+ g.append("line").attr("x2", width).attr("y2", height).attr("stroke", "#ededed");
1907
+ }
1908
+ // end of class
1909
+ };
1910
+ function feature2arg(f) {
1911
+ if (f.isgenevalue) {
1912
+ return {
1913
+ id: f.id,
1914
+ isgenevalue: 1,
1915
+ querykey: f.querykey,
1916
+ genename: f.genename,
1917
+ chr: f.chr,
1918
+ start: f.start,
1919
+ stop: f.stop
1920
+ };
1921
+ }
1922
+ if (f.iscnv) {
1923
+ return {
1924
+ id: f.id,
1925
+ iscnv: 1,
1926
+ querykey: f.querykey,
1927
+ chr: f.chr,
1928
+ start: f.start,
1929
+ stop: f.stop,
1930
+ valuecutoff: f.valuecutoff,
1931
+ focalsizelimit: f.focalsizelimit
1932
+ };
1933
+ }
1934
+ if (f.isloh) {
1935
+ return {
1936
+ id: f.id,
1937
+ isloh: 1,
1938
+ querykey: f.querykey,
1939
+ chr: f.chr,
1940
+ start: f.start,
1941
+ stop: f.stop,
1942
+ valuecutoff: f.valuecutoff,
1943
+ focalsizelimit: f.focalsizelimit
1944
+ };
1945
+ }
1946
+ if (f.isvcf) {
1947
+ return {
1948
+ id: f.id,
1949
+ isvcf: 1,
1950
+ querykey: f.querykey,
1951
+ chr: f.chr,
1952
+ start: f.start,
1953
+ stop: f.stop,
1954
+ snvindel: {
1955
+ excludeclasses: f.snvindel.excludeclasses
1956
+ }
1957
+ };
1958
+ }
1959
+ if (f.isitd) {
1960
+ return {
1961
+ id: f.id,
1962
+ isitd: 1,
1963
+ querykey: f.querykey,
1964
+ chr: f.chr,
1965
+ start: f.start,
1966
+ stop: f.stop
1967
+ };
1968
+ }
1969
+ if (f.issvfusion) {
1970
+ return {
1971
+ id: f.id,
1972
+ issvfusion: 1,
1973
+ querykey: f.querykey,
1974
+ chr: f.chr,
1975
+ start: f.start,
1976
+ stop: f.stop
1977
+ };
1978
+ }
1979
+ if (f.issvcnv || f.ismutation) {
1980
+ const arg = {
1981
+ id: f.id,
1982
+ chr: f.chr,
1983
+ start: f.start,
1984
+ stop: f.stop,
1985
+ cnv: {
1986
+ hidden: f.cnv.hidden,
1987
+ valuecutoff: f.cnv.valuecutoff,
1988
+ focalsizelimit: f.cnv.focalsizelimit
1989
+ },
1990
+ loh: {
1991
+ hidden: f.loh.hidden,
1992
+ valuecutoff: f.loh.valuecutoff,
1993
+ focalsizelimit: f.loh.focalsizelimit
1994
+ },
1995
+ itd: {
1996
+ hidden: f.itd.hidden
1997
+ },
1998
+ sv: {
1999
+ hidden: f.sv.hidden
2000
+ },
2001
+ fusion: {
2002
+ hidden: f.fusion.hidden
2003
+ },
2004
+ snvindel: {
2005
+ excludeclasses: f.snvindel.excludeclasses
2006
+ }
2007
+ };
2008
+ if (f.issvcnv) {
2009
+ arg.issvcnv = 1;
2010
+ arg.querykey = f.querykey;
2011
+ } else {
2012
+ arg.ismutation = 1;
2013
+ arg.querykeylst = f.querykeylst;
2014
+ }
2015
+ return arg;
2016
+ }
2017
+ if (f.issampleattribute) {
2018
+ return {
2019
+ id: f.id,
2020
+ issampleattribute: 1,
2021
+ key: f.key
2022
+ };
2023
+ }
2024
+ throw "unknown feature type in making request parameter";
2025
+ }
2026
+ function getitemforsample_vcf(feature, sample) {
2027
+ const mlst = [];
2028
+ for (const m of feature.items) {
2029
+ if (m.dt == dtsnvindel) {
2030
+ if (m.sampledata.findIndex((i) => i.sampleobj.name == sample.name) != -1) {
2031
+ mlst.push(m);
2032
+ }
2033
+ } else {
2034
+ console.error("getitemforsample_vcf: unknown dt");
2035
+ }
2036
+ }
2037
+ return mlst;
2038
+ }
2039
+ function getitemforsample_compound(feature, sample) {
2040
+ const cnv = [], loh = [], itd = [], sv = [], fusion = [], snvindel = [];
2041
+ for (const item of feature.items) {
2042
+ if (item.dt == dtsnvindel) {
2043
+ if (!item.sampledata) continue;
2044
+ const m_sample = item.sampledata.find((s) => s.sampleobj.name == sample.name);
2045
+ if (!m_sample) continue;
2046
+ snvindel.push({
2047
+ m: item,
2048
+ m_sample
2049
+ });
2050
+ continue;
2051
+ }
2052
+ if (item.sample != sample.name) continue;
2053
+ if (item.dt == dtcnv) {
2054
+ cnv.push(item);
2055
+ } else if (item.dt == dtloh) {
2056
+ loh.push(item);
2057
+ } else if (item.dt == dtitd) {
2058
+ itd.push(item);
2059
+ } else if (item.dt == dtsv) {
2060
+ sv.push(item);
2061
+ } else if (item.dt == dtfusionrna) {
2062
+ fusion.push(item);
2063
+ } else {
2064
+ console.error("unknown dt: " + item.dt);
2065
+ }
2066
+ }
2067
+ return [cnv, loh, itd, sv, fusion, snvindel];
2068
+ }
2069
+ function initfeature_polymutation(f) {
2070
+ if (!f.width) f.width = 20;
2071
+ if (!f.cnv) f.cnv = {};
2072
+ if (!f.cnv.valuecutoff) f.cnv.valuecutoff = 0.2;
2073
+ if (!Number.isInteger(f.cnv.focalsizelimit)) f.cnv.focalsizelimit = 2e6;
2074
+ if (!f.cnv.colorgain) f.cnv.colorgain = default_cnvgaincolor;
2075
+ if (!f.cnv.colorloss) f.cnv.colorloss = default_cnvlosscolor;
2076
+ if (!f.loh) f.loh = {};
2077
+ if (!f.loh.valuecutoff) f.loh.valuecutoff = 0.1;
2078
+ if (!Number.isInteger(f.loh.focalsizelimit)) f.loh.focalsizelimit = 2e6;
2079
+ if (!f.loh.color) f.loh.color = default_lohcolor;
2080
+ if (!f.itd) f.itd = {};
2081
+ if (!f.itd.color) f.itd.color = mclass[mclassitd].color;
2082
+ if (!f.sv) f.sv = {};
2083
+ if (!f.sv.color) f.sv.color = default_svcolor;
2084
+ if (!f.fusion) f.fusion = {};
2085
+ if (!f.fusion.color) f.fusion.color = default_svcolor;
2086
+ if (!f.snvindel) f.snvindel = {};
2087
+ if (!f.snvindel.excludeclasses) f.snvindel.excludeclasses = {};
2088
+ }
2089
+ function init_controlui(o) {
2090
+ const buttonrow = o.holder.append("div").style("margin-bottom", "5px");
2091
+ const folderdiv = o.holder.append("div").style("margin-bottom", "20px");
2092
+ buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("LEGEND").attr("class", "sja_clbtext").on("click", () => {
2093
+ if (o.legendtable.style("display") == "none") {
2094
+ appear(o.legendtable);
2095
+ } else {
2096
+ disappear(o.legendtable);
2097
+ }
2098
+ });
2099
+ o.legendtable = folderdiv.append("table").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("border-spacing", "10px").style("display", "none");
2100
+ buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("CONFIG").attr("class", "sja_clbtext").on("click", () => {
2101
+ if (generalconfig.style("display") == "none") {
2102
+ appear(generalconfig);
2103
+ } else {
2104
+ disappear(generalconfig);
2105
+ }
2106
+ });
2107
+ const generalconfig = folderdiv.append("div").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("display", "none");
2108
+ const row = generalconfig.append("div").style("margin", "5px");
2109
+ row.append("div").style("vertical-align", "top").style("display", "inline-block").html("Show features as &nbsp;&nbsp;");
2110
+ const opts_div = row.append("div").style("display", "inline-block");
2111
+ const mutation_opts = [
2112
+ { value: "symbol", text: "CNV on genomic location, others as symbol" },
2113
+ { value: "proportion", text: "All features as porportion" }
2114
+ ];
2115
+ mutation_opts.forEach((opt) => {
2116
+ const opt_div = opts_div.append("div");
2117
+ opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "mutaion_display").attr("value", opt.value).property(
2118
+ "checked",
2119
+ opt.value == "symbol" && o.ismutation_allsymbolic === void 0 && o.ismutation_allnotsymbolic === void 0 ? 1 : opt.value == "symbol" && o.ismutation_allnotsymbolic ? 1 : opt.value == "proportion" && o.ismutation_allsymbolic ? 1 : 0
2120
+ ).on("change", function() {
2121
+ if (opt.value == "symbol" && o.ismutation_allnotsymbolic) return;
2122
+ else if (opt.value == "proportion" && o.ismutation_allsymbolic) return;
2123
+ else if (opt.value == "symbol") {
2124
+ delete o.ismutation_allsymbolic;
2125
+ o.ismutation_allnotsymbolic = true;
2126
+ } else if (opt.value == "proportion") {
2127
+ o.ismutation_allsymbolic = true;
2128
+ delete o.ismutation_allnotsymbolic;
2129
+ } else {
2130
+ return;
2131
+ }
2132
+ o.draw_matrix();
2133
+ });
2134
+ opt_div.append("label").attr("for", opt.value).text(opt.text);
2135
+ });
2136
+ const row2 = generalconfig.append("div").style("margin", "5px");
2137
+ row2.append("div").style("vertical-align", "top").style("display", "inline-block").html("Layout of Matrix &nbsp;&nbsp;");
2138
+ const opts_div2 = row2.append("div").style("display", "inline-block");
2139
+ const layout_opts = [
2140
+ { value: "gene_on_row", text: "Genes as Rows" },
2141
+ { value: "sam_on_row", text: "Samples as Rows" }
2142
+ ];
2143
+ layout_opts.forEach((opt) => {
2144
+ const opt_div = opts_div2.append("div");
2145
+ opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "layout").attr("value", opt.value).property(
2146
+ "checked",
2147
+ opt.value == "gene_on_row" && o.features_on_rows ? 1 : opt.value == "sam_on_row" && !o.features_on_rows ? 1 : 0
2148
+ ).on("change", function() {
2149
+ if (opt.value == "gene_on_row" && o.features_on_rows) return;
2150
+ else if (opt.value == "sam_on_row" && !o.features_on_rows) return;
2151
+ else if (opt.value == "gene_on_row") {
2152
+ o.features_on_rows = true;
2153
+ if (o.ori_feature_width) o.features.forEach((f) => f.height = o.ori_feature_width);
2154
+ } else {
2155
+ o.features_on_rows = false;
2156
+ if (o.ori_feature_height) o.features.forEach((f) => f.width = o.ori_feature_height);
2157
+ }
2158
+ o.draw_matrix();
2159
+ });
2160
+ opt_div.append("label").attr("for", opt.value).text(opt.text);
2161
+ });
2162
+ buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("DATA").attr("class", "sja_clbtext").on("click", () => {
2163
+ printData(o);
2164
+ });
2165
+ may_add_kmplotbutton(o, buttonrow);
2166
+ }
2167
+ function printData(o) {
2168
+ const lst = ["sample feature varianttype variant"];
2169
+ for (const s of o.samples) {
2170
+ for (const f of o.features) {
2171
+ for (const i of f.items) {
2172
+ if (i.sample && i.sample == s.name || i.sampledata && i.sampledata.findIndex((i2) => i2.sampleobj.name == s.name) != -1) {
2173
+ lst.push(s.name + " " + f.label + " " + dt2label[i.dt] + " " + item2string(i));
2174
+ }
2175
+ }
2176
+ }
2177
+ }
2178
+ export_data("Matrix data", [{ text: lst.join("\n") }]);
2179
+ }
2180
+ function item2string(i) {
2181
+ if (i.dt == dtsnvindel)
2182
+ return i.mname + " " + mclass[i.class].label + " " + i.chr + "." + i.pos + "." + i.ref + "." + i.alt;
2183
+ if (i.dt == dtfusionrna || i.dt == dtsv)
2184
+ return i.chrA + "." + i.posA + "." + (i.strandA || "") + " > " + i.chrB + "." + i.posB + "." + (i.strandB || "");
2185
+ if (i.dt == dtcnv) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.value;
2186
+ if (i.dt == dtloh) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.segmean;
2187
+ if (i.dt == dtitd) return i.chr + ":" + i.start + "-" + i.stop;
2188
+ return "";
2189
+ }
2190
+ export {
2191
+ Samplematrix
2192
+ };
2193
+ //# sourceMappingURL=samplematrix-VP5RQVRH.js.map