@sjcrh/proteinpaint-client 2.210.1 → 2.211.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 (954) hide show
  1. package/dist/2dmaf-FEZRNHDF.js +1367 -0
  2. package/dist/AggMatrixInput-6FJIELYO.js +406 -0
  3. package/dist/AggregateMatrix-MUPBUGIZ.js +41 -0
  4. package/dist/AppHeader-ZTNZ62UL.js +830 -0
  5. package/dist/BoxPlot-P5SVFYSB.js +1208 -0
  6. package/dist/BoxPlot-P5SVFYSB.js.map +7 -0
  7. package/dist/CorrelationVolcano-42NYXAXG.js +617 -0
  8. package/dist/Cuminc-6AKLT6HF.js +1219 -0
  9. package/dist/DE-KJHFZWND.js +89 -0
  10. package/dist/DEinput-HXB3LYZW.js +501 -0
  11. package/dist/DM-AAHX4PLH.js +90 -0
  12. package/dist/DifferentialAnalysis-JX4EDEOY.js +239 -0
  13. package/dist/Disco-GXKO4QQH.js +3389 -0
  14. package/dist/Disco.UI-DGD4RXJP.js +243 -0
  15. package/dist/DmrPlot-DQ3XTMTN.js +362 -0
  16. package/dist/GB-OUWNNBBK.js +1392 -0
  17. package/dist/GSEA-DSKGFAPG.js +875 -0
  18. package/dist/GeneExpInput-FZLOBE2Q.js +42 -0
  19. package/dist/Geomap-GP5KD3OX.js +84 -0
  20. package/dist/HicApp-2N6WYWZX.js +2245 -0
  21. package/dist/IDCViewer-MSUC7IXX.js +10812 -0
  22. package/dist/NumBinaryEditor-C4G2IH36.js +279 -0
  23. package/dist/NumBinaryEditor.unit.spec-ZAVAUGXA.js +312 -0
  24. package/dist/NumContEditor-VEEMMWHX.js +105 -0
  25. package/dist/NumContEditor.unit.spec-65ORC42O.js +164 -0
  26. package/dist/NumCustomBinEditor-YIUHJAXP.js +33 -0
  27. package/dist/NumCustomBinEditor.unit.spec-NT5VK2LO.js +397 -0
  28. package/dist/NumDiscreteEditor-A4WELAJH.js +170 -0
  29. package/dist/NumDiscreteEditor.unit.spec-7QABM6KK.js +233 -0
  30. package/dist/NumRegularBinEditor-IPVPLSQY.js +33 -0
  31. package/dist/NumRegularBinEditor.unit.spec-Q4DMWATB.js +278 -0
  32. package/dist/NumSplineEditor-5E6CIWLP.js +210 -0
  33. package/dist/NumSplineEditor.unit.spec-DHJF5F6H.js +224 -0
  34. package/dist/NumericDensity-GXMWWK2A.js +33 -0
  35. package/dist/NumericDensity.unit.spec-OAPOMSEW.js +418 -0
  36. package/dist/NumericHandler-H5WHGFXD.js +34 -0
  37. package/dist/NumericHandler.unit.spec-PBNOJEMS.js +214 -0
  38. package/dist/ProteomeInput-ZA7R5S43.js +388 -0
  39. package/dist/Regression-WSWTSXFX.js +1416 -0
  40. package/dist/RunChart2-J5CTJI5C.js +749 -0
  41. package/dist/SC-POCQDMWZ.js +1181 -0
  42. package/dist/SC-POCQDMWZ.js.map +7 -0
  43. package/dist/Violin-VA6FBRUQ.js +1064 -0
  44. package/dist/Violin-VA6FBRUQ.js.map +7 -0
  45. package/dist/Volcano-4IEQIEDS.js +2456 -0
  46. package/dist/Wsi-LJ6AY5RI.js +629 -0
  47. package/dist/adSandbox-EIN4KEML.js +33 -0
  48. package/dist/animatedBubbleChart-LINYUKMD.js +547 -0
  49. package/dist/app-SE7UQ5DB.js +42 -0
  50. package/dist/app-VGMZNGWP.js +32 -0
  51. package/dist/app.js +16 -16
  52. package/dist/bam-ZXEZWRSZ.js +876 -0
  53. package/dist/barchart-N4B4C2FO.js +42 -0
  54. package/dist/barchart2-EDVEWTVX.js +309 -0
  55. package/dist/block-E7YUGCHL.js +6250 -0
  56. package/dist/block.init-FSOCF2IM.js +33 -0
  57. package/dist/block.mds.expressionrank-EDBTITXU.js +354 -0
  58. package/dist/block.mds.geneboxplot-GG5672SY.js +823 -0
  59. package/dist/block.mds.junction-HUC4S24K.js +1539 -0
  60. package/dist/block.mds.svcnv-EQHYCIBU.js +6796 -0
  61. package/dist/block.svg-HBVPUQJ2.js +159 -0
  62. package/dist/block.tk.aicheck-TRJ5IIWZ.js +278 -0
  63. package/dist/block.tk.ase-COV7YYYO.js +360 -0
  64. package/dist/block.tk.bam-MDSLY6NH.js +1901 -0
  65. package/dist/block.tk.bedgraphdot-MKWEL53X.js +379 -0
  66. package/dist/block.tk.bigwig.ui-UKKJX7TA.js +206 -0
  67. package/dist/block.tk.hicstraw-6LNXEIOF.js +818 -0
  68. package/dist/block.tk.junction-F3SERFFD.js +2358 -0
  69. package/dist/block.tk.junction.textmatrixui-2XUMSKLS.js +194 -0
  70. package/dist/block.tk.ld-COP5RUJJ.js +94 -0
  71. package/dist/block.tk.menu-SRDPD44N.js +1024 -0
  72. package/dist/block.tk.pgv-3SVINTXN.js +938 -0
  73. package/dist/brainImaging-UNBA4KA3.js +555 -0
  74. package/dist/brainRegions-DC6TQB53.js +217 -0
  75. package/dist/bubbleHeatmap-X3W3AZJY.js +378 -0
  76. package/dist/cellTypeBubbleHeatmap-LFI6TGOO.js +278 -0
  77. package/dist/chunk-2ANFUNS3.js +102 -0
  78. package/dist/chunk-2G4SFRWC.js +1278 -0
  79. package/dist/chunk-2WKGE7BO.js +54 -0
  80. package/dist/chunk-3CGMCYZB.js +237 -0
  81. package/dist/chunk-3I4DBVLM.js +55 -0
  82. package/dist/chunk-42VFF74T.js +397 -0
  83. package/dist/chunk-4ENIOXIT.js +133 -0
  84. package/dist/chunk-4ENIOXIT.js.map +7 -0
  85. package/dist/chunk-4HTRCXLS.js +98 -0
  86. package/dist/chunk-55T2AMJ3.js +281 -0
  87. package/dist/chunk-57Z4VYLM.js +1616 -0
  88. package/dist/chunk-57Z4VYLM.js.map +7 -0
  89. package/dist/chunk-5JDG5NNA.js +203 -0
  90. package/dist/chunk-6AFMWQXZ.js +339 -0
  91. package/dist/chunk-6ECKCC4X.js +294 -0
  92. package/dist/chunk-6QMC7LFA.js +299 -0
  93. package/dist/chunk-6XKAOSQE.js +116 -0
  94. package/dist/chunk-6XKAOSQE.js.map +7 -0
  95. package/dist/chunk-72L6NTNT.js +14 -0
  96. package/dist/chunk-7ISAV37C.js +194 -0
  97. package/dist/chunk-7MFY22IZ.js +2902 -0
  98. package/dist/chunk-7MFY22IZ.js.map +7 -0
  99. package/dist/chunk-7XZA2XR2.js +424 -0
  100. package/dist/chunk-7XZA2XR2.js.map +7 -0
  101. package/dist/chunk-A32XQLMP.js +49 -0
  102. package/dist/chunk-A3MYBXG3.js +274 -0
  103. package/dist/chunk-AU3Y6IQF.js +1339 -0
  104. package/dist/chunk-AXL3CC4U.js +468 -0
  105. package/dist/chunk-BSWVDH75.js +26 -0
  106. package/dist/chunk-CME6DYDH.js +424 -0
  107. package/dist/chunk-D637XDOT.js +417 -0
  108. package/dist/chunk-D637XDOT.js.map +7 -0
  109. package/dist/chunk-DD3DWHUY.js +119 -0
  110. package/dist/chunk-DKED35KW.js +2327 -0
  111. package/dist/chunk-DPGALT5N.js +255 -0
  112. package/dist/chunk-DPTGY4BW.js +129 -0
  113. package/dist/chunk-DQD4MTK4.js +379 -0
  114. package/dist/chunk-EFLRT7JY.js +243 -0
  115. package/dist/chunk-EMSO3BNW.js +34 -0
  116. package/dist/chunk-F2LWFF7V.js +158 -0
  117. package/dist/chunk-F2LWFF7V.js.map +7 -0
  118. package/dist/chunk-F5QB5YEE.js +276 -0
  119. package/dist/chunk-FKSR53VK.js +182 -0
  120. package/dist/chunk-FSWBNSQD.js +178 -0
  121. package/dist/chunk-G6ZIO5T3.js +37 -0
  122. package/dist/chunk-GP4VLNMZ.js +2149 -0
  123. package/dist/chunk-GP4VLNMZ.js.map +7 -0
  124. package/dist/chunk-HTZJQNHP.js +562 -0
  125. package/dist/chunk-ITYNHDDD.js +56 -0
  126. package/dist/chunk-IWVCFZHQ.js +170 -0
  127. package/dist/chunk-J4WRX5G6.js +263 -0
  128. package/dist/chunk-JZLIHI6A.js +339 -0
  129. package/dist/chunk-K7HFOAR7.js +25008 -0
  130. package/dist/chunk-K7HFOAR7.js.map +7 -0
  131. package/dist/chunk-KJGYGPJZ.js +103 -0
  132. package/dist/chunk-L3UFI52T.js +217 -0
  133. package/dist/chunk-L4ZPMF7E.js +692 -0
  134. package/dist/chunk-L62JI5UL.js +302 -0
  135. package/dist/chunk-MRPYHLFW.js +518 -0
  136. package/dist/chunk-MVWJHZ5G.js +783 -0
  137. package/dist/chunk-NGWU4QLU.js +134 -0
  138. package/dist/chunk-OC2FSBFB.js +176 -0
  139. package/dist/chunk-OGRDLK57.js +140 -0
  140. package/dist/chunk-OYBYKZUR.js +6360 -0
  141. package/dist/chunk-PFRPC2SY.js +382 -0
  142. package/dist/chunk-PLHOCPJD.js +272 -0
  143. package/dist/chunk-PQDZLOY7.js +102 -0
  144. package/dist/chunk-QDNUIS2Y.js +70 -0
  145. package/dist/chunk-RHOMR2GY.js +2676 -0
  146. package/dist/chunk-SKF6HQ74.js +31 -0
  147. package/dist/chunk-SLPZ6SBN.js +626 -0
  148. package/dist/chunk-SLPZ6SBN.js.map +7 -0
  149. package/dist/chunk-SPFK5XZH.js +446 -0
  150. package/dist/chunk-SQGAWR2L.js +141 -0
  151. package/dist/chunk-TGKWEAUE.js +84 -0
  152. package/dist/chunk-UKOOGNUF.js +1233 -0
  153. package/dist/chunk-UL5PEVZW.js +123 -0
  154. package/dist/chunk-UTMIX2H2.js +2784 -0
  155. package/dist/chunk-UZNFOCE7.js +56 -0
  156. package/dist/chunk-V7UVHM57.js +550 -0
  157. package/dist/chunk-VP2JWT5W.js +1988 -0
  158. package/dist/chunk-VSTHBKQW.js +480 -0
  159. package/dist/chunk-W7A4QXZ7.js +38 -0
  160. package/dist/chunk-WKCVZIN7.js +59 -0
  161. package/dist/chunk-X7TJBXJJ.js +54 -0
  162. package/dist/chunk-XEEMCYP6.js +4375 -0
  163. package/dist/chunk-XTQWAVWJ.js +54 -0
  164. package/dist/chunk-YAN2MOON.js +5071 -0
  165. package/dist/chunk-YCBENC6R.js +1769 -0
  166. package/dist/chunk-YCBENC6R.js.map +7 -0
  167. package/dist/chunk-YCORHJ64.js +240 -0
  168. package/dist/chunk-YOBTHZVU.js +80 -0
  169. package/dist/chunk-ZTT6ZHU5.js +217 -0
  170. package/dist/cohort-RF4FT2NT.js +70 -0
  171. package/dist/condition-WXE2CFYT.js +327 -0
  172. package/dist/controls-AYF4H7UG.js +34 -0
  173. package/dist/controls.config-TXZKQNYC.js +34 -0
  174. package/dist/correlation-UAYMVVUS.js +95 -0
  175. package/dist/customdata.inputui-I7RFOGYM.js +284 -0
  176. package/dist/dataDownload-4AGSDSEO.js +329 -0
  177. package/dist/databrowser.ui-RGJEA2BI.js +425 -0
  178. package/dist/dictionary-AWWQXIRP.js +113 -0
  179. package/dist/dnaMethylation-PICKZS2M.js +33 -0
  180. package/dist/dnaMethylation.integration.spec-JUSB3CFZ.js +198 -0
  181. package/dist/dofetch-ZJMKEYN2.js +48 -0
  182. package/dist/e2pca-K4W7ZJZG.js +344 -0
  183. package/dist/ep-OY5YQMEF.js +1249 -0
  184. package/dist/expclust.gdc.spec-LYDBM3TZ.js +302 -0
  185. package/dist/facet-7NJHLLCZ.js +519 -0
  186. package/dist/gb-COV44BMA.js +81 -0
  187. package/dist/geneExpClustering-EQR5XX4J.js +244 -0
  188. package/dist/geneExpression-2BNDQ6S6.js +310 -0
  189. package/dist/geneExpression-PGB6WF5H.js +33 -0
  190. package/dist/geneExpression.unit.spec-OUNGGOJP.js +128 -0
  191. package/dist/geneORA-EKNEVQOS.js +273 -0
  192. package/dist/geneRanking-XUXLRERA.js +548 -0
  193. package/dist/geneVariant-JZDYV6LS.js +36 -0
  194. package/dist/geneVariant-KPZ2FYLK.js +289 -0
  195. package/dist/geneVariant.integration.spec-ISMLGTKC.js +503 -0
  196. package/dist/genefusion.ui-GRUXFC4U.js +303 -0
  197. package/dist/geneset-RM4XIX23.js +203 -0
  198. package/dist/genomeBrowser.spec-X7EOK2LS.js +276 -0
  199. package/dist/grin2-5XRUMYQO.js +949 -0
  200. package/dist/grin2-SWZLKD52.js +70 -0
  201. package/dist/hierCluster-I6T4XD3P.js +55 -0
  202. package/dist/hierCluster-XVDGUOW7.js +59 -0
  203. package/dist/hierCluster.config-66CKAAPG.js +36 -0
  204. package/dist/hierCluster.integration.spec-OEHHO2RT.js +483 -0
  205. package/dist/hierCluster.integration.spec-OEHHO2RT.js.map +7 -0
  206. package/dist/hierCluster.interactivity-B5ZNFF4R.js +49 -0
  207. package/dist/hierCluster.renderers-R2DTKTLI.js +19 -0
  208. package/dist/imagePlot-ZM4IVDJT.js +156 -0
  209. package/dist/importPlot-FQ65CZRI.js +8 -0
  210. package/dist/isoformExpression-BFCLGD2U.js +35 -0
  211. package/dist/isoformExpression.unit.spec-KYI4HI7U.js +237 -0
  212. package/dist/junction-BKH6RWOP.js +36 -0
  213. package/dist/junction.customTerm-VNQKP5I4.js +16 -0
  214. package/dist/junction.unit.spec-MQIHKSNE.js +182 -0
  215. package/dist/launch.adhoc-AHTCA2BP.js +37 -0
  216. package/dist/leftlabel.sample-LIBMKP22.js +258 -0
  217. package/dist/lollipop-26ZQH3EL.js +166 -0
  218. package/dist/maf-W3W2XJ5B.js +455 -0
  219. package/dist/maftimeline-LCJD5O2M.js +587 -0
  220. package/dist/matrix-H634EZWK.js +59 -0
  221. package/dist/matrix-O2AINT5M.js +54 -0
  222. package/dist/matrix.cells-3U3CUU5I.js +26 -0
  223. package/dist/matrix.config-F6IPB5B5.js +37 -0
  224. package/dist/matrix.data-KQNBNYC6.js +23 -0
  225. package/dist/matrix.dom-YQNX4IQO.js +11 -0
  226. package/dist/matrix.groups-QFL2ZDHD.js +26 -0
  227. package/dist/matrix.integration.spec-OVGSXJWO.js +3160 -0
  228. package/dist/matrix.interactivity-Q5ODZPDL.js +37 -0
  229. package/dist/matrix.layout-YPYM7FRY.js +39 -0
  230. package/dist/matrix.legend-ZO57ENXP.js +20 -0
  231. package/dist/matrix.renderers-NIGONKWO.js +34 -0
  232. package/dist/matrix.serieses-ZQD2U6RF.js +19 -0
  233. package/dist/matrix.sort-RZU65LR2.js +26 -0
  234. package/dist/matrix.sort.unit.spec-NDFK2A5C.js +468 -0
  235. package/dist/matrix.sorterUi-MVUI25W7.js +16 -0
  236. package/dist/matrix.sorterUi.unit.spec-4ZKNOV2L.js +338 -0
  237. package/dist/matrix.unit.spec-V5XNLECG.js +150 -0
  238. package/dist/mavb-LF7A7BDK.js +727 -0
  239. package/dist/mds.fimo-KJ4HPMZP.js +513 -0
  240. package/dist/mds.samplescatterplot-ZHNWWWYI.js +1545 -0
  241. package/dist/mds.survivalplot-DNG7I22N.js +477 -0
  242. package/dist/multivalue-SJQF7PHU.js +83 -0
  243. package/dist/numericDictTermCluster-O6PKT2FJ.js +63 -0
  244. package/dist/oncomatrix-YJCPKS72.js +290 -0
  245. package/dist/oncomatrix.spec-MWGBQCIQ.js +443 -0
  246. package/dist/plot.2dvaf-KIPQYNEH.js +372 -0
  247. package/dist/plot.app-WHG3SEOG.js +36 -0
  248. package/dist/plot.barplot-DTSYFUPC.js +97 -0
  249. package/dist/plot.boxplot-MQDULP3P.js +146 -0
  250. package/dist/plot.brainImaging-DGVJQSCH.js +51 -0
  251. package/dist/plot.disco-HYPRBLMQ.js +99 -0
  252. package/dist/plot.ssgq-J5MMN7OD.js +134 -0
  253. package/dist/plot.vaf2cov-CID7GQB5.js +253 -0
  254. package/dist/polar2-QTSO2HCB.js +232 -0
  255. package/dist/profileForms-SRR2M5OS.js +941 -0
  256. package/dist/profilePlot-NDC4S2SC.js +49 -0
  257. package/dist/proteinView-EFNQL3LD.js +1357 -0
  258. package/dist/proteomeCohortCompare-WMR53HEL.js +912 -0
  259. package/dist/pseudbulk.unit.spec-6MRZNXFI.js +86 -0
  260. package/dist/pseudobulk-O5EC44RY.js +35 -0
  261. package/dist/qualitative-W6MFYG7Z.js +38 -0
  262. package/dist/radar2-GIQILMWK.js +327 -0
  263. package/dist/radarFacility2-5YJZ5JCK.js +335 -0
  264. package/dist/rememberedGvQ.unit.spec-B6RQM5LQ.js +211 -0
  265. package/dist/render-2J4LR3UI.js +33 -0
  266. package/dist/report-MUMQK6XY.js +217 -0
  267. package/dist/sampleView-NKZMNBMH.js +43 -0
  268. package/dist/samplelst-X74JZMTR.js +106 -0
  269. package/dist/samplematrix-QDQXB5ZG.js +2193 -0
  270. package/dist/sc-FGHV5CBJ.js +81 -0
  271. package/dist/scatter-QFVRBA7F.js +925 -0
  272. package/dist/scatter-YXF5VQGZ.js +88 -0
  273. package/dist/selectGenomeWithTklst-DP4RPV7U.js +129 -0
  274. package/dist/singleCellCellType-XCHCMRR6.js +33 -0
  275. package/dist/singleCellCellType.unit.spec-S3JTP235.js +154 -0
  276. package/dist/singleCellGeneExpression-FD6REV7Y.js +33 -0
  277. package/dist/singleCellGeneExpression.unit.spec-PVMZYD4G.js +148 -0
  278. package/dist/singleCellNumericValue-SIITQPMD.js +33 -0
  279. package/dist/singleCellNumericValue.unit.spec-7PJEHLF7.js +416 -0
  280. package/dist/singleCellPlot-YJCFAYJW.js +48 -0
  281. package/dist/singlecell-6R7YK5P3.js +1566 -0
  282. package/dist/singlecell-KHMH732Y.js +81 -0
  283. package/dist/snp-HXCVSW2F.js +33 -0
  284. package/dist/snp.unit.spec-HXMFR4QS.js +171 -0
  285. package/dist/snplocus-YQVHAKBC.js +203 -0
  286. package/dist/spliceevent.a53ss.diagram-4IBTR3JD.js +146 -0
  287. package/dist/spliceevent.exonskip.diagram-5ZTG65CE.js +278 -0
  288. package/dist/spliceevent.noeventdiagram-WO5KSC45.js +455 -0
  289. package/dist/ssGSEA-VJ3LVYJV.js +33 -0
  290. package/dist/ssGSEA.unit.spec-JQIJ4NZP.js +83 -0
  291. package/dist/stattable-COVQSHRZ.js +117 -0
  292. package/dist/studyCatalog-EXVRH4FI.js +414 -0
  293. package/dist/summarizeCnvGeneexp-UJBTMXXH.js +158 -0
  294. package/dist/summarizeGeneexpSurvival-XLQJGDRY.js +105 -0
  295. package/dist/summarizeMutationCnv-7RWSXB6F.js +159 -0
  296. package/dist/summarizeMutationDiagnosis-42MG737O.js +35 -0
  297. package/dist/summarizeMutationSurvival-FWVKVEHK.js +99 -0
  298. package/dist/summary-NR26ZPQB.js +44 -0
  299. package/dist/summary.integration.spec-Z7JSUTGK.js +409 -0
  300. package/dist/summaryInput-DGKUOJVC.js +242 -0
  301. package/dist/sunburst-C5JNGFT7.js +278 -0
  302. package/dist/survival-GCEX3EAZ.js +53 -0
  303. package/dist/survival-OAQA5JQN.js +1248 -0
  304. package/dist/survival.integration.spec-ZX5RD6VQ.js +613 -0
  305. package/dist/svgraph-XCFZ2WAG.js +1382 -0
  306. package/dist/svmr-4XTTURHA.js +3837 -0
  307. package/dist/table-FQZ4UAH6.js +197 -0
  308. package/dist/termCollection-5QCR6LED.js +33 -0
  309. package/dist/termCollection-DN6A6HJU.js +252 -0
  310. package/dist/termCollection.unit.spec-RSSSXDHU.js +299 -0
  311. package/dist/termCollectionFractionSelection-OSN7FITY.js +42 -0
  312. package/dist/termCollectionFractionSelection.unit.spec-UW6D3DVK.js +188 -0
  313. package/dist/tk-4CZCVYBP.js +41 -0
  314. package/dist/tk-BIPJNXBZ.js +1121 -0
  315. package/dist/tp.ui-NI4U7567.js +1454 -0
  316. package/dist/tvs.density-CB24PXDE.js +19 -0
  317. package/dist/tvs.dt-YRDNDXUU.js +34 -0
  318. package/dist/tvs.dtcnv.categorical-REP4T33P.js +35 -0
  319. package/dist/tvs.dtcnv.continuous-K7OREEP5.js +67 -0
  320. package/dist/tvs.dtfusion-AB5MPH3Q.js +35 -0
  321. package/dist/tvs.dtitd-AFWU7ACY.js +35 -0
  322. package/dist/tvs.dtsnvindel-G7XQEKEO.js +35 -0
  323. package/dist/tvs.dtsv-Y6BEY4J2.js +35 -0
  324. package/dist/tvs.numeric-GF4XF5OF.js +20 -0
  325. package/dist/tvs.samplelst-XRRWPC2E.js +98 -0
  326. package/dist/tvs.termCollection-PL4AN3GA.js +122 -0
  327. package/dist/tvs.termCollection-PL4AN3GA.js.map +7 -0
  328. package/dist/vocabulary-DJZWOO6Q.js +36 -0
  329. package/dist/wsi.direct-XUWANMKV.js +8343 -0
  330. package/package.json +2 -2
  331. package/dist/2dmaf-7VZ536T5.js +0 -1367
  332. package/dist/AggMatrixInput-UTUOXTGA.js +0 -406
  333. package/dist/AggregateMatrix-X75HUZYO.js +0 -41
  334. package/dist/AppHeader-X2DR6VSM.js +0 -830
  335. package/dist/BoxPlot-NQMPJICU.js +0 -1211
  336. package/dist/BoxPlot-NQMPJICU.js.map +0 -7
  337. package/dist/CorrelationVolcano-IDBUJH2E.js +0 -617
  338. package/dist/Cuminc-BYFIMOLO.js +0 -1219
  339. package/dist/DE-BI7DHHW4.js +0 -89
  340. package/dist/DEinput-W66CT4U2.js +0 -501
  341. package/dist/DM-62TEJA3C.js +0 -90
  342. package/dist/DifferentialAnalysis-PRTA6CYW.js +0 -239
  343. package/dist/Disco-4JQP3FRW.js +0 -3389
  344. package/dist/Disco.UI-6RHAA5KU.js +0 -243
  345. package/dist/DmrPlot-VYQYMTQ7.js +0 -362
  346. package/dist/GB-LULUM5LH.js +0 -1392
  347. package/dist/GSEA-DT3SYXOZ.js +0 -875
  348. package/dist/GeneExpInput-UILWAGRH.js +0 -42
  349. package/dist/Geomap-AFKEGMR5.js +0 -84
  350. package/dist/HicApp-APDL5POY.js +0 -2245
  351. package/dist/IDCViewer-DQXAORHT.js +0 -10812
  352. package/dist/NumBinaryEditor-OUVIOEH7.js +0 -279
  353. package/dist/NumBinaryEditor.unit.spec-VBX2X4CT.js +0 -312
  354. package/dist/NumContEditor-JVPRBZPW.js +0 -105
  355. package/dist/NumContEditor.unit.spec-EQNB6RMI.js +0 -164
  356. package/dist/NumCustomBinEditor-E2SXZDF4.js +0 -33
  357. package/dist/NumCustomBinEditor.unit.spec-VLR7MGNL.js +0 -397
  358. package/dist/NumDiscreteEditor-CUA55FU3.js +0 -170
  359. package/dist/NumDiscreteEditor.unit.spec-7IPCMUDQ.js +0 -233
  360. package/dist/NumRegularBinEditor-CWU7YBEP.js +0 -33
  361. package/dist/NumRegularBinEditor.unit.spec-RGV3EUPC.js +0 -278
  362. package/dist/NumSplineEditor-PC5X7AUJ.js +0 -210
  363. package/dist/NumSplineEditor.unit.spec-QCR3RL5W.js +0 -224
  364. package/dist/NumericDensity-CFUEE5ZN.js +0 -33
  365. package/dist/NumericDensity.unit.spec-JOCVEC32.js +0 -418
  366. package/dist/NumericHandler-VL2Z55KF.js +0 -34
  367. package/dist/NumericHandler.unit.spec-ULM5FSSA.js +0 -214
  368. package/dist/ProteomeInput-3WKTVCYT.js +0 -388
  369. package/dist/Regression-M7AQTYXL.js +0 -1416
  370. package/dist/RunChart2-54SVOXJR.js +0 -749
  371. package/dist/SC-QRWDGHB2.js +0 -1183
  372. package/dist/SC-QRWDGHB2.js.map +0 -7
  373. package/dist/Violin-2AD6QRJB.js +0 -1081
  374. package/dist/Violin-2AD6QRJB.js.map +0 -7
  375. package/dist/Volcano-T57VFSWR.js +0 -2456
  376. package/dist/Wsi-U3U3EILE.js +0 -629
  377. package/dist/adSandbox-S3JP7XF3.js +0 -33
  378. package/dist/animatedBubbleChart-LZKNERIM.js +0 -547
  379. package/dist/app-2MERLGNJ.js +0 -42
  380. package/dist/app-ZNSUUOFJ.js +0 -32
  381. package/dist/bam-ESRPS4TQ.js +0 -876
  382. package/dist/barchart-BPUEO4RK.js +0 -42
  383. package/dist/barchart2-Z36PNSM2.js +0 -309
  384. package/dist/block-GEG4UUOU.js +0 -6250
  385. package/dist/block.init-SB6OX35E.js +0 -33
  386. package/dist/block.mds.expressionrank-2JLMS334.js +0 -354
  387. package/dist/block.mds.geneboxplot-BZMGG6G3.js +0 -823
  388. package/dist/block.mds.junction-636PWE2O.js +0 -1539
  389. package/dist/block.mds.svcnv-S4L2HMZW.js +0 -6796
  390. package/dist/block.svg-A7EABUXG.js +0 -159
  391. package/dist/block.tk.aicheck-KNFJVUTW.js +0 -278
  392. package/dist/block.tk.ase-BPU25OLX.js +0 -360
  393. package/dist/block.tk.bam-VC4CZCUS.js +0 -1901
  394. package/dist/block.tk.bedgraphdot-FQS4Z4RC.js +0 -379
  395. package/dist/block.tk.bigwig.ui-7STXSD3X.js +0 -206
  396. package/dist/block.tk.hicstraw-CVDCOMPP.js +0 -818
  397. package/dist/block.tk.junction-PG4RZFH3.js +0 -2358
  398. package/dist/block.tk.junction.textmatrixui-JRW4ZJIK.js +0 -194
  399. package/dist/block.tk.ld-DLDP2NHJ.js +0 -94
  400. package/dist/block.tk.menu-PWGFMKBQ.js +0 -1024
  401. package/dist/block.tk.pgv-HOBOXQIN.js +0 -938
  402. package/dist/brainImaging-GUQTOHQF.js +0 -555
  403. package/dist/brainRegions-JWBIBCTG.js +0 -217
  404. package/dist/bubbleHeatmap-EUO3DUVT.js +0 -378
  405. package/dist/cellTypeBubbleHeatmap-TIBGPZTB.js +0 -278
  406. package/dist/chunk-3CGAABHZ.js +0 -176
  407. package/dist/chunk-3ELYMSGO.js +0 -26
  408. package/dist/chunk-3QL3U6FU.js +0 -2853
  409. package/dist/chunk-3QL3U6FU.js.map +0 -7
  410. package/dist/chunk-3TV5WWUN.js +0 -339
  411. package/dist/chunk-4Y5W26UF.js +0 -424
  412. package/dist/chunk-5XE3WSUX.js +0 -6360
  413. package/dist/chunk-665X7R7S.js +0 -382
  414. package/dist/chunk-67URJYN7.js +0 -84
  415. package/dist/chunk-6MQPXWOR.js +0 -55
  416. package/dist/chunk-7DSL65G7.js +0 -14
  417. package/dist/chunk-A6F3CSXP.js +0 -626
  418. package/dist/chunk-A6F3CSXP.js.map +0 -7
  419. package/dist/chunk-A7OWXDYA.js +0 -129
  420. package/dist/chunk-A7OWXDYA.js.map +0 -7
  421. package/dist/chunk-AB6JQFIQ.js +0 -129
  422. package/dist/chunk-ACOHIDWO.js +0 -240
  423. package/dist/chunk-AIVPAC5Q.js +0 -102
  424. package/dist/chunk-AKKJFMW5.js +0 -4375
  425. package/dist/chunk-AR2UIN77.js +0 -255
  426. package/dist/chunk-AXF6SVNQ.js +0 -56
  427. package/dist/chunk-BLYD6SQO.js +0 -98
  428. package/dist/chunk-BSWPONNA.js +0 -550
  429. package/dist/chunk-BX3P73XH.js +0 -299
  430. package/dist/chunk-CSAS3PVJ.js +0 -24956
  431. package/dist/chunk-CSAS3PVJ.js.map +0 -7
  432. package/dist/chunk-CW35X5ZL.js +0 -5071
  433. package/dist/chunk-D4XHYQNS.js +0 -281
  434. package/dist/chunk-DH74ZT37.js +0 -141
  435. package/dist/chunk-E76UYIT2.js +0 -182
  436. package/dist/chunk-ELJX3QIQ.js +0 -424
  437. package/dist/chunk-ELJX3QIQ.js.map +0 -7
  438. package/dist/chunk-EM6KUVI5.js +0 -194
  439. package/dist/chunk-F4GYWCRF.js +0 -302
  440. package/dist/chunk-FJ3JD7B3.js +0 -59
  441. package/dist/chunk-FW3ME75U.js +0 -54
  442. package/dist/chunk-FXQXCOII.js +0 -101
  443. package/dist/chunk-FXQXCOII.js.map +0 -7
  444. package/dist/chunk-G2X2PN74.js +0 -783
  445. package/dist/chunk-G3QKTYUT.js +0 -2676
  446. package/dist/chunk-G5USS6FI.js +0 -56
  447. package/dist/chunk-GLPTPX45.js +0 -203
  448. package/dist/chunk-GPY6SBCX.js +0 -339
  449. package/dist/chunk-GWHIKECP.js +0 -1731
  450. package/dist/chunk-GWHIKECP.js.map +0 -7
  451. package/dist/chunk-GWVVEOYX.js +0 -263
  452. package/dist/chunk-HDV3LHCN.js +0 -379
  453. package/dist/chunk-HGXSYPU6.js +0 -2327
  454. package/dist/chunk-HMKEVTRM.js +0 -446
  455. package/dist/chunk-HPCKKXRK.js +0 -1233
  456. package/dist/chunk-IAB2PRIH.js +0 -396
  457. package/dist/chunk-IAB2PRIH.js.map +0 -7
  458. package/dist/chunk-J5JBHGRN.js +0 -31
  459. package/dist/chunk-JHOGTGIS.js +0 -1988
  460. package/dist/chunk-KCX54MGS.js +0 -480
  461. package/dist/chunk-KVRSO2OZ.js +0 -34
  462. package/dist/chunk-M367Y7ML.js +0 -140
  463. package/dist/chunk-M4PUW3ML.js +0 -243
  464. package/dist/chunk-ME325OQC.js +0 -562
  465. package/dist/chunk-NJWNKBRC.js +0 -468
  466. package/dist/chunk-O5FUHCNU.js +0 -397
  467. package/dist/chunk-ODHQPTHU.js +0 -134
  468. package/dist/chunk-PTQ4GQCS.js +0 -692
  469. package/dist/chunk-PUSSP76H.js +0 -70
  470. package/dist/chunk-Q3PAXUCU.js +0 -54
  471. package/dist/chunk-QWBKN2IC.js +0 -80
  472. package/dist/chunk-R4E7BXC6.js +0 -49
  473. package/dist/chunk-SDYFM3UL.js +0 -274
  474. package/dist/chunk-SP6WCXY6.js +0 -217
  475. package/dist/chunk-SRTZQOK7.js +0 -102
  476. package/dist/chunk-T4RYLTR3.js +0 -178
  477. package/dist/chunk-TANWA6SU.js +0 -54
  478. package/dist/chunk-TBIHBC5V.js +0 -170
  479. package/dist/chunk-TGTCOCPF.js +0 -1278
  480. package/dist/chunk-TOFOT2BN.js +0 -294
  481. package/dist/chunk-UOYIPBTX.js +0 -217
  482. package/dist/chunk-USULBM4V.js +0 -2784
  483. package/dist/chunk-UYKJOBRO.js +0 -1616
  484. package/dist/chunk-UYKJOBRO.js.map +0 -7
  485. package/dist/chunk-V3WSMWBF.js +0 -123
  486. package/dist/chunk-VTHZGUSZ.js +0 -2146
  487. package/dist/chunk-VTHZGUSZ.js.map +0 -7
  488. package/dist/chunk-WMQDFVJK.js +0 -103
  489. package/dist/chunk-WTQQWFV4.js +0 -38
  490. package/dist/chunk-XDLKYVYU.js +0 -276
  491. package/dist/chunk-XNJN5J3U.js +0 -37
  492. package/dist/chunk-XQLOEZ7T.js +0 -158
  493. package/dist/chunk-XQLOEZ7T.js.map +0 -7
  494. package/dist/chunk-Y3SDMRDX.js +0 -119
  495. package/dist/chunk-Y5FE3G6J.js +0 -518
  496. package/dist/chunk-YMEWZVRG.js +0 -237
  497. package/dist/chunk-YPHFEKWI.js +0 -1339
  498. package/dist/chunk-Z4HW3FEE.js +0 -272
  499. package/dist/cohort-NYFUILFO.js +0 -70
  500. package/dist/condition-6M4AVISY.js +0 -327
  501. package/dist/controls-LMTWS3SY.js +0 -34
  502. package/dist/controls.config-4PK7HLFJ.js +0 -34
  503. package/dist/correlation-X6GB6ITK.js +0 -95
  504. package/dist/customdata.inputui-MDG3BTTG.js +0 -284
  505. package/dist/dataDownload-TFRI3VFM.js +0 -329
  506. package/dist/databrowser.ui-L2K7VVDW.js +0 -425
  507. package/dist/dictionary-MS6R3VNY.js +0 -113
  508. package/dist/dnaMethylation-2KYSQWNE.js +0 -33
  509. package/dist/dnaMethylation.integration.spec-2BHNKOGN.js +0 -198
  510. package/dist/dofetch-BETN7HEX.js +0 -48
  511. package/dist/e2pca-QC2EI5JM.js +0 -344
  512. package/dist/ep-BTRMR4OT.js +0 -1249
  513. package/dist/expclust.gdc.spec-C5ZMBCGO.js +0 -302
  514. package/dist/facet-LPXKLX53.js +0 -519
  515. package/dist/gb-PHJ2SM5D.js +0 -81
  516. package/dist/geneExpClustering-OXZJHEPD.js +0 -244
  517. package/dist/geneExpression-54RGEGML.js +0 -310
  518. package/dist/geneExpression-FLBQXMSX.js +0 -33
  519. package/dist/geneExpression.unit.spec-ZCE7G6HI.js +0 -128
  520. package/dist/geneORA-TELI5AFV.js +0 -273
  521. package/dist/geneRanking-7YZA5GNG.js +0 -548
  522. package/dist/geneVariant-NJYUEY4C.js +0 -36
  523. package/dist/geneVariant-VKWTXUMK.js +0 -289
  524. package/dist/geneVariant.integration.spec-RWYP523U.js +0 -503
  525. package/dist/genefusion.ui-B6J7I3RA.js +0 -303
  526. package/dist/geneset-VG4SFYML.js +0 -203
  527. package/dist/genomeBrowser.spec-5IS5Y2NG.js +0 -276
  528. package/dist/grin2-3T6KRC34.js +0 -70
  529. package/dist/grin2-FOOH736B.js +0 -949
  530. package/dist/hierCluster-WLAFGZAT.js +0 -55
  531. package/dist/hierCluster-XBL2TOOL.js +0 -59
  532. package/dist/hierCluster.config-VCBRBGDZ.js +0 -36
  533. package/dist/hierCluster.integration.spec-TNJD2QT6.js +0 -483
  534. package/dist/hierCluster.integration.spec-TNJD2QT6.js.map +0 -7
  535. package/dist/hierCluster.interactivity-PEEJ3BRC.js +0 -49
  536. package/dist/hierCluster.renderers-7ESGKIGM.js +0 -19
  537. package/dist/imagePlot-LWL6JMKM.js +0 -156
  538. package/dist/importPlot-CLBY6QZN.js +0 -8
  539. package/dist/isoformExpression-36P3BBN7.js +0 -35
  540. package/dist/isoformExpression.unit.spec-SF2SPTRC.js +0 -237
  541. package/dist/junction-B7DSIG4E.js +0 -36
  542. package/dist/junction.customTerm-7VZS4JDE.js +0 -16
  543. package/dist/junction.unit.spec-4MWU36MR.js +0 -182
  544. package/dist/launch.adhoc-3B34GV4S.js +0 -37
  545. package/dist/leftlabel.sample-6OM5H67E.js +0 -258
  546. package/dist/lollipop-SL2F5G6K.js +0 -166
  547. package/dist/maf-FRYGN5GR.js +0 -455
  548. package/dist/maftimeline-3UFWS73J.js +0 -587
  549. package/dist/matrix-DDKSOJ4C.js +0 -59
  550. package/dist/matrix-H2ZH2QKC.js +0 -54
  551. package/dist/matrix.cells-JTMC35SK.js +0 -26
  552. package/dist/matrix.config-EUBXWEBS.js +0 -37
  553. package/dist/matrix.data-CO5RBWY5.js +0 -23
  554. package/dist/matrix.dom-2SA43BPT.js +0 -11
  555. package/dist/matrix.groups-AKOJ2W6U.js +0 -26
  556. package/dist/matrix.integration.spec-66KNZO3S.js +0 -3160
  557. package/dist/matrix.interactivity-DY5YJIYB.js +0 -37
  558. package/dist/matrix.layout-MQQNHBI2.js +0 -39
  559. package/dist/matrix.legend-CGU7T6GF.js +0 -20
  560. package/dist/matrix.renderers-HC7PJN4B.js +0 -34
  561. package/dist/matrix.serieses-W4L6ZO37.js +0 -19
  562. package/dist/matrix.sort-T74DWFB2.js +0 -26
  563. package/dist/matrix.sort.unit.spec-EQEHQXTO.js +0 -468
  564. package/dist/matrix.sorterUi-GFQG4HFV.js +0 -16
  565. package/dist/matrix.sorterUi.unit.spec-XQHFOEYE.js +0 -338
  566. package/dist/matrix.unit.spec-4ZWUGZUC.js +0 -150
  567. package/dist/mavb-3CL5OHWB.js +0 -727
  568. package/dist/mds.fimo-2RFJQKJM.js +0 -513
  569. package/dist/mds.samplescatterplot-X6CXMY4C.js +0 -1545
  570. package/dist/mds.survivalplot-57NIKSSH.js +0 -477
  571. package/dist/multivalue-3TUGYL4J.js +0 -83
  572. package/dist/numericDictTermCluster-RLX5CLTN.js +0 -63
  573. package/dist/oncomatrix-COK76MJN.js +0 -290
  574. package/dist/oncomatrix.spec-SO3ZN5BF.js +0 -443
  575. package/dist/plot.2dvaf-TETCE4VG.js +0 -372
  576. package/dist/plot.app-5YUAVZA4.js +0 -36
  577. package/dist/plot.barplot-JUGY5Z7A.js +0 -97
  578. package/dist/plot.boxplot-QZXICT7J.js +0 -146
  579. package/dist/plot.brainImaging-2F6E6QS4.js +0 -51
  580. package/dist/plot.disco-H4P4B6QS.js +0 -99
  581. package/dist/plot.ssgq-LEQF3STZ.js +0 -134
  582. package/dist/plot.vaf2cov-UBMD2CN7.js +0 -253
  583. package/dist/polar2-AVEZM2T5.js +0 -232
  584. package/dist/profileForms-CUSUGTPC.js +0 -941
  585. package/dist/profilePlot-67Z7AXQ4.js +0 -49
  586. package/dist/proteinView-7K7VHGX3.js +0 -1357
  587. package/dist/proteomeCohortCompare-MRGH6HHI.js +0 -912
  588. package/dist/pseudbulk.unit.spec-ZHDL6GIM.js +0 -86
  589. package/dist/pseudobulk-ZNXPF7QB.js +0 -35
  590. package/dist/qualitative-QXMZHDWU.js +0 -38
  591. package/dist/radar2-QJDGNLED.js +0 -327
  592. package/dist/radarFacility2-LGGOOWX4.js +0 -335
  593. package/dist/rememberedGvQ.unit.spec-YKUMMYFT.js +0 -211
  594. package/dist/render-LSSRZJY3.js +0 -33
  595. package/dist/report-TTECPO44.js +0 -217
  596. package/dist/sampleView-EFS2UBRS.js +0 -43
  597. package/dist/samplelst-FXULLJBO.js +0 -106
  598. package/dist/samplematrix-MNFCXOWO.js +0 -2193
  599. package/dist/sc-2BUOXML2.js +0 -81
  600. package/dist/scatter-AVRTALYY.js +0 -925
  601. package/dist/scatter-CPEIVL3K.js +0 -88
  602. package/dist/selectGenomeWithTklst-3BG2ZPPN.js +0 -129
  603. package/dist/singleCellCellType-QLAEBVN2.js +0 -33
  604. package/dist/singleCellCellType.unit.spec-P4NAWYKL.js +0 -154
  605. package/dist/singleCellGeneExpression-IZ2PMDDL.js +0 -33
  606. package/dist/singleCellGeneExpression.unit.spec-DKBZICJM.js +0 -148
  607. package/dist/singleCellNumericValue-NB3QFH7H.js +0 -33
  608. package/dist/singleCellNumericValue.unit.spec-ZKK2KWRQ.js +0 -416
  609. package/dist/singleCellPlot-ZU655L4Z.js +0 -48
  610. package/dist/singlecell-NKPTXVHW.js +0 -1566
  611. package/dist/singlecell-PEIEFXVU.js +0 -81
  612. package/dist/snp-G55JGINX.js +0 -33
  613. package/dist/snp.unit.spec-47CCZKJO.js +0 -171
  614. package/dist/snplocus-TRVAEAPF.js +0 -203
  615. package/dist/spliceevent.a53ss.diagram-FL2R6F22.js +0 -146
  616. package/dist/spliceevent.exonskip.diagram-XDZWTJXR.js +0 -278
  617. package/dist/spliceevent.noeventdiagram-L322N534.js +0 -455
  618. package/dist/ssGSEA-DZY4LFQY.js +0 -33
  619. package/dist/ssGSEA.unit.spec-P6C3VTVZ.js +0 -83
  620. package/dist/stattable-R7O6OIMB.js +0 -117
  621. package/dist/studyCatalog-OMDE4JRD.js +0 -414
  622. package/dist/summarizeCnvGeneexp-A7HW6FJI.js +0 -158
  623. package/dist/summarizeGeneexpSurvival-ODI4HGFH.js +0 -105
  624. package/dist/summarizeMutationCnv-C2YB73OL.js +0 -159
  625. package/dist/summarizeMutationDiagnosis-4Y322NYU.js +0 -35
  626. package/dist/summarizeMutationSurvival-7IHNURLC.js +0 -99
  627. package/dist/summary-E4L5MZTF.js +0 -44
  628. package/dist/summary.integration.spec-SDCGE6BQ.js +0 -409
  629. package/dist/summaryInput-DHIMU5DM.js +0 -242
  630. package/dist/sunburst-ULNPFEAM.js +0 -278
  631. package/dist/survival-CU4N5KZO.js +0 -53
  632. package/dist/survival-KWWH6REE.js +0 -1248
  633. package/dist/survival.integration.spec-UW6SYVLP.js +0 -613
  634. package/dist/svgraph-HFI6NNF3.js +0 -1382
  635. package/dist/svmr-VHS7Z4SO.js +0 -3837
  636. package/dist/table-GJUXHKQI.js +0 -197
  637. package/dist/termCollection-CCZ4BFIU.js +0 -33
  638. package/dist/termCollection-O5CQ472U.js +0 -252
  639. package/dist/termCollection.unit.spec-KR5G6JFU.js +0 -299
  640. package/dist/termCollectionFractionSelection-IKU5MFBT.js +0 -42
  641. package/dist/termCollectionFractionSelection.unit.spec-6ZWHNGES.js +0 -188
  642. package/dist/tk-3DLMAFW7.js +0 -41
  643. package/dist/tk-CAYWF7LX.js +0 -1121
  644. package/dist/tp.ui-NF5ZYOHW.js +0 -1454
  645. package/dist/tvs.density-V6ZXSFGF.js +0 -19
  646. package/dist/tvs.dt-43A4SSLG.js +0 -34
  647. package/dist/tvs.dtcnv.categorical-DYXHUNP2.js +0 -35
  648. package/dist/tvs.dtcnv.continuous-NOKNP4UG.js +0 -67
  649. package/dist/tvs.dtfusion-4NAOCC2X.js +0 -35
  650. package/dist/tvs.dtitd-SZC6EITI.js +0 -35
  651. package/dist/tvs.dtsnvindel-EYSBCNQK.js +0 -35
  652. package/dist/tvs.dtsv-VSPWIIFO.js +0 -35
  653. package/dist/tvs.numeric-M5LH3PRH.js +0 -20
  654. package/dist/tvs.samplelst-3YQ4GKNG.js +0 -98
  655. package/dist/tvs.termCollection-EVM4ATPW.js +0 -124
  656. package/dist/tvs.termCollection-EVM4ATPW.js.map +0 -7
  657. package/dist/vocabulary-HCPEIO2P.js +0 -36
  658. package/dist/wsi.direct-K2J6GGWY.js +0 -8343
  659. /package/dist/{2dmaf-7VZ536T5.js.map → 2dmaf-FEZRNHDF.js.map} +0 -0
  660. /package/dist/{AggMatrixInput-UTUOXTGA.js.map → AggMatrixInput-6FJIELYO.js.map} +0 -0
  661. /package/dist/{AggregateMatrix-X75HUZYO.js.map → AggregateMatrix-MUPBUGIZ.js.map} +0 -0
  662. /package/dist/{AppHeader-X2DR6VSM.js.map → AppHeader-ZTNZ62UL.js.map} +0 -0
  663. /package/dist/{CorrelationVolcano-IDBUJH2E.js.map → CorrelationVolcano-42NYXAXG.js.map} +0 -0
  664. /package/dist/{Cuminc-BYFIMOLO.js.map → Cuminc-6AKLT6HF.js.map} +0 -0
  665. /package/dist/{DE-BI7DHHW4.js.map → DE-KJHFZWND.js.map} +0 -0
  666. /package/dist/{DEinput-W66CT4U2.js.map → DEinput-HXB3LYZW.js.map} +0 -0
  667. /package/dist/{DM-62TEJA3C.js.map → DM-AAHX4PLH.js.map} +0 -0
  668. /package/dist/{DifferentialAnalysis-PRTA6CYW.js.map → DifferentialAnalysis-JX4EDEOY.js.map} +0 -0
  669. /package/dist/{Disco-4JQP3FRW.js.map → Disco-GXKO4QQH.js.map} +0 -0
  670. /package/dist/{Disco.UI-6RHAA5KU.js.map → Disco.UI-DGD4RXJP.js.map} +0 -0
  671. /package/dist/{DmrPlot-VYQYMTQ7.js.map → DmrPlot-DQ3XTMTN.js.map} +0 -0
  672. /package/dist/{GB-LULUM5LH.js.map → GB-OUWNNBBK.js.map} +0 -0
  673. /package/dist/{GSEA-DT3SYXOZ.js.map → GSEA-DSKGFAPG.js.map} +0 -0
  674. /package/dist/{GeneExpInput-UILWAGRH.js.map → GeneExpInput-FZLOBE2Q.js.map} +0 -0
  675. /package/dist/{Geomap-AFKEGMR5.js.map → Geomap-GP5KD3OX.js.map} +0 -0
  676. /package/dist/{HicApp-APDL5POY.js.map → HicApp-2N6WYWZX.js.map} +0 -0
  677. /package/dist/{IDCViewer-DQXAORHT.js.map → IDCViewer-MSUC7IXX.js.map} +0 -0
  678. /package/dist/{NumBinaryEditor-OUVIOEH7.js.map → NumBinaryEditor-C4G2IH36.js.map} +0 -0
  679. /package/dist/{NumBinaryEditor.unit.spec-VBX2X4CT.js.map → NumBinaryEditor.unit.spec-ZAVAUGXA.js.map} +0 -0
  680. /package/dist/{NumContEditor-JVPRBZPW.js.map → NumContEditor-VEEMMWHX.js.map} +0 -0
  681. /package/dist/{NumContEditor.unit.spec-EQNB6RMI.js.map → NumContEditor.unit.spec-65ORC42O.js.map} +0 -0
  682. /package/dist/{NumCustomBinEditor-E2SXZDF4.js.map → NumCustomBinEditor-YIUHJAXP.js.map} +0 -0
  683. /package/dist/{NumCustomBinEditor.unit.spec-VLR7MGNL.js.map → NumCustomBinEditor.unit.spec-NT5VK2LO.js.map} +0 -0
  684. /package/dist/{NumDiscreteEditor-CUA55FU3.js.map → NumDiscreteEditor-A4WELAJH.js.map} +0 -0
  685. /package/dist/{NumDiscreteEditor.unit.spec-7IPCMUDQ.js.map → NumDiscreteEditor.unit.spec-7QABM6KK.js.map} +0 -0
  686. /package/dist/{NumRegularBinEditor-CWU7YBEP.js.map → NumRegularBinEditor-IPVPLSQY.js.map} +0 -0
  687. /package/dist/{NumRegularBinEditor.unit.spec-RGV3EUPC.js.map → NumRegularBinEditor.unit.spec-Q4DMWATB.js.map} +0 -0
  688. /package/dist/{NumSplineEditor-PC5X7AUJ.js.map → NumSplineEditor-5E6CIWLP.js.map} +0 -0
  689. /package/dist/{NumSplineEditor.unit.spec-QCR3RL5W.js.map → NumSplineEditor.unit.spec-DHJF5F6H.js.map} +0 -0
  690. /package/dist/{NumericDensity-CFUEE5ZN.js.map → NumericDensity-GXMWWK2A.js.map} +0 -0
  691. /package/dist/{NumericDensity.unit.spec-JOCVEC32.js.map → NumericDensity.unit.spec-OAPOMSEW.js.map} +0 -0
  692. /package/dist/{NumericHandler-VL2Z55KF.js.map → NumericHandler-H5WHGFXD.js.map} +0 -0
  693. /package/dist/{NumericHandler.unit.spec-ULM5FSSA.js.map → NumericHandler.unit.spec-PBNOJEMS.js.map} +0 -0
  694. /package/dist/{ProteomeInput-3WKTVCYT.js.map → ProteomeInput-ZA7R5S43.js.map} +0 -0
  695. /package/dist/{Regression-M7AQTYXL.js.map → Regression-WSWTSXFX.js.map} +0 -0
  696. /package/dist/{RunChart2-54SVOXJR.js.map → RunChart2-J5CTJI5C.js.map} +0 -0
  697. /package/dist/{Volcano-T57VFSWR.js.map → Volcano-4IEQIEDS.js.map} +0 -0
  698. /package/dist/{Wsi-U3U3EILE.js.map → Wsi-LJ6AY5RI.js.map} +0 -0
  699. /package/dist/{adSandbox-S3JP7XF3.js.map → adSandbox-EIN4KEML.js.map} +0 -0
  700. /package/dist/{animatedBubbleChart-LZKNERIM.js.map → animatedBubbleChart-LINYUKMD.js.map} +0 -0
  701. /package/dist/{app-2MERLGNJ.js.map → app-SE7UQ5DB.js.map} +0 -0
  702. /package/dist/{app-ZNSUUOFJ.js.map → app-VGMZNGWP.js.map} +0 -0
  703. /package/dist/{bam-ESRPS4TQ.js.map → bam-ZXEZWRSZ.js.map} +0 -0
  704. /package/dist/{barchart-BPUEO4RK.js.map → barchart-N4B4C2FO.js.map} +0 -0
  705. /package/dist/{barchart2-Z36PNSM2.js.map → barchart2-EDVEWTVX.js.map} +0 -0
  706. /package/dist/{block-GEG4UUOU.js.map → block-E7YUGCHL.js.map} +0 -0
  707. /package/dist/{block.init-SB6OX35E.js.map → block.init-FSOCF2IM.js.map} +0 -0
  708. /package/dist/{block.mds.expressionrank-2JLMS334.js.map → block.mds.expressionrank-EDBTITXU.js.map} +0 -0
  709. /package/dist/{block.mds.geneboxplot-BZMGG6G3.js.map → block.mds.geneboxplot-GG5672SY.js.map} +0 -0
  710. /package/dist/{block.mds.junction-636PWE2O.js.map → block.mds.junction-HUC4S24K.js.map} +0 -0
  711. /package/dist/{block.mds.svcnv-S4L2HMZW.js.map → block.mds.svcnv-EQHYCIBU.js.map} +0 -0
  712. /package/dist/{block.svg-A7EABUXG.js.map → block.svg-HBVPUQJ2.js.map} +0 -0
  713. /package/dist/{block.tk.aicheck-KNFJVUTW.js.map → block.tk.aicheck-TRJ5IIWZ.js.map} +0 -0
  714. /package/dist/{block.tk.ase-BPU25OLX.js.map → block.tk.ase-COV7YYYO.js.map} +0 -0
  715. /package/dist/{block.tk.bam-VC4CZCUS.js.map → block.tk.bam-MDSLY6NH.js.map} +0 -0
  716. /package/dist/{block.tk.bedgraphdot-FQS4Z4RC.js.map → block.tk.bedgraphdot-MKWEL53X.js.map} +0 -0
  717. /package/dist/{block.tk.bigwig.ui-7STXSD3X.js.map → block.tk.bigwig.ui-UKKJX7TA.js.map} +0 -0
  718. /package/dist/{block.tk.hicstraw-CVDCOMPP.js.map → block.tk.hicstraw-6LNXEIOF.js.map} +0 -0
  719. /package/dist/{block.tk.junction-PG4RZFH3.js.map → block.tk.junction-F3SERFFD.js.map} +0 -0
  720. /package/dist/{block.tk.junction.textmatrixui-JRW4ZJIK.js.map → block.tk.junction.textmatrixui-2XUMSKLS.js.map} +0 -0
  721. /package/dist/{block.tk.ld-DLDP2NHJ.js.map → block.tk.ld-COP5RUJJ.js.map} +0 -0
  722. /package/dist/{block.tk.menu-PWGFMKBQ.js.map → block.tk.menu-SRDPD44N.js.map} +0 -0
  723. /package/dist/{block.tk.pgv-HOBOXQIN.js.map → block.tk.pgv-3SVINTXN.js.map} +0 -0
  724. /package/dist/{brainImaging-GUQTOHQF.js.map → brainImaging-UNBA4KA3.js.map} +0 -0
  725. /package/dist/{brainRegions-JWBIBCTG.js.map → brainRegions-DC6TQB53.js.map} +0 -0
  726. /package/dist/{bubbleHeatmap-EUO3DUVT.js.map → bubbleHeatmap-X3W3AZJY.js.map} +0 -0
  727. /package/dist/{cellTypeBubbleHeatmap-TIBGPZTB.js.map → cellTypeBubbleHeatmap-LFI6TGOO.js.map} +0 -0
  728. /package/dist/{chunk-SRTZQOK7.js.map → chunk-2ANFUNS3.js.map} +0 -0
  729. /package/dist/{chunk-TGTCOCPF.js.map → chunk-2G4SFRWC.js.map} +0 -0
  730. /package/dist/{chunk-Q3PAXUCU.js.map → chunk-2WKGE7BO.js.map} +0 -0
  731. /package/dist/{chunk-YMEWZVRG.js.map → chunk-3CGMCYZB.js.map} +0 -0
  732. /package/dist/{chunk-6MQPXWOR.js.map → chunk-3I4DBVLM.js.map} +0 -0
  733. /package/dist/{chunk-O5FUHCNU.js.map → chunk-42VFF74T.js.map} +0 -0
  734. /package/dist/{chunk-BLYD6SQO.js.map → chunk-4HTRCXLS.js.map} +0 -0
  735. /package/dist/{chunk-D4XHYQNS.js.map → chunk-55T2AMJ3.js.map} +0 -0
  736. /package/dist/{chunk-GLPTPX45.js.map → chunk-5JDG5NNA.js.map} +0 -0
  737. /package/dist/{chunk-3TV5WWUN.js.map → chunk-6AFMWQXZ.js.map} +0 -0
  738. /package/dist/{chunk-TOFOT2BN.js.map → chunk-6ECKCC4X.js.map} +0 -0
  739. /package/dist/{chunk-BX3P73XH.js.map → chunk-6QMC7LFA.js.map} +0 -0
  740. /package/dist/{chunk-7DSL65G7.js.map → chunk-72L6NTNT.js.map} +0 -0
  741. /package/dist/{chunk-EM6KUVI5.js.map → chunk-7ISAV37C.js.map} +0 -0
  742. /package/dist/{chunk-R4E7BXC6.js.map → chunk-A32XQLMP.js.map} +0 -0
  743. /package/dist/{chunk-SDYFM3UL.js.map → chunk-A3MYBXG3.js.map} +0 -0
  744. /package/dist/{chunk-YPHFEKWI.js.map → chunk-AU3Y6IQF.js.map} +0 -0
  745. /package/dist/{chunk-NJWNKBRC.js.map → chunk-AXL3CC4U.js.map} +0 -0
  746. /package/dist/{chunk-3ELYMSGO.js.map → chunk-BSWVDH75.js.map} +0 -0
  747. /package/dist/{chunk-4Y5W26UF.js.map → chunk-CME6DYDH.js.map} +0 -0
  748. /package/dist/{chunk-Y3SDMRDX.js.map → chunk-DD3DWHUY.js.map} +0 -0
  749. /package/dist/{chunk-HGXSYPU6.js.map → chunk-DKED35KW.js.map} +0 -0
  750. /package/dist/{chunk-AR2UIN77.js.map → chunk-DPGALT5N.js.map} +0 -0
  751. /package/dist/{chunk-AB6JQFIQ.js.map → chunk-DPTGY4BW.js.map} +0 -0
  752. /package/dist/{chunk-HDV3LHCN.js.map → chunk-DQD4MTK4.js.map} +0 -0
  753. /package/dist/{chunk-M4PUW3ML.js.map → chunk-EFLRT7JY.js.map} +0 -0
  754. /package/dist/{chunk-KVRSO2OZ.js.map → chunk-EMSO3BNW.js.map} +0 -0
  755. /package/dist/{chunk-XDLKYVYU.js.map → chunk-F5QB5YEE.js.map} +0 -0
  756. /package/dist/{chunk-E76UYIT2.js.map → chunk-FKSR53VK.js.map} +0 -0
  757. /package/dist/{chunk-T4RYLTR3.js.map → chunk-FSWBNSQD.js.map} +0 -0
  758. /package/dist/{chunk-XNJN5J3U.js.map → chunk-G6ZIO5T3.js.map} +0 -0
  759. /package/dist/{chunk-ME325OQC.js.map → chunk-HTZJQNHP.js.map} +0 -0
  760. /package/dist/{chunk-G5USS6FI.js.map → chunk-ITYNHDDD.js.map} +0 -0
  761. /package/dist/{chunk-TBIHBC5V.js.map → chunk-IWVCFZHQ.js.map} +0 -0
  762. /package/dist/{chunk-GWVVEOYX.js.map → chunk-J4WRX5G6.js.map} +0 -0
  763. /package/dist/{chunk-GPY6SBCX.js.map → chunk-JZLIHI6A.js.map} +0 -0
  764. /package/dist/{chunk-WMQDFVJK.js.map → chunk-KJGYGPJZ.js.map} +0 -0
  765. /package/dist/{chunk-UOYIPBTX.js.map → chunk-L3UFI52T.js.map} +0 -0
  766. /package/dist/{chunk-PTQ4GQCS.js.map → chunk-L4ZPMF7E.js.map} +0 -0
  767. /package/dist/{chunk-F4GYWCRF.js.map → chunk-L62JI5UL.js.map} +0 -0
  768. /package/dist/{chunk-Y5FE3G6J.js.map → chunk-MRPYHLFW.js.map} +0 -0
  769. /package/dist/{chunk-G2X2PN74.js.map → chunk-MVWJHZ5G.js.map} +0 -0
  770. /package/dist/{chunk-ODHQPTHU.js.map → chunk-NGWU4QLU.js.map} +0 -0
  771. /package/dist/{chunk-3CGAABHZ.js.map → chunk-OC2FSBFB.js.map} +0 -0
  772. /package/dist/{chunk-M367Y7ML.js.map → chunk-OGRDLK57.js.map} +0 -0
  773. /package/dist/{chunk-5XE3WSUX.js.map → chunk-OYBYKZUR.js.map} +0 -0
  774. /package/dist/{chunk-665X7R7S.js.map → chunk-PFRPC2SY.js.map} +0 -0
  775. /package/dist/{chunk-Z4HW3FEE.js.map → chunk-PLHOCPJD.js.map} +0 -0
  776. /package/dist/{chunk-AIVPAC5Q.js.map → chunk-PQDZLOY7.js.map} +0 -0
  777. /package/dist/{chunk-PUSSP76H.js.map → chunk-QDNUIS2Y.js.map} +0 -0
  778. /package/dist/{chunk-G3QKTYUT.js.map → chunk-RHOMR2GY.js.map} +0 -0
  779. /package/dist/{chunk-J5JBHGRN.js.map → chunk-SKF6HQ74.js.map} +0 -0
  780. /package/dist/{chunk-HMKEVTRM.js.map → chunk-SPFK5XZH.js.map} +0 -0
  781. /package/dist/{chunk-DH74ZT37.js.map → chunk-SQGAWR2L.js.map} +0 -0
  782. /package/dist/{chunk-67URJYN7.js.map → chunk-TGKWEAUE.js.map} +0 -0
  783. /package/dist/{chunk-HPCKKXRK.js.map → chunk-UKOOGNUF.js.map} +0 -0
  784. /package/dist/{chunk-V3WSMWBF.js.map → chunk-UL5PEVZW.js.map} +0 -0
  785. /package/dist/{chunk-USULBM4V.js.map → chunk-UTMIX2H2.js.map} +0 -0
  786. /package/dist/{chunk-AXF6SVNQ.js.map → chunk-UZNFOCE7.js.map} +0 -0
  787. /package/dist/{chunk-BSWPONNA.js.map → chunk-V7UVHM57.js.map} +0 -0
  788. /package/dist/{chunk-JHOGTGIS.js.map → chunk-VP2JWT5W.js.map} +0 -0
  789. /package/dist/{chunk-KCX54MGS.js.map → chunk-VSTHBKQW.js.map} +0 -0
  790. /package/dist/{chunk-WTQQWFV4.js.map → chunk-W7A4QXZ7.js.map} +0 -0
  791. /package/dist/{chunk-FJ3JD7B3.js.map → chunk-WKCVZIN7.js.map} +0 -0
  792. /package/dist/{chunk-TANWA6SU.js.map → chunk-X7TJBXJJ.js.map} +0 -0
  793. /package/dist/{chunk-AKKJFMW5.js.map → chunk-XEEMCYP6.js.map} +0 -0
  794. /package/dist/{chunk-FW3ME75U.js.map → chunk-XTQWAVWJ.js.map} +0 -0
  795. /package/dist/{chunk-CW35X5ZL.js.map → chunk-YAN2MOON.js.map} +0 -0
  796. /package/dist/{chunk-ACOHIDWO.js.map → chunk-YCORHJ64.js.map} +0 -0
  797. /package/dist/{chunk-QWBKN2IC.js.map → chunk-YOBTHZVU.js.map} +0 -0
  798. /package/dist/{chunk-SP6WCXY6.js.map → chunk-ZTT6ZHU5.js.map} +0 -0
  799. /package/dist/{cohort-NYFUILFO.js.map → cohort-RF4FT2NT.js.map} +0 -0
  800. /package/dist/{condition-6M4AVISY.js.map → condition-WXE2CFYT.js.map} +0 -0
  801. /package/dist/{controls-LMTWS3SY.js.map → controls-AYF4H7UG.js.map} +0 -0
  802. /package/dist/{controls.config-4PK7HLFJ.js.map → controls.config-TXZKQNYC.js.map} +0 -0
  803. /package/dist/{correlation-X6GB6ITK.js.map → correlation-UAYMVVUS.js.map} +0 -0
  804. /package/dist/{customdata.inputui-MDG3BTTG.js.map → customdata.inputui-I7RFOGYM.js.map} +0 -0
  805. /package/dist/{dataDownload-TFRI3VFM.js.map → dataDownload-4AGSDSEO.js.map} +0 -0
  806. /package/dist/{databrowser.ui-L2K7VVDW.js.map → databrowser.ui-RGJEA2BI.js.map} +0 -0
  807. /package/dist/{dictionary-MS6R3VNY.js.map → dictionary-AWWQXIRP.js.map} +0 -0
  808. /package/dist/{dnaMethylation-2KYSQWNE.js.map → dnaMethylation-PICKZS2M.js.map} +0 -0
  809. /package/dist/{dnaMethylation.integration.spec-2BHNKOGN.js.map → dnaMethylation.integration.spec-JUSB3CFZ.js.map} +0 -0
  810. /package/dist/{dofetch-BETN7HEX.js.map → dofetch-ZJMKEYN2.js.map} +0 -0
  811. /package/dist/{e2pca-QC2EI5JM.js.map → e2pca-K4W7ZJZG.js.map} +0 -0
  812. /package/dist/{ep-BTRMR4OT.js.map → ep-OY5YQMEF.js.map} +0 -0
  813. /package/dist/{expclust.gdc.spec-C5ZMBCGO.js.map → expclust.gdc.spec-LYDBM3TZ.js.map} +0 -0
  814. /package/dist/{facet-LPXKLX53.js.map → facet-7NJHLLCZ.js.map} +0 -0
  815. /package/dist/{gb-PHJ2SM5D.js.map → gb-COV44BMA.js.map} +0 -0
  816. /package/dist/{geneExpClustering-OXZJHEPD.js.map → geneExpClustering-EQR5XX4J.js.map} +0 -0
  817. /package/dist/{geneExpression-54RGEGML.js.map → geneExpression-2BNDQ6S6.js.map} +0 -0
  818. /package/dist/{geneExpression-FLBQXMSX.js.map → geneExpression-PGB6WF5H.js.map} +0 -0
  819. /package/dist/{geneExpression.unit.spec-ZCE7G6HI.js.map → geneExpression.unit.spec-OUNGGOJP.js.map} +0 -0
  820. /package/dist/{geneORA-TELI5AFV.js.map → geneORA-EKNEVQOS.js.map} +0 -0
  821. /package/dist/{geneRanking-7YZA5GNG.js.map → geneRanking-XUXLRERA.js.map} +0 -0
  822. /package/dist/{geneVariant-NJYUEY4C.js.map → geneVariant-JZDYV6LS.js.map} +0 -0
  823. /package/dist/{geneVariant-VKWTXUMK.js.map → geneVariant-KPZ2FYLK.js.map} +0 -0
  824. /package/dist/{geneVariant.integration.spec-RWYP523U.js.map → geneVariant.integration.spec-ISMLGTKC.js.map} +0 -0
  825. /package/dist/{genefusion.ui-B6J7I3RA.js.map → genefusion.ui-GRUXFC4U.js.map} +0 -0
  826. /package/dist/{geneset-VG4SFYML.js.map → geneset-RM4XIX23.js.map} +0 -0
  827. /package/dist/{genomeBrowser.spec-5IS5Y2NG.js.map → genomeBrowser.spec-X7EOK2LS.js.map} +0 -0
  828. /package/dist/{grin2-FOOH736B.js.map → grin2-5XRUMYQO.js.map} +0 -0
  829. /package/dist/{grin2-3T6KRC34.js.map → grin2-SWZLKD52.js.map} +0 -0
  830. /package/dist/{hierCluster-WLAFGZAT.js.map → hierCluster-I6T4XD3P.js.map} +0 -0
  831. /package/dist/{hierCluster-XBL2TOOL.js.map → hierCluster-XVDGUOW7.js.map} +0 -0
  832. /package/dist/{hierCluster.config-VCBRBGDZ.js.map → hierCluster.config-66CKAAPG.js.map} +0 -0
  833. /package/dist/{hierCluster.interactivity-PEEJ3BRC.js.map → hierCluster.interactivity-B5ZNFF4R.js.map} +0 -0
  834. /package/dist/{hierCluster.renderers-7ESGKIGM.js.map → hierCluster.renderers-R2DTKTLI.js.map} +0 -0
  835. /package/dist/{imagePlot-LWL6JMKM.js.map → imagePlot-ZM4IVDJT.js.map} +0 -0
  836. /package/dist/{importPlot-CLBY6QZN.js.map → importPlot-FQ65CZRI.js.map} +0 -0
  837. /package/dist/{isoformExpression-36P3BBN7.js.map → isoformExpression-BFCLGD2U.js.map} +0 -0
  838. /package/dist/{isoformExpression.unit.spec-SF2SPTRC.js.map → isoformExpression.unit.spec-KYI4HI7U.js.map} +0 -0
  839. /package/dist/{junction-B7DSIG4E.js.map → junction-BKH6RWOP.js.map} +0 -0
  840. /package/dist/{junction.customTerm-7VZS4JDE.js.map → junction.customTerm-VNQKP5I4.js.map} +0 -0
  841. /package/dist/{junction.unit.spec-4MWU36MR.js.map → junction.unit.spec-MQIHKSNE.js.map} +0 -0
  842. /package/dist/{launch.adhoc-3B34GV4S.js.map → launch.adhoc-AHTCA2BP.js.map} +0 -0
  843. /package/dist/{leftlabel.sample-6OM5H67E.js.map → leftlabel.sample-LIBMKP22.js.map} +0 -0
  844. /package/dist/{lollipop-SL2F5G6K.js.map → lollipop-26ZQH3EL.js.map} +0 -0
  845. /package/dist/{maf-FRYGN5GR.js.map → maf-W3W2XJ5B.js.map} +0 -0
  846. /package/dist/{maftimeline-3UFWS73J.js.map → maftimeline-LCJD5O2M.js.map} +0 -0
  847. /package/dist/{matrix-DDKSOJ4C.js.map → matrix-H634EZWK.js.map} +0 -0
  848. /package/dist/{matrix-H2ZH2QKC.js.map → matrix-O2AINT5M.js.map} +0 -0
  849. /package/dist/{matrix.cells-JTMC35SK.js.map → matrix.cells-3U3CUU5I.js.map} +0 -0
  850. /package/dist/{matrix.config-EUBXWEBS.js.map → matrix.config-F6IPB5B5.js.map} +0 -0
  851. /package/dist/{matrix.data-CO5RBWY5.js.map → matrix.data-KQNBNYC6.js.map} +0 -0
  852. /package/dist/{matrix.dom-2SA43BPT.js.map → matrix.dom-YQNX4IQO.js.map} +0 -0
  853. /package/dist/{matrix.groups-AKOJ2W6U.js.map → matrix.groups-QFL2ZDHD.js.map} +0 -0
  854. /package/dist/{matrix.integration.spec-66KNZO3S.js.map → matrix.integration.spec-OVGSXJWO.js.map} +0 -0
  855. /package/dist/{matrix.interactivity-DY5YJIYB.js.map → matrix.interactivity-Q5ODZPDL.js.map} +0 -0
  856. /package/dist/{matrix.layout-MQQNHBI2.js.map → matrix.layout-YPYM7FRY.js.map} +0 -0
  857. /package/dist/{matrix.legend-CGU7T6GF.js.map → matrix.legend-ZO57ENXP.js.map} +0 -0
  858. /package/dist/{matrix.renderers-HC7PJN4B.js.map → matrix.renderers-NIGONKWO.js.map} +0 -0
  859. /package/dist/{matrix.serieses-W4L6ZO37.js.map → matrix.serieses-ZQD2U6RF.js.map} +0 -0
  860. /package/dist/{matrix.sort-T74DWFB2.js.map → matrix.sort-RZU65LR2.js.map} +0 -0
  861. /package/dist/{matrix.sort.unit.spec-EQEHQXTO.js.map → matrix.sort.unit.spec-NDFK2A5C.js.map} +0 -0
  862. /package/dist/{matrix.sorterUi-GFQG4HFV.js.map → matrix.sorterUi-MVUI25W7.js.map} +0 -0
  863. /package/dist/{matrix.sorterUi.unit.spec-XQHFOEYE.js.map → matrix.sorterUi.unit.spec-4ZKNOV2L.js.map} +0 -0
  864. /package/dist/{matrix.unit.spec-4ZWUGZUC.js.map → matrix.unit.spec-V5XNLECG.js.map} +0 -0
  865. /package/dist/{mavb-3CL5OHWB.js.map → mavb-LF7A7BDK.js.map} +0 -0
  866. /package/dist/{mds.fimo-2RFJQKJM.js.map → mds.fimo-KJ4HPMZP.js.map} +0 -0
  867. /package/dist/{mds.samplescatterplot-X6CXMY4C.js.map → mds.samplescatterplot-ZHNWWWYI.js.map} +0 -0
  868. /package/dist/{mds.survivalplot-57NIKSSH.js.map → mds.survivalplot-DNG7I22N.js.map} +0 -0
  869. /package/dist/{multivalue-3TUGYL4J.js.map → multivalue-SJQF7PHU.js.map} +0 -0
  870. /package/dist/{numericDictTermCluster-RLX5CLTN.js.map → numericDictTermCluster-O6PKT2FJ.js.map} +0 -0
  871. /package/dist/{oncomatrix-COK76MJN.js.map → oncomatrix-YJCPKS72.js.map} +0 -0
  872. /package/dist/{oncomatrix.spec-SO3ZN5BF.js.map → oncomatrix.spec-MWGBQCIQ.js.map} +0 -0
  873. /package/dist/{plot.2dvaf-TETCE4VG.js.map → plot.2dvaf-KIPQYNEH.js.map} +0 -0
  874. /package/dist/{plot.app-5YUAVZA4.js.map → plot.app-WHG3SEOG.js.map} +0 -0
  875. /package/dist/{plot.barplot-JUGY5Z7A.js.map → plot.barplot-DTSYFUPC.js.map} +0 -0
  876. /package/dist/{plot.boxplot-QZXICT7J.js.map → plot.boxplot-MQDULP3P.js.map} +0 -0
  877. /package/dist/{plot.brainImaging-2F6E6QS4.js.map → plot.brainImaging-DGVJQSCH.js.map} +0 -0
  878. /package/dist/{plot.disco-H4P4B6QS.js.map → plot.disco-HYPRBLMQ.js.map} +0 -0
  879. /package/dist/{plot.ssgq-LEQF3STZ.js.map → plot.ssgq-J5MMN7OD.js.map} +0 -0
  880. /package/dist/{plot.vaf2cov-UBMD2CN7.js.map → plot.vaf2cov-CID7GQB5.js.map} +0 -0
  881. /package/dist/{polar2-AVEZM2T5.js.map → polar2-QTSO2HCB.js.map} +0 -0
  882. /package/dist/{profileForms-CUSUGTPC.js.map → profileForms-SRR2M5OS.js.map} +0 -0
  883. /package/dist/{profilePlot-67Z7AXQ4.js.map → profilePlot-NDC4S2SC.js.map} +0 -0
  884. /package/dist/{proteinView-7K7VHGX3.js.map → proteinView-EFNQL3LD.js.map} +0 -0
  885. /package/dist/{proteomeCohortCompare-MRGH6HHI.js.map → proteomeCohortCompare-WMR53HEL.js.map} +0 -0
  886. /package/dist/{pseudbulk.unit.spec-ZHDL6GIM.js.map → pseudbulk.unit.spec-6MRZNXFI.js.map} +0 -0
  887. /package/dist/{pseudobulk-ZNXPF7QB.js.map → pseudobulk-O5EC44RY.js.map} +0 -0
  888. /package/dist/{qualitative-QXMZHDWU.js.map → qualitative-W6MFYG7Z.js.map} +0 -0
  889. /package/dist/{radar2-QJDGNLED.js.map → radar2-GIQILMWK.js.map} +0 -0
  890. /package/dist/{radarFacility2-LGGOOWX4.js.map → radarFacility2-5YJZ5JCK.js.map} +0 -0
  891. /package/dist/{rememberedGvQ.unit.spec-YKUMMYFT.js.map → rememberedGvQ.unit.spec-B6RQM5LQ.js.map} +0 -0
  892. /package/dist/{render-LSSRZJY3.js.map → render-2J4LR3UI.js.map} +0 -0
  893. /package/dist/{report-TTECPO44.js.map → report-MUMQK6XY.js.map} +0 -0
  894. /package/dist/{sampleView-EFS2UBRS.js.map → sampleView-NKZMNBMH.js.map} +0 -0
  895. /package/dist/{samplelst-FXULLJBO.js.map → samplelst-X74JZMTR.js.map} +0 -0
  896. /package/dist/{samplematrix-MNFCXOWO.js.map → samplematrix-QDQXB5ZG.js.map} +0 -0
  897. /package/dist/{sc-2BUOXML2.js.map → sc-FGHV5CBJ.js.map} +0 -0
  898. /package/dist/{scatter-AVRTALYY.js.map → scatter-QFVRBA7F.js.map} +0 -0
  899. /package/dist/{scatter-CPEIVL3K.js.map → scatter-YXF5VQGZ.js.map} +0 -0
  900. /package/dist/{selectGenomeWithTklst-3BG2ZPPN.js.map → selectGenomeWithTklst-DP4RPV7U.js.map} +0 -0
  901. /package/dist/{singleCellCellType-QLAEBVN2.js.map → singleCellCellType-XCHCMRR6.js.map} +0 -0
  902. /package/dist/{singleCellCellType.unit.spec-P4NAWYKL.js.map → singleCellCellType.unit.spec-S3JTP235.js.map} +0 -0
  903. /package/dist/{singleCellGeneExpression-IZ2PMDDL.js.map → singleCellGeneExpression-FD6REV7Y.js.map} +0 -0
  904. /package/dist/{singleCellGeneExpression.unit.spec-DKBZICJM.js.map → singleCellGeneExpression.unit.spec-PVMZYD4G.js.map} +0 -0
  905. /package/dist/{singleCellNumericValue-NB3QFH7H.js.map → singleCellNumericValue-SIITQPMD.js.map} +0 -0
  906. /package/dist/{singleCellNumericValue.unit.spec-ZKK2KWRQ.js.map → singleCellNumericValue.unit.spec-7PJEHLF7.js.map} +0 -0
  907. /package/dist/{singleCellPlot-ZU655L4Z.js.map → singleCellPlot-YJCFAYJW.js.map} +0 -0
  908. /package/dist/{singlecell-NKPTXVHW.js.map → singlecell-6R7YK5P3.js.map} +0 -0
  909. /package/dist/{singlecell-PEIEFXVU.js.map → singlecell-KHMH732Y.js.map} +0 -0
  910. /package/dist/{snp-G55JGINX.js.map → snp-HXCVSW2F.js.map} +0 -0
  911. /package/dist/{snp.unit.spec-47CCZKJO.js.map → snp.unit.spec-HXMFR4QS.js.map} +0 -0
  912. /package/dist/{snplocus-TRVAEAPF.js.map → snplocus-YQVHAKBC.js.map} +0 -0
  913. /package/dist/{spliceevent.a53ss.diagram-FL2R6F22.js.map → spliceevent.a53ss.diagram-4IBTR3JD.js.map} +0 -0
  914. /package/dist/{spliceevent.exonskip.diagram-XDZWTJXR.js.map → spliceevent.exonskip.diagram-5ZTG65CE.js.map} +0 -0
  915. /package/dist/{spliceevent.noeventdiagram-L322N534.js.map → spliceevent.noeventdiagram-WO5KSC45.js.map} +0 -0
  916. /package/dist/{ssGSEA-DZY4LFQY.js.map → ssGSEA-VJ3LVYJV.js.map} +0 -0
  917. /package/dist/{ssGSEA.unit.spec-P6C3VTVZ.js.map → ssGSEA.unit.spec-JQIJ4NZP.js.map} +0 -0
  918. /package/dist/{stattable-R7O6OIMB.js.map → stattable-COVQSHRZ.js.map} +0 -0
  919. /package/dist/{studyCatalog-OMDE4JRD.js.map → studyCatalog-EXVRH4FI.js.map} +0 -0
  920. /package/dist/{summarizeCnvGeneexp-A7HW6FJI.js.map → summarizeCnvGeneexp-UJBTMXXH.js.map} +0 -0
  921. /package/dist/{summarizeGeneexpSurvival-ODI4HGFH.js.map → summarizeGeneexpSurvival-XLQJGDRY.js.map} +0 -0
  922. /package/dist/{summarizeMutationCnv-C2YB73OL.js.map → summarizeMutationCnv-7RWSXB6F.js.map} +0 -0
  923. /package/dist/{summarizeMutationDiagnosis-4Y322NYU.js.map → summarizeMutationDiagnosis-42MG737O.js.map} +0 -0
  924. /package/dist/{summarizeMutationSurvival-7IHNURLC.js.map → summarizeMutationSurvival-FWVKVEHK.js.map} +0 -0
  925. /package/dist/{summary-E4L5MZTF.js.map → summary-NR26ZPQB.js.map} +0 -0
  926. /package/dist/{summary.integration.spec-SDCGE6BQ.js.map → summary.integration.spec-Z7JSUTGK.js.map} +0 -0
  927. /package/dist/{summaryInput-DHIMU5DM.js.map → summaryInput-DGKUOJVC.js.map} +0 -0
  928. /package/dist/{sunburst-ULNPFEAM.js.map → sunburst-C5JNGFT7.js.map} +0 -0
  929. /package/dist/{survival-CU4N5KZO.js.map → survival-GCEX3EAZ.js.map} +0 -0
  930. /package/dist/{survival-KWWH6REE.js.map → survival-OAQA5JQN.js.map} +0 -0
  931. /package/dist/{survival.integration.spec-UW6SYVLP.js.map → survival.integration.spec-ZX5RD6VQ.js.map} +0 -0
  932. /package/dist/{svgraph-HFI6NNF3.js.map → svgraph-XCFZ2WAG.js.map} +0 -0
  933. /package/dist/{svmr-VHS7Z4SO.js.map → svmr-4XTTURHA.js.map} +0 -0
  934. /package/dist/{table-GJUXHKQI.js.map → table-FQZ4UAH6.js.map} +0 -0
  935. /package/dist/{termCollection-CCZ4BFIU.js.map → termCollection-5QCR6LED.js.map} +0 -0
  936. /package/dist/{termCollection-O5CQ472U.js.map → termCollection-DN6A6HJU.js.map} +0 -0
  937. /package/dist/{termCollection.unit.spec-KR5G6JFU.js.map → termCollection.unit.spec-RSSSXDHU.js.map} +0 -0
  938. /package/dist/{termCollectionFractionSelection-IKU5MFBT.js.map → termCollectionFractionSelection-OSN7FITY.js.map} +0 -0
  939. /package/dist/{termCollectionFractionSelection.unit.spec-6ZWHNGES.js.map → termCollectionFractionSelection.unit.spec-UW6D3DVK.js.map} +0 -0
  940. /package/dist/{tk-3DLMAFW7.js.map → tk-4CZCVYBP.js.map} +0 -0
  941. /package/dist/{tk-CAYWF7LX.js.map → tk-BIPJNXBZ.js.map} +0 -0
  942. /package/dist/{tp.ui-NF5ZYOHW.js.map → tp.ui-NI4U7567.js.map} +0 -0
  943. /package/dist/{tvs.density-V6ZXSFGF.js.map → tvs.density-CB24PXDE.js.map} +0 -0
  944. /package/dist/{tvs.dt-43A4SSLG.js.map → tvs.dt-YRDNDXUU.js.map} +0 -0
  945. /package/dist/{tvs.dtcnv.categorical-DYXHUNP2.js.map → tvs.dtcnv.categorical-REP4T33P.js.map} +0 -0
  946. /package/dist/{tvs.dtcnv.continuous-NOKNP4UG.js.map → tvs.dtcnv.continuous-K7OREEP5.js.map} +0 -0
  947. /package/dist/{tvs.dtfusion-4NAOCC2X.js.map → tvs.dtfusion-AB5MPH3Q.js.map} +0 -0
  948. /package/dist/{tvs.dtitd-SZC6EITI.js.map → tvs.dtitd-AFWU7ACY.js.map} +0 -0
  949. /package/dist/{tvs.dtsnvindel-EYSBCNQK.js.map → tvs.dtsnvindel-G7XQEKEO.js.map} +0 -0
  950. /package/dist/{tvs.dtsv-VSPWIIFO.js.map → tvs.dtsv-Y6BEY4J2.js.map} +0 -0
  951. /package/dist/{tvs.numeric-M5LH3PRH.js.map → tvs.numeric-GF4XF5OF.js.map} +0 -0
  952. /package/dist/{tvs.samplelst-3YQ4GKNG.js.map → tvs.samplelst-XRRWPC2E.js.map} +0 -0
  953. /package/dist/{vocabulary-HCPEIO2P.js.map → vocabulary-DJZWOO6Q.js.map} +0 -0
  954. /package/dist/{wsi.direct-K2J6GGWY.js.map → wsi.direct-XUWANMKV.js.map} +0 -0
@@ -1,2193 +0,0 @@
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-CSAS3PVJ.js";
11
- import {
12
- invalidcoord,
13
- string2pos
14
- } from "./chunk-HJ6L54YS.js";
15
- import "./chunk-KV4W2ACA.js";
16
- import "./chunk-T4RYLTR3.js";
17
- import {
18
- Menu
19
- } from "./chunk-ELJX3QIQ.js";
20
- import "./chunk-Y3SDMRDX.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-VTHZGUSZ.js";
30
- import "./chunk-3TV5WWUN.js";
31
- import "./chunk-4Y5W26UF.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-UYKJOBRO.js";
47
- import "./chunk-WINIL2KN.js";
48
- import "./chunk-PF4DSFDR.js";
49
- import "./chunk-7X6NF7NI.js";
50
- import "./chunk-W5J3LTYS.js";
51
- import {
52
- category10_default
53
- } from "./chunk-Z2ZITHT4.js";
54
- import {
55
- linear,
56
- ordinal
57
- } from "./chunk-4OLM3KSB.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-57NIKSSH.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-GEG4UUOU.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-MNFCXOWO.js.map