@sjcrh/proteinpaint-client 2.207.1 → 2.209.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (940) hide show
  1. package/dist/2dmaf-VTMPVZGT.js +1367 -0
  2. package/dist/AggMatrixInput-CH3RQ2QC.js +406 -0
  3. package/dist/AggMatrixInput-CH3RQ2QC.js.map +7 -0
  4. package/dist/AggregateMatrix-DPCHUOMF.js +41 -0
  5. package/dist/AppHeader-RA7T467G.js +830 -0
  6. package/dist/BoxPlot-7Q7SMT26.js +1211 -0
  7. package/dist/CorrelationVolcano-YV4UHOAX.js +617 -0
  8. package/dist/CorrelationVolcano-YV4UHOAX.js.map +7 -0
  9. package/dist/Cuminc-ZN53C3MD.js +1219 -0
  10. package/dist/DE-BEWW5AIG.js +89 -0
  11. package/dist/DEinput-SJITUJF2.js +499 -0
  12. package/dist/DM-2LBNE4WE.js +90 -0
  13. package/dist/DifferentialAnalysis-WE4LBHEF.js +239 -0
  14. package/dist/DifferentialAnalysis-WE4LBHEF.js.map +7 -0
  15. package/dist/Disco-PTZQF7IM.js +3389 -0
  16. package/dist/Disco.UI-NBR67N5M.js +243 -0
  17. package/dist/DmrPlot-QROLI66S.js +362 -0
  18. package/dist/DmrPlot-QROLI66S.js.map +7 -0
  19. package/dist/GB-FEBSFX5U.js +1428 -0
  20. package/dist/GB-FEBSFX5U.js.map +7 -0
  21. package/dist/GSEA-KOXOVC5V.js +875 -0
  22. package/dist/GSEA-KOXOVC5V.js.map +7 -0
  23. package/dist/GeneExpInput-DYBK54HC.js +42 -0
  24. package/dist/Geomap-QRD2WZVL.js +84 -0
  25. package/dist/HicApp-VKET4QHD.js +2245 -0
  26. package/dist/IDCViewer-RLLTXGD7.js +10812 -0
  27. package/dist/NumBinaryEditor-GYHOYPQL.js +279 -0
  28. package/dist/NumBinaryEditor.unit.spec-E2HKBWOO.js +312 -0
  29. package/dist/NumContEditor-3V76ZSEY.js +105 -0
  30. package/dist/NumContEditor.unit.spec-RTT5Q5E5.js +164 -0
  31. package/dist/NumCustomBinEditor-O5DMPY7H.js +33 -0
  32. package/dist/NumCustomBinEditor.unit.spec-5LZBP2JL.js +397 -0
  33. package/dist/NumDiscreteEditor-DFOJ7AIH.js +170 -0
  34. package/dist/NumDiscreteEditor.unit.spec-PPJGEBFX.js +233 -0
  35. package/dist/NumRegularBinEditor-O6RDO32C.js +33 -0
  36. package/dist/NumRegularBinEditor.unit.spec-GOB3BF25.js +278 -0
  37. package/dist/NumSplineEditor-PUXJF2RW.js +210 -0
  38. package/dist/NumSplineEditor.unit.spec-4VOAAMOU.js +224 -0
  39. package/dist/NumericDensity-E6MH2THZ.js +33 -0
  40. package/dist/NumericDensity.unit.spec-IRPFBQUS.js +418 -0
  41. package/dist/NumericHandler-42RR54X3.js +34 -0
  42. package/dist/NumericHandler.unit.spec-YYOO7XVT.js +214 -0
  43. package/dist/ProteomeInput-4N2G6IFX.js +388 -0
  44. package/dist/Regression-LIWUWAGQ.js +1416 -0
  45. package/dist/Regression-LIWUWAGQ.js.map +7 -0
  46. package/dist/RunChart2-VAX5JGZY.js +749 -0
  47. package/dist/SC-UHBZ3HRO.js +1183 -0
  48. package/dist/SC-UHBZ3HRO.js.map +7 -0
  49. package/dist/Violin-V23VZR6B.js +1081 -0
  50. package/dist/Violin-V23VZR6B.js.map +7 -0
  51. package/dist/Volcano-64S4AW66.js +2443 -0
  52. package/dist/Volcano-64S4AW66.js.map +7 -0
  53. package/dist/Wsi-FOJCKDCP.js +629 -0
  54. package/dist/Wsi-FOJCKDCP.js.map +7 -0
  55. package/dist/adSandbox-CLMUYNC3.js +33 -0
  56. package/dist/animatedBubbleChart-GMLNYTQC.js +547 -0
  57. package/dist/app-2SFDRDN2.js +32 -0
  58. package/dist/app-QOZ36UR4.js +42 -0
  59. package/dist/app.js +14 -14
  60. package/dist/bam-LLAK7FVG.js +876 -0
  61. package/dist/barchart-SEC6VKQ2.js +42 -0
  62. package/dist/barchart2-D4FXZCTU.js +309 -0
  63. package/dist/block-XGK6TEGH.js +6250 -0
  64. package/dist/block-XGK6TEGH.js.map +7 -0
  65. package/dist/block.init-UMRCAKCF.js +33 -0
  66. package/dist/block.mds.expressionrank-LFPJ52SX.js +354 -0
  67. package/dist/block.mds.geneboxplot-2QIEN6AH.js +823 -0
  68. package/dist/block.mds.junction-Z4HUFSG2.js +1539 -0
  69. package/dist/block.mds.svcnv-3GXGY6ET.js +6796 -0
  70. package/dist/block.svg-7RCJLMAP.js +159 -0
  71. package/dist/block.tk.aicheck-5N6EGZ6F.js +278 -0
  72. package/dist/block.tk.ase-V3AJRYT6.js +360 -0
  73. package/dist/block.tk.bam-W6QOVVEU.js +1901 -0
  74. package/dist/block.tk.bedgraphdot-FKTPJZTH.js +379 -0
  75. package/dist/block.tk.bigwig.ui-Y3M2TDM2.js +206 -0
  76. package/dist/block.tk.hicstraw-3SWYTMFQ.js +818 -0
  77. package/dist/block.tk.junction-OXB22PDS.js +2358 -0
  78. package/dist/block.tk.junction.textmatrixui-PWBLRGCO.js +194 -0
  79. package/dist/block.tk.ld-NTRJL5GA.js +94 -0
  80. package/dist/block.tk.menu-JIHSGGIO.js +1024 -0
  81. package/dist/block.tk.pgv-4Q6CY6QN.js +938 -0
  82. package/dist/brainImaging-MBI4XTTU.js +555 -0
  83. package/dist/brainRegions-YVTAESRP.js +217 -0
  84. package/dist/bubbleHeatmap-ZKTA3AIG.js +378 -0
  85. package/dist/cellTypeBubbleHeatmap-GJZNXDG4.js +278 -0
  86. package/dist/chunk-2PDBU42F.js +4375 -0
  87. package/dist/chunk-2PDBU42F.js.map +7 -0
  88. package/dist/chunk-2RMSV4BS.js +6360 -0
  89. package/dist/chunk-33BE7AYS.js +299 -0
  90. package/dist/chunk-3FEP6B5T.js +119 -0
  91. package/dist/chunk-3XBG5HIV.js +424 -0
  92. package/dist/chunk-3XBG5HIV.js.map +7 -0
  93. package/dist/chunk-4G73CMUL.js +38 -0
  94. package/dist/chunk-5FRETII3.js +281 -0
  95. package/dist/chunk-5LYVIIYR.js +170 -0
  96. package/dist/chunk-6FG6JFZP.js +339 -0
  97. package/dist/chunk-6G45AUSV.js +237 -0
  98. package/dist/chunk-6G45AUSV.js.map +7 -0
  99. package/dist/chunk-6LDKSKYQ.js +70 -0
  100. package/dist/chunk-7FFTAYT4.js +272 -0
  101. package/dist/chunk-7GDRMBNO.js +339 -0
  102. package/dist/chunk-A2UUXYH6.js +1986 -0
  103. package/dist/chunk-AFQKYV4D.js +2853 -0
  104. package/dist/chunk-ANACCKCQ.js +276 -0
  105. package/dist/chunk-AR3HXZIW.js +562 -0
  106. package/dist/chunk-AVCEHJG7.js +446 -0
  107. package/dist/chunk-AVCIZWH5.js +692 -0
  108. package/dist/chunk-AVCIZWH5.js.map +7 -0
  109. package/dist/chunk-B6UXFX73.js +178 -0
  110. package/dist/chunk-B6UXFX73.js.map +7 -0
  111. package/dist/chunk-BCCFJYPE.js +54 -0
  112. package/dist/chunk-BCCFJYPE.js.map +7 -0
  113. package/dist/chunk-BG3SGGVB.js +134 -0
  114. package/dist/chunk-C3HEDQPT.js +24921 -0
  115. package/dist/chunk-C3HEDQPT.js.map +7 -0
  116. package/dist/chunk-CFZ2ZW3E.js +382 -0
  117. package/dist/chunk-CKOU3P27.js +26 -0
  118. package/dist/chunk-CN6KJORZ.js +397 -0
  119. package/dist/chunk-CYWEYHJQ.js +203 -0
  120. package/dist/chunk-D5ETVOOE.js +158 -0
  121. package/dist/chunk-DANF4CC5.js +102 -0
  122. package/dist/chunk-DNCFJTPI.js +1339 -0
  123. package/dist/chunk-FNW6BKOA.js +480 -0
  124. package/dist/chunk-FR5USNAT.js +54 -0
  125. package/dist/chunk-FSLOUTTK.js +37 -0
  126. package/dist/chunk-FSLOUTTK.js.map +7 -0
  127. package/dist/chunk-GYE6FU7P.js +626 -0
  128. package/dist/chunk-IEIGHCZS.js +1278 -0
  129. package/dist/chunk-J5GQGWYX.js +1731 -0
  130. package/dist/chunk-J5GQGWYX.js.map +7 -0
  131. package/dist/chunk-JMDUO47F.js +5071 -0
  132. package/dist/chunk-JTANDSTD.js +54 -0
  133. package/dist/chunk-JTQPPUDG.js +379 -0
  134. package/dist/chunk-K32DV4QI.js +302 -0
  135. package/dist/chunk-K77W4SSI.js +98 -0
  136. package/dist/chunk-KEHVNCFK.js +102 -0
  137. package/dist/chunk-MMKSXXU2.js +55 -0
  138. package/dist/chunk-NDOKW2HJ.js +31 -0
  139. package/dist/chunk-NGMM2MNC.js +518 -0
  140. package/dist/chunk-OASGOTRM.js +80 -0
  141. package/dist/chunk-OASGOTRM.js.map +7 -0
  142. package/dist/chunk-OBDIJ4QS.js +2146 -0
  143. package/dist/chunk-OBDIJ4QS.js.map +7 -0
  144. package/dist/chunk-OEBGQKQR.js +2676 -0
  145. package/dist/chunk-OI5KBFBE.js +468 -0
  146. package/dist/chunk-OWEBE64A.js +243 -0
  147. package/dist/chunk-P7X4LDW4.js +783 -0
  148. package/dist/chunk-Q4HTEL2O.js +56 -0
  149. package/dist/chunk-Q4HTEL2O.js.map +7 -0
  150. package/dist/chunk-QD75Q5LM.js +59 -0
  151. package/dist/chunk-QGH5BM2D.js +141 -0
  152. package/dist/chunk-QSOFGLWZ.js +240 -0
  153. package/dist/chunk-QXDGIQYA.js +217 -0
  154. package/dist/chunk-R2QE6ROO.js +176 -0
  155. package/dist/chunk-RMHUDMZ7.js +103 -0
  156. package/dist/chunk-SB36AUG7.js +1614 -0
  157. package/dist/chunk-SB36AUG7.js.map +7 -0
  158. package/dist/chunk-SXB4IZQ7.js +123 -0
  159. package/dist/chunk-T6Q76PDN.js +182 -0
  160. package/dist/chunk-T6Q76PDN.js.map +7 -0
  161. package/dist/chunk-TYR355RM.js +263 -0
  162. package/dist/chunk-ULZPHJYD.js +2784 -0
  163. package/dist/chunk-V3SOBDIT.js +255 -0
  164. package/dist/chunk-V3SOBDIT.js.map +7 -0
  165. package/dist/chunk-VFUSBU43.js +14 -0
  166. package/dist/chunk-VOF6NWTS.js +274 -0
  167. package/dist/chunk-WGDJX7WZ.js +2327 -0
  168. package/dist/chunk-WIQVSCD5.js +294 -0
  169. package/dist/chunk-WXXRVJSP.js +56 -0
  170. package/dist/chunk-WXXRVJSP.js.map +7 -0
  171. package/dist/chunk-X4MV2M5F.js +129 -0
  172. package/dist/chunk-XVVVNCXS.js +217 -0
  173. package/dist/chunk-XVVVNCXS.js.map +7 -0
  174. package/dist/chunk-YHP7MYB7.js +49 -0
  175. package/dist/chunk-YHWQWVWX.js +550 -0
  176. package/dist/chunk-YKZOQTT4.js +1233 -0
  177. package/dist/chunk-Z5HU276I.js +34 -0
  178. package/dist/chunk-Z6MCBFDM.js +194 -0
  179. package/dist/cohort-GVAJTICQ.js +70 -0
  180. package/dist/condition-EGPNMM47.js +327 -0
  181. package/dist/controls-HBROSXHF.js +34 -0
  182. package/dist/controls.config-FWKV66TU.js +34 -0
  183. package/dist/correlation-CEHE66EC.js +95 -0
  184. package/dist/customdata.inputui-LFT3N5FD.js +284 -0
  185. package/dist/dataDownload-ZPAIAAE4.js +329 -0
  186. package/dist/databrowser.ui-W5JGFBE6.js +425 -0
  187. package/dist/dictionary-RBE2CIZI.js +113 -0
  188. package/dist/dnaMethylation-CX22TSRO.js +33 -0
  189. package/dist/dnaMethylation.integration.spec-KEE6ZZRT.js +198 -0
  190. package/dist/dofetch-6NAGX5EG.js +48 -0
  191. package/dist/e2pca-XDGPTEXL.js +344 -0
  192. package/dist/ep-IUIDMIGW.js +1249 -0
  193. package/dist/expclust.gdc.spec-BMN2PTJX.js +302 -0
  194. package/dist/facet-DTJKZOBA.js +519 -0
  195. package/dist/gb-MV7MUJWO.js +81 -0
  196. package/dist/geneExpClustering-NFH5FS3S.js +244 -0
  197. package/dist/geneExpression-XVOLNYVN.js +310 -0
  198. package/dist/geneExpression-ZP2VWHED.js +33 -0
  199. package/dist/geneExpression.unit.spec-2NSK4ARK.js +128 -0
  200. package/dist/geneExpression.unit.spec-2NSK4ARK.js.map +7 -0
  201. package/dist/geneORA-HQ7FLMEJ.js +273 -0
  202. package/dist/geneRanking-MIABUKTN.js +548 -0
  203. package/dist/geneVariant-H52UUK6Z.js +289 -0
  204. package/dist/geneVariant-H52UUK6Z.js.map +7 -0
  205. package/dist/geneVariant-HDFWLALZ.js +36 -0
  206. package/dist/geneVariant.integration.spec-O36JK4B7.js +503 -0
  207. package/dist/geneVariant.integration.spec-O36JK4B7.js.map +7 -0
  208. package/dist/genefusion.ui-HSDZQHJA.js +303 -0
  209. package/dist/geneset-WKV3X2EJ.js +203 -0
  210. package/dist/genomeBrowser.spec-UTAHAU76.js +276 -0
  211. package/dist/grin2-M2JDZVYU.js +70 -0
  212. package/dist/grin2-N2QM3XTG.js +949 -0
  213. package/dist/grin2-N2QM3XTG.js.map +7 -0
  214. package/dist/hierCluster-LZI6OTRS.js +59 -0
  215. package/dist/hierCluster-VVXPOTQU.js +55 -0
  216. package/dist/hierCluster.config-NCYH3Y7Z.js +36 -0
  217. package/dist/hierCluster.integration.spec-ZDOOCTV3.js +483 -0
  218. package/dist/hierCluster.interactivity-4HP3JCON.js +49 -0
  219. package/dist/hierCluster.renderers-3F5GMEXA.js +19 -0
  220. package/dist/imagePlot-OA4WTMLU.js +156 -0
  221. package/dist/importPlot-OSTC2GPO.js +8 -0
  222. package/dist/isoformExpression-LZ5RTUS5.js +35 -0
  223. package/dist/isoformExpression.unit.spec-L6YDBKYM.js +237 -0
  224. package/dist/junction-UR6COY3A.js +36 -0
  225. package/dist/junction.customTerm-TMV43R7Z.js +16 -0
  226. package/dist/junction.unit.spec-NVBJTGA4.js +182 -0
  227. package/dist/launch.adhoc-AZG6QJG7.js +37 -0
  228. package/dist/leftlabel.sample-LYZG25RT.js +258 -0
  229. package/dist/lollipop-FJXVP5QM.js +166 -0
  230. package/dist/maf-OXJIJD6D.js +455 -0
  231. package/dist/maftimeline-75N6ZXEM.js +587 -0
  232. package/dist/matrix-QFKGEW5A.js +54 -0
  233. package/dist/matrix-XT7LUV5K.js +59 -0
  234. package/dist/matrix.cells-NB7LKKXV.js +26 -0
  235. package/dist/matrix.config-X6HS4UGD.js +37 -0
  236. package/dist/matrix.data-VLFF34SS.js +23 -0
  237. package/dist/matrix.groups-F62TSKIG.js +26 -0
  238. package/dist/matrix.integration.spec-7QBYWHW6.js +3160 -0
  239. package/dist/matrix.integration.spec-7QBYWHW6.js.map +7 -0
  240. package/dist/matrix.interactivity-2FBXB52E.js +37 -0
  241. package/dist/matrix.layout-6TPVKLSX.js +39 -0
  242. package/dist/matrix.legend-L4ULBMGX.js +20 -0
  243. package/dist/matrix.renderers-DK6YRLO2.js +34 -0
  244. package/dist/matrix.serieses-DCRJLJ3H.js +19 -0
  245. package/dist/matrix.sort-XSGPH44J.js +26 -0
  246. package/dist/matrix.sort.unit.spec-JF75F4I4.js +468 -0
  247. package/dist/matrix.sorterUi-WL5I6S3K.js +16 -0
  248. package/dist/matrix.sorterUi.unit.spec-66JMV5BK.js +338 -0
  249. package/dist/matrix.unit.spec-36AR4I43.js +150 -0
  250. package/dist/mavb-ZH4RO77H.js +727 -0
  251. package/dist/mds.fimo-MVP2G5PS.js +513 -0
  252. package/dist/mds.samplescatterplot-GYJ3OI4N.js +1545 -0
  253. package/dist/mds.survivalplot-Q6MYQGTB.js +477 -0
  254. package/dist/multivalue-BGFMPH4X.js +83 -0
  255. package/dist/numericDictTermCluster-FNNVLIWB.js +63 -0
  256. package/dist/oncomatrix-LIIALWWN.js +290 -0
  257. package/dist/oncomatrix.spec-NEMLM2ZN.js +443 -0
  258. package/dist/plot.2dvaf-HJO3SKNK.js +372 -0
  259. package/dist/plot.app-WSLFOFSR.js +36 -0
  260. package/dist/plot.barplot-SPI5JA37.js +97 -0
  261. package/dist/plot.boxplot-4W3XEY5I.js +146 -0
  262. package/dist/plot.brainImaging-KEOUTYIB.js +51 -0
  263. package/dist/plot.disco-7IDMKNAQ.js +99 -0
  264. package/dist/plot.ssgq-IOKUGDC4.js +134 -0
  265. package/dist/plot.vaf2cov-SFSZ6M43.js +253 -0
  266. package/dist/polar2-PLPE5TX5.js +232 -0
  267. package/dist/profileForms-ZDHG67GM.js +941 -0
  268. package/dist/profilePlot-UUZA2YG6.js +49 -0
  269. package/dist/proteinView-GHS3XARL.js +1357 -0
  270. package/dist/proteomeCohortCompare-TQ3BGIPS.js +912 -0
  271. package/dist/pseudbulk.unit.spec-HFESRN7A.js +86 -0
  272. package/dist/pseudbulk.unit.spec-HFESRN7A.js.map +7 -0
  273. package/dist/pseudobulk-ODXYIUD5.js +35 -0
  274. package/dist/qualitative-WOSYAIGQ.js +38 -0
  275. package/dist/radar2-2KXBS3Y3.js +327 -0
  276. package/dist/radarFacility2-JCOKJQQF.js +335 -0
  277. package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +211 -0
  278. package/dist/render-IJ6GE3NE.js +33 -0
  279. package/dist/report-WLLFUA7L.js +217 -0
  280. package/dist/sampleView-LPKSYUNF.js +43 -0
  281. package/dist/samplelst-MNI2MGMT.js +106 -0
  282. package/dist/samplematrix-KEKJP2B4.js +2193 -0
  283. package/dist/sc-ZYKFRJU4.js +81 -0
  284. package/dist/scatter-BAEZOFWA.js +88 -0
  285. package/dist/scatter-IGFBIZ3B.js +925 -0
  286. package/dist/scatter-IGFBIZ3B.js.map +7 -0
  287. package/dist/selectGenomeWithTklst-HBHRXEDY.js +129 -0
  288. package/dist/singleCellCellType-PMFDV24B.js +33 -0
  289. package/dist/singleCellCellType.unit.spec-ZLYDUDIY.js +154 -0
  290. package/dist/singleCellGeneExpression-SUYO3HR3.js +33 -0
  291. package/dist/singleCellGeneExpression.unit.spec-3N3HRXFN.js +148 -0
  292. package/dist/singleCellNumericValue-BV7C6Y34.js +33 -0
  293. package/dist/singleCellNumericValue.unit.spec-7VJOMYQ6.js +416 -0
  294. package/dist/singleCellNumericValue.unit.spec-7VJOMYQ6.js.map +7 -0
  295. package/dist/singleCellPlot-BG7UJOHA.js +48 -0
  296. package/dist/singlecell-BANNFGBS.js +81 -0
  297. package/dist/singlecell-ZUTL5ZWE.js +1566 -0
  298. package/dist/snp-BHG4NVK4.js +33 -0
  299. package/dist/snp.unit.spec-Q3AZHQRC.js +171 -0
  300. package/dist/snplocus-HTJL63M3.js +203 -0
  301. package/dist/spliceevent.a53ss.diagram-UKRIP7EP.js +146 -0
  302. package/dist/spliceevent.exonskip.diagram-CU777CXQ.js +278 -0
  303. package/dist/spliceevent.noeventdiagram-LGLXCF25.js +455 -0
  304. package/dist/ssGSEA-BIEEKAKX.js +33 -0
  305. package/dist/ssGSEA.unit.spec-YD4UDIRH.js +83 -0
  306. package/dist/stattable-LFR3RSD6.js +117 -0
  307. package/dist/studyCatalog-RINIZ277.js +414 -0
  308. package/dist/summarizeCnvGeneexp-ZQFNPR65.js +158 -0
  309. package/dist/summarizeGeneexpSurvival-GIS7XMMH.js +105 -0
  310. package/dist/summarizeMutationCnv-FWF7YIGR.js +159 -0
  311. package/dist/summarizeMutationDiagnosis-V5L2OKTK.js +35 -0
  312. package/dist/summarizeMutationSurvival-LAUUF6XN.js +99 -0
  313. package/dist/summary-OMU3ACNE.js +44 -0
  314. package/dist/summary.integration.spec-6JZAT73L.js +409 -0
  315. package/dist/summaryInput-QIKL3HDD.js +242 -0
  316. package/dist/sunburst-32IW2R57.js +278 -0
  317. package/dist/survival-BMOPVAN2.js +53 -0
  318. package/dist/survival-H5AWMQ36.js +1248 -0
  319. package/dist/survival.integration.spec-66UOWSZG.js +613 -0
  320. package/dist/survival.integration.spec-66UOWSZG.js.map +7 -0
  321. package/dist/svgraph-B75FS3BB.js +1382 -0
  322. package/dist/svmr-IUEUOHVO.js +3837 -0
  323. package/dist/table-YAAH7WR6.js +197 -0
  324. package/dist/termCollection-7F5ZG2DB.js +252 -0
  325. package/dist/termCollection-KNFUELYY.js +33 -0
  326. package/dist/termCollection.unit.spec-S6M6QC4C.js +299 -0
  327. package/dist/termCollectionFractionSelection-X22VMJWY.js +42 -0
  328. package/dist/termCollectionFractionSelection.unit.spec-ELU6SD7P.js +188 -0
  329. package/dist/tk-TT666UVE.js +41 -0
  330. package/dist/tk-UOPNJ323.js +1121 -0
  331. package/dist/tp.ui-HGAHRKO5.js +1454 -0
  332. package/dist/tvs.dt-H7YYR4EB.js +34 -0
  333. package/dist/tvs.dtcnv.categorical-IPJTKGMF.js +35 -0
  334. package/dist/tvs.dtcnv.continuous-XY5XZ4GH.js +67 -0
  335. package/dist/tvs.dtfusion-VFCBMXRM.js +35 -0
  336. package/dist/tvs.dtitd-RZVW6FTR.js +35 -0
  337. package/dist/tvs.dtsnvindel-IDPJWSGC.js +35 -0
  338. package/dist/tvs.dtsv-QERP756F.js +35 -0
  339. package/dist/tvs.samplelst-6KNDHBIU.js +98 -0
  340. package/dist/tvs.termCollection-GWPJK3NE.js +124 -0
  341. package/dist/vocabulary-C5FIZMPQ.js +36 -0
  342. package/dist/vocabulary-C5FIZMPQ.js.map +7 -0
  343. package/dist/wsi.direct-2RBCBXDA.js +8343 -0
  344. package/package.json +3 -3
  345. package/dist/2dmaf-32F56QBJ.js +0 -1367
  346. package/dist/AggMatrixInput-RDFMGV47.js +0 -277
  347. package/dist/AggMatrixInput-RDFMGV47.js.map +0 -7
  348. package/dist/AggregateMatrix-TPXNNWVD.js +0 -41
  349. package/dist/AppHeader-SEJXDJE3.js +0 -830
  350. package/dist/BoxPlot-LOAO2MDO.js +0 -1211
  351. package/dist/CorrelationVolcano-AU6ZAFPG.js +0 -614
  352. package/dist/CorrelationVolcano-AU6ZAFPG.js.map +0 -7
  353. package/dist/Cuminc-O533BXFY.js +0 -1219
  354. package/dist/DE-FDAUNOWU.js +0 -89
  355. package/dist/DEinput-TF2VYTIJ.js +0 -499
  356. package/dist/DM-42YN3OEO.js +0 -90
  357. package/dist/DifferentialAnalysis-H5NBPR3P.js +0 -237
  358. package/dist/DifferentialAnalysis-H5NBPR3P.js.map +0 -7
  359. package/dist/Disco-FGFHIKUR.js +0 -3389
  360. package/dist/Disco.UI-YGIU2JPM.js +0 -243
  361. package/dist/DmrPlot-EQFXMAW5.js +0 -637
  362. package/dist/DmrPlot-EQFXMAW5.js.map +0 -7
  363. package/dist/GB-244UT5VU.js +0 -1391
  364. package/dist/GB-244UT5VU.js.map +0 -7
  365. package/dist/GSEA-KXQBR3HH.js +0 -851
  366. package/dist/GSEA-KXQBR3HH.js.map +0 -7
  367. package/dist/GeneExpInput-ZY6SHXTX.js +0 -42
  368. package/dist/Geomap-6ZV4AM23.js +0 -84
  369. package/dist/HicApp-4UHX2YGP.js +0 -2245
  370. package/dist/IDCViewer-AB6LLO64.js +0 -10812
  371. package/dist/NumBinaryEditor-CGSO2T4L.js +0 -279
  372. package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +0 -312
  373. package/dist/NumContEditor-YLKSC4Y2.js +0 -105
  374. package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +0 -164
  375. package/dist/NumCustomBinEditor-K3XSFHCC.js +0 -33
  376. package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +0 -397
  377. package/dist/NumDiscreteEditor-RJCSIW4R.js +0 -170
  378. package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +0 -233
  379. package/dist/NumRegularBinEditor-C3VIFDS4.js +0 -33
  380. package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +0 -278
  381. package/dist/NumSplineEditor-XBE7OV7P.js +0 -210
  382. package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +0 -224
  383. package/dist/NumericDensity-ZL7UY7TL.js +0 -33
  384. package/dist/NumericDensity.unit.spec-CWTMSR56.js +0 -418
  385. package/dist/NumericHandler-56ENFMNK.js +0 -34
  386. package/dist/NumericHandler.unit.spec-3YW34TTJ.js +0 -214
  387. package/dist/ProteomeInput-HIS4GYWH.js +0 -388
  388. package/dist/Regression-C5GZYLEN.js +0 -1416
  389. package/dist/Regression-C5GZYLEN.js.map +0 -7
  390. package/dist/RunChart2-X5WKYLPQ.js +0 -749
  391. package/dist/SC-3Y5J65DT.js +0 -1107
  392. package/dist/SC-3Y5J65DT.js.map +0 -7
  393. package/dist/Violin-F3QS2EMJ.js +0 -1082
  394. package/dist/Violin-F3QS2EMJ.js.map +0 -7
  395. package/dist/Volcano-ZNYDKP2O.js +0 -1649
  396. package/dist/Volcano-ZNYDKP2O.js.map +0 -7
  397. package/dist/Wsi-B6EIGTI2.js +0 -609
  398. package/dist/Wsi-B6EIGTI2.js.map +0 -7
  399. package/dist/adSandbox-A52OQSOW.js +0 -33
  400. package/dist/animatedBubbleChart-OQOZ3WFK.js +0 -547
  401. package/dist/app-4KIKXQX4.js +0 -32
  402. package/dist/app-NZUNKWKK.js +0 -42
  403. package/dist/bam-SME7YD3E.js +0 -876
  404. package/dist/barchart-ESY6FOS4.js +0 -42
  405. package/dist/barchart2-XEJZGCES.js +0 -309
  406. package/dist/block-747IK2EW.js +0 -6249
  407. package/dist/block-747IK2EW.js.map +0 -7
  408. package/dist/block.init-ITZ42K43.js +0 -33
  409. package/dist/block.mds.expressionrank-Q63IJAJK.js +0 -354
  410. package/dist/block.mds.geneboxplot-EZIKAIKC.js +0 -823
  411. package/dist/block.mds.junction-TJXFKZ2Q.js +0 -1539
  412. package/dist/block.mds.svcnv-WSIEAII6.js +0 -6796
  413. package/dist/block.svg-CQX5W6R4.js +0 -159
  414. package/dist/block.tk.aicheck-J4MQ4BSD.js +0 -278
  415. package/dist/block.tk.ase-2JFNPWCZ.js +0 -360
  416. package/dist/block.tk.bam-RBQ4AXSQ.js +0 -1901
  417. package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +0 -379
  418. package/dist/block.tk.bigwig.ui-U5IBO3VF.js +0 -206
  419. package/dist/block.tk.hicstraw-ZRZMFLLX.js +0 -818
  420. package/dist/block.tk.junction-7U7ABE4O.js +0 -2358
  421. package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +0 -194
  422. package/dist/block.tk.ld-E7WPFL5P.js +0 -94
  423. package/dist/block.tk.menu-AITMEZTZ.js +0 -1024
  424. package/dist/block.tk.pgv-EDPZHI5L.js +0 -938
  425. package/dist/brainImaging-35LPNBDR.js +0 -555
  426. package/dist/brainRegions-JMTQT4X3.js +0 -217
  427. package/dist/bubbleHeatmap-FMBKMDUL.js +0 -378
  428. package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +0 -278
  429. package/dist/chunk-2GBG3KA7.js +0 -129
  430. package/dist/chunk-2IVN5DWA.js +0 -302
  431. package/dist/chunk-36AAUYZE.js +0 -194
  432. package/dist/chunk-3K7AYA3M.js +0 -54
  433. package/dist/chunk-4JFFFGL3.js +0 -468
  434. package/dist/chunk-4KJSNR5E.js +0 -562
  435. package/dist/chunk-52QHIKH2.js +0 -2139
  436. package/dist/chunk-52QHIKH2.js.map +0 -7
  437. package/dist/chunk-5ALGKNTQ.js +0 -6360
  438. package/dist/chunk-5JCTTSV4.js +0 -480
  439. package/dist/chunk-5W7K7STT.js +0 -26
  440. package/dist/chunk-6CIGRV5K.js +0 -677
  441. package/dist/chunk-6CIGRV5K.js.map +0 -7
  442. package/dist/chunk-6U2OPC6J.js +0 -176
  443. package/dist/chunk-7AHTS4BP.js +0 -382
  444. package/dist/chunk-7HFAEB3C.js +0 -55
  445. package/dist/chunk-7HGZRJZZ.js +0 -98
  446. package/dist/chunk-A2ORIMUJ.js +0 -339
  447. package/dist/chunk-A32SGNCT.js +0 -1233
  448. package/dist/chunk-AKA6RWLC.js +0 -217
  449. package/dist/chunk-AMVZ6KT5.js +0 -240
  450. package/dist/chunk-ASXUC6SM.js +0 -54
  451. package/dist/chunk-BCO5T43J.js +0 -379
  452. package/dist/chunk-BDQPMVKD.js +0 -783
  453. package/dist/chunk-BOQZOLRA.js +0 -274
  454. package/dist/chunk-BSCMVKBP.js +0 -5071
  455. package/dist/chunk-BZN2O76M.js +0 -119
  456. package/dist/chunk-BZZZQFTI.js +0 -34
  457. package/dist/chunk-CRHGXVUQ.js +0 -272
  458. package/dist/chunk-D6AB63O3.js +0 -216
  459. package/dist/chunk-D6AB63O3.js.map +0 -7
  460. package/dist/chunk-DPQP2GUW.js +0 -626
  461. package/dist/chunk-EKQ7NYOU.js +0 -276
  462. package/dist/chunk-EUQEQOFE.js +0 -141
  463. package/dist/chunk-FKA55PHV.js +0 -281
  464. package/dist/chunk-GVLWCGXX.js +0 -397
  465. package/dist/chunk-HLVWCJRO.js +0 -518
  466. package/dist/chunk-HPAW7XDM.js +0 -178
  467. package/dist/chunk-HPAW7XDM.js.map +0 -7
  468. package/dist/chunk-IV57XNTG.js +0 -123
  469. package/dist/chunk-JMAFJKGG.js +0 -243
  470. package/dist/chunk-JZHRVYNS.js +0 -2676
  471. package/dist/chunk-K6YUMBDY.js +0 -55
  472. package/dist/chunk-K6YUMBDY.js.map +0 -7
  473. package/dist/chunk-KTKZSYIH.js +0 -24
  474. package/dist/chunk-KTKZSYIH.js.map +0 -7
  475. package/dist/chunk-L6WNBKYN.js +0 -158
  476. package/dist/chunk-LGR6CJTW.js +0 -2853
  477. package/dist/chunk-LOWJQFCC.js +0 -550
  478. package/dist/chunk-M5SYLBBC.js +0 -2327
  479. package/dist/chunk-MKAILEWO.js +0 -59
  480. package/dist/chunk-N4PDPZWQ.js +0 -4366
  481. package/dist/chunk-N4PDPZWQ.js.map +0 -7
  482. package/dist/chunk-OIJ6GRVS.js +0 -134
  483. package/dist/chunk-ONVIVITY.js +0 -203
  484. package/dist/chunk-OQX3HO46.js +0 -56
  485. package/dist/chunk-OQX3HO46.js.map +0 -7
  486. package/dist/chunk-OYLGAFFY.js +0 -31
  487. package/dist/chunk-P7DIIYCX.js +0 -197
  488. package/dist/chunk-P7DIIYCX.js.map +0 -7
  489. package/dist/chunk-PC4MFDHP.js +0 -24613
  490. package/dist/chunk-PC4MFDHP.js.map +0 -7
  491. package/dist/chunk-PGKOJYV6.js +0 -50
  492. package/dist/chunk-PGKOJYV6.js.map +0 -7
  493. package/dist/chunk-PPSWNLMG.js +0 -402
  494. package/dist/chunk-PPSWNLMG.js.map +0 -7
  495. package/dist/chunk-R624P2GE.js +0 -263
  496. package/dist/chunk-RBSAEAQV.js +0 -446
  497. package/dist/chunk-RUBZCKIX.js +0 -1608
  498. package/dist/chunk-RUBZCKIX.js.map +0 -7
  499. package/dist/chunk-RZ3KEFZ2.js +0 -339
  500. package/dist/chunk-SS66BHGA.js +0 -103
  501. package/dist/chunk-SU63FEY6.js +0 -294
  502. package/dist/chunk-SVC65ZPG.js +0 -102
  503. package/dist/chunk-TG3QBMDK.js +0 -102
  504. package/dist/chunk-TMXW5HVE.js +0 -1278
  505. package/dist/chunk-TPDBOH3A.js +0 -1339
  506. package/dist/chunk-U5RWKZVS.js +0 -1720
  507. package/dist/chunk-U5RWKZVS.js.map +0 -7
  508. package/dist/chunk-UYKZ5HXA.js +0 -1986
  509. package/dist/chunk-VOYUJJQ6.js +0 -70
  510. package/dist/chunk-W4RYRU5D.js +0 -38
  511. package/dist/chunk-WFSMIVJT.js +0 -2784
  512. package/dist/chunk-Y4PX2ECH.js +0 -299
  513. package/dist/chunk-YKM46UX5.js +0 -170
  514. package/dist/chunk-Z7AO6A7M.js +0 -14
  515. package/dist/chunk-ZENZ5H2Q.js +0 -49
  516. package/dist/cohort-Q7TW5XTY.js +0 -70
  517. package/dist/condition-H6LBUHIF.js +0 -327
  518. package/dist/controls-DWDKFDXY.js +0 -34
  519. package/dist/controls.config-KF7PHZSG.js +0 -34
  520. package/dist/correlation-YMSARIER.js +0 -95
  521. package/dist/customdata.inputui-KEFE7ZHS.js +0 -284
  522. package/dist/dataDownload-G7TGPFGL.js +0 -329
  523. package/dist/databrowser.ui-NFIIFQJZ.js +0 -425
  524. package/dist/dictionary-ERJQMALC.js +0 -113
  525. package/dist/dnaMethylation-KVCXKAU3.js +0 -33
  526. package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +0 -198
  527. package/dist/dofetch-YRWLEQEH.js +0 -48
  528. package/dist/e2pca-M2F2CI6I.js +0 -344
  529. package/dist/ep-QAEG4RV4.js +0 -1249
  530. package/dist/expclust.gdc.spec-P77T6JR2.js +0 -302
  531. package/dist/facet-LJTSTASE.js +0 -519
  532. package/dist/gb-KSB2DQHH.js +0 -81
  533. package/dist/geneExpClustering-KHDCPE65.js +0 -244
  534. package/dist/geneExpression-AWWMOUAR.js +0 -310
  535. package/dist/geneExpression-Z2EDR6EN.js +0 -33
  536. package/dist/geneExpression.unit.spec-WB2ESPKT.js +0 -128
  537. package/dist/geneExpression.unit.spec-WB2ESPKT.js.map +0 -7
  538. package/dist/geneORA-NGZTMFSJ.js +0 -273
  539. package/dist/geneRanking-AYNBGFKU.js +0 -548
  540. package/dist/geneVariant-AL64NDHH.js +0 -36
  541. package/dist/geneVariant-QMKR3LUV.js +0 -286
  542. package/dist/geneVariant-QMKR3LUV.js.map +0 -7
  543. package/dist/geneVariant.integration.spec-N3U5CIRT.js +0 -489
  544. package/dist/geneVariant.integration.spec-N3U5CIRT.js.map +0 -7
  545. package/dist/genefusion.ui-IWJMF2BM.js +0 -303
  546. package/dist/geneset-APCO4BRX.js +0 -203
  547. package/dist/genomeBrowser.spec-JTCVUTO5.js +0 -276
  548. package/dist/grin2-FVX6AIST.js +0 -70
  549. package/dist/grin2-LF46UKFY.js +0 -1137
  550. package/dist/grin2-LF46UKFY.js.map +0 -7
  551. package/dist/hierCluster-4DRHXD6W.js +0 -55
  552. package/dist/hierCluster-SFRQK3PS.js +0 -59
  553. package/dist/hierCluster.config-G2TFGBYF.js +0 -36
  554. package/dist/hierCluster.integration.spec-ZUZKCG6A.js +0 -483
  555. package/dist/hierCluster.interactivity-LQA6J56H.js +0 -49
  556. package/dist/hierCluster.renderers-TZZJEVFO.js +0 -19
  557. package/dist/imagePlot-OUHFWYKT.js +0 -156
  558. package/dist/importPlot-7V456QK7.js +0 -8
  559. package/dist/isoformExpression-NGUJJ6VI.js +0 -35
  560. package/dist/isoformExpression.unit.spec-DCRPXPBY.js +0 -237
  561. package/dist/junction-QYKLNXIW.js +0 -36
  562. package/dist/junction.customTerm-EHOOBR4V.js +0 -16
  563. package/dist/junction.unit.spec-LDNY7OFK.js +0 -182
  564. package/dist/launch.adhoc-FF7B3UG6.js +0 -37
  565. package/dist/leftlabel.sample-BTHMKLGF.js +0 -258
  566. package/dist/lollipop-H3UCNMHN.js +0 -166
  567. package/dist/maf-KWGUTPKO.js +0 -455
  568. package/dist/maftimeline-UD5VE4UW.js +0 -587
  569. package/dist/matrix-DLCX6GOO.js +0 -59
  570. package/dist/matrix-TIV42IQB.js +0 -54
  571. package/dist/matrix.cells-J3QZ7C6U.js +0 -26
  572. package/dist/matrix.config-VNMS6B7J.js +0 -37
  573. package/dist/matrix.data-PIE3TLKD.js +0 -23
  574. package/dist/matrix.groups-URBU775S.js +0 -26
  575. package/dist/matrix.integration.spec-LC6YMEKP.js +0 -3160
  576. package/dist/matrix.integration.spec-LC6YMEKP.js.map +0 -7
  577. package/dist/matrix.interactivity-W5AFOAQN.js +0 -37
  578. package/dist/matrix.layout-LU3NIJAL.js +0 -39
  579. package/dist/matrix.legend-LTP6ETZO.js +0 -20
  580. package/dist/matrix.renderers-762XI65L.js +0 -34
  581. package/dist/matrix.serieses-FHDBRPZA.js +0 -19
  582. package/dist/matrix.sort-Q6A6UWMY.js +0 -26
  583. package/dist/matrix.sort.unit.spec-CTCOPKVS.js +0 -468
  584. package/dist/matrix.sorterUi-4M5AU5EL.js +0 -16
  585. package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +0 -338
  586. package/dist/matrix.unit.spec-DROPHFTM.js +0 -150
  587. package/dist/mavb-BWA73N3U.js +0 -727
  588. package/dist/mds.fimo-3UJWIH2J.js +0 -513
  589. package/dist/mds.samplescatterplot-EUS7DCSQ.js +0 -1545
  590. package/dist/mds.survivalplot-77UEBQIC.js +0 -477
  591. package/dist/multivalue-KZ2DMVIR.js +0 -83
  592. package/dist/numericDictTermCluster-C2MYJYPZ.js +0 -63
  593. package/dist/oncomatrix-6LGB3M7R.js +0 -290
  594. package/dist/oncomatrix.spec-UWMSLOHW.js +0 -443
  595. package/dist/plot.2dvaf-LZAVWH65.js +0 -372
  596. package/dist/plot.app-OEWE3AYV.js +0 -36
  597. package/dist/plot.barplot-VIBHGTUT.js +0 -97
  598. package/dist/plot.boxplot-NQI3PSKR.js +0 -146
  599. package/dist/plot.brainImaging-3MTTCZHI.js +0 -51
  600. package/dist/plot.disco-HODBY7SO.js +0 -99
  601. package/dist/plot.ssgq-4URQE673.js +0 -134
  602. package/dist/plot.vaf2cov-QIJNEKCK.js +0 -253
  603. package/dist/polar2-GVFQNSLK.js +0 -232
  604. package/dist/profileForms-Z22CJXI4.js +0 -941
  605. package/dist/profilePlot-IVQZBSID.js +0 -49
  606. package/dist/proteinView-AUK634AU.js +0 -1357
  607. package/dist/proteomeCohortCompare-7G2F35H5.js +0 -912
  608. package/dist/pseudbulk.unit.spec-JDKUQUCM.js +0 -106
  609. package/dist/pseudbulk.unit.spec-JDKUQUCM.js.map +0 -7
  610. package/dist/pseudobulk-QTCUSH5I.js +0 -37
  611. package/dist/qualitative-7ST7SSBT.js +0 -38
  612. package/dist/radar2-CEE6SNBS.js +0 -327
  613. package/dist/radarFacility2-OSKDYIK7.js +0 -335
  614. package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +0 -211
  615. package/dist/render-MAD3WMVD.js +0 -33
  616. package/dist/report-6JXJVSEB.js +0 -217
  617. package/dist/sampleView-SG3QYZKQ.js +0 -43
  618. package/dist/samplelst-R765UFP6.js +0 -106
  619. package/dist/samplematrix-EBJYE5SM.js +0 -2193
  620. package/dist/sc-7ZXPFDHD.js +0 -81
  621. package/dist/scatter-3GUL4KF3.js +0 -88
  622. package/dist/scatter-RHUVER53.js +0 -920
  623. package/dist/scatter-RHUVER53.js.map +0 -7
  624. package/dist/selectGenomeWithTklst-K4YXGJYG.js +0 -129
  625. package/dist/singleCellCellType-TU5VTPLP.js +0 -33
  626. package/dist/singleCellCellType.unit.spec-IRITQIGT.js +0 -154
  627. package/dist/singleCellGeneExpression-3IL52QDK.js +0 -33
  628. package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +0 -148
  629. package/dist/singleCellPlot-XG3HZS7I.js +0 -48
  630. package/dist/singlecell-BRF2HAV2.js +0 -81
  631. package/dist/singlecell-KVCJF2HI.js +0 -1566
  632. package/dist/snp-RMZRB426.js +0 -33
  633. package/dist/snp.unit.spec-JF6KR2NT.js +0 -171
  634. package/dist/snplocus-AHUFHQ3Q.js +0 -203
  635. package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +0 -146
  636. package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +0 -278
  637. package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +0 -455
  638. package/dist/ssGSEA-7RKWYZKX.js +0 -33
  639. package/dist/ssGSEA.unit.spec-XLCZHH7S.js +0 -83
  640. package/dist/stattable-NDYUCLVZ.js +0 -117
  641. package/dist/studyCatalog-TAXRF5NS.js +0 -414
  642. package/dist/summarizeCnvGeneexp-3QLHU6N7.js +0 -158
  643. package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +0 -105
  644. package/dist/summarizeMutationCnv-W7V7CKPI.js +0 -159
  645. package/dist/summarizeMutationDiagnosis-GCL4SRON.js +0 -35
  646. package/dist/summarizeMutationSurvival-6TTMSRRX.js +0 -99
  647. package/dist/summary-OUYDWLBF.js +0 -44
  648. package/dist/summary.integration.spec-4GTCG6HY.js +0 -409
  649. package/dist/summaryInput-UK3TLC7M.js +0 -242
  650. package/dist/sunburst-2UFHMNH3.js +0 -278
  651. package/dist/survival-SPWYSDVB.js +0 -53
  652. package/dist/survival-TL6UZ6FQ.js +0 -1248
  653. package/dist/survival.integration.spec-WWZELTKZ.js +0 -613
  654. package/dist/survival.integration.spec-WWZELTKZ.js.map +0 -7
  655. package/dist/svgraph-Z543MLIN.js +0 -1382
  656. package/dist/svmr-SZCAOAIF.js +0 -3837
  657. package/dist/table-IAQ6J4DO.js +0 -197
  658. package/dist/termCollection-3NGHR7QN.js +0 -252
  659. package/dist/termCollection-7P3WU6X6.js +0 -33
  660. package/dist/termCollection.unit.spec-EPYC7LOA.js +0 -299
  661. package/dist/termCollectionFractionSelection-YKIE6BME.js +0 -42
  662. package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +0 -188
  663. package/dist/tk-TOXMU4GT.js +0 -1121
  664. package/dist/tk-X454XH5N.js +0 -41
  665. package/dist/tp.ui-FDQ76KPL.js +0 -1454
  666. package/dist/tvs.dt-U77PCG6X.js +0 -34
  667. package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +0 -35
  668. package/dist/tvs.dtcnv.continuous-4GJILFGP.js +0 -67
  669. package/dist/tvs.dtfusion-7YROAHVI.js +0 -35
  670. package/dist/tvs.dtitd-MIYU4ZHH.js +0 -35
  671. package/dist/tvs.dtsnvindel-XLDY7KWB.js +0 -35
  672. package/dist/tvs.dtsv-YMLJ37YR.js +0 -35
  673. package/dist/tvs.samplelst-KIVEXJKD.js +0 -98
  674. package/dist/tvs.termCollection-4CQV3EB3.js +0 -124
  675. package/dist/vocabulary-64GO4YDB.js +0 -36
  676. package/dist/wsi.direct-5MQVRJZX.js +0 -8343
  677. /package/dist/{2dmaf-32F56QBJ.js.map → 2dmaf-VTMPVZGT.js.map} +0 -0
  678. /package/dist/{AggregateMatrix-TPXNNWVD.js.map → AggregateMatrix-DPCHUOMF.js.map} +0 -0
  679. /package/dist/{AppHeader-SEJXDJE3.js.map → AppHeader-RA7T467G.js.map} +0 -0
  680. /package/dist/{BoxPlot-LOAO2MDO.js.map → BoxPlot-7Q7SMT26.js.map} +0 -0
  681. /package/dist/{Cuminc-O533BXFY.js.map → Cuminc-ZN53C3MD.js.map} +0 -0
  682. /package/dist/{DE-FDAUNOWU.js.map → DE-BEWW5AIG.js.map} +0 -0
  683. /package/dist/{DEinput-TF2VYTIJ.js.map → DEinput-SJITUJF2.js.map} +0 -0
  684. /package/dist/{DM-42YN3OEO.js.map → DM-2LBNE4WE.js.map} +0 -0
  685. /package/dist/{Disco-FGFHIKUR.js.map → Disco-PTZQF7IM.js.map} +0 -0
  686. /package/dist/{Disco.UI-YGIU2JPM.js.map → Disco.UI-NBR67N5M.js.map} +0 -0
  687. /package/dist/{GeneExpInput-ZY6SHXTX.js.map → GeneExpInput-DYBK54HC.js.map} +0 -0
  688. /package/dist/{Geomap-6ZV4AM23.js.map → Geomap-QRD2WZVL.js.map} +0 -0
  689. /package/dist/{HicApp-4UHX2YGP.js.map → HicApp-VKET4QHD.js.map} +0 -0
  690. /package/dist/{IDCViewer-AB6LLO64.js.map → IDCViewer-RLLTXGD7.js.map} +0 -0
  691. /package/dist/{NumBinaryEditor-CGSO2T4L.js.map → NumBinaryEditor-GYHOYPQL.js.map} +0 -0
  692. /package/dist/{NumBinaryEditor.unit.spec-3QHARZQJ.js.map → NumBinaryEditor.unit.spec-E2HKBWOO.js.map} +0 -0
  693. /package/dist/{NumContEditor-YLKSC4Y2.js.map → NumContEditor-3V76ZSEY.js.map} +0 -0
  694. /package/dist/{NumContEditor.unit.spec-L3GC3ZTJ.js.map → NumContEditor.unit.spec-RTT5Q5E5.js.map} +0 -0
  695. /package/dist/{NumCustomBinEditor-K3XSFHCC.js.map → NumCustomBinEditor-O5DMPY7H.js.map} +0 -0
  696. /package/dist/{NumCustomBinEditor.unit.spec-2FUHE6BX.js.map → NumCustomBinEditor.unit.spec-5LZBP2JL.js.map} +0 -0
  697. /package/dist/{NumDiscreteEditor-RJCSIW4R.js.map → NumDiscreteEditor-DFOJ7AIH.js.map} +0 -0
  698. /package/dist/{NumDiscreteEditor.unit.spec-CUA6BOIS.js.map → NumDiscreteEditor.unit.spec-PPJGEBFX.js.map} +0 -0
  699. /package/dist/{NumRegularBinEditor-C3VIFDS4.js.map → NumRegularBinEditor-O6RDO32C.js.map} +0 -0
  700. /package/dist/{NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map → NumRegularBinEditor.unit.spec-GOB3BF25.js.map} +0 -0
  701. /package/dist/{NumSplineEditor-XBE7OV7P.js.map → NumSplineEditor-PUXJF2RW.js.map} +0 -0
  702. /package/dist/{NumSplineEditor.unit.spec-CKRRI4US.js.map → NumSplineEditor.unit.spec-4VOAAMOU.js.map} +0 -0
  703. /package/dist/{NumericDensity-ZL7UY7TL.js.map → NumericDensity-E6MH2THZ.js.map} +0 -0
  704. /package/dist/{NumericDensity.unit.spec-CWTMSR56.js.map → NumericDensity.unit.spec-IRPFBQUS.js.map} +0 -0
  705. /package/dist/{NumericHandler-56ENFMNK.js.map → NumericHandler-42RR54X3.js.map} +0 -0
  706. /package/dist/{NumericHandler.unit.spec-3YW34TTJ.js.map → NumericHandler.unit.spec-YYOO7XVT.js.map} +0 -0
  707. /package/dist/{ProteomeInput-HIS4GYWH.js.map → ProteomeInput-4N2G6IFX.js.map} +0 -0
  708. /package/dist/{RunChart2-X5WKYLPQ.js.map → RunChart2-VAX5JGZY.js.map} +0 -0
  709. /package/dist/{adSandbox-A52OQSOW.js.map → adSandbox-CLMUYNC3.js.map} +0 -0
  710. /package/dist/{animatedBubbleChart-OQOZ3WFK.js.map → animatedBubbleChart-GMLNYTQC.js.map} +0 -0
  711. /package/dist/{app-4KIKXQX4.js.map → app-2SFDRDN2.js.map} +0 -0
  712. /package/dist/{app-NZUNKWKK.js.map → app-QOZ36UR4.js.map} +0 -0
  713. /package/dist/{bam-SME7YD3E.js.map → bam-LLAK7FVG.js.map} +0 -0
  714. /package/dist/{barchart-ESY6FOS4.js.map → barchart-SEC6VKQ2.js.map} +0 -0
  715. /package/dist/{barchart2-XEJZGCES.js.map → barchart2-D4FXZCTU.js.map} +0 -0
  716. /package/dist/{block.init-ITZ42K43.js.map → block.init-UMRCAKCF.js.map} +0 -0
  717. /package/dist/{block.mds.expressionrank-Q63IJAJK.js.map → block.mds.expressionrank-LFPJ52SX.js.map} +0 -0
  718. /package/dist/{block.mds.geneboxplot-EZIKAIKC.js.map → block.mds.geneboxplot-2QIEN6AH.js.map} +0 -0
  719. /package/dist/{block.mds.junction-TJXFKZ2Q.js.map → block.mds.junction-Z4HUFSG2.js.map} +0 -0
  720. /package/dist/{block.mds.svcnv-WSIEAII6.js.map → block.mds.svcnv-3GXGY6ET.js.map} +0 -0
  721. /package/dist/{block.svg-CQX5W6R4.js.map → block.svg-7RCJLMAP.js.map} +0 -0
  722. /package/dist/{block.tk.aicheck-J4MQ4BSD.js.map → block.tk.aicheck-5N6EGZ6F.js.map} +0 -0
  723. /package/dist/{block.tk.ase-2JFNPWCZ.js.map → block.tk.ase-V3AJRYT6.js.map} +0 -0
  724. /package/dist/{block.tk.bam-RBQ4AXSQ.js.map → block.tk.bam-W6QOVVEU.js.map} +0 -0
  725. /package/dist/{block.tk.bedgraphdot-ZQBOMVTO.js.map → block.tk.bedgraphdot-FKTPJZTH.js.map} +0 -0
  726. /package/dist/{block.tk.bigwig.ui-U5IBO3VF.js.map → block.tk.bigwig.ui-Y3M2TDM2.js.map} +0 -0
  727. /package/dist/{block.tk.hicstraw-ZRZMFLLX.js.map → block.tk.hicstraw-3SWYTMFQ.js.map} +0 -0
  728. /package/dist/{block.tk.junction-7U7ABE4O.js.map → block.tk.junction-OXB22PDS.js.map} +0 -0
  729. /package/dist/{block.tk.junction.textmatrixui-AEXZ7W3U.js.map → block.tk.junction.textmatrixui-PWBLRGCO.js.map} +0 -0
  730. /package/dist/{block.tk.ld-E7WPFL5P.js.map → block.tk.ld-NTRJL5GA.js.map} +0 -0
  731. /package/dist/{block.tk.menu-AITMEZTZ.js.map → block.tk.menu-JIHSGGIO.js.map} +0 -0
  732. /package/dist/{block.tk.pgv-EDPZHI5L.js.map → block.tk.pgv-4Q6CY6QN.js.map} +0 -0
  733. /package/dist/{brainImaging-35LPNBDR.js.map → brainImaging-MBI4XTTU.js.map} +0 -0
  734. /package/dist/{brainRegions-JMTQT4X3.js.map → brainRegions-YVTAESRP.js.map} +0 -0
  735. /package/dist/{bubbleHeatmap-FMBKMDUL.js.map → bubbleHeatmap-ZKTA3AIG.js.map} +0 -0
  736. /package/dist/{cellTypeBubbleHeatmap-ZPTAGEWW.js.map → cellTypeBubbleHeatmap-GJZNXDG4.js.map} +0 -0
  737. /package/dist/{chunk-5ALGKNTQ.js.map → chunk-2RMSV4BS.js.map} +0 -0
  738. /package/dist/{chunk-Y4PX2ECH.js.map → chunk-33BE7AYS.js.map} +0 -0
  739. /package/dist/{chunk-BZN2O76M.js.map → chunk-3FEP6B5T.js.map} +0 -0
  740. /package/dist/{chunk-W4RYRU5D.js.map → chunk-4G73CMUL.js.map} +0 -0
  741. /package/dist/{chunk-FKA55PHV.js.map → chunk-5FRETII3.js.map} +0 -0
  742. /package/dist/{chunk-YKM46UX5.js.map → chunk-5LYVIIYR.js.map} +0 -0
  743. /package/dist/{chunk-A2ORIMUJ.js.map → chunk-6FG6JFZP.js.map} +0 -0
  744. /package/dist/{chunk-VOYUJJQ6.js.map → chunk-6LDKSKYQ.js.map} +0 -0
  745. /package/dist/{chunk-CRHGXVUQ.js.map → chunk-7FFTAYT4.js.map} +0 -0
  746. /package/dist/{chunk-RZ3KEFZ2.js.map → chunk-7GDRMBNO.js.map} +0 -0
  747. /package/dist/{chunk-UYKZ5HXA.js.map → chunk-A2UUXYH6.js.map} +0 -0
  748. /package/dist/{chunk-LGR6CJTW.js.map → chunk-AFQKYV4D.js.map} +0 -0
  749. /package/dist/{chunk-EKQ7NYOU.js.map → chunk-ANACCKCQ.js.map} +0 -0
  750. /package/dist/{chunk-4KJSNR5E.js.map → chunk-AR3HXZIW.js.map} +0 -0
  751. /package/dist/{chunk-RBSAEAQV.js.map → chunk-AVCEHJG7.js.map} +0 -0
  752. /package/dist/{chunk-OIJ6GRVS.js.map → chunk-BG3SGGVB.js.map} +0 -0
  753. /package/dist/{chunk-7AHTS4BP.js.map → chunk-CFZ2ZW3E.js.map} +0 -0
  754. /package/dist/{chunk-5W7K7STT.js.map → chunk-CKOU3P27.js.map} +0 -0
  755. /package/dist/{chunk-GVLWCGXX.js.map → chunk-CN6KJORZ.js.map} +0 -0
  756. /package/dist/{chunk-ONVIVITY.js.map → chunk-CYWEYHJQ.js.map} +0 -0
  757. /package/dist/{chunk-L6WNBKYN.js.map → chunk-D5ETVOOE.js.map} +0 -0
  758. /package/dist/{chunk-TG3QBMDK.js.map → chunk-DANF4CC5.js.map} +0 -0
  759. /package/dist/{chunk-TPDBOH3A.js.map → chunk-DNCFJTPI.js.map} +0 -0
  760. /package/dist/{chunk-5JCTTSV4.js.map → chunk-FNW6BKOA.js.map} +0 -0
  761. /package/dist/{chunk-3K7AYA3M.js.map → chunk-FR5USNAT.js.map} +0 -0
  762. /package/dist/{chunk-DPQP2GUW.js.map → chunk-GYE6FU7P.js.map} +0 -0
  763. /package/dist/{chunk-TMXW5HVE.js.map → chunk-IEIGHCZS.js.map} +0 -0
  764. /package/dist/{chunk-BSCMVKBP.js.map → chunk-JMDUO47F.js.map} +0 -0
  765. /package/dist/{chunk-ASXUC6SM.js.map → chunk-JTANDSTD.js.map} +0 -0
  766. /package/dist/{chunk-BCO5T43J.js.map → chunk-JTQPPUDG.js.map} +0 -0
  767. /package/dist/{chunk-2IVN5DWA.js.map → chunk-K32DV4QI.js.map} +0 -0
  768. /package/dist/{chunk-7HGZRJZZ.js.map → chunk-K77W4SSI.js.map} +0 -0
  769. /package/dist/{chunk-SVC65ZPG.js.map → chunk-KEHVNCFK.js.map} +0 -0
  770. /package/dist/{chunk-7HFAEB3C.js.map → chunk-MMKSXXU2.js.map} +0 -0
  771. /package/dist/{chunk-OYLGAFFY.js.map → chunk-NDOKW2HJ.js.map} +0 -0
  772. /package/dist/{chunk-HLVWCJRO.js.map → chunk-NGMM2MNC.js.map} +0 -0
  773. /package/dist/{chunk-JZHRVYNS.js.map → chunk-OEBGQKQR.js.map} +0 -0
  774. /package/dist/{chunk-4JFFFGL3.js.map → chunk-OI5KBFBE.js.map} +0 -0
  775. /package/dist/{chunk-JMAFJKGG.js.map → chunk-OWEBE64A.js.map} +0 -0
  776. /package/dist/{chunk-BDQPMVKD.js.map → chunk-P7X4LDW4.js.map} +0 -0
  777. /package/dist/{chunk-MKAILEWO.js.map → chunk-QD75Q5LM.js.map} +0 -0
  778. /package/dist/{chunk-EUQEQOFE.js.map → chunk-QGH5BM2D.js.map} +0 -0
  779. /package/dist/{chunk-AMVZ6KT5.js.map → chunk-QSOFGLWZ.js.map} +0 -0
  780. /package/dist/{chunk-AKA6RWLC.js.map → chunk-QXDGIQYA.js.map} +0 -0
  781. /package/dist/{chunk-6U2OPC6J.js.map → chunk-R2QE6ROO.js.map} +0 -0
  782. /package/dist/{chunk-SS66BHGA.js.map → chunk-RMHUDMZ7.js.map} +0 -0
  783. /package/dist/{chunk-IV57XNTG.js.map → chunk-SXB4IZQ7.js.map} +0 -0
  784. /package/dist/{chunk-R624P2GE.js.map → chunk-TYR355RM.js.map} +0 -0
  785. /package/dist/{chunk-WFSMIVJT.js.map → chunk-ULZPHJYD.js.map} +0 -0
  786. /package/dist/{chunk-Z7AO6A7M.js.map → chunk-VFUSBU43.js.map} +0 -0
  787. /package/dist/{chunk-BOQZOLRA.js.map → chunk-VOF6NWTS.js.map} +0 -0
  788. /package/dist/{chunk-M5SYLBBC.js.map → chunk-WGDJX7WZ.js.map} +0 -0
  789. /package/dist/{chunk-SU63FEY6.js.map → chunk-WIQVSCD5.js.map} +0 -0
  790. /package/dist/{chunk-2GBG3KA7.js.map → chunk-X4MV2M5F.js.map} +0 -0
  791. /package/dist/{chunk-ZENZ5H2Q.js.map → chunk-YHP7MYB7.js.map} +0 -0
  792. /package/dist/{chunk-LOWJQFCC.js.map → chunk-YHWQWVWX.js.map} +0 -0
  793. /package/dist/{chunk-A32SGNCT.js.map → chunk-YKZOQTT4.js.map} +0 -0
  794. /package/dist/{chunk-BZZZQFTI.js.map → chunk-Z5HU276I.js.map} +0 -0
  795. /package/dist/{chunk-36AAUYZE.js.map → chunk-Z6MCBFDM.js.map} +0 -0
  796. /package/dist/{cohort-Q7TW5XTY.js.map → cohort-GVAJTICQ.js.map} +0 -0
  797. /package/dist/{condition-H6LBUHIF.js.map → condition-EGPNMM47.js.map} +0 -0
  798. /package/dist/{controls-DWDKFDXY.js.map → controls-HBROSXHF.js.map} +0 -0
  799. /package/dist/{controls.config-KF7PHZSG.js.map → controls.config-FWKV66TU.js.map} +0 -0
  800. /package/dist/{correlation-YMSARIER.js.map → correlation-CEHE66EC.js.map} +0 -0
  801. /package/dist/{customdata.inputui-KEFE7ZHS.js.map → customdata.inputui-LFT3N5FD.js.map} +0 -0
  802. /package/dist/{dataDownload-G7TGPFGL.js.map → dataDownload-ZPAIAAE4.js.map} +0 -0
  803. /package/dist/{databrowser.ui-NFIIFQJZ.js.map → databrowser.ui-W5JGFBE6.js.map} +0 -0
  804. /package/dist/{dictionary-ERJQMALC.js.map → dictionary-RBE2CIZI.js.map} +0 -0
  805. /package/dist/{dnaMethylation-KVCXKAU3.js.map → dnaMethylation-CX22TSRO.js.map} +0 -0
  806. /package/dist/{dnaMethylation.integration.spec-3NXGGG4J.js.map → dnaMethylation.integration.spec-KEE6ZZRT.js.map} +0 -0
  807. /package/dist/{dofetch-YRWLEQEH.js.map → dofetch-6NAGX5EG.js.map} +0 -0
  808. /package/dist/{e2pca-M2F2CI6I.js.map → e2pca-XDGPTEXL.js.map} +0 -0
  809. /package/dist/{ep-QAEG4RV4.js.map → ep-IUIDMIGW.js.map} +0 -0
  810. /package/dist/{expclust.gdc.spec-P77T6JR2.js.map → expclust.gdc.spec-BMN2PTJX.js.map} +0 -0
  811. /package/dist/{facet-LJTSTASE.js.map → facet-DTJKZOBA.js.map} +0 -0
  812. /package/dist/{gb-KSB2DQHH.js.map → gb-MV7MUJWO.js.map} +0 -0
  813. /package/dist/{geneExpClustering-KHDCPE65.js.map → geneExpClustering-NFH5FS3S.js.map} +0 -0
  814. /package/dist/{geneExpression-AWWMOUAR.js.map → geneExpression-XVOLNYVN.js.map} +0 -0
  815. /package/dist/{geneExpression-Z2EDR6EN.js.map → geneExpression-ZP2VWHED.js.map} +0 -0
  816. /package/dist/{geneORA-NGZTMFSJ.js.map → geneORA-HQ7FLMEJ.js.map} +0 -0
  817. /package/dist/{geneRanking-AYNBGFKU.js.map → geneRanking-MIABUKTN.js.map} +0 -0
  818. /package/dist/{geneVariant-AL64NDHH.js.map → geneVariant-HDFWLALZ.js.map} +0 -0
  819. /package/dist/{genefusion.ui-IWJMF2BM.js.map → genefusion.ui-HSDZQHJA.js.map} +0 -0
  820. /package/dist/{geneset-APCO4BRX.js.map → geneset-WKV3X2EJ.js.map} +0 -0
  821. /package/dist/{genomeBrowser.spec-JTCVUTO5.js.map → genomeBrowser.spec-UTAHAU76.js.map} +0 -0
  822. /package/dist/{grin2-FVX6AIST.js.map → grin2-M2JDZVYU.js.map} +0 -0
  823. /package/dist/{hierCluster-4DRHXD6W.js.map → hierCluster-LZI6OTRS.js.map} +0 -0
  824. /package/dist/{hierCluster-SFRQK3PS.js.map → hierCluster-VVXPOTQU.js.map} +0 -0
  825. /package/dist/{hierCluster.config-G2TFGBYF.js.map → hierCluster.config-NCYH3Y7Z.js.map} +0 -0
  826. /package/dist/{hierCluster.integration.spec-ZUZKCG6A.js.map → hierCluster.integration.spec-ZDOOCTV3.js.map} +0 -0
  827. /package/dist/{hierCluster.interactivity-LQA6J56H.js.map → hierCluster.interactivity-4HP3JCON.js.map} +0 -0
  828. /package/dist/{hierCluster.renderers-TZZJEVFO.js.map → hierCluster.renderers-3F5GMEXA.js.map} +0 -0
  829. /package/dist/{imagePlot-OUHFWYKT.js.map → imagePlot-OA4WTMLU.js.map} +0 -0
  830. /package/dist/{importPlot-7V456QK7.js.map → importPlot-OSTC2GPO.js.map} +0 -0
  831. /package/dist/{isoformExpression-NGUJJ6VI.js.map → isoformExpression-LZ5RTUS5.js.map} +0 -0
  832. /package/dist/{isoformExpression.unit.spec-DCRPXPBY.js.map → isoformExpression.unit.spec-L6YDBKYM.js.map} +0 -0
  833. /package/dist/{junction-QYKLNXIW.js.map → junction-UR6COY3A.js.map} +0 -0
  834. /package/dist/{junction.customTerm-EHOOBR4V.js.map → junction.customTerm-TMV43R7Z.js.map} +0 -0
  835. /package/dist/{junction.unit.spec-LDNY7OFK.js.map → junction.unit.spec-NVBJTGA4.js.map} +0 -0
  836. /package/dist/{launch.adhoc-FF7B3UG6.js.map → launch.adhoc-AZG6QJG7.js.map} +0 -0
  837. /package/dist/{leftlabel.sample-BTHMKLGF.js.map → leftlabel.sample-LYZG25RT.js.map} +0 -0
  838. /package/dist/{lollipop-H3UCNMHN.js.map → lollipop-FJXVP5QM.js.map} +0 -0
  839. /package/dist/{maf-KWGUTPKO.js.map → maf-OXJIJD6D.js.map} +0 -0
  840. /package/dist/{maftimeline-UD5VE4UW.js.map → maftimeline-75N6ZXEM.js.map} +0 -0
  841. /package/dist/{matrix-DLCX6GOO.js.map → matrix-QFKGEW5A.js.map} +0 -0
  842. /package/dist/{matrix-TIV42IQB.js.map → matrix-XT7LUV5K.js.map} +0 -0
  843. /package/dist/{matrix.cells-J3QZ7C6U.js.map → matrix.cells-NB7LKKXV.js.map} +0 -0
  844. /package/dist/{matrix.config-VNMS6B7J.js.map → matrix.config-X6HS4UGD.js.map} +0 -0
  845. /package/dist/{matrix.data-PIE3TLKD.js.map → matrix.data-VLFF34SS.js.map} +0 -0
  846. /package/dist/{matrix.groups-URBU775S.js.map → matrix.groups-F62TSKIG.js.map} +0 -0
  847. /package/dist/{matrix.interactivity-W5AFOAQN.js.map → matrix.interactivity-2FBXB52E.js.map} +0 -0
  848. /package/dist/{matrix.layout-LU3NIJAL.js.map → matrix.layout-6TPVKLSX.js.map} +0 -0
  849. /package/dist/{matrix.legend-LTP6ETZO.js.map → matrix.legend-L4ULBMGX.js.map} +0 -0
  850. /package/dist/{matrix.renderers-762XI65L.js.map → matrix.renderers-DK6YRLO2.js.map} +0 -0
  851. /package/dist/{matrix.serieses-FHDBRPZA.js.map → matrix.serieses-DCRJLJ3H.js.map} +0 -0
  852. /package/dist/{matrix.sort-Q6A6UWMY.js.map → matrix.sort-XSGPH44J.js.map} +0 -0
  853. /package/dist/{matrix.sort.unit.spec-CTCOPKVS.js.map → matrix.sort.unit.spec-JF75F4I4.js.map} +0 -0
  854. /package/dist/{matrix.sorterUi-4M5AU5EL.js.map → matrix.sorterUi-WL5I6S3K.js.map} +0 -0
  855. /package/dist/{matrix.sorterUi.unit.spec-Y7GC3PM5.js.map → matrix.sorterUi.unit.spec-66JMV5BK.js.map} +0 -0
  856. /package/dist/{matrix.unit.spec-DROPHFTM.js.map → matrix.unit.spec-36AR4I43.js.map} +0 -0
  857. /package/dist/{mavb-BWA73N3U.js.map → mavb-ZH4RO77H.js.map} +0 -0
  858. /package/dist/{mds.fimo-3UJWIH2J.js.map → mds.fimo-MVP2G5PS.js.map} +0 -0
  859. /package/dist/{mds.samplescatterplot-EUS7DCSQ.js.map → mds.samplescatterplot-GYJ3OI4N.js.map} +0 -0
  860. /package/dist/{mds.survivalplot-77UEBQIC.js.map → mds.survivalplot-Q6MYQGTB.js.map} +0 -0
  861. /package/dist/{multivalue-KZ2DMVIR.js.map → multivalue-BGFMPH4X.js.map} +0 -0
  862. /package/dist/{numericDictTermCluster-C2MYJYPZ.js.map → numericDictTermCluster-FNNVLIWB.js.map} +0 -0
  863. /package/dist/{oncomatrix-6LGB3M7R.js.map → oncomatrix-LIIALWWN.js.map} +0 -0
  864. /package/dist/{oncomatrix.spec-UWMSLOHW.js.map → oncomatrix.spec-NEMLM2ZN.js.map} +0 -0
  865. /package/dist/{plot.2dvaf-LZAVWH65.js.map → plot.2dvaf-HJO3SKNK.js.map} +0 -0
  866. /package/dist/{plot.app-OEWE3AYV.js.map → plot.app-WSLFOFSR.js.map} +0 -0
  867. /package/dist/{plot.barplot-VIBHGTUT.js.map → plot.barplot-SPI5JA37.js.map} +0 -0
  868. /package/dist/{plot.boxplot-NQI3PSKR.js.map → plot.boxplot-4W3XEY5I.js.map} +0 -0
  869. /package/dist/{plot.brainImaging-3MTTCZHI.js.map → plot.brainImaging-KEOUTYIB.js.map} +0 -0
  870. /package/dist/{plot.disco-HODBY7SO.js.map → plot.disco-7IDMKNAQ.js.map} +0 -0
  871. /package/dist/{plot.ssgq-4URQE673.js.map → plot.ssgq-IOKUGDC4.js.map} +0 -0
  872. /package/dist/{plot.vaf2cov-QIJNEKCK.js.map → plot.vaf2cov-SFSZ6M43.js.map} +0 -0
  873. /package/dist/{polar2-GVFQNSLK.js.map → polar2-PLPE5TX5.js.map} +0 -0
  874. /package/dist/{profileForms-Z22CJXI4.js.map → profileForms-ZDHG67GM.js.map} +0 -0
  875. /package/dist/{profilePlot-IVQZBSID.js.map → profilePlot-UUZA2YG6.js.map} +0 -0
  876. /package/dist/{proteinView-AUK634AU.js.map → proteinView-GHS3XARL.js.map} +0 -0
  877. /package/dist/{proteomeCohortCompare-7G2F35H5.js.map → proteomeCohortCompare-TQ3BGIPS.js.map} +0 -0
  878. /package/dist/{pseudobulk-QTCUSH5I.js.map → pseudobulk-ODXYIUD5.js.map} +0 -0
  879. /package/dist/{qualitative-7ST7SSBT.js.map → qualitative-WOSYAIGQ.js.map} +0 -0
  880. /package/dist/{radar2-CEE6SNBS.js.map → radar2-2KXBS3Y3.js.map} +0 -0
  881. /package/dist/{radarFacility2-OSKDYIK7.js.map → radarFacility2-JCOKJQQF.js.map} +0 -0
  882. /package/dist/{rememberedGvQ.unit.spec-RYFUJ2NW.js.map → rememberedGvQ.unit.spec-DYRO2LO5.js.map} +0 -0
  883. /package/dist/{render-MAD3WMVD.js.map → render-IJ6GE3NE.js.map} +0 -0
  884. /package/dist/{report-6JXJVSEB.js.map → report-WLLFUA7L.js.map} +0 -0
  885. /package/dist/{sampleView-SG3QYZKQ.js.map → sampleView-LPKSYUNF.js.map} +0 -0
  886. /package/dist/{samplelst-R765UFP6.js.map → samplelst-MNI2MGMT.js.map} +0 -0
  887. /package/dist/{samplematrix-EBJYE5SM.js.map → samplematrix-KEKJP2B4.js.map} +0 -0
  888. /package/dist/{sc-7ZXPFDHD.js.map → sc-ZYKFRJU4.js.map} +0 -0
  889. /package/dist/{scatter-3GUL4KF3.js.map → scatter-BAEZOFWA.js.map} +0 -0
  890. /package/dist/{selectGenomeWithTklst-K4YXGJYG.js.map → selectGenomeWithTklst-HBHRXEDY.js.map} +0 -0
  891. /package/dist/{singleCellCellType-TU5VTPLP.js.map → singleCellCellType-PMFDV24B.js.map} +0 -0
  892. /package/dist/{singleCellCellType.unit.spec-IRITQIGT.js.map → singleCellCellType.unit.spec-ZLYDUDIY.js.map} +0 -0
  893. /package/dist/{singleCellGeneExpression-3IL52QDK.js.map → singleCellGeneExpression-SUYO3HR3.js.map} +0 -0
  894. /package/dist/{singleCellGeneExpression.unit.spec-WXC4C37T.js.map → singleCellGeneExpression.unit.spec-3N3HRXFN.js.map} +0 -0
  895. /package/dist/{singleCellPlot-XG3HZS7I.js.map → singleCellNumericValue-BV7C6Y34.js.map} +0 -0
  896. /package/dist/{snp-RMZRB426.js.map → singleCellPlot-BG7UJOHA.js.map} +0 -0
  897. /package/dist/{singlecell-BRF2HAV2.js.map → singlecell-BANNFGBS.js.map} +0 -0
  898. /package/dist/{singlecell-KVCJF2HI.js.map → singlecell-ZUTL5ZWE.js.map} +0 -0
  899. /package/dist/{ssGSEA-7RKWYZKX.js.map → snp-BHG4NVK4.js.map} +0 -0
  900. /package/dist/{snp.unit.spec-JF6KR2NT.js.map → snp.unit.spec-Q3AZHQRC.js.map} +0 -0
  901. /package/dist/{snplocus-AHUFHQ3Q.js.map → snplocus-HTJL63M3.js.map} +0 -0
  902. /package/dist/{spliceevent.a53ss.diagram-OSZZ2CF2.js.map → spliceevent.a53ss.diagram-UKRIP7EP.js.map} +0 -0
  903. /package/dist/{spliceevent.exonskip.diagram-AMA2D2OL.js.map → spliceevent.exonskip.diagram-CU777CXQ.js.map} +0 -0
  904. /package/dist/{spliceevent.noeventdiagram-RKTUXH5D.js.map → spliceevent.noeventdiagram-LGLXCF25.js.map} +0 -0
  905. /package/dist/{summarizeMutationDiagnosis-GCL4SRON.js.map → ssGSEA-BIEEKAKX.js.map} +0 -0
  906. /package/dist/{ssGSEA.unit.spec-XLCZHH7S.js.map → ssGSEA.unit.spec-YD4UDIRH.js.map} +0 -0
  907. /package/dist/{stattable-NDYUCLVZ.js.map → stattable-LFR3RSD6.js.map} +0 -0
  908. /package/dist/{studyCatalog-TAXRF5NS.js.map → studyCatalog-RINIZ277.js.map} +0 -0
  909. /package/dist/{summarizeCnvGeneexp-3QLHU6N7.js.map → summarizeCnvGeneexp-ZQFNPR65.js.map} +0 -0
  910. /package/dist/{summarizeGeneexpSurvival-ARI4MPFX.js.map → summarizeGeneexpSurvival-GIS7XMMH.js.map} +0 -0
  911. /package/dist/{summarizeMutationCnv-W7V7CKPI.js.map → summarizeMutationCnv-FWF7YIGR.js.map} +0 -0
  912. /package/dist/{summary-OUYDWLBF.js.map → summarizeMutationDiagnosis-V5L2OKTK.js.map} +0 -0
  913. /package/dist/{summarizeMutationSurvival-6TTMSRRX.js.map → summarizeMutationSurvival-LAUUF6XN.js.map} +0 -0
  914. /package/dist/{termCollection-7P3WU6X6.js.map → summary-OMU3ACNE.js.map} +0 -0
  915. /package/dist/{summary.integration.spec-4GTCG6HY.js.map → summary.integration.spec-6JZAT73L.js.map} +0 -0
  916. /package/dist/{summaryInput-UK3TLC7M.js.map → summaryInput-QIKL3HDD.js.map} +0 -0
  917. /package/dist/{sunburst-2UFHMNH3.js.map → sunburst-32IW2R57.js.map} +0 -0
  918. /package/dist/{survival-SPWYSDVB.js.map → survival-BMOPVAN2.js.map} +0 -0
  919. /package/dist/{survival-TL6UZ6FQ.js.map → survival-H5AWMQ36.js.map} +0 -0
  920. /package/dist/{svgraph-Z543MLIN.js.map → svgraph-B75FS3BB.js.map} +0 -0
  921. /package/dist/{svmr-SZCAOAIF.js.map → svmr-IUEUOHVO.js.map} +0 -0
  922. /package/dist/{table-IAQ6J4DO.js.map → table-YAAH7WR6.js.map} +0 -0
  923. /package/dist/{termCollection-3NGHR7QN.js.map → termCollection-7F5ZG2DB.js.map} +0 -0
  924. /package/dist/{termCollectionFractionSelection-YKIE6BME.js.map → termCollection-KNFUELYY.js.map} +0 -0
  925. /package/dist/{termCollection.unit.spec-EPYC7LOA.js.map → termCollection.unit.spec-S6M6QC4C.js.map} +0 -0
  926. /package/dist/{tk-X454XH5N.js.map → termCollectionFractionSelection-X22VMJWY.js.map} +0 -0
  927. /package/dist/{termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map → termCollectionFractionSelection.unit.spec-ELU6SD7P.js.map} +0 -0
  928. /package/dist/{tvs.dt-U77PCG6X.js.map → tk-TT666UVE.js.map} +0 -0
  929. /package/dist/{tk-TOXMU4GT.js.map → tk-UOPNJ323.js.map} +0 -0
  930. /package/dist/{tp.ui-FDQ76KPL.js.map → tp.ui-HGAHRKO5.js.map} +0 -0
  931. /package/dist/{vocabulary-64GO4YDB.js.map → tvs.dt-H7YYR4EB.js.map} +0 -0
  932. /package/dist/{tvs.dtcnv.categorical-XYZU4XLO.js.map → tvs.dtcnv.categorical-IPJTKGMF.js.map} +0 -0
  933. /package/dist/{tvs.dtcnv.continuous-4GJILFGP.js.map → tvs.dtcnv.continuous-XY5XZ4GH.js.map} +0 -0
  934. /package/dist/{tvs.dtfusion-7YROAHVI.js.map → tvs.dtfusion-VFCBMXRM.js.map} +0 -0
  935. /package/dist/{tvs.dtitd-MIYU4ZHH.js.map → tvs.dtitd-RZVW6FTR.js.map} +0 -0
  936. /package/dist/{tvs.dtsnvindel-XLDY7KWB.js.map → tvs.dtsnvindel-IDPJWSGC.js.map} +0 -0
  937. /package/dist/{tvs.dtsv-YMLJ37YR.js.map → tvs.dtsv-QERP756F.js.map} +0 -0
  938. /package/dist/{tvs.samplelst-KIVEXJKD.js.map → tvs.samplelst-6KNDHBIU.js.map} +0 -0
  939. /package/dist/{tvs.termCollection-4CQV3EB3.js.map → tvs.termCollection-GWPJK3NE.js.map} +0 -0
  940. /package/dist/{wsi.direct-5MQVRJZX.js.map → wsi.direct-2RBCBXDA.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-PC4MFDHP.js";
11
- import {
12
- invalidcoord,
13
- string2pos
14
- } from "./chunk-HJ6L54YS.js";
15
- import "./chunk-KV4W2ACA.js";
16
- import "./chunk-HPAW7XDM.js";
17
- import {
18
- Menu
19
- } from "./chunk-ELJX3QIQ.js";
20
- import "./chunk-BZN2O76M.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-52QHIKH2.js";
30
- import "./chunk-A2ORIMUJ.js";
31
- import "./chunk-PPSWNLMG.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-RUBZCKIX.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-77UEBQIC.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-747IK2EW.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-EBJYE5SM.js.map