@sjcrh/proteinpaint-client 2.203.0 → 2.203.1

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 (884) hide show
  1. package/dist/2dmaf-6CEBP4SA.js +1366 -0
  2. package/dist/AIProjectAdmin-2CKKFC3A.js +951 -0
  3. package/dist/AggregateMatrix-5TBUMFE5.js +665 -0
  4. package/dist/AppHeader-5YBPWF44.js +829 -0
  5. package/dist/BoxPlot-UOJS5SJV.js +1210 -0
  6. package/dist/CorrelationVolcano-KX6JPZMT.js +613 -0
  7. package/dist/Cuminc-TLOOLZWR.js +1208 -0
  8. package/dist/DE-HUQLQ2Z3.js +87 -0
  9. package/dist/DEinput-WWUISAF2.js +404 -0
  10. package/dist/DifferentialAnalysis-6DTAGCEY.js +237 -0
  11. package/dist/Disco-P6ZLPYLF.js +3388 -0
  12. package/dist/Disco.UI-WGTMAFK2.js +242 -0
  13. package/dist/DmrPlot-3FRU5KUK.js +636 -0
  14. package/dist/GB-NWOBARL3.js +1390 -0
  15. package/dist/GSEA-DEEUAAMI.js +850 -0
  16. package/dist/GeneExpInput-6QWGEAFV.js +361 -0
  17. package/dist/Geomap-6HT2B7RH.js +83 -0
  18. package/dist/HicApp-PCNOUULF.js +2244 -0
  19. package/dist/IDCViewer-H3QPXVM3.js +10811 -0
  20. package/dist/NumBinaryEditor-IU6OLMKN.js +278 -0
  21. package/dist/NumBinaryEditor.unit.spec-YUPUILIV.js +311 -0
  22. package/dist/NumContEditor-KFDA76QN.js +104 -0
  23. package/dist/NumContEditor.unit.spec-QBOT5QHU.js +163 -0
  24. package/dist/NumCustomBinEditor-EOSTEXLB.js +32 -0
  25. package/dist/NumCustomBinEditor.unit.spec-B46XWFYH.js +396 -0
  26. package/dist/NumDiscreteEditor-Y4EAADXC.js +169 -0
  27. package/dist/NumDiscreteEditor.unit.spec-SJGHLWSM.js +232 -0
  28. package/dist/NumRegularBinEditor-3BNG7DIN.js +32 -0
  29. package/dist/NumRegularBinEditor.unit.spec-KM45QXXG.js +277 -0
  30. package/dist/NumSplineEditor-K4KPDC4S.js +209 -0
  31. package/dist/NumSplineEditor.unit.spec-TKQP5XTS.js +223 -0
  32. package/dist/NumericDensity-Z6JFVN3D.js +32 -0
  33. package/dist/NumericDensity.unit.spec-YEYBVLEP.js +417 -0
  34. package/dist/NumericHandler-ITT6HMPN.js +33 -0
  35. package/dist/NumericHandler.unit.spec-QVONMXY4.js +213 -0
  36. package/dist/ProteomeInput-PRS3DEMZ.js +387 -0
  37. package/dist/Regression-LJJJBBT6.js +1413 -0
  38. package/dist/Regression-LJJJBBT6.js.map +7 -0
  39. package/dist/RunChart2-AMM2JFF5.js +749 -0
  40. package/dist/SC-F7IE66VZ.js +1106 -0
  41. package/dist/Violin-RJ6OJZ4F.js +1073 -0
  42. package/dist/Volcano-BJA5HN5Y.js +1414 -0
  43. package/dist/WSIViewer-RJZGRUIR.js +26194 -0
  44. package/dist/Wsi-DXP6KOQA.js +232 -0
  45. package/dist/WsiSamplesPlot-2IAWV2B6.js +159 -0
  46. package/dist/adSandbox-RGWOIV3W.js +32 -0
  47. package/dist/animatedBubbleChart-J4Q2NAEW.js +546 -0
  48. package/dist/app-3QXNR4VG.js +31 -0
  49. package/dist/app-B4B7YNP3.js +41 -0
  50. package/dist/app.js +12 -12
  51. package/dist/bam-LRUMN45P.js +875 -0
  52. package/dist/barchart-L2G6GEHK.js +41 -0
  53. package/dist/barchart2-DWNVAZAJ.js +308 -0
  54. package/dist/block-TVEVAXNP.js +6248 -0
  55. package/dist/block.init-YOHAKPRI.js +32 -0
  56. package/dist/block.mds.expressionrank-PU6JH4W5.js +353 -0
  57. package/dist/block.mds.geneboxplot-WYYFDNE3.js +822 -0
  58. package/dist/block.mds.junction-4WCTL7Y4.js +1538 -0
  59. package/dist/block.mds.svcnv-MR3VCYUW.js +6795 -0
  60. package/dist/block.svg-LR3Y4ZO7.js +158 -0
  61. package/dist/block.tk.aicheck-A5AWKJZI.js +277 -0
  62. package/dist/block.tk.ase-AQBBAQEH.js +359 -0
  63. package/dist/block.tk.bam-QBTA2O3V.js +1900 -0
  64. package/dist/block.tk.bedgraphdot-4ALZG2MY.js +378 -0
  65. package/dist/block.tk.bigwig.ui-32W6XW37.js +205 -0
  66. package/dist/block.tk.hicstraw-PKBHBAG2.js +817 -0
  67. package/dist/block.tk.junction-AO5CXUCU.js +2357 -0
  68. package/dist/block.tk.junction.textmatrixui-RORVUIPI.js +193 -0
  69. package/dist/block.tk.ld-TNBSR4FT.js +93 -0
  70. package/dist/block.tk.menu-QDJO54J5.js +1023 -0
  71. package/dist/block.tk.pgv-6222WWYR.js +937 -0
  72. package/dist/brainImaging-2TPE7MXB.js +426 -0
  73. package/dist/brainImaging-2TPE7MXB.js.map +7 -0
  74. package/dist/brainRegions-KTFH6DE2.js +215 -0
  75. package/dist/bubbleHeatmap-LNXZLFY6.js +377 -0
  76. package/dist/cellTypeBubbleHeatmap-SRHUNX3S.js +277 -0
  77. package/dist/chunk-3TXVDBGN.js +626 -0
  78. package/dist/chunk-4HLHKBHP.js +274 -0
  79. package/dist/chunk-5GG7Q2ZG.js +397 -0
  80. package/dist/chunk-5HVAVJKW.js +518 -0
  81. package/dist/chunk-5HVAVJKW.js.map +7 -0
  82. package/dist/chunk-5PMFCQKC.js +98 -0
  83. package/dist/chunk-67URJYN7.js +84 -0
  84. package/dist/chunk-67URJYN7.js.map +7 -0
  85. package/dist/chunk-6AKSOLBX.js +5071 -0
  86. package/dist/chunk-6AKSOLBX.js.map +7 -0
  87. package/dist/chunk-6X7PP7A4.js +2126 -0
  88. package/dist/chunk-A3EDLRUN.js +54 -0
  89. package/dist/chunk-ACXFPMJP.js +14 -0
  90. package/dist/chunk-ASRW3UJ5.js +102 -0
  91. package/dist/chunk-BBILSUDX.js +176 -0
  92. package/dist/chunk-BOWI37X2.js +100 -0
  93. package/dist/chunk-BVA26EFK.js +368 -0
  94. package/dist/chunk-D5J57ENI.js +797 -0
  95. package/dist/chunk-D5PX2UDG.js +23878 -0
  96. package/dist/chunk-D5PX2UDG.js.map +7 -0
  97. package/dist/chunk-DAGONMWK.js +261 -0
  98. package/dist/chunk-DAGONMWK.js.map +7 -0
  99. package/dist/chunk-DXLO4OAB.js +357 -0
  100. package/dist/chunk-DXLO4OAB.js.map +7 -0
  101. package/dist/chunk-E5BFGDLA.js +292 -0
  102. package/dist/chunk-ECISCOPF.js +134 -0
  103. package/dist/chunk-ECLUUJVE.js +158 -0
  104. package/dist/chunk-EGDQ5I54.js +272 -0
  105. package/dist/chunk-ELNVTA7O.js +56 -0
  106. package/dist/chunk-EO6M3LY3.js +339 -0
  107. package/dist/chunk-EO6M3LY3.js.map +7 -0
  108. package/dist/chunk-F4PMOAQK.js +494 -0
  109. package/dist/chunk-FISQTHD4.js +2327 -0
  110. package/dist/chunk-FXT2XM4E.js +1337 -0
  111. package/dist/chunk-FXT2XM4E.js.map +7 -0
  112. package/dist/chunk-HIWTGMTE.js +1721 -0
  113. package/dist/chunk-HIWTGMTE.js.map +7 -0
  114. package/dist/chunk-HL6GJIOH.js +1254 -0
  115. package/dist/chunk-IGZAOCTU.js +55 -0
  116. package/dist/chunk-JMDJI7KM.js +6360 -0
  117. package/dist/chunk-JQVA264Z.js +49 -0
  118. package/dist/chunk-JRF7SRLB.js +2784 -0
  119. package/dist/chunk-KLWSW6CC.js +203 -0
  120. package/dist/chunk-KNNSOOTG.js +194 -0
  121. package/dist/chunk-KTPXQH2N.js +170 -0
  122. package/dist/chunk-LGKXSWY4.js +276 -0
  123. package/dist/chunk-LP2GIXVK.js +4274 -0
  124. package/dist/chunk-M2ZZL5EV.js +2669 -0
  125. package/dist/chunk-M2ZZL5EV.js.map +7 -0
  126. package/dist/chunk-MBHERRJR.js +302 -0
  127. package/dist/chunk-MLYQDJUQ.js +480 -0
  128. package/dist/chunk-NBGDLLMX.js +446 -0
  129. package/dist/chunk-OPMMU6DQ.js +183 -0
  130. package/dist/chunk-OPMMU6DQ.js.map +7 -0
  131. package/dist/chunk-P3JEXVBT.js +50 -0
  132. package/dist/chunk-PZPPJY4K.js +34 -0
  133. package/dist/chunk-Q6JF4ZLT.js +141 -0
  134. package/dist/chunk-QF5IH7PC.js +263 -0
  135. package/dist/chunk-QJ6SO7CF.js +465 -0
  136. package/dist/chunk-QQUOVIOM.js +2899 -0
  137. package/dist/chunk-R3OBOAOF.js +240 -0
  138. package/dist/chunk-SNCZRDS5.js +557 -0
  139. package/dist/chunk-SNCZRDS5.js.map +7 -0
  140. package/dist/chunk-SPDNUC76.js +70 -0
  141. package/dist/chunk-T3663ZQL.js +37 -0
  142. package/dist/chunk-TSK4ZTFK.js +340 -0
  143. package/dist/chunk-USW6WRDZ.js +217 -0
  144. package/dist/chunk-WBMYHNKH.js +299 -0
  145. package/dist/chunk-X46LAU4Q.js +187 -0
  146. package/dist/chunk-XE6E526E.js +129 -0
  147. package/dist/chunk-XWCWBHLB.js +123 -0
  148. package/dist/chunk-YCECQV3T.js +160 -0
  149. package/dist/chunk-YROOKO3Q.js +1954 -0
  150. package/dist/chunk-YROOKO3Q.js.map +7 -0
  151. package/dist/chunk-Z4NADGZX.js +243 -0
  152. package/dist/chunk-Z53KOPRJ.js +102 -0
  153. package/dist/cohort-U7M6Q2UX.js +69 -0
  154. package/dist/condition-EGAV2PMJ.js +326 -0
  155. package/dist/controls-PTMYWUZV.js +33 -0
  156. package/dist/controls.config-DOA6PTP2.js +33 -0
  157. package/dist/correlation-Y3EL6GB7.js +94 -0
  158. package/dist/customdata.inputui-4NDDG6FL.js +283 -0
  159. package/dist/dataDownload-EQGUAOK2.js +328 -0
  160. package/dist/databrowser.ui-ABGOJUWQ.js +424 -0
  161. package/dist/dictionary-YOLLEDE5.js +112 -0
  162. package/dist/dnaMethylation-JZT63UHO.js +32 -0
  163. package/dist/dnaMethylation.integration.spec-EATCABJW.js +197 -0
  164. package/dist/dofetch-YNBIUFV5.js +48 -0
  165. package/dist/e2pca-RD6COCRL.js +343 -0
  166. package/dist/ep-BAI7WUET.js +1248 -0
  167. package/dist/expclust.gdc.spec-LKV2CQA5.js +301 -0
  168. package/dist/facet-X3SXQIAC.js +518 -0
  169. package/dist/gb-K324K7XB.js +80 -0
  170. package/dist/geneExpClustering-BJD5U3KG.js +243 -0
  171. package/dist/geneExpression-2TK3XLZ5.js +310 -0
  172. package/dist/geneExpression-F6NRTHZ4.js +32 -0
  173. package/dist/geneExpression.unit.spec-IFZN3J6A.js +96 -0
  174. package/dist/geneORA-DUEP735U.js +272 -0
  175. package/dist/geneRanking-LURDNT7L.js +547 -0
  176. package/dist/geneVariant-EAVCWQAZ.js +35 -0
  177. package/dist/geneVariant-IZTFYAG6.js +284 -0
  178. package/dist/geneVariant-IZTFYAG6.js.map +7 -0
  179. package/dist/geneVariant.integration.spec-LHL4ERFO.js +192 -0
  180. package/dist/genefusion.ui-4T5R7DT7.js +302 -0
  181. package/dist/geneset-3PWXPBG2.js +202 -0
  182. package/dist/genomeBrowser.spec-5SEN7R2P.js +275 -0
  183. package/dist/grin2-EXBG7TMS.js +1136 -0
  184. package/dist/grin2-XIXVFVWO.js +69 -0
  185. package/dist/hierCluster-5XQIWXAY.js +57 -0
  186. package/dist/hierCluster-I4TAQWPF.js +53 -0
  187. package/dist/hierCluster.config-T7HVAWES.js +34 -0
  188. package/dist/hierCluster.integration.spec-XWX43K4D.js +482 -0
  189. package/dist/hierCluster.interactivity-MYIDHFSL.js +48 -0
  190. package/dist/hierCluster.renderers-YRXA5ZUK.js +19 -0
  191. package/dist/imagePlot-4JQB6JUG.js +155 -0
  192. package/dist/importPlot-D3MXCCLN.js +8 -0
  193. package/dist/isoformExpression-WNGGUVIZ.js +34 -0
  194. package/dist/isoformExpression.unit.spec-NVJ5TIKM.js +236 -0
  195. package/dist/junction-O7N57JE3.js +35 -0
  196. package/dist/junction.unit.spec-Z63DRTRR.js +181 -0
  197. package/dist/launch.adhoc-MBDRXD3B.js +36 -0
  198. package/dist/leftlabel.sample-IG6FOQ26.js +257 -0
  199. package/dist/lollipop-ZUYBLPGN.js +165 -0
  200. package/dist/maf-QOS5LURG.js +454 -0
  201. package/dist/maftimeline-FEHP2J55.js +586 -0
  202. package/dist/matrix-BG4J4RXA.js +57 -0
  203. package/dist/matrix-PX4LWTGN.js +52 -0
  204. package/dist/matrix.cells-PTIDQVCI.js +26 -0
  205. package/dist/matrix.config-NHW7BLIE.js +35 -0
  206. package/dist/matrix.data-FMIQRXOA.js +23 -0
  207. package/dist/matrix.dom-4S2UYJOU.js +11 -0
  208. package/dist/matrix.groups-QMID5XAO.js +25 -0
  209. package/dist/matrix.integration.spec-H6T7KP5R.js +3066 -0
  210. package/dist/matrix.interactivity-WQUO25HB.js +36 -0
  211. package/dist/matrix.layout-CTPVZZ34.js +38 -0
  212. package/dist/matrix.legend-K6EYUN6L.js +20 -0
  213. package/dist/matrix.renderers-5DIAUY6R.js +32 -0
  214. package/dist/matrix.serieses-LRMN2J52.js +19 -0
  215. package/dist/matrix.sort-RGAGEA6Z.js +25 -0
  216. package/dist/matrix.sort.unit.spec-RGICZZJL.js +466 -0
  217. package/dist/matrix.sorterUi.unit.spec-45QPEGWE.js +336 -0
  218. package/dist/matrix.unit.spec-TMRZM5DU.js +148 -0
  219. package/dist/matrix.unit.spec-TMRZM5DU.js.map +7 -0
  220. package/dist/mavb-VEIVB62L.js +726 -0
  221. package/dist/mds.fimo-BG4LTWFB.js +512 -0
  222. package/dist/mds.samplescatterplot-PWADJZ2J.js +1544 -0
  223. package/dist/mds.survivalplot-BX4HZ23K.js +476 -0
  224. package/dist/multivalue-OZALSBFW.js +82 -0
  225. package/dist/numericDictTermCluster-7PGJ7KV4.js +63 -0
  226. package/dist/oncomatrix-Q2EQZPLS.js +289 -0
  227. package/dist/oncomatrix.spec-YEQOQRPW.js +442 -0
  228. package/dist/plot.2dvaf-NJSB3HNH.js +371 -0
  229. package/dist/plot.app-AEUR6XGI.js +35 -0
  230. package/dist/plot.barplot-OXN2P5KL.js +96 -0
  231. package/dist/plot.boxplot-2KHEVVFE.js +145 -0
  232. package/dist/plot.brainImaging-JWDX4BZG.js +51 -0
  233. package/dist/plot.disco-LUFC5GGC.js +99 -0
  234. package/dist/plot.ssgq-FMM3IRNA.js +133 -0
  235. package/dist/plot.vaf2cov-K5TAQUC5.js +252 -0
  236. package/dist/plot.wsi-CNQCNZ4Z.js +36 -0
  237. package/dist/polar2-AB6SVYRS.js +231 -0
  238. package/dist/profileForms-AIEHZ4GC.js +933 -0
  239. package/dist/profilePlot-PZDFGXKZ.js +48 -0
  240. package/dist/proteinView-7GWHQYXC.js +1561 -0
  241. package/dist/proteomeCohortCompare-BTN4HHFL.js +779 -0
  242. package/dist/proteomeCohortCompare-BTN4HHFL.js.map +7 -0
  243. package/dist/pseudbulk.unit.spec-NFT4VNTI.js +85 -0
  244. package/dist/pseudobulk-WDGWTXW4.js +34 -0
  245. package/dist/qualitative-PZYJENE7.js +37 -0
  246. package/dist/radar2-QHRGH3YS.js +326 -0
  247. package/dist/radarFacility2-2JD26FL6.js +334 -0
  248. package/dist/render-YA4Z56LT.js +32 -0
  249. package/dist/report-2NUKFJTF.js +216 -0
  250. package/dist/sampleView-2XVPJTVR.js +42 -0
  251. package/dist/samplelst-DMILFDT5.js +105 -0
  252. package/dist/samplematrix-LYA5XTUM.js +2192 -0
  253. package/dist/sc-CM2C34MN.js +80 -0
  254. package/dist/scatter-C3CH3HTF.js +879 -0
  255. package/dist/scatter-GO6LV6NY.js +87 -0
  256. package/dist/selectGenomeWithTklst-5C7UBTGZ.js +128 -0
  257. package/dist/singleCellCellType-EZYESBVZ.js +32 -0
  258. package/dist/singleCellCellType.unit.spec-DB6FM4XR.js +153 -0
  259. package/dist/singleCellGeneExpression-DZLEFPW4.js +32 -0
  260. package/dist/singleCellGeneExpression.unit.spec-ZTBK3V43.js +147 -0
  261. package/dist/singleCellPlot-VF4TZ4FT.js +48 -0
  262. package/dist/singlecell-2MHROPBN.js +1565 -0
  263. package/dist/singlecell-GPAFNOUZ.js +80 -0
  264. package/dist/snp-K4EAEVW4.js +32 -0
  265. package/dist/snp.unit.spec-BUVQLVOY.js +170 -0
  266. package/dist/snplocus-GEVISN6Z.js +202 -0
  267. package/dist/spliceevent.a53ss.diagram-5UPWNAZF.js +145 -0
  268. package/dist/spliceevent.exonskip.diagram-7TKAQURC.js +277 -0
  269. package/dist/spliceevent.noeventdiagram-CDXZLR3Z.js +454 -0
  270. package/dist/ssGSEA-NMCJUQXT.js +32 -0
  271. package/dist/ssGSEA.unit.spec-3FQALTPQ.js +82 -0
  272. package/dist/stattable-2RXQPWKK.js +116 -0
  273. package/dist/studyCatalog-WWFCTTX7.js +377 -0
  274. package/dist/studyCatalog-WWFCTTX7.js.map +7 -0
  275. package/dist/summarizeCnvGeneexp-4BQS5AFM.js +157 -0
  276. package/dist/summarizeGeneexpSurvival-HTBZQFB5.js +104 -0
  277. package/dist/summarizeMutationCnv-XUWZGPCM.js +158 -0
  278. package/dist/summarizeMutationDiagnosis-QUJX42TO.js +34 -0
  279. package/dist/summarizeMutationSurvival-3R47TTR6.js +93 -0
  280. package/dist/summary-6UUB63QR.js +41 -0
  281. package/dist/summary.integration.spec-JJDE6SRV.js +408 -0
  282. package/dist/summaryInput-JG4AW6FW.js +225 -0
  283. package/dist/sunburst-YKB42RZX.js +277 -0
  284. package/dist/survival-3IFFTDQA.js +52 -0
  285. package/dist/survival-HOFNJENX.js +1236 -0
  286. package/dist/survival.integration.spec-7YZYKEUW.js +612 -0
  287. package/dist/survival.integration.spec-7YZYKEUW.js.map +7 -0
  288. package/dist/svgraph-WFEY4ZIZ.js +1381 -0
  289. package/dist/svmr-44EIX7YD.js +3836 -0
  290. package/dist/table-6MKVJUNC.js +196 -0
  291. package/dist/termCollection-6JBVQL6Y.js +251 -0
  292. package/dist/termCollection-TTELZVC5.js +32 -0
  293. package/dist/termCollection.unit.spec-6Z7X646L.js +298 -0
  294. package/dist/termCollectionFractionSelection-5DVIJBM5.js +41 -0
  295. package/dist/termCollectionFractionSelection.unit.spec-3HIM5BIF.js +187 -0
  296. package/dist/tk-HSYWJCGQ.js +40 -0
  297. package/dist/tk-PNOVG2XS.js +1120 -0
  298. package/dist/tp.ui-COBBSUPB.js +1453 -0
  299. package/dist/tvs.dt-35AKURFI.js +33 -0
  300. package/dist/tvs.dtcnv.categorical-3EHXYROL.js +34 -0
  301. package/dist/tvs.dtcnv.continuous-AXQ2GU6S.js +66 -0
  302. package/dist/tvs.dtfusion-PLJIMPNX.js +34 -0
  303. package/dist/tvs.dtitd-JS6RFBV5.js +34 -0
  304. package/dist/tvs.dtsnvindel-MDEM5MPT.js +34 -0
  305. package/dist/tvs.dtsv-OU756YLO.js +34 -0
  306. package/dist/tvs.samplelst-5NDICES4.js +98 -0
  307. package/dist/tvs.termCollection-5URPDPH6.js +123 -0
  308. package/dist/vocabulary-CHCVMPK5.js +35 -0
  309. package/dist/wsi.direct-JSKV4H4X.js +75 -0
  310. package/package.json +4 -4
  311. package/dist/2dmaf-I4HBWRNQ.js +0 -1366
  312. package/dist/AIProjectAdmin-SZYSG7HR.js +0 -951
  313. package/dist/AggregateMatrix-U7HHALFR.js +0 -665
  314. package/dist/AppHeader-O4RBZQZF.js +0 -829
  315. package/dist/BoxPlot-NOXWAGX6.js +0 -1210
  316. package/dist/CorrelationVolcano-IJ5UT6N5.js +0 -613
  317. package/dist/Cuminc-NGUDAOAD.js +0 -1208
  318. package/dist/DE-MIAHOI5J.js +0 -87
  319. package/dist/DEinput-FYBSL2ER.js +0 -404
  320. package/dist/DifferentialAnalysis-I6S5YQXY.js +0 -237
  321. package/dist/Disco-VLUBOZDC.js +0 -3388
  322. package/dist/Disco.UI-QQYWQEW7.js +0 -242
  323. package/dist/DmrPlot-DFOBEN7A.js +0 -636
  324. package/dist/GB-5FSXJMEZ.js +0 -1390
  325. package/dist/GSEA-JISHQOVY.js +0 -850
  326. package/dist/GeneExpInput-5YEX22VD.js +0 -361
  327. package/dist/Geomap-YVF6YBK5.js +0 -83
  328. package/dist/HicApp-ZCMOOKTY.js +0 -2244
  329. package/dist/IDCViewer-5ZNTAEUG.js +0 -10811
  330. package/dist/NumBinaryEditor-BEF5YCKI.js +0 -278
  331. package/dist/NumBinaryEditor.unit.spec-GCYZGHB2.js +0 -311
  332. package/dist/NumContEditor-TUXPB6YJ.js +0 -104
  333. package/dist/NumContEditor.unit.spec-5CMHHWIP.js +0 -163
  334. package/dist/NumCustomBinEditor-HS7RSGFV.js +0 -32
  335. package/dist/NumCustomBinEditor.unit.spec-MM3JJXT4.js +0 -396
  336. package/dist/NumDiscreteEditor-ZL7PP6ZT.js +0 -169
  337. package/dist/NumDiscreteEditor.unit.spec-OEWX2KJC.js +0 -232
  338. package/dist/NumRegularBinEditor-YBXK7YV6.js +0 -32
  339. package/dist/NumRegularBinEditor.unit.spec-FVHN4J5L.js +0 -277
  340. package/dist/NumSplineEditor-VN4XBTTI.js +0 -209
  341. package/dist/NumSplineEditor.unit.spec-AI642DWP.js +0 -223
  342. package/dist/NumericDensity-2KTY7DGH.js +0 -32
  343. package/dist/NumericDensity.unit.spec-6EA72A24.js +0 -417
  344. package/dist/NumericHandler-62EN6AD3.js +0 -33
  345. package/dist/NumericHandler.unit.spec-FXOJ2L2L.js +0 -213
  346. package/dist/ProteomeInput-MBBDXO2Z.js +0 -387
  347. package/dist/Regression-OQETMZPL.js +0 -1408
  348. package/dist/Regression-OQETMZPL.js.map +0 -7
  349. package/dist/RunChart2-RHZFHH4M.js +0 -749
  350. package/dist/SC-FAQXOHO4.js +0 -1106
  351. package/dist/Violin-2A3ICNBP.js +0 -1073
  352. package/dist/Volcano-X5KGHLHZ.js +0 -1414
  353. package/dist/WSIViewer-F2SD6LLP.js +0 -26194
  354. package/dist/Wsi-KAFAC3Q5.js +0 -232
  355. package/dist/WsiSamplesPlot-VKPMLDZI.js +0 -159
  356. package/dist/adSandbox-QKG5EA23.js +0 -32
  357. package/dist/animatedBubbleChart-ES62XWMN.js +0 -546
  358. package/dist/app-2HLLOBTD.js +0 -41
  359. package/dist/app-GJL6K6V4.js +0 -31
  360. package/dist/bam-DCPAAVPX.js +0 -875
  361. package/dist/barchart-DCVGCEZO.js +0 -41
  362. package/dist/barchart2-5X57VSIN.js +0 -308
  363. package/dist/block-XYSUTBXJ.js +0 -6248
  364. package/dist/block.init-5B27QKPU.js +0 -32
  365. package/dist/block.mds.expressionrank-Z7BGGPZ7.js +0 -353
  366. package/dist/block.mds.geneboxplot-4U4UZH2J.js +0 -822
  367. package/dist/block.mds.junction-ZPCUEQZJ.js +0 -1538
  368. package/dist/block.mds.svcnv-OGGPBOL2.js +0 -6795
  369. package/dist/block.svg-BWGAMNDS.js +0 -158
  370. package/dist/block.tk.aicheck-XHHW7WST.js +0 -277
  371. package/dist/block.tk.ase-BZ2IL3CQ.js +0 -359
  372. package/dist/block.tk.bam-WRHOOWXN.js +0 -1900
  373. package/dist/block.tk.bedgraphdot-B536STRA.js +0 -378
  374. package/dist/block.tk.bigwig.ui-K5X3BSQC.js +0 -205
  375. package/dist/block.tk.hicstraw-OYOKZ45W.js +0 -817
  376. package/dist/block.tk.junction-S5JMMMR6.js +0 -2357
  377. package/dist/block.tk.junction.textmatrixui-OLZY5BYR.js +0 -193
  378. package/dist/block.tk.ld-KINDO5UU.js +0 -93
  379. package/dist/block.tk.menu-3FNBVZ7J.js +0 -1023
  380. package/dist/block.tk.pgv-UHDY3T4G.js +0 -937
  381. package/dist/brainImaging-KWFRX3XB.js +0 -422
  382. package/dist/brainImaging-KWFRX3XB.js.map +0 -7
  383. package/dist/brainRegions-YI7K4OVE.js +0 -215
  384. package/dist/bubbleHeatmap-EQ44CSG5.js +0 -377
  385. package/dist/cellTypeBubbleHeatmap-O3KL2YBF.js +0 -277
  386. package/dist/chunk-254KEDDH.js +0 -129
  387. package/dist/chunk-25RPYQRT.js +0 -203
  388. package/dist/chunk-2OEMKKLP.js +0 -272
  389. package/dist/chunk-34AV6DED.js +0 -299
  390. package/dist/chunk-3UOSDVFJ.js +0 -1710
  391. package/dist/chunk-3UOSDVFJ.js.map +0 -7
  392. package/dist/chunk-4GN3CSDT.js +0 -98
  393. package/dist/chunk-4KUGV44F.js +0 -397
  394. package/dist/chunk-4WF3XDQP.js +0 -220
  395. package/dist/chunk-4WF3XDQP.js.map +0 -7
  396. package/dist/chunk-55PGOBTR.js +0 -123
  397. package/dist/chunk-5RHE36DQ.js +0 -37
  398. package/dist/chunk-6456HESK.js +0 -160
  399. package/dist/chunk-6THPWBBU.js +0 -102
  400. package/dist/chunk-6ZLCBVJA.js +0 -54
  401. package/dist/chunk-7AYGTMED.js +0 -182
  402. package/dist/chunk-7AYGTMED.js.map +0 -7
  403. package/dist/chunk-7ROMS7YT.js +0 -626
  404. package/dist/chunk-7UFK4GVI.js +0 -263
  405. package/dist/chunk-7UFK4GVI.js.map +0 -7
  406. package/dist/chunk-ALXSSRGI.js +0 -263
  407. package/dist/chunk-AT7HWXMW.js +0 -302
  408. package/dist/chunk-AVR4LFOO.js +0 -194
  409. package/dist/chunk-BY5B5BM5.js +0 -170
  410. package/dist/chunk-BZ36NJHA.js +0 -797
  411. package/dist/chunk-BZKHE26Z.js +0 -340
  412. package/dist/chunk-CBRZIMNF.js +0 -217
  413. package/dist/chunk-CTO247UZ.js +0 -5069
  414. package/dist/chunk-CTO247UZ.js.map +0 -7
  415. package/dist/chunk-D27C6HZW.js +0 -50
  416. package/dist/chunk-D73PJ4WC.js +0 -512
  417. package/dist/chunk-D73PJ4WC.js.map +0 -7
  418. package/dist/chunk-DLXMO6EK.js +0 -494
  419. package/dist/chunk-EK7CQC3P.js +0 -100
  420. package/dist/chunk-FCMHDCMO.js +0 -56
  421. package/dist/chunk-GJFG2MML.js +0 -1254
  422. package/dist/chunk-GQQ4R6BI.js +0 -24060
  423. package/dist/chunk-GQQ4R6BI.js.map +0 -7
  424. package/dist/chunk-HENLCRVM.js +0 -2126
  425. package/dist/chunk-I56CSICA.js +0 -292
  426. package/dist/chunk-I5KBI5PC.js +0 -274
  427. package/dist/chunk-IHDVUZFC.js +0 -1947
  428. package/dist/chunk-IHDVUZFC.js.map +0 -7
  429. package/dist/chunk-IUA3PSTK.js +0 -6360
  430. package/dist/chunk-J3TIXBCS.js +0 -276
  431. package/dist/chunk-JJHMFHRC.js +0 -257
  432. package/dist/chunk-JJHMFHRC.js.map +0 -7
  433. package/dist/chunk-JPQSDB2H.js +0 -102
  434. package/dist/chunk-LIMDUEVX.js +0 -1336
  435. package/dist/chunk-LIMDUEVX.js.map +0 -7
  436. package/dist/chunk-MECQLU4J.js +0 -243
  437. package/dist/chunk-MEJMWIBD.js +0 -187
  438. package/dist/chunk-MT5MHYL3.js +0 -480
  439. package/dist/chunk-NVH5I6EP.js +0 -176
  440. package/dist/chunk-OGQMELRU.js +0 -14
  441. package/dist/chunk-PBRW6QLS.js +0 -4274
  442. package/dist/chunk-PPJMCBVT.js +0 -82
  443. package/dist/chunk-PPJMCBVT.js.map +0 -7
  444. package/dist/chunk-RRI3RX4A.js +0 -2669
  445. package/dist/chunk-RRI3RX4A.js.map +0 -7
  446. package/dist/chunk-S2D6GH6D.js +0 -465
  447. package/dist/chunk-SACNULB3.js +0 -368
  448. package/dist/chunk-SEJGXC2L.js +0 -141
  449. package/dist/chunk-TMZZ4Z7L.js +0 -34
  450. package/dist/chunk-TRWFL52W.js +0 -446
  451. package/dist/chunk-VP2FPPLA.js +0 -70
  452. package/dist/chunk-VTYMSJGY.js +0 -49
  453. package/dist/chunk-WEF6INPI.js +0 -2784
  454. package/dist/chunk-WO4CL5JL.js +0 -240
  455. package/dist/chunk-WVVH56ZU.js +0 -2327
  456. package/dist/chunk-WZTZJNSG.js +0 -2899
  457. package/dist/chunk-XPSUKXMF.js +0 -556
  458. package/dist/chunk-XPSUKXMF.js.map +0 -7
  459. package/dist/chunk-XXITHNR2.js +0 -134
  460. package/dist/chunk-YCLNEB4L.js +0 -158
  461. package/dist/chunk-ZPFN3CYR.js +0 -55
  462. package/dist/cohort-JCMVMOBQ.js +0 -69
  463. package/dist/condition-SHRWEMG7.js +0 -326
  464. package/dist/controls-EKIHLQS6.js +0 -33
  465. package/dist/controls.config-WSVX6UC6.js +0 -33
  466. package/dist/correlation-ALFFZLKD.js +0 -94
  467. package/dist/customdata.inputui-L2UAIU6I.js +0 -283
  468. package/dist/dataDownload-73N5364T.js +0 -328
  469. package/dist/databrowser.ui-NTOGXDYE.js +0 -424
  470. package/dist/dictionary-CUAU2X6Q.js +0 -112
  471. package/dist/dnaMethylation-AGWAGXVD.js +0 -32
  472. package/dist/dnaMethylation.integration.spec-K22XXOU4.js +0 -197
  473. package/dist/dofetch-BVJ77SP7.js +0 -48
  474. package/dist/e2pca-4HIJWLSC.js +0 -343
  475. package/dist/ep-U4RGH62P.js +0 -1248
  476. package/dist/expclust.gdc.spec-JJGGQDQK.js +0 -301
  477. package/dist/facet-NNUPVXCG.js +0 -518
  478. package/dist/gb-2MYXJEMY.js +0 -80
  479. package/dist/geneExpClustering-6ORRRH43.js +0 -243
  480. package/dist/geneExpression-4JVWKJWP.js +0 -310
  481. package/dist/geneExpression-MARWAIHW.js +0 -32
  482. package/dist/geneExpression.unit.spec-3CQTUSDK.js +0 -96
  483. package/dist/geneORA-M2L2YEX3.js +0 -272
  484. package/dist/geneRanking-S2B3LSTU.js +0 -547
  485. package/dist/geneVariant-D2ANGINP.js +0 -35
  486. package/dist/geneVariant-T4NG72OL.js +0 -33
  487. package/dist/geneVariant.integration.spec-62NJS7GD.js +0 -192
  488. package/dist/genefusion.ui-4ZZNKANU.js +0 -302
  489. package/dist/geneset-QCLFANPD.js +0 -202
  490. package/dist/genomeBrowser.spec-BV5M6JFN.js +0 -275
  491. package/dist/grin2-J4VDS2JT.js +0 -1136
  492. package/dist/grin2-K5G3N5XP.js +0 -69
  493. package/dist/hierCluster-FMK524WF.js +0 -57
  494. package/dist/hierCluster-XF7ZWVKD.js +0 -53
  495. package/dist/hierCluster.config-LYAQCO3L.js +0 -34
  496. package/dist/hierCluster.integration.spec-NSLTJBL4.js +0 -482
  497. package/dist/hierCluster.interactivity-VKAOR2DR.js +0 -48
  498. package/dist/hierCluster.renderers-6C5F7LRL.js +0 -19
  499. package/dist/imagePlot-IPTIFVLT.js +0 -155
  500. package/dist/importPlot-V3P6DCUR.js +0 -8
  501. package/dist/isoformExpression-6IIPJI4M.js +0 -34
  502. package/dist/isoformExpression.unit.spec-IYZWSLO5.js +0 -236
  503. package/dist/junction-E6FB2OP4.js +0 -35
  504. package/dist/junction.unit.spec-M4EN7KPG.js +0 -181
  505. package/dist/launch.adhoc-SU5L2YXN.js +0 -36
  506. package/dist/leftlabel.sample-5WTK5NBD.js +0 -257
  507. package/dist/lollipop-L64ZTEEX.js +0 -165
  508. package/dist/maf-QLNFANWO.js +0 -454
  509. package/dist/maftimeline-U7FMTMTV.js +0 -586
  510. package/dist/matrix-GFVK3PEB.js +0 -57
  511. package/dist/matrix-HFJQGPJJ.js +0 -52
  512. package/dist/matrix.cells-5JKTBI3X.js +0 -26
  513. package/dist/matrix.config-QPTQ22RR.js +0 -35
  514. package/dist/matrix.data-MXIUMSRR.js +0 -23
  515. package/dist/matrix.dom-ENBFB4CW.js +0 -11
  516. package/dist/matrix.groups-6DYTBVGR.js +0 -25
  517. package/dist/matrix.integration.spec-X4HM67TN.js +0 -3066
  518. package/dist/matrix.interactivity-QTB56LXE.js +0 -36
  519. package/dist/matrix.layout-VQAORIIH.js +0 -38
  520. package/dist/matrix.legend-SDJXYNHE.js +0 -20
  521. package/dist/matrix.renderers-6PMYIP2S.js +0 -32
  522. package/dist/matrix.serieses-WWY7474U.js +0 -19
  523. package/dist/matrix.sort-V46C2MAZ.js +0 -25
  524. package/dist/matrix.sort.unit.spec-3RM7V6CS.js +0 -466
  525. package/dist/matrix.sorterUi.unit.spec-YOV6FBRT.js +0 -336
  526. package/dist/mavb-PJA76T7F.js +0 -726
  527. package/dist/mds.fimo-GW7XPJGQ.js +0 -512
  528. package/dist/mds.samplescatterplot-ZAIEWPO4.js +0 -1544
  529. package/dist/mds.survivalplot-ETLLFDWR.js +0 -476
  530. package/dist/multivalue-AZPAQJQD.js +0 -82
  531. package/dist/numericDictTermCluster-KOJODGZT.js +0 -63
  532. package/dist/oncomatrix-2TRXETOJ.js +0 -289
  533. package/dist/oncomatrix.spec-DOVKLS24.js +0 -442
  534. package/dist/plot.2dvaf-RQN6QADW.js +0 -371
  535. package/dist/plot.app-MOIVGIS6.js +0 -35
  536. package/dist/plot.barplot-46QRWJOX.js +0 -96
  537. package/dist/plot.boxplot-54J4UWQX.js +0 -145
  538. package/dist/plot.brainImaging-Y32KQFLS.js +0 -51
  539. package/dist/plot.disco-4R5J7Z5S.js +0 -99
  540. package/dist/plot.ssgq-6LCKYRYD.js +0 -133
  541. package/dist/plot.vaf2cov-UCBH4NSC.js +0 -252
  542. package/dist/plot.wsi-DAC7NUQE.js +0 -36
  543. package/dist/polar2-JKV74QV5.js +0 -231
  544. package/dist/profileForms-VDYCFH4M.js +0 -933
  545. package/dist/profilePlot-PR3LVRYU.js +0 -48
  546. package/dist/proteinView-A3EM6OR5.js +0 -1561
  547. package/dist/proteomeCohortCompare-QGFEJTDQ.js +0 -793
  548. package/dist/proteomeCohortCompare-QGFEJTDQ.js.map +0 -7
  549. package/dist/pseudbulk.unit.spec-CUMTLAH7.js +0 -85
  550. package/dist/pseudobulk-5E5MSMU3.js +0 -34
  551. package/dist/qualitative-WPXUBISK.js +0 -37
  552. package/dist/radar2-A5OYMORS.js +0 -326
  553. package/dist/radarFacility2-4TPJB6M4.js +0 -334
  554. package/dist/render-XQBWWS33.js +0 -32
  555. package/dist/report-NCJOTYIC.js +0 -216
  556. package/dist/sampleView-2PUSMG4W.js +0 -42
  557. package/dist/samplelst-FV7BAUN5.js +0 -105
  558. package/dist/samplematrix-DFD3PNI4.js +0 -2192
  559. package/dist/sc-GIMTDVLG.js +0 -80
  560. package/dist/scatter-4GJ5HKUY.js +0 -879
  561. package/dist/scatter-P3ISZB3R.js +0 -87
  562. package/dist/selectGenomeWithTklst-ZZ4CEHDU.js +0 -128
  563. package/dist/singleCellCellType-CEERCVTR.js +0 -32
  564. package/dist/singleCellCellType.unit.spec-JNEIICK5.js +0 -153
  565. package/dist/singleCellGeneExpression-G5B7DDES.js +0 -32
  566. package/dist/singleCellGeneExpression.unit.spec-CGRZGY66.js +0 -147
  567. package/dist/singleCellPlot-US5KTHS4.js +0 -48
  568. package/dist/singlecell-IPTSIKNA.js +0 -1565
  569. package/dist/singlecell-VB4KLPJF.js +0 -80
  570. package/dist/snp-6V2SCCRN.js +0 -32
  571. package/dist/snp.unit.spec-Q537NGVG.js +0 -170
  572. package/dist/snplocus-BV6WJTVP.js +0 -202
  573. package/dist/spliceevent.a53ss.diagram-3BUQVK4Q.js +0 -145
  574. package/dist/spliceevent.exonskip.diagram-CQZ2DFQ5.js +0 -277
  575. package/dist/spliceevent.noeventdiagram-QAEPR6LD.js +0 -454
  576. package/dist/ssGSEA-XNI5S7AC.js +0 -32
  577. package/dist/ssGSEA.unit.spec-A337IMC7.js +0 -82
  578. package/dist/stattable-J4ZQKJFM.js +0 -116
  579. package/dist/studyCatalog-BJTJJGBC.js +0 -352
  580. package/dist/studyCatalog-BJTJJGBC.js.map +0 -7
  581. package/dist/summarizeCnvGeneexp-76UJXLA4.js +0 -157
  582. package/dist/summarizeGeneexpSurvival-ZUEHXA2R.js +0 -104
  583. package/dist/summarizeMutationCnv-EBCBVMG6.js +0 -158
  584. package/dist/summarizeMutationDiagnosis-VLFI2ZIZ.js +0 -34
  585. package/dist/summarizeMutationSurvival-QRFMJLLO.js +0 -93
  586. package/dist/summary-U3YKEMZC.js +0 -41
  587. package/dist/summary.integration.spec-52WP6SNY.js +0 -408
  588. package/dist/summaryInput-WUJNHCGH.js +0 -225
  589. package/dist/sunburst-IJ3ZG2BC.js +0 -277
  590. package/dist/survival-F2B5JKOO.js +0 -1236
  591. package/dist/survival-SQRYWGWZ.js +0 -52
  592. package/dist/survival.integration.spec-YGRZJ2OL.js +0 -967
  593. package/dist/survival.integration.spec-YGRZJ2OL.js.map +0 -7
  594. package/dist/svgraph-HVCMF6KI.js +0 -1381
  595. package/dist/svmr-PROHTMTP.js +0 -3836
  596. package/dist/table-3E64OJNV.js +0 -196
  597. package/dist/termCollection-MUH7P6B5.js +0 -32
  598. package/dist/termCollection-WKT6ESMI.js +0 -251
  599. package/dist/termCollection.unit.spec-XMOCMVER.js +0 -298
  600. package/dist/termCollectionFractionSelection-P5G6WIJJ.js +0 -41
  601. package/dist/termCollectionFractionSelection.unit.spec-MG7E3EIZ.js +0 -187
  602. package/dist/tk-HWUPUGOS.js +0 -1120
  603. package/dist/tk-SBM2GN3S.js +0 -40
  604. package/dist/tp.ui-RRB5MJRD.js +0 -1453
  605. package/dist/tvs.dt-I2ECKHQ2.js +0 -33
  606. package/dist/tvs.dtcnv.categorical-7RJPQKMX.js +0 -34
  607. package/dist/tvs.dtcnv.continuous-FW4ZXIYY.js +0 -66
  608. package/dist/tvs.dtfusion-3GDWW3ML.js +0 -34
  609. package/dist/tvs.dtitd-FER4H4UO.js +0 -34
  610. package/dist/tvs.dtsnvindel-ISEOJ5UA.js +0 -34
  611. package/dist/tvs.dtsv-JDML7EWE.js +0 -34
  612. package/dist/tvs.samplelst-MJTM6GSV.js +0 -98
  613. package/dist/tvs.termCollection-GMOXBJWF.js +0 -123
  614. package/dist/vocabulary-5EJMLXI2.js +0 -35
  615. package/dist/vocabulary-5EJMLXI2.js.map +0 -7
  616. package/dist/wsi.direct-IVPACPNT.js +0 -75
  617. /package/dist/{2dmaf-I4HBWRNQ.js.map → 2dmaf-6CEBP4SA.js.map} +0 -0
  618. /package/dist/{AIProjectAdmin-SZYSG7HR.js.map → AIProjectAdmin-2CKKFC3A.js.map} +0 -0
  619. /package/dist/{AggregateMatrix-U7HHALFR.js.map → AggregateMatrix-5TBUMFE5.js.map} +0 -0
  620. /package/dist/{AppHeader-O4RBZQZF.js.map → AppHeader-5YBPWF44.js.map} +0 -0
  621. /package/dist/{BoxPlot-NOXWAGX6.js.map → BoxPlot-UOJS5SJV.js.map} +0 -0
  622. /package/dist/{CorrelationVolcano-IJ5UT6N5.js.map → CorrelationVolcano-KX6JPZMT.js.map} +0 -0
  623. /package/dist/{Cuminc-NGUDAOAD.js.map → Cuminc-TLOOLZWR.js.map} +0 -0
  624. /package/dist/{DE-MIAHOI5J.js.map → DE-HUQLQ2Z3.js.map} +0 -0
  625. /package/dist/{DEinput-FYBSL2ER.js.map → DEinput-WWUISAF2.js.map} +0 -0
  626. /package/dist/{DifferentialAnalysis-I6S5YQXY.js.map → DifferentialAnalysis-6DTAGCEY.js.map} +0 -0
  627. /package/dist/{Disco-VLUBOZDC.js.map → Disco-P6ZLPYLF.js.map} +0 -0
  628. /package/dist/{Disco.UI-QQYWQEW7.js.map → Disco.UI-WGTMAFK2.js.map} +0 -0
  629. /package/dist/{DmrPlot-DFOBEN7A.js.map → DmrPlot-3FRU5KUK.js.map} +0 -0
  630. /package/dist/{GB-5FSXJMEZ.js.map → GB-NWOBARL3.js.map} +0 -0
  631. /package/dist/{GSEA-JISHQOVY.js.map → GSEA-DEEUAAMI.js.map} +0 -0
  632. /package/dist/{GeneExpInput-5YEX22VD.js.map → GeneExpInput-6QWGEAFV.js.map} +0 -0
  633. /package/dist/{Geomap-YVF6YBK5.js.map → Geomap-6HT2B7RH.js.map} +0 -0
  634. /package/dist/{HicApp-ZCMOOKTY.js.map → HicApp-PCNOUULF.js.map} +0 -0
  635. /package/dist/{IDCViewer-5ZNTAEUG.js.map → IDCViewer-H3QPXVM3.js.map} +0 -0
  636. /package/dist/{NumBinaryEditor-BEF5YCKI.js.map → NumBinaryEditor-IU6OLMKN.js.map} +0 -0
  637. /package/dist/{NumBinaryEditor.unit.spec-GCYZGHB2.js.map → NumBinaryEditor.unit.spec-YUPUILIV.js.map} +0 -0
  638. /package/dist/{NumContEditor-TUXPB6YJ.js.map → NumContEditor-KFDA76QN.js.map} +0 -0
  639. /package/dist/{NumContEditor.unit.spec-5CMHHWIP.js.map → NumContEditor.unit.spec-QBOT5QHU.js.map} +0 -0
  640. /package/dist/{NumCustomBinEditor-HS7RSGFV.js.map → NumCustomBinEditor-EOSTEXLB.js.map} +0 -0
  641. /package/dist/{NumCustomBinEditor.unit.spec-MM3JJXT4.js.map → NumCustomBinEditor.unit.spec-B46XWFYH.js.map} +0 -0
  642. /package/dist/{NumDiscreteEditor-ZL7PP6ZT.js.map → NumDiscreteEditor-Y4EAADXC.js.map} +0 -0
  643. /package/dist/{NumDiscreteEditor.unit.spec-OEWX2KJC.js.map → NumDiscreteEditor.unit.spec-SJGHLWSM.js.map} +0 -0
  644. /package/dist/{NumRegularBinEditor-YBXK7YV6.js.map → NumRegularBinEditor-3BNG7DIN.js.map} +0 -0
  645. /package/dist/{NumRegularBinEditor.unit.spec-FVHN4J5L.js.map → NumRegularBinEditor.unit.spec-KM45QXXG.js.map} +0 -0
  646. /package/dist/{NumSplineEditor-VN4XBTTI.js.map → NumSplineEditor-K4KPDC4S.js.map} +0 -0
  647. /package/dist/{NumSplineEditor.unit.spec-AI642DWP.js.map → NumSplineEditor.unit.spec-TKQP5XTS.js.map} +0 -0
  648. /package/dist/{NumericDensity-2KTY7DGH.js.map → NumericDensity-Z6JFVN3D.js.map} +0 -0
  649. /package/dist/{NumericDensity.unit.spec-6EA72A24.js.map → NumericDensity.unit.spec-YEYBVLEP.js.map} +0 -0
  650. /package/dist/{NumericHandler-62EN6AD3.js.map → NumericHandler-ITT6HMPN.js.map} +0 -0
  651. /package/dist/{NumericHandler.unit.spec-FXOJ2L2L.js.map → NumericHandler.unit.spec-QVONMXY4.js.map} +0 -0
  652. /package/dist/{ProteomeInput-MBBDXO2Z.js.map → ProteomeInput-PRS3DEMZ.js.map} +0 -0
  653. /package/dist/{RunChart2-RHZFHH4M.js.map → RunChart2-AMM2JFF5.js.map} +0 -0
  654. /package/dist/{SC-FAQXOHO4.js.map → SC-F7IE66VZ.js.map} +0 -0
  655. /package/dist/{Violin-2A3ICNBP.js.map → Violin-RJ6OJZ4F.js.map} +0 -0
  656. /package/dist/{Volcano-X5KGHLHZ.js.map → Volcano-BJA5HN5Y.js.map} +0 -0
  657. /package/dist/{WSIViewer-F2SD6LLP.js.map → WSIViewer-RJZGRUIR.js.map} +0 -0
  658. /package/dist/{Wsi-KAFAC3Q5.js.map → Wsi-DXP6KOQA.js.map} +0 -0
  659. /package/dist/{WsiSamplesPlot-VKPMLDZI.js.map → WsiSamplesPlot-2IAWV2B6.js.map} +0 -0
  660. /package/dist/{adSandbox-QKG5EA23.js.map → adSandbox-RGWOIV3W.js.map} +0 -0
  661. /package/dist/{animatedBubbleChart-ES62XWMN.js.map → animatedBubbleChart-J4Q2NAEW.js.map} +0 -0
  662. /package/dist/{app-2HLLOBTD.js.map → app-3QXNR4VG.js.map} +0 -0
  663. /package/dist/{app-GJL6K6V4.js.map → app-B4B7YNP3.js.map} +0 -0
  664. /package/dist/{bam-DCPAAVPX.js.map → bam-LRUMN45P.js.map} +0 -0
  665. /package/dist/{barchart-DCVGCEZO.js.map → barchart-L2G6GEHK.js.map} +0 -0
  666. /package/dist/{barchart2-5X57VSIN.js.map → barchart2-DWNVAZAJ.js.map} +0 -0
  667. /package/dist/{block-XYSUTBXJ.js.map → block-TVEVAXNP.js.map} +0 -0
  668. /package/dist/{block.init-5B27QKPU.js.map → block.init-YOHAKPRI.js.map} +0 -0
  669. /package/dist/{block.mds.expressionrank-Z7BGGPZ7.js.map → block.mds.expressionrank-PU6JH4W5.js.map} +0 -0
  670. /package/dist/{block.mds.geneboxplot-4U4UZH2J.js.map → block.mds.geneboxplot-WYYFDNE3.js.map} +0 -0
  671. /package/dist/{block.mds.junction-ZPCUEQZJ.js.map → block.mds.junction-4WCTL7Y4.js.map} +0 -0
  672. /package/dist/{block.mds.svcnv-OGGPBOL2.js.map → block.mds.svcnv-MR3VCYUW.js.map} +0 -0
  673. /package/dist/{block.svg-BWGAMNDS.js.map → block.svg-LR3Y4ZO7.js.map} +0 -0
  674. /package/dist/{block.tk.aicheck-XHHW7WST.js.map → block.tk.aicheck-A5AWKJZI.js.map} +0 -0
  675. /package/dist/{block.tk.ase-BZ2IL3CQ.js.map → block.tk.ase-AQBBAQEH.js.map} +0 -0
  676. /package/dist/{block.tk.bam-WRHOOWXN.js.map → block.tk.bam-QBTA2O3V.js.map} +0 -0
  677. /package/dist/{block.tk.bedgraphdot-B536STRA.js.map → block.tk.bedgraphdot-4ALZG2MY.js.map} +0 -0
  678. /package/dist/{block.tk.bigwig.ui-K5X3BSQC.js.map → block.tk.bigwig.ui-32W6XW37.js.map} +0 -0
  679. /package/dist/{block.tk.hicstraw-OYOKZ45W.js.map → block.tk.hicstraw-PKBHBAG2.js.map} +0 -0
  680. /package/dist/{block.tk.junction-S5JMMMR6.js.map → block.tk.junction-AO5CXUCU.js.map} +0 -0
  681. /package/dist/{block.tk.junction.textmatrixui-OLZY5BYR.js.map → block.tk.junction.textmatrixui-RORVUIPI.js.map} +0 -0
  682. /package/dist/{block.tk.ld-KINDO5UU.js.map → block.tk.ld-TNBSR4FT.js.map} +0 -0
  683. /package/dist/{block.tk.menu-3FNBVZ7J.js.map → block.tk.menu-QDJO54J5.js.map} +0 -0
  684. /package/dist/{block.tk.pgv-UHDY3T4G.js.map → block.tk.pgv-6222WWYR.js.map} +0 -0
  685. /package/dist/{brainRegions-YI7K4OVE.js.map → brainRegions-KTFH6DE2.js.map} +0 -0
  686. /package/dist/{bubbleHeatmap-EQ44CSG5.js.map → bubbleHeatmap-LNXZLFY6.js.map} +0 -0
  687. /package/dist/{cellTypeBubbleHeatmap-O3KL2YBF.js.map → cellTypeBubbleHeatmap-SRHUNX3S.js.map} +0 -0
  688. /package/dist/{chunk-7ROMS7YT.js.map → chunk-3TXVDBGN.js.map} +0 -0
  689. /package/dist/{chunk-I5KBI5PC.js.map → chunk-4HLHKBHP.js.map} +0 -0
  690. /package/dist/{chunk-4KUGV44F.js.map → chunk-5GG7Q2ZG.js.map} +0 -0
  691. /package/dist/{chunk-4GN3CSDT.js.map → chunk-5PMFCQKC.js.map} +0 -0
  692. /package/dist/{chunk-HENLCRVM.js.map → chunk-6X7PP7A4.js.map} +0 -0
  693. /package/dist/{chunk-6ZLCBVJA.js.map → chunk-A3EDLRUN.js.map} +0 -0
  694. /package/dist/{chunk-OGQMELRU.js.map → chunk-ACXFPMJP.js.map} +0 -0
  695. /package/dist/{chunk-JPQSDB2H.js.map → chunk-ASRW3UJ5.js.map} +0 -0
  696. /package/dist/{chunk-NVH5I6EP.js.map → chunk-BBILSUDX.js.map} +0 -0
  697. /package/dist/{chunk-EK7CQC3P.js.map → chunk-BOWI37X2.js.map} +0 -0
  698. /package/dist/{chunk-SACNULB3.js.map → chunk-BVA26EFK.js.map} +0 -0
  699. /package/dist/{chunk-BZ36NJHA.js.map → chunk-D5J57ENI.js.map} +0 -0
  700. /package/dist/{chunk-I56CSICA.js.map → chunk-E5BFGDLA.js.map} +0 -0
  701. /package/dist/{chunk-XXITHNR2.js.map → chunk-ECISCOPF.js.map} +0 -0
  702. /package/dist/{chunk-YCLNEB4L.js.map → chunk-ECLUUJVE.js.map} +0 -0
  703. /package/dist/{chunk-2OEMKKLP.js.map → chunk-EGDQ5I54.js.map} +0 -0
  704. /package/dist/{chunk-FCMHDCMO.js.map → chunk-ELNVTA7O.js.map} +0 -0
  705. /package/dist/{chunk-DLXMO6EK.js.map → chunk-F4PMOAQK.js.map} +0 -0
  706. /package/dist/{chunk-WVVH56ZU.js.map → chunk-FISQTHD4.js.map} +0 -0
  707. /package/dist/{chunk-GJFG2MML.js.map → chunk-HL6GJIOH.js.map} +0 -0
  708. /package/dist/{chunk-ZPFN3CYR.js.map → chunk-IGZAOCTU.js.map} +0 -0
  709. /package/dist/{chunk-IUA3PSTK.js.map → chunk-JMDJI7KM.js.map} +0 -0
  710. /package/dist/{chunk-VTYMSJGY.js.map → chunk-JQVA264Z.js.map} +0 -0
  711. /package/dist/{chunk-WEF6INPI.js.map → chunk-JRF7SRLB.js.map} +0 -0
  712. /package/dist/{chunk-25RPYQRT.js.map → chunk-KLWSW6CC.js.map} +0 -0
  713. /package/dist/{chunk-AVR4LFOO.js.map → chunk-KNNSOOTG.js.map} +0 -0
  714. /package/dist/{chunk-BY5B5BM5.js.map → chunk-KTPXQH2N.js.map} +0 -0
  715. /package/dist/{chunk-J3TIXBCS.js.map → chunk-LGKXSWY4.js.map} +0 -0
  716. /package/dist/{chunk-PBRW6QLS.js.map → chunk-LP2GIXVK.js.map} +0 -0
  717. /package/dist/{chunk-AT7HWXMW.js.map → chunk-MBHERRJR.js.map} +0 -0
  718. /package/dist/{chunk-MT5MHYL3.js.map → chunk-MLYQDJUQ.js.map} +0 -0
  719. /package/dist/{chunk-TRWFL52W.js.map → chunk-NBGDLLMX.js.map} +0 -0
  720. /package/dist/{chunk-D27C6HZW.js.map → chunk-P3JEXVBT.js.map} +0 -0
  721. /package/dist/{chunk-TMZZ4Z7L.js.map → chunk-PZPPJY4K.js.map} +0 -0
  722. /package/dist/{chunk-SEJGXC2L.js.map → chunk-Q6JF4ZLT.js.map} +0 -0
  723. /package/dist/{chunk-ALXSSRGI.js.map → chunk-QF5IH7PC.js.map} +0 -0
  724. /package/dist/{chunk-S2D6GH6D.js.map → chunk-QJ6SO7CF.js.map} +0 -0
  725. /package/dist/{chunk-WZTZJNSG.js.map → chunk-QQUOVIOM.js.map} +0 -0
  726. /package/dist/{chunk-WO4CL5JL.js.map → chunk-R3OBOAOF.js.map} +0 -0
  727. /package/dist/{chunk-VP2FPPLA.js.map → chunk-SPDNUC76.js.map} +0 -0
  728. /package/dist/{chunk-5RHE36DQ.js.map → chunk-T3663ZQL.js.map} +0 -0
  729. /package/dist/{chunk-BZKHE26Z.js.map → chunk-TSK4ZTFK.js.map} +0 -0
  730. /package/dist/{chunk-CBRZIMNF.js.map → chunk-USW6WRDZ.js.map} +0 -0
  731. /package/dist/{chunk-34AV6DED.js.map → chunk-WBMYHNKH.js.map} +0 -0
  732. /package/dist/{chunk-MEJMWIBD.js.map → chunk-X46LAU4Q.js.map} +0 -0
  733. /package/dist/{chunk-254KEDDH.js.map → chunk-XE6E526E.js.map} +0 -0
  734. /package/dist/{chunk-55PGOBTR.js.map → chunk-XWCWBHLB.js.map} +0 -0
  735. /package/dist/{chunk-6456HESK.js.map → chunk-YCECQV3T.js.map} +0 -0
  736. /package/dist/{chunk-MECQLU4J.js.map → chunk-Z4NADGZX.js.map} +0 -0
  737. /package/dist/{chunk-6THPWBBU.js.map → chunk-Z53KOPRJ.js.map} +0 -0
  738. /package/dist/{cohort-JCMVMOBQ.js.map → cohort-U7M6Q2UX.js.map} +0 -0
  739. /package/dist/{condition-SHRWEMG7.js.map → condition-EGAV2PMJ.js.map} +0 -0
  740. /package/dist/{controls-EKIHLQS6.js.map → controls-PTMYWUZV.js.map} +0 -0
  741. /package/dist/{controls.config-WSVX6UC6.js.map → controls.config-DOA6PTP2.js.map} +0 -0
  742. /package/dist/{correlation-ALFFZLKD.js.map → correlation-Y3EL6GB7.js.map} +0 -0
  743. /package/dist/{customdata.inputui-L2UAIU6I.js.map → customdata.inputui-4NDDG6FL.js.map} +0 -0
  744. /package/dist/{dataDownload-73N5364T.js.map → dataDownload-EQGUAOK2.js.map} +0 -0
  745. /package/dist/{databrowser.ui-NTOGXDYE.js.map → databrowser.ui-ABGOJUWQ.js.map} +0 -0
  746. /package/dist/{dictionary-CUAU2X6Q.js.map → dictionary-YOLLEDE5.js.map} +0 -0
  747. /package/dist/{dnaMethylation-AGWAGXVD.js.map → dnaMethylation-JZT63UHO.js.map} +0 -0
  748. /package/dist/{dnaMethylation.integration.spec-K22XXOU4.js.map → dnaMethylation.integration.spec-EATCABJW.js.map} +0 -0
  749. /package/dist/{dofetch-BVJ77SP7.js.map → dofetch-YNBIUFV5.js.map} +0 -0
  750. /package/dist/{e2pca-4HIJWLSC.js.map → e2pca-RD6COCRL.js.map} +0 -0
  751. /package/dist/{ep-U4RGH62P.js.map → ep-BAI7WUET.js.map} +0 -0
  752. /package/dist/{expclust.gdc.spec-JJGGQDQK.js.map → expclust.gdc.spec-LKV2CQA5.js.map} +0 -0
  753. /package/dist/{facet-NNUPVXCG.js.map → facet-X3SXQIAC.js.map} +0 -0
  754. /package/dist/{gb-2MYXJEMY.js.map → gb-K324K7XB.js.map} +0 -0
  755. /package/dist/{geneExpClustering-6ORRRH43.js.map → geneExpClustering-BJD5U3KG.js.map} +0 -0
  756. /package/dist/{geneExpression-4JVWKJWP.js.map → geneExpression-2TK3XLZ5.js.map} +0 -0
  757. /package/dist/{geneExpression-MARWAIHW.js.map → geneExpression-F6NRTHZ4.js.map} +0 -0
  758. /package/dist/{geneExpression.unit.spec-3CQTUSDK.js.map → geneExpression.unit.spec-IFZN3J6A.js.map} +0 -0
  759. /package/dist/{geneORA-M2L2YEX3.js.map → geneORA-DUEP735U.js.map} +0 -0
  760. /package/dist/{geneRanking-S2B3LSTU.js.map → geneRanking-LURDNT7L.js.map} +0 -0
  761. /package/dist/{geneVariant-D2ANGINP.js.map → geneVariant-EAVCWQAZ.js.map} +0 -0
  762. /package/dist/{geneVariant.integration.spec-62NJS7GD.js.map → geneVariant.integration.spec-LHL4ERFO.js.map} +0 -0
  763. /package/dist/{genefusion.ui-4ZZNKANU.js.map → genefusion.ui-4T5R7DT7.js.map} +0 -0
  764. /package/dist/{geneset-QCLFANPD.js.map → geneset-3PWXPBG2.js.map} +0 -0
  765. /package/dist/{genomeBrowser.spec-BV5M6JFN.js.map → genomeBrowser.spec-5SEN7R2P.js.map} +0 -0
  766. /package/dist/{grin2-J4VDS2JT.js.map → grin2-EXBG7TMS.js.map} +0 -0
  767. /package/dist/{grin2-K5G3N5XP.js.map → grin2-XIXVFVWO.js.map} +0 -0
  768. /package/dist/{geneVariant-T4NG72OL.js.map → hierCluster-5XQIWXAY.js.map} +0 -0
  769. /package/dist/{hierCluster-FMK524WF.js.map → hierCluster-I4TAQWPF.js.map} +0 -0
  770. /package/dist/{hierCluster-XF7ZWVKD.js.map → hierCluster.config-T7HVAWES.js.map} +0 -0
  771. /package/dist/{hierCluster.integration.spec-NSLTJBL4.js.map → hierCluster.integration.spec-XWX43K4D.js.map} +0 -0
  772. /package/dist/{hierCluster.config-LYAQCO3L.js.map → hierCluster.interactivity-MYIDHFSL.js.map} +0 -0
  773. /package/dist/{hierCluster.interactivity-VKAOR2DR.js.map → hierCluster.renderers-YRXA5ZUK.js.map} +0 -0
  774. /package/dist/{imagePlot-IPTIFVLT.js.map → imagePlot-4JQB6JUG.js.map} +0 -0
  775. /package/dist/{hierCluster.renderers-6C5F7LRL.js.map → importPlot-D3MXCCLN.js.map} +0 -0
  776. /package/dist/{importPlot-V3P6DCUR.js.map → isoformExpression-WNGGUVIZ.js.map} +0 -0
  777. /package/dist/{isoformExpression.unit.spec-IYZWSLO5.js.map → isoformExpression.unit.spec-NVJ5TIKM.js.map} +0 -0
  778. /package/dist/{isoformExpression-6IIPJI4M.js.map → junction-O7N57JE3.js.map} +0 -0
  779. /package/dist/{junction.unit.spec-M4EN7KPG.js.map → junction.unit.spec-Z63DRTRR.js.map} +0 -0
  780. /package/dist/{junction-E6FB2OP4.js.map → launch.adhoc-MBDRXD3B.js.map} +0 -0
  781. /package/dist/{leftlabel.sample-5WTK5NBD.js.map → leftlabel.sample-IG6FOQ26.js.map} +0 -0
  782. /package/dist/{lollipop-L64ZTEEX.js.map → lollipop-ZUYBLPGN.js.map} +0 -0
  783. /package/dist/{maf-QLNFANWO.js.map → maf-QOS5LURG.js.map} +0 -0
  784. /package/dist/{maftimeline-U7FMTMTV.js.map → maftimeline-FEHP2J55.js.map} +0 -0
  785. /package/dist/{launch.adhoc-SU5L2YXN.js.map → matrix-BG4J4RXA.js.map} +0 -0
  786. /package/dist/{matrix-GFVK3PEB.js.map → matrix-PX4LWTGN.js.map} +0 -0
  787. /package/dist/{matrix-HFJQGPJJ.js.map → matrix.cells-PTIDQVCI.js.map} +0 -0
  788. /package/dist/{matrix.cells-5JKTBI3X.js.map → matrix.config-NHW7BLIE.js.map} +0 -0
  789. /package/dist/{matrix.config-QPTQ22RR.js.map → matrix.data-FMIQRXOA.js.map} +0 -0
  790. /package/dist/{matrix.data-MXIUMSRR.js.map → matrix.dom-4S2UYJOU.js.map} +0 -0
  791. /package/dist/{matrix.dom-ENBFB4CW.js.map → matrix.groups-QMID5XAO.js.map} +0 -0
  792. /package/dist/{matrix.integration.spec-X4HM67TN.js.map → matrix.integration.spec-H6T7KP5R.js.map} +0 -0
  793. /package/dist/{matrix.groups-6DYTBVGR.js.map → matrix.interactivity-WQUO25HB.js.map} +0 -0
  794. /package/dist/{matrix.interactivity-QTB56LXE.js.map → matrix.layout-CTPVZZ34.js.map} +0 -0
  795. /package/dist/{matrix.layout-VQAORIIH.js.map → matrix.legend-K6EYUN6L.js.map} +0 -0
  796. /package/dist/{matrix.legend-SDJXYNHE.js.map → matrix.renderers-5DIAUY6R.js.map} +0 -0
  797. /package/dist/{matrix.renderers-6PMYIP2S.js.map → matrix.serieses-LRMN2J52.js.map} +0 -0
  798. /package/dist/{matrix.serieses-WWY7474U.js.map → matrix.sort-RGAGEA6Z.js.map} +0 -0
  799. /package/dist/{matrix.sort.unit.spec-3RM7V6CS.js.map → matrix.sort.unit.spec-RGICZZJL.js.map} +0 -0
  800. /package/dist/{matrix.sorterUi.unit.spec-YOV6FBRT.js.map → matrix.sorterUi.unit.spec-45QPEGWE.js.map} +0 -0
  801. /package/dist/{mavb-PJA76T7F.js.map → mavb-VEIVB62L.js.map} +0 -0
  802. /package/dist/{mds.fimo-GW7XPJGQ.js.map → mds.fimo-BG4LTWFB.js.map} +0 -0
  803. /package/dist/{mds.samplescatterplot-ZAIEWPO4.js.map → mds.samplescatterplot-PWADJZ2J.js.map} +0 -0
  804. /package/dist/{mds.survivalplot-ETLLFDWR.js.map → mds.survivalplot-BX4HZ23K.js.map} +0 -0
  805. /package/dist/{multivalue-AZPAQJQD.js.map → multivalue-OZALSBFW.js.map} +0 -0
  806. /package/dist/{numericDictTermCluster-KOJODGZT.js.map → numericDictTermCluster-7PGJ7KV4.js.map} +0 -0
  807. /package/dist/{oncomatrix-2TRXETOJ.js.map → oncomatrix-Q2EQZPLS.js.map} +0 -0
  808. /package/dist/{oncomatrix.spec-DOVKLS24.js.map → oncomatrix.spec-YEQOQRPW.js.map} +0 -0
  809. /package/dist/{plot.2dvaf-RQN6QADW.js.map → plot.2dvaf-NJSB3HNH.js.map} +0 -0
  810. /package/dist/{matrix.sort-V46C2MAZ.js.map → plot.app-AEUR6XGI.js.map} +0 -0
  811. /package/dist/{plot.barplot-46QRWJOX.js.map → plot.barplot-OXN2P5KL.js.map} +0 -0
  812. /package/dist/{plot.boxplot-54J4UWQX.js.map → plot.boxplot-2KHEVVFE.js.map} +0 -0
  813. /package/dist/{plot.brainImaging-Y32KQFLS.js.map → plot.brainImaging-JWDX4BZG.js.map} +0 -0
  814. /package/dist/{plot.disco-4R5J7Z5S.js.map → plot.disco-LUFC5GGC.js.map} +0 -0
  815. /package/dist/{plot.ssgq-6LCKYRYD.js.map → plot.ssgq-FMM3IRNA.js.map} +0 -0
  816. /package/dist/{plot.vaf2cov-UCBH4NSC.js.map → plot.vaf2cov-K5TAQUC5.js.map} +0 -0
  817. /package/dist/{plot.wsi-DAC7NUQE.js.map → plot.wsi-CNQCNZ4Z.js.map} +0 -0
  818. /package/dist/{polar2-JKV74QV5.js.map → polar2-AB6SVYRS.js.map} +0 -0
  819. /package/dist/{profileForms-VDYCFH4M.js.map → profileForms-AIEHZ4GC.js.map} +0 -0
  820. /package/dist/{plot.app-MOIVGIS6.js.map → profilePlot-PZDFGXKZ.js.map} +0 -0
  821. /package/dist/{proteinView-A3EM6OR5.js.map → proteinView-7GWHQYXC.js.map} +0 -0
  822. /package/dist/{pseudbulk.unit.spec-CUMTLAH7.js.map → pseudbulk.unit.spec-NFT4VNTI.js.map} +0 -0
  823. /package/dist/{profilePlot-PR3LVRYU.js.map → pseudobulk-WDGWTXW4.js.map} +0 -0
  824. /package/dist/{pseudobulk-5E5MSMU3.js.map → qualitative-PZYJENE7.js.map} +0 -0
  825. /package/dist/{radar2-A5OYMORS.js.map → radar2-QHRGH3YS.js.map} +0 -0
  826. /package/dist/{radarFacility2-4TPJB6M4.js.map → radarFacility2-2JD26FL6.js.map} +0 -0
  827. /package/dist/{qualitative-WPXUBISK.js.map → render-YA4Z56LT.js.map} +0 -0
  828. /package/dist/{report-NCJOTYIC.js.map → report-2NUKFJTF.js.map} +0 -0
  829. /package/dist/{render-XQBWWS33.js.map → sampleView-2XVPJTVR.js.map} +0 -0
  830. /package/dist/{samplelst-FV7BAUN5.js.map → samplelst-DMILFDT5.js.map} +0 -0
  831. /package/dist/{samplematrix-DFD3PNI4.js.map → samplematrix-LYA5XTUM.js.map} +0 -0
  832. /package/dist/{sc-GIMTDVLG.js.map → sc-CM2C34MN.js.map} +0 -0
  833. /package/dist/{scatter-4GJ5HKUY.js.map → scatter-C3CH3HTF.js.map} +0 -0
  834. /package/dist/{scatter-P3ISZB3R.js.map → scatter-GO6LV6NY.js.map} +0 -0
  835. /package/dist/{selectGenomeWithTklst-ZZ4CEHDU.js.map → selectGenomeWithTklst-5C7UBTGZ.js.map} +0 -0
  836. /package/dist/{sampleView-2PUSMG4W.js.map → singleCellCellType-EZYESBVZ.js.map} +0 -0
  837. /package/dist/{singleCellCellType.unit.spec-JNEIICK5.js.map → singleCellCellType.unit.spec-DB6FM4XR.js.map} +0 -0
  838. /package/dist/{singleCellCellType-CEERCVTR.js.map → singleCellGeneExpression-DZLEFPW4.js.map} +0 -0
  839. /package/dist/{singleCellGeneExpression.unit.spec-CGRZGY66.js.map → singleCellGeneExpression.unit.spec-ZTBK3V43.js.map} +0 -0
  840. /package/dist/{singleCellGeneExpression-G5B7DDES.js.map → singleCellPlot-VF4TZ4FT.js.map} +0 -0
  841. /package/dist/{singlecell-IPTSIKNA.js.map → singlecell-2MHROPBN.js.map} +0 -0
  842. /package/dist/{singlecell-VB4KLPJF.js.map → singlecell-GPAFNOUZ.js.map} +0 -0
  843. /package/dist/{singleCellPlot-US5KTHS4.js.map → snp-K4EAEVW4.js.map} +0 -0
  844. /package/dist/{snp.unit.spec-Q537NGVG.js.map → snp.unit.spec-BUVQLVOY.js.map} +0 -0
  845. /package/dist/{snplocus-BV6WJTVP.js.map → snplocus-GEVISN6Z.js.map} +0 -0
  846. /package/dist/{spliceevent.a53ss.diagram-3BUQVK4Q.js.map → spliceevent.a53ss.diagram-5UPWNAZF.js.map} +0 -0
  847. /package/dist/{spliceevent.exonskip.diagram-CQZ2DFQ5.js.map → spliceevent.exonskip.diagram-7TKAQURC.js.map} +0 -0
  848. /package/dist/{spliceevent.noeventdiagram-QAEPR6LD.js.map → spliceevent.noeventdiagram-CDXZLR3Z.js.map} +0 -0
  849. /package/dist/{snp-6V2SCCRN.js.map → ssGSEA-NMCJUQXT.js.map} +0 -0
  850. /package/dist/{ssGSEA.unit.spec-A337IMC7.js.map → ssGSEA.unit.spec-3FQALTPQ.js.map} +0 -0
  851. /package/dist/{stattable-J4ZQKJFM.js.map → stattable-2RXQPWKK.js.map} +0 -0
  852. /package/dist/{summarizeCnvGeneexp-76UJXLA4.js.map → summarizeCnvGeneexp-4BQS5AFM.js.map} +0 -0
  853. /package/dist/{summarizeGeneexpSurvival-ZUEHXA2R.js.map → summarizeGeneexpSurvival-HTBZQFB5.js.map} +0 -0
  854. /package/dist/{summarizeMutationCnv-EBCBVMG6.js.map → summarizeMutationCnv-XUWZGPCM.js.map} +0 -0
  855. /package/dist/{ssGSEA-XNI5S7AC.js.map → summarizeMutationDiagnosis-QUJX42TO.js.map} +0 -0
  856. /package/dist/{summarizeMutationSurvival-QRFMJLLO.js.map → summarizeMutationSurvival-3R47TTR6.js.map} +0 -0
  857. /package/dist/{summarizeMutationDiagnosis-VLFI2ZIZ.js.map → summary-6UUB63QR.js.map} +0 -0
  858. /package/dist/{summary.integration.spec-52WP6SNY.js.map → summary.integration.spec-JJDE6SRV.js.map} +0 -0
  859. /package/dist/{summaryInput-WUJNHCGH.js.map → summaryInput-JG4AW6FW.js.map} +0 -0
  860. /package/dist/{sunburst-IJ3ZG2BC.js.map → sunburst-YKB42RZX.js.map} +0 -0
  861. /package/dist/{survival-SQRYWGWZ.js.map → survival-3IFFTDQA.js.map} +0 -0
  862. /package/dist/{survival-F2B5JKOO.js.map → survival-HOFNJENX.js.map} +0 -0
  863. /package/dist/{svgraph-HVCMF6KI.js.map → svgraph-WFEY4ZIZ.js.map} +0 -0
  864. /package/dist/{svmr-PROHTMTP.js.map → svmr-44EIX7YD.js.map} +0 -0
  865. /package/dist/{table-3E64OJNV.js.map → table-6MKVJUNC.js.map} +0 -0
  866. /package/dist/{termCollection-WKT6ESMI.js.map → termCollection-6JBVQL6Y.js.map} +0 -0
  867. /package/dist/{summary-U3YKEMZC.js.map → termCollection-TTELZVC5.js.map} +0 -0
  868. /package/dist/{termCollection.unit.spec-XMOCMVER.js.map → termCollection.unit.spec-6Z7X646L.js.map} +0 -0
  869. /package/dist/{termCollection-MUH7P6B5.js.map → termCollectionFractionSelection-5DVIJBM5.js.map} +0 -0
  870. /package/dist/{termCollectionFractionSelection.unit.spec-MG7E3EIZ.js.map → termCollectionFractionSelection.unit.spec-3HIM5BIF.js.map} +0 -0
  871. /package/dist/{termCollectionFractionSelection-P5G6WIJJ.js.map → tk-HSYWJCGQ.js.map} +0 -0
  872. /package/dist/{tk-HWUPUGOS.js.map → tk-PNOVG2XS.js.map} +0 -0
  873. /package/dist/{tp.ui-RRB5MJRD.js.map → tp.ui-COBBSUPB.js.map} +0 -0
  874. /package/dist/{tk-SBM2GN3S.js.map → tvs.dt-35AKURFI.js.map} +0 -0
  875. /package/dist/{tvs.dtcnv.categorical-7RJPQKMX.js.map → tvs.dtcnv.categorical-3EHXYROL.js.map} +0 -0
  876. /package/dist/{tvs.dtcnv.continuous-FW4ZXIYY.js.map → tvs.dtcnv.continuous-AXQ2GU6S.js.map} +0 -0
  877. /package/dist/{tvs.dtfusion-3GDWW3ML.js.map → tvs.dtfusion-PLJIMPNX.js.map} +0 -0
  878. /package/dist/{tvs.dtitd-FER4H4UO.js.map → tvs.dtitd-JS6RFBV5.js.map} +0 -0
  879. /package/dist/{tvs.dtsnvindel-ISEOJ5UA.js.map → tvs.dtsnvindel-MDEM5MPT.js.map} +0 -0
  880. /package/dist/{tvs.dtsv-JDML7EWE.js.map → tvs.dtsv-OU756YLO.js.map} +0 -0
  881. /package/dist/{tvs.samplelst-MJTM6GSV.js.map → tvs.samplelst-5NDICES4.js.map} +0 -0
  882. /package/dist/{tvs.termCollection-GMOXBJWF.js.map → tvs.termCollection-5URPDPH6.js.map} +0 -0
  883. /package/dist/{tvs.dt-I2ECKHQ2.js.map → vocabulary-CHCVMPK5.js.map} +0 -0
  884. /package/dist/{wsi.direct-IVPACPNT.js.map → wsi.direct-JSKV4H4X.js.map} +0 -0
@@ -1,2192 +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-GQQ4R6BI.js";
11
- import {
12
- invalidcoord,
13
- string2pos
14
- } from "./chunk-HJ6L54YS.js";
15
- import "./chunk-XFAL46LZ.js";
16
- import "./chunk-7AYGTMED.js";
17
- import {
18
- Menu
19
- } from "./chunk-ELJX3QIQ.js";
20
- import "./chunk-7BLXK3GI.js";
21
- import "./chunk-VSSZJHOR.js";
22
- import "./chunk-5RUVBYLK.js";
23
- import {
24
- dofetch,
25
- dofetch2,
26
- dofetch3,
27
- vcfparsemeta
28
- } from "./chunk-HENLCRVM.js";
29
- import "./chunk-4WF3XDQP.js";
30
- import "./chunk-7UFK4GVI.js";
31
- import {
32
- bplen,
33
- dt2label,
34
- dtcnv,
35
- dtfusionrna,
36
- dtitd,
37
- dtloh,
38
- dtsnvindel,
39
- dtsv,
40
- getMax_byiqr,
41
- mclass,
42
- mclassitd,
43
- tkt,
44
- validtkt
45
- } from "./chunk-4QBRVM4V.js";
46
- import "./chunk-H6INPPUC.js";
47
- import "./chunk-PF4DSFDR.js";
48
- import "./chunk-IMYSFDE5.js";
49
- import "./chunk-W5J3LTYS.js";
50
- import {
51
- category10_default
52
- } from "./chunk-4ZL6IBXM.js";
53
- import {
54
- linear,
55
- ordinal
56
- } from "./chunk-OZVWP4ZR.js";
57
- import "./chunk-FXQXCOII.js";
58
- import "./chunk-TLT4YIG3.js";
59
- import "./chunk-5R63Q5KH.js";
60
- import "./chunk-I6Y4O3RR.js";
61
- import "./chunk-Q5RDQNIT.js";
62
- import "./chunk-DQC5FFGV.js";
63
- import "./chunk-HFNDKYVF.js";
64
-
65
- // src/samplematrix.featuremenu.js
66
- function showMenu_isgenevalue(smat, f) {
67
- smat.menu.d.append("div").attr("class", "sja_menuoption").text("Sort").on("click", () => {
68
- smat.menu.hide();
69
- if (f.sort) {
70
- return;
71
- }
72
- for (const f2 of smat.features) {
73
- if (f2.isgenevalue) delete f2.sort;
74
- }
75
- f.sort = 1;
76
- smat.draw_matrix();
77
- });
78
- }
79
- function showMenu_iscnv(smat, f, obj) {
80
- {
81
- const row = smat.menu.d.append("div").style("margin", "10px");
82
- row.append("span").html("CNV log2(ratio) cutoff ");
83
- row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
84
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
85
- let v = Number.parseFloat(event2.target.value);
86
- if (!v || v < 0) {
87
- v = 0;
88
- }
89
- if (v == 0) {
90
- if (obj.valuecutoff) {
91
- obj.valuecutoff = 0;
92
- smat.update_singlefeature(f);
93
- } else {
94
- }
95
- return;
96
- }
97
- if (obj.valuecutoff) {
98
- if (obj.valuecutoff == v) {
99
- } else {
100
- obj.valuecutoff = v;
101
- smat.update_singlefeature(f);
102
- }
103
- } else {
104
- obj.valuecutoff = v;
105
- smat.update_singlefeature(f);
106
- }
107
- });
108
- 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.");
109
- }
110
- {
111
- const row = smat.menu.d.append("div").style("margin", "10px");
112
- row.append("span").html("CNV segment size limit&nbsp;");
113
- row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
114
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
115
- let v = Number.parseInt(event2.target.value);
116
- if (!v || v < 0) {
117
- v = 0;
118
- }
119
- if (v == 0) {
120
- if (obj.focalsizelimit) {
121
- obj.focalsizelimit = 0;
122
- smat.update_singlefeature(f);
123
- } else {
124
- }
125
- return;
126
- }
127
- if (obj.focalsizelimit) {
128
- if (obj.focalsizelimit == v) {
129
- } else {
130
- obj.focalsizelimit = v;
131
- smat.update_singlefeature(f);
132
- }
133
- } else {
134
- obj.focalsizelimit = v;
135
- smat.update_singlefeature(f);
136
- }
137
- });
138
- row.append("span").text("bp");
139
- 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.");
140
- }
141
- }
142
- function showMenu_isloh(smat, f, obj) {
143
- {
144
- const row = smat.menu.d.append("div").style("margin", "10px");
145
- row.append("span").html("LOH segmean cutoff&nbsp;");
146
- row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
147
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
148
- let v = Number.parseFloat(event2.target.value);
149
- if (!v || v < 0) {
150
- v = 0;
151
- }
152
- if (v == 0) {
153
- if (obj.valuecutoff) {
154
- obj.valuecutoff = 0;
155
- smat.update_singlefeature(f);
156
- } else {
157
- }
158
- return;
159
- }
160
- if (obj.valuecutoff) {
161
- if (obj.valuecutoff == v) {
162
- } else {
163
- obj.valuecutoff = v;
164
- smat.update_singlefeature(f);
165
- }
166
- } else {
167
- obj.valuecutoff = v;
168
- smat.update_singlefeature(f);
169
- }
170
- });
171
- 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.");
172
- }
173
- {
174
- const row = smat.menu.d.append("div").style("margin", "10px");
175
- row.append("span").html("LOH segment size limit&nbsp;");
176
- row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
177
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
178
- let v = Number.parseInt(event2.target.value);
179
- if (!v || v < 0) {
180
- v = 0;
181
- }
182
- if (v == 0) {
183
- if (obj.focalsizelimit) {
184
- obj.focalsizelimit = 0;
185
- smat.update_singlefeature(f);
186
- } else {
187
- }
188
- return;
189
- }
190
- if (obj.focalsizelimit) {
191
- if (obj.focalsizelimit == v) {
192
- } else {
193
- obj.focalsizelimit = v;
194
- smat.update_singlefeature(f);
195
- }
196
- } else {
197
- obj.focalsizelimit = v;
198
- smat.update_singlefeature(f);
199
- }
200
- });
201
- row.append("span").text("bp");
202
- 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.");
203
- }
204
- }
205
- function showMenu_ismutation(smat, f) {
206
- {
207
- const div = smat.menu.d.append("div").style("margin", "10px").style("border", "solid 1px #ededed");
208
- const update = () => {
209
- smat.update_singlefeature(f);
210
- smat.menu.hide();
211
- };
212
- const table = div.append("table").style("margin", "10px").style("border-spacing", "1px");
213
- const tbody = table.append("tbody");
214
- {
215
- const tr = tbody.append("tr");
216
- tr.append("td").style("opacity", 0.5).text("CNV");
217
- tr.append("td").attr("class", "sja_menuoption").text(f.cnv.hidden ? "Show" : "Hide").on("click", () => {
218
- f.cnv.hidden = !f.cnv.hidden;
219
- update();
220
- });
221
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
222
- ismutation_hideallclass(f);
223
- delete f.cnv.hidden;
224
- update();
225
- });
226
- const td = tr.append("td");
227
- if (!f.cnv.hidden) {
228
- td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
229
- smat.menu.clear();
230
- showMenu_iscnv(smat, f, f.cnv);
231
- });
232
- }
233
- }
234
- {
235
- const tr = tbody.append("tr");
236
- tr.append("td").style("opacity", 0.5).text("LOH");
237
- tr.append("td").attr("class", "sja_menuoption").text(f.loh.hidden ? "Show" : "Hide").on("click", () => {
238
- f.loh.hidden = !f.loh.hidden;
239
- update();
240
- });
241
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
242
- ismutation_hideallclass(f);
243
- delete f.loh.hidden;
244
- update();
245
- });
246
- const td = tr.append("td");
247
- if (!f.loh.hidden) {
248
- td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
249
- smat.menu.clear();
250
- showMenu_isloh(smat, f, f.loh);
251
- });
252
- }
253
- }
254
- {
255
- const tr = tbody.append("tr");
256
- tr.append("td").style("opacity", 0.5).text("ITD");
257
- tr.append("td").attr("class", "sja_menuoption").text(f.itd.hidden ? "Show" : "Hide").on("click", () => {
258
- f.itd.hidden = !f.itd.hidden;
259
- update();
260
- });
261
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
262
- ismutation_hideallclass(f);
263
- delete f.itd.hidden;
264
- update();
265
- });
266
- const td = tr.append("td");
267
- if (!f.itd.hidden) {
268
- }
269
- }
270
- {
271
- const tr = tbody.append("tr");
272
- tr.append("td").style("opacity", 0.5).text("SV");
273
- tr.append("td").attr("class", "sja_menuoption").text(f.sv.hidden ? "Show" : "Hide").on("click", () => {
274
- f.sv.hidden = !f.sv.hidden;
275
- update();
276
- });
277
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
278
- ismutation_hideallclass(f);
279
- delete f.sv.hidden;
280
- update();
281
- });
282
- const td = tr.append("td");
283
- if (!f.sv.hidden) {
284
- }
285
- }
286
- {
287
- const tr = tbody.append("tr");
288
- tr.append("td").style("opacity", 0.5).text("Fusion");
289
- tr.append("td").attr("class", "sja_menuoption").text(f.fusion.hidden ? "show" : "hide").on("click", () => {
290
- f.fusion.hidden = !f.fusion.hidden;
291
- update();
292
- });
293
- tr.append("td").attr("class", "sja_menuoption").text("show only").on("click", () => {
294
- ismutation_hideallclass(f);
295
- delete f.fusion.hidden;
296
- update();
297
- });
298
- const td = tr.append("td");
299
- if (!f.fusion.hidden) {
300
- }
301
- }
302
- 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", () => {
303
- if (tbody2.style("display") == "none") {
304
- tbody2.style("display", "table-row-group");
305
- } else {
306
- tbody2.style("display", "none");
307
- }
308
- });
309
- const tbody2 = table.append("tbody").style("display", "none");
310
- for (const k in mclass) {
311
- const c = mclass[k];
312
- if (c.dt != dtsnvindel) {
313
- continue;
314
- }
315
- const tr = tbody2.append("tr");
316
- tr.append("td").style("opacity", 0.5).text(c.label);
317
- tr.append("td").attr("class", "sja_menuoption").text(f.snvindel.excludeclasses[k] ? "Show" : "Hide").on("click", () => {
318
- if (f.snvindel.excludeclasses[k]) {
319
- delete f.snvindel.excludeclasses[k];
320
- } else {
321
- f.snvindel.excludeclasses[k] = 1;
322
- }
323
- update();
324
- });
325
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
326
- ismutation_hideallclass(f);
327
- delete f.snvindel.excludeclasses[k];
328
- update();
329
- });
330
- const td = tr.append("td");
331
- }
332
- div.append("div").style("margin", "10px").append("span").style("font-size", ".8em").text("Show all classes").attr("class", "sja_clbtext").on("click", () => {
333
- f.cnv.hidden = false;
334
- f.loh.hidden = false;
335
- f.itd.hidden = false;
336
- f.sv.hidden = false;
337
- f.fusion.hidden = false;
338
- f.snvindel.excludeclasses = {};
339
- update();
340
- });
341
- }
342
- }
343
- function ismutation_hideallclass(f) {
344
- f.cnv.hidden = true;
345
- f.loh.hidden = true;
346
- f.itd.hidden = true;
347
- f.sv.hidden = true;
348
- f.fusion.hidden = true;
349
- f.snvindel.excludeclasses = {};
350
- for (const k in mclass) {
351
- if (mclass[k].dt == dtsnvindel) f.snvindel.excludeclasses[k] = 1;
352
- }
353
- }
354
-
355
- // src/samplematrix.kmplot.js
356
- function may_add_kmplotbutton(smat, buttonrow) {
357
- if (!smat.mds || !smat.mds.survivalplot) return;
358
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("SURVIVAL PLOT").attr("class", "sja_clbtext").on("click", (event2) => {
359
- smat.menu.clear().showunder(event2.target);
360
- kmplot_menu(smat);
361
- });
362
- }
363
- async function kmplot_menu(smat) {
364
- const mutation_features = smat.features.filter((i) => i.ismutation);
365
- try {
366
- if (mutation_features.length != 2) throw "only works with two genomic features.";
367
- await kmplot_do(smat, mutation_features[0], mutation_features[1]);
368
- } catch (e) {
369
- smat.menu.d.append("div").style("margin", "20px").text("Cannot make survival plot: " + (e.message || e));
370
- }
371
- }
372
- async function kmplot_do(smat, f1, f2) {
373
- const s1 = [], s2 = [], s12 = [];
374
- for (const i of smat.samples) {
375
- const in1 = f1.items.find((j) => j.sample == i.name);
376
- const in2 = f2.items.find((j) => j.sample == i.name);
377
- if (in1) {
378
- if (in2) s12.push(i.name);
379
- else s1.push(i.name);
380
- } else {
381
- s2.push(i.name);
382
- }
383
- }
384
- const plot = {
385
- renderplot: 1,
386
- samplerule: {
387
- full: {},
388
- mutated_sets: [
389
- { name: f1.label + " mutated (n=" + s1.length + ")", samplenames: s1 },
390
- { name: f2.label + " mutated (n=" + s2.length + ")", samplenames: s2 },
391
- { name: f1.label + " and " + f2.label + " mutated (n=" + s12.length + ")", samplenames: s12 }
392
- ]
393
- }
394
- };
395
- if (smat.limitsamplebyeitherannotation) {
396
- plot.samplerule.full = {
397
- byattr: 1,
398
- key: smat.limitsamplebyeitherannotation[0].key,
399
- value: smat.limitsamplebyeitherannotation[0].value,
400
- immutable: 1
401
- };
402
- }
403
- const pane = newpane({ x: 100, y: 100 });
404
- pane.header.text(
405
- (smat.limitsamplebyeitherannotation ? smat.limitsamplebyeitherannotation[0].value + " " : "") + "survival by " + f1.label + " and " + f2.label + " mutation status"
406
- );
407
- const _ = await import("./mds.survivalplot-ETLLFDWR.js");
408
- _.init(
409
- {
410
- mds: smat.mds,
411
- genome: smat.genome,
412
- plotlist: [plot]
413
- },
414
- pane.body
415
- );
416
- }
417
-
418
- // src/samplematrix.js
419
- var saynovalue = "na";
420
- var default_cnvgaincolor = "#D6683C";
421
- var default_cnvlosscolor = "#67a9cf";
422
- var default_genevaluecolor = "#095873";
423
- var default_lohcolor = "#858585";
424
- var default_svcolor = "#858585";
425
- var minheight2showname = 8;
426
- var Samplematrix = class {
427
- /*
428
- init ui
429
- */
430
- constructor(p) {
431
- for (const k in p) {
432
- this[k] = p[k];
433
- }
434
- if (this.debugmode) window.smat = this;
435
- this.tip = new Menu({ padding: "0px", hideXmute: 1, hideYmute: 1 });
436
- this.menu = new Menu({ padding: "0px" });
437
- this.errdiv = this.holder.append("div");
438
- if (!this.iscustom) {
439
- try {
440
- if (!this.dslabel) throw "not custom data but dslabel is missing";
441
- this.mds = this.genome.datasets[this.dslabel];
442
- if (!this.mds) throw "invalid dataset name: " + this.dslabel;
443
- if (!this.mds.isMds) throw "improper dataset: " + this.dslabel;
444
- } catch (e) {
445
- this.error(e);
446
- }
447
- }
448
- init_controlui(this);
449
- if (this.header) {
450
- this.holder.append("div").style("margin-bottom", "20px").html(this.header);
451
- }
452
- this.wait_div = this.holder.append("div");
453
- this.wait_div.style("display", "block").text("Loading...");
454
- this.svg = this.holder.append("svg");
455
- this.validate_config().then(() => {
456
- return this.get_features();
457
- }).catch((err) => {
458
- if (typeof err == "string") {
459
- this.error(err);
460
- } else {
461
- this.error(err.message);
462
- if (err.stack) console.log(err.stack);
463
- }
464
- });
465
- }
466
- error(m) {
467
- sayerror(this.errdiv, m);
468
- }
469
- async validate_config() {
470
- if (this.iscustom) {
471
- if (!this.querykey2tracks) throw "querykey2tracks missing for custom dataset";
472
- let novalidtk = true;
473
- for (const key in this.querykey2tracks) {
474
- const tk = this.querykey2tracks[key];
475
- if (!tk.file && !tk.url) throw "no file or url for a custom track by key " + key;
476
- if (!tk.type) throw "missing type for member track by key " + key;
477
- if (!validtkt(tk.type)) throw "invalid type for a member track: " + tk.type;
478
- novalidtk = false;
479
- }
480
- if (novalidtk) throw "no custom tracks from querykey2tracks";
481
- let vcftk;
482
- for (const key in this.querykey2tracks) {
483
- const tk = this.querykey2tracks[key];
484
- if (tk.type == tkt.mdsvcf) {
485
- vcftk = tk;
486
- }
487
- }
488
- if (vcftk) {
489
- await this.may_init_customvcf(vcftk);
490
- }
491
- } else {
492
- if (this.mds.mdsIsUninitiated) {
493
- const d = await dofetch3(`getDataset?genome=${this.genome.name}&dsname=${this.mds.label}`);
494
- if (d.error) throw d.error;
495
- if (!d.ds) throw "ds missing";
496
- Object.assign(this.mds, d.ds);
497
- delete this.mds.mdsIsUninitiated;
498
- }
499
- }
500
- if (this.limitsamplebyeitherannotation) {
501
- if (!Array.isArray(this.limitsamplebyeitherannotation)) throw "limitsamplebyeitherannotation must be an array";
502
- const tr = this.legendtable.append("tr");
503
- for (const anno of this.limitsamplebyeitherannotation) {
504
- if (!anno.key) throw ".key missing from an element of limitsamplebyeitherannotation";
505
- if (!anno.value) throw ".value missing from an element of limitsamplebyeitherannotation";
506
- }
507
- this.showlegend_limitsample();
508
- }
509
- const cnv_tr = this.legendtable.append("tr");
510
- cnv_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("CNV cutoff");
511
- this.legendtable.cnv_td = cnv_tr.append("td");
512
- const loh_tr = this.legendtable.append("tr");
513
- loh_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("LOH cutoff");
514
- this.legendtable.loh_td = loh_tr.append("td");
515
- if (this.limitbysamplesetgroup) {
516
- if (!Array.isArray(this.limitbysamplesetgroup.samples)) throw ".limitbysamplesetgroup.samples is not array";
517
- }
518
- if (!this.rowspace) this.rowspace = 1;
519
- if (!this.colspace) this.colspace = 1;
520
- if (!this.rowlabspace) this.rowlabspace = 5;
521
- if (!this.collabspace) this.collabspace = 5;
522
- if (!this.rowlabticksize) this.rowlabticksize = 5;
523
- if (!this.collabticksize) this.collabticksize = 5;
524
- if (!this.features) throw "missing features[]";
525
- if (!Array.isArray(this.features)) throw "features must be an array";
526
- if (this.features[0].height) this.ori_feature_height = this.features[0].height;
527
- if (this.features[0].width) this.ori_feature_width = this.features[0].width;
528
- for (const f of this.features) {
529
- await this.validate_feature(f);
530
- }
531
- }
532
- showlegend_limitsample() {
533
- if (!this.limitsamplebyeitherannotation) return;
534
- }
535
- feature_parseposition_maygene(f) {
536
- return Promise.resolve().then(() => {
537
- if (f.position) {
538
- const o = string2pos(f.position, this.genome);
539
- if (o) {
540
- f.chr = o.chr;
541
- f.start = o.start;
542
- f.stop = o.stop;
543
- }
544
- }
545
- if (f.chr) {
546
- const err = invalidcoord(this.genome, f.chr, f.start, f.stop);
547
- if (err) {
548
- throw 'feature "' + f.label + '" position error: ' + err;
549
- } else {
550
- return;
551
- }
552
- }
553
- if (!f.genename) throw "position required for a feature: no position or genename given";
554
- return dofetch("/genelookup", {
555
- input: f.genename,
556
- genome: this.genome.name,
557
- deep: 1
558
- }).then((data) => {
559
- if (data.error) throw data.error;
560
- if (!data.gmlst || data.gmlst.length == 0) throw "no gene can be found for " + f.genename;
561
- const regions = [];
562
- for (const gm of data.gmlst) {
563
- let nooverlap = true;
564
- for (const region of regions) {
565
- if (gm.chr == region.chr && Math.max(gm.start, region.start) < Math.min(gm.stop, region.stop)) {
566
- nooverlap = false;
567
- region.start = Math.min(region.start, gm.start);
568
- region.stop = Math.max(region.stop, gm.stop);
569
- break;
570
- }
571
- }
572
- if (nooverlap) {
573
- regions.push({
574
- chr: gm.chr,
575
- start: gm.start,
576
- stop: gm.stop
577
- });
578
- }
579
- }
580
- if (regions.length > 1) {
581
- sayerror(
582
- this.errdiv,
583
- "multiple regions found for gene " + f.genename + " you'd better specify one in feature"
584
- );
585
- }
586
- f.chr = regions[0].chr;
587
- f.start = regions[0].start;
588
- f.stop = regions[0].stop;
589
- });
590
- });
591
- }
592
- validate_feature(f) {
593
- return Promise.resolve().then(() => {
594
- f.id = Math.random().toString();
595
- const tr = this.legendtable.append("tr");
596
- f.legend_tr = tr;
597
- if (f.isgenevalue) {
598
- if (!f.genename) throw ".genename missing for isgenevalue feature";
599
- f.label = f.genename + " expression";
600
- if (this.dslabel) {
601
- if (!f.querykey) throw ".querykey missing for isgenevalue feature while loading from official dataset";
602
- } else {
603
- }
604
- if (!f.scale) f.scale = { auto: 1 };
605
- if (f.missingvalue == void 0) f.missingvalue = 0;
606
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
607
- f.legendholder = tr.append("td");
608
- if (!f.width) f.width = 20;
609
- if (!f.color) f.color = default_genevaluecolor;
610
- return this.feature_parseposition_maygene(f);
611
- }
612
- if (f.iscnv) {
613
- if (this.dslabel) {
614
- if (!f.querykey) throw ".querykey missing for iscnv feature while loading from official dataset";
615
- } else {
616
- }
617
- if (!f.label && f.genename) {
618
- f.label = f.genename + " CNV";
619
- }
620
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
621
- f.legendholder = tr.append("td");
622
- if (!f.width) f.width = 40;
623
- if (!f.colorgain) f.colorgain = default_cnvgaincolor;
624
- if (!f.colorloss) f.colorloss = default_cnvlosscolor;
625
- return this.feature_parseposition_maygene(f).then(() => {
626
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV";
627
- f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
628
- });
629
- }
630
- if (f.isloh) {
631
- if (this.dslabel) {
632
- if (!f.querykey) throw ".querykey missing for isloh feature while loading from official dataset";
633
- } else {
634
- }
635
- if (!f.label && f.genename) {
636
- f.label = f.genename + " LOH";
637
- }
638
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
639
- f.legendholder = tr.append("td");
640
- if (!f.width) f.width = 40;
641
- if (!f.color) f.color = default_lohcolor;
642
- return this.feature_parseposition_maygene(f).then(() => {
643
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " LOH";
644
- f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
645
- });
646
- }
647
- if (f.isvcf) {
648
- if (this.dslabel) {
649
- if (!f.querykey) throw ".querykey missing for isvcf feature while loading from official dataset";
650
- } else {
651
- }
652
- if (!f.label && f.genename) {
653
- f.label = f.genename + " SNV/indel";
654
- }
655
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
656
- f.legendholder = tr.append("td");
657
- if (!f.width) f.width = 20;
658
- if (!f.snvindel) f.snvindel = {};
659
- return this.feature_parseposition_maygene(f).then(() => {
660
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SNV/indel";
661
- });
662
- }
663
- if (f.isitd) {
664
- if (this.dslabel) {
665
- if (!f.querykey) throw ".querykey missing for isitd feature while loading from official dataset";
666
- } else {
667
- }
668
- if (!f.label && f.genename) {
669
- f.label = f.genename + " ITD";
670
- }
671
- if (!f.width) f.width = 20;
672
- if (!f.color) f.color = mclass[mclassitd].color;
673
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
674
- f.legendholder = tr.append("td");
675
- f.legendholder.append("div").style("width", "20px").html("&nbsp;").style("background", f.color);
676
- return this.feature_parseposition_maygene(f).then(() => {
677
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " ITD";
678
- });
679
- }
680
- if (f.issvfusion) {
681
- if (this.dslabel) {
682
- if (!f.querykey) throw ".querykey missing for issvfusion feature while loading from official dataset";
683
- } else {
684
- }
685
- if (!f.label && f.genename) {
686
- f.label = f.genename + " SV/fusion";
687
- }
688
- if (!f.width) f.width = 20;
689
- if (!f.color) f.color = default_svcolor;
690
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
691
- f.legendholder = tr.append("td");
692
- return this.feature_parseposition_maygene(f).then(() => {
693
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SV/fusion";
694
- });
695
- }
696
- if (f.issvcnv) {
697
- if (this.dslabel) {
698
- if (!f.querykey) throw ".querykey missing for issvcnv feature while loading from official dataset";
699
- } else {
700
- }
701
- if (!f.label && f.genename) {
702
- f.label = f.genename + " CNV/SV";
703
- }
704
- tr.append("td").text(f.label).style("color", "#858585").style("text-align", "right");
705
- f.legendholder = tr.append("td");
706
- initfeature_polymutation(f);
707
- return this.feature_parseposition_maygene(f).then(() => {
708
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV/SV";
709
- });
710
- }
711
- if (f.ismutation) {
712
- if (this.dslabel) {
713
- if (!f.querykeylst) throw ".querykeylst missing for ismutation feature";
714
- if (!Array.isArray(f.querykeylst)) throw ".querykeylst[] should be array for ismutation feature";
715
- if (f.querykeylst.length == 0) throw "querykeylst[] empty array for ismutation feature";
716
- } else {
717
- }
718
- if (!f.label && f.genename) {
719
- f.label = f.genename + " mutation";
720
- }
721
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
722
- f.legendholder = tr.append("td");
723
- initfeature_polymutation(f);
724
- return this.feature_parseposition_maygene(f).then(() => {
725
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " mutation";
726
- f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
727
- });
728
- }
729
- if (f.issampleattribute) {
730
- if (!this.dslabel) throw ".dslabel missing: sampleattribute only works for official dataset";
731
- if (!f.key) throw ".key missing for issampleattribute feature";
732
- if (!f.label) f.label = f.key;
733
- if (this.mds && this.mds.sampleAttribute && this.mds.sampleAttribute.attributes) {
734
- const registry = this.mds.sampleAttribute.attributes[f.key];
735
- if (registry) {
736
- f.values = registry.values;
737
- }
738
- }
739
- if (!f.values) {
740
- f.values = {};
741
- }
742
- f.assignmissingcolor = ordinal(category10_default);
743
- if (!f.width && !this.features_on_rows) f.width = 20;
744
- else if (!f.height && this.features_on_rows) f.height = 50;
745
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
746
- f.legendholder = tr.append("td");
747
- return Promise.resolve();
748
- }
749
- throw "unknown feature type in validating feature";
750
- });
751
- }
752
- get_features(featureset) {
753
- this.max_cnv = 0;
754
- this.min_cnv = 0;
755
- this.max_loh = 0;
756
- this.min_loh = 0;
757
- const arg = {
758
- genome: this.genome.name,
759
- limitsamplebyeitherannotation: this.limitsamplebyeitherannotation,
760
- features: (featureset || this.features).map(feature2arg)
761
- };
762
- if (this.limitbysamplesetgroup) {
763
- arg.sampleset = this.limitbysamplesetgroup.samples;
764
- }
765
- if (this.iscustom) {
766
- arg.iscustom = 1;
767
- arg.querykey2tracks = {};
768
- for (const f of arg.features) {
769
- if (f.querykey) {
770
- arg.querykey2tracks[f.querykey] = this.querykey2tracks[f.querykey];
771
- } else if (f.querykeylst) {
772
- for (const k of f.querykeylst) arg.querykey2tracks[k] = this.querykey2tracks[k];
773
- }
774
- }
775
- } else {
776
- arg.dslabel = this.mds.label;
777
- }
778
- return dofetch("/samplematrix", arg).then((data) => {
779
- if (data.error) {
780
- for (const f0 of arg.features) {
781
- const f = this.features.find((f2) => f2.id == f0.id);
782
- if (f) f.items = [];
783
- }
784
- throw data.error;
785
- }
786
- for (const dat of data.results) {
787
- const f = this.features.find((f2) => f2.id == dat.id);
788
- if (!f) throw "feature not found: " + f.id;
789
- f.items = dat.items;
790
- this.prep_featuredata(f);
791
- }
792
- this.draw_matrix();
793
- this.make_legend();
794
- this.wait_div.style("display", "none");
795
- });
796
- }
797
- update_singlefeature(f) {
798
- this.get_features([f]).catch((err) => {
799
- if (typeof err == "string") {
800
- this.error(err);
801
- } else {
802
- this.error(err.message);
803
- if (err.stack) console.log(err.stack);
804
- }
805
- });
806
- }
807
- addnewfeature_update(f) {
808
- this.features.push(f);
809
- this.validate_feature(f).then(() => {
810
- return this.get_features([f]);
811
- }).catch((err) => {
812
- this.error(typeof err == "string" ? err : err.message);
813
- if (err.stack) console.log(err.stack);
814
- });
815
- }
816
- prep_featuredata(f) {
817
- if (f.isgenevalue) {
818
- f.scale.maxv = 0;
819
- f.scale.minv = 0;
820
- for (const i of f.items) {
821
- f.scale.maxv = Math.max(f.scale.maxv, i.value);
822
- }
823
- return;
824
- }
825
- if (f.iscnv) {
826
- const gain = [], loss = [];
827
- for (const i of f.items) {
828
- if (i.value > 0) {
829
- gain.push(i.value);
830
- } else {
831
- loss.push(-i.value);
832
- }
833
- }
834
- const gmax = getMax_byiqr(gain, 0);
835
- const lmax = getMax_byiqr(loss, 0);
836
- f.maxabslogratio = Math.max(gmax, lmax);
837
- if (f.maxabslogratio > this.max_cnv) this.max_cnv = f.maxabslogratio;
838
- return;
839
- }
840
- if (f.isloh) {
841
- const values = f.items.map((i) => i.segmean);
842
- f.minvalue = 0;
843
- f.maxvalue = Math.max(...values);
844
- if (f.maxvalue > this.max_loh) this.max_loh = f.maxvalue;
845
- return;
846
- }
847
- if (f.isvcf) {
848
- return;
849
- }
850
- if (f.isitd) {
851
- return;
852
- }
853
- if (f.issvfusion) {
854
- return;
855
- }
856
- if (f.issvcnv || f.ismutation) {
857
- const cnvgain = [], cnvloss = [];
858
- let lohmax = 0;
859
- for (const i of f.items) {
860
- if (i.dt == dtcnv) {
861
- if (i.value > 0) {
862
- cnvgain.push(i.value);
863
- } else {
864
- cnvloss.push(-i.value);
865
- }
866
- } else if (i.dt == dtloh) {
867
- lohmax = Math.max(i.segmean, lohmax);
868
- }
869
- }
870
- if (cnvgain.length + cnvloss.length > 0) {
871
- const gmax = getMax_byiqr(cnvgain, 0);
872
- const lmax = getMax_byiqr(cnvloss, 0);
873
- f.cnv.maxabslogratio = Math.max(gmax, lmax);
874
- if (f.cnv.maxabslogratio > this.max_cnv) {
875
- this.max_cnv = f.cnv.maxabslogratio;
876
- this.min_cnv = -f.cnv.maxabslogratio;
877
- this.cnv_colorloss = f.cnv.colorloss;
878
- this.cnv_colorgain = f.cnv.colorgain;
879
- }
880
- }
881
- if (lohmax) {
882
- f.loh.minvalue = 0;
883
- f.loh.maxvalue = lohmax;
884
- if (f.loh.maxvalue > this.max_loh) this.max_loh = f.loh.maxvalue;
885
- this.loh_color = f.loh.color;
886
- }
887
- return;
888
- }
889
- if (f.issampleattribute) {
890
- for (const i of f.items) {
891
- if (!f.values[i.value]) {
892
- f.values[i.value] = {
893
- name: i.value,
894
- color: f.assignmissingcolor(i.value)
895
- };
896
- }
897
- }
898
- return;
899
- }
900
- throw "unknown feature type in preparing feature data";
901
- }
902
- make_legend() {
903
- for (const f of this.features) {
904
- const h = f.legendholder;
905
- h.selectAll("*").remove();
906
- if (f.isgenevalue) {
907
- h.append("span").text(f.scale.minv.toFixed(3));
908
- 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 + ")");
909
- h.append("span").text(f.scale.maxv.toFixed(3));
910
- continue;
911
- }
912
- if (f.iscnv) {
913
- h.append("span").html(
914
- '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>"
915
- );
916
- continue;
917
- }
918
- if (f.isloh) {
919
- h.append("span").text(f.minvalue.toFixed(3));
920
- 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 + ")");
921
- h.append("span").text(f.maxvalue.toFixed(3));
922
- continue;
923
- }
924
- if (f.isvcf) {
925
- const classes = /* @__PURE__ */ new Set();
926
- for (const m of f.items) {
927
- if (m.class) {
928
- classes.add(m.class);
929
- } else {
930
- }
931
- }
932
- for (const c of classes) {
933
- const cell = h.append("div").style("display", "inline-block").style("margin-right", "10px");
934
- cell.append("span").style("background", mclass[c].color).style("margin-right", "2px").html("&nbsp;&nbsp;&nbsp;");
935
- cell.append("span").text(mclass[c].label).style("color", mclass[c].color);
936
- }
937
- continue;
938
- }
939
- if (f.isitd) {
940
- continue;
941
- }
942
- if (f.issvfusion) {
943
- continue;
944
- }
945
- if (f.issvcnv || f.ismutation) {
946
- const vcfclass2count = /* @__PURE__ */ new Map();
947
- let itdcount = 0;
948
- let svcount = 0;
949
- let fusioncount = 0;
950
- for (const i of f.items) {
951
- if (i.dt == dtsnvindel) {
952
- if (i.class && i.sampledata) {
953
- if (!vcfclass2count.has(i.class)) {
954
- vcfclass2count.set(i.class, 0);
955
- }
956
- vcfclass2count.set(i.class, vcfclass2count.get(i.class) + i.sampledata.length);
957
- } else {
958
- }
959
- } else if (i.dt == dtitd) {
960
- itdcount++;
961
- } else if (i.dt == dtsv) {
962
- svcount++;
963
- } else if (i.dt == dtfusionrna) {
964
- fusioncount++;
965
- }
966
- }
967
- if (vcfclass2count.size + itdcount + svcount + fusioncount > 0) {
968
- const row = h.append("div").style("margin-bottom", "5px").style("white-space", "nowrap");
969
- for (const [classname, count] of vcfclass2count) {
970
- const c = mclass[classname];
971
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
972
- cell.append("span").attr("class", "sja_mcdot").style("background", c.color).text(count);
973
- cell.append("span").text(c.label).style("color", c.color);
974
- }
975
- if (itdcount) {
976
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
977
- cell.append("span").attr("class", "sja_mcdot").style("background", f.itd.color).text(itdcount);
978
- cell.append("span").text("ITD");
979
- }
980
- if (svcount) {
981
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
982
- cell.append("span").attr("class", "sja_mcdot").style("background", f.sv.color).text(svcount);
983
- cell.append("span").text("SV");
984
- }
985
- if (fusioncount) {
986
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
987
- cell.append("span").attr("class", "sja_mcdot").style("background", f.fusion.color).text(fusioncount);
988
- cell.append("span").text("Fusion");
989
- }
990
- }
991
- continue;
992
- }
993
- if (f.issampleattribute) {
994
- const value2count = /* @__PURE__ */ new Map();
995
- for (const sample of this.samples) {
996
- const anno = f.items.find((i) => i.sample == sample.name);
997
- if (anno) {
998
- value2count.set(anno.value, (value2count.get(anno.value) || 0) + 1);
999
- }
1000
- }
1001
- for (const [value, count] of value2count) {
1002
- const cell = h.append("div").style("display", "inline-block").style("margin-right", "20px");
1003
- cell.append("span").attr("class", "sja_mcdot").style("background", f.values[value].color).text(count);
1004
- cell.append("span").text(f.values[value].name);
1005
- }
1006
- continue;
1007
- }
1008
- throw "unknown feature type in making legend";
1009
- }
1010
- this.makeGlobalCnvLohLegend();
1011
- }
1012
- makeGlobalCnvLohLegend() {
1013
- const legend_data = [
1014
- { type: "cnv", legend_label: "CNV log2(ratio): " },
1015
- { type: "loh", legend_label: "LOH seg.mean: " }
1016
- ];
1017
- const min_cnv_orig = parseFloat(this.min_cnv.toFixed(3));
1018
- const max_cnv_orig = parseFloat(this.max_cnv.toFixed(3));
1019
- const min_loh_orig = parseFloat(this.min_loh.toFixed(3));
1020
- const max_loh_orig = parseFloat(this.max_loh.toFixed(3));
1021
- let changed_flag = false;
1022
- legend_data.forEach((data) => {
1023
- let min_cutoff = data.type == "cnv" ? this.min_cnv : this.min_loh;
1024
- let max_cutoff = data.type == "cnv" ? this.max_cnv : this.max_loh;
1025
- const td = data.type == "cnv" ? this.legendtable.cnv_td : this.legendtable.loh_td;
1026
- const row = td.append("div").style("margin-bottom", "5px");
1027
- row.append("span").text(data.legend_label);
1028
- const lower_range_txt = row.append("span").text(min_cutoff.toFixed(3));
1029
- const lower_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", min_cutoff.toFixed(3));
1030
- if (data.type == "cnv") {
1031
- 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)");
1032
- }
1033
- 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(
1034
- "background",
1035
- "linear-gradient( to right, white, " + (data.type == "cnv" ? this.cnv_colorgain : this.loh_color) + ")"
1036
- );
1037
- const upper_range_txt = row.append("span").text(max_cutoff.toFixed(3));
1038
- const upper_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", max_cutoff.toFixed(3));
1039
- const edit_btn = row.append("button").style("margin", "2px 5px").style("padding", "3px 10px").text("Edit").on("click", () => {
1040
- lower_range_txt.style("display", "none");
1041
- upper_range_txt.style("display", "none");
1042
- lower_range_input.style("display", "inline-block");
1043
- upper_range_input.style("display", "inline-block");
1044
- edit_btn.style("display", "none");
1045
- submit_btn.style("display", "inline-block");
1046
- });
1047
- const submit_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Submit").on("click", () => {
1048
- if (data.type == "cnv") {
1049
- this.min_cnv = min_cutoff = lower_range_input.property("value");
1050
- this.max_cnv = max_cutoff = upper_range_input.property("value");
1051
- if (this.min_cnv != min_cnv_orig || this.max_cnv != max_cnv_orig) changed_flag = true;
1052
- } else {
1053
- this.min_loh = min_cutoff = parseFloat(lower_range_input.property("value"));
1054
- this.max_loh = max_cutoff = parseFloat(upper_range_input.property("value"));
1055
- if (this.min_loh != min_loh_orig || this.max_loh != max_loh_orig) changed_flag = true;
1056
- }
1057
- lower_range_txt.style("display", "inline-block").text(parseFloat(min_cutoff).toFixed(3));
1058
- upper_range_txt.style("display", "inline-block").text(parseFloat(max_cutoff).toFixed(3));
1059
- lower_range_input.style("display", "none");
1060
- upper_range_input.style("display", "none");
1061
- edit_btn.style("display", "inline-block");
1062
- submit_btn.style("display", "none");
1063
- reset_btn.style("display", changed_flag ? "inline-block" : "none");
1064
- this.draw_matrix();
1065
- });
1066
- const reset_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Reset").on("click", () => {
1067
- if (data.type == "cnv") {
1068
- this.min_cnv = min_cutoff = min_cnv_orig;
1069
- this.max_cnv = max_cutoff = max_cnv_orig;
1070
- } else {
1071
- this.min_loh = min_cutoff = min_loh_orig;
1072
- this.max_loh = max_cutoff = max_loh_orig;
1073
- }
1074
- lower_range_txt.text(parseFloat(min_cutoff).toFixed(3));
1075
- upper_range_txt.text(parseFloat(max_cutoff).toFixed(3));
1076
- lower_range_input.property("value", parseFloat(min_cutoff).toFixed(3));
1077
- upper_range_input.property("value", parseFloat(max_cutoff).toFixed(3));
1078
- reset_btn.style("display", "none");
1079
- changed_flag = false;
1080
- this.draw_matrix();
1081
- });
1082
- reset_btn.style("display", "none");
1083
- });
1084
- }
1085
- gatherSamplesFromFeatureData() {
1086
- const name2sample = /* @__PURE__ */ new Map();
1087
- for (const feature of this.features) {
1088
- if (feature.donotaddsample) {
1089
- continue;
1090
- }
1091
- if (feature.isgenevalue || feature.iscnv || feature.isloh || feature.isitd || feature.issvfusion || feature.issvcnv) {
1092
- for (const item of feature.items) {
1093
- if (!name2sample.has(item.sample)) {
1094
- name2sample.set(item.sample, {});
1095
- }
1096
- }
1097
- } else if (feature.isvcf) {
1098
- for (const m of feature.items) {
1099
- if (m.dt == dtsnvindel) {
1100
- if (!m.sampledata) continue;
1101
- for (const s of m.sampledata) {
1102
- if (!name2sample.has(s.sampleobj.name)) {
1103
- name2sample.set(s.sampleobj.name, {});
1104
- }
1105
- }
1106
- } else {
1107
- console.error("unsupported dt from isvcf: " + m.dt);
1108
- }
1109
- }
1110
- } else if (feature.ismutation) {
1111
- for (const m of feature.items) {
1112
- if (m.dt == dtsnvindel) {
1113
- if (!m.sampledata) continue;
1114
- for (const s of m.sampledata) {
1115
- if (!name2sample.has(s.sampleobj.name)) {
1116
- name2sample.set(s.sampleobj.name, {});
1117
- }
1118
- }
1119
- } else {
1120
- if (!m.sample) continue;
1121
- if (!name2sample.has(m.sample)) {
1122
- name2sample.set(m.sample, {});
1123
- }
1124
- }
1125
- }
1126
- } else if (feature.issampleattribute) {
1127
- for (const i of feature.items) {
1128
- if (!name2sample.has(i.sample)) {
1129
- name2sample.set(i.sample, {});
1130
- }
1131
- }
1132
- } else {
1133
- console.error("unknown feature type from this.data");
1134
- }
1135
- }
1136
- const uniformheight = Math.min(18, Math.max(1, Math.ceil(800 / name2sample.size)));
1137
- this.samples = [];
1138
- for (const [n, sample] of name2sample) {
1139
- if (!this.features_on_rows) sample.height = uniformheight;
1140
- else sample.width = uniformheight;
1141
- sample.name = n;
1142
- this.samples.push(sample);
1143
- }
1144
- }
1145
- /*********** __draw *****/
1146
- draw_matrix() {
1147
- this.svg.selectAll("*").remove();
1148
- const svgg = this.svg.append("g");
1149
- this.gatherSamplesFromFeatureData();
1150
- this.sortsamplesbyfeatures();
1151
- const rows_lst = this.features_on_rows ? this.features : this.samples;
1152
- const cols_lst = this.features_on_rows ? this.samples : this.features;
1153
- let y = 0, samplenamemaxwidth = 0;
1154
- for (const r of rows_lst) {
1155
- r.g = svgg.append("g").attr("transform", "translate(0," + y + ")");
1156
- y += r.height + this.rowspace;
1157
- if (r.height >= minheight2showname) {
1158
- 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() {
1159
- samplenamemaxwidth = Math.max(samplenamemaxwidth, this.getBBox().width);
1160
- }).attr("class", "sja_clbtext").on("mouseover", () => {
1161
- this.features_on_rows ? this.showTip_feature(r) : this.showTip_sample(r);
1162
- }).on("mouseout", () => {
1163
- this.tip.hide();
1164
- }).on("click", () => {
1165
- if (this.features_on_rows) this.showMenu_feature(r);
1166
- });
1167
- 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");
1168
- }
1169
- }
1170
- let x = 0, featurenamemaxwidth = 0;
1171
- for (const c of cols_lst) {
1172
- const g = svgg.append("g").attr("transform", "translate(" + (x + c.width / 2) + ",-" + (this.collabspace + this.collabticksize) + ")");
1173
- x += c.width + this.colspace;
1174
- 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() {
1175
- featurenamemaxwidth = Math.max(featurenamemaxwidth, this.getBBox().width);
1176
- }).on("mouseover", () => {
1177
- this.features_on_rows ? this.showTip_sample(c) : this.showTip_feature(c);
1178
- }).on("mouseout", () => {
1179
- this.tip.hide();
1180
- }).on("click", () => {
1181
- if (!this.features_on_rows) this.showMenu_feature(c);
1182
- });
1183
- if (c.isgenevalue) {
1184
- label.attr("fill", c.color);
1185
- }
1186
- g.append("line").attr("y1", this.collabspace).attr("y2", this.collabspace + this.collabticksize).attr("stroke", "black").attr("shape-rendering", "crispEdges");
1187
- }
1188
- for (const r of rows_lst) {
1189
- let x2 = 0;
1190
- for (const c of cols_lst) {
1191
- const sample = this.features_on_rows ? c : r;
1192
- const feature = this.features_on_rows ? r : c;
1193
- const cell = r.g.append("g").attr("transform", "translate(" + x2 + ",0)");
1194
- x2 += c.width + this.colspace;
1195
- if (feature.isgenevalue) {
1196
- this.drawCell_isgenevalue(sample, feature, cell);
1197
- } else if (feature.iscnv) {
1198
- this.drawCell_iscnv(sample, feature, cell);
1199
- } else if (feature.isloh) {
1200
- this.drawCell_isloh(sample, feature, cell);
1201
- } else if (feature.isvcf) {
1202
- this.drawCell_isvcf(sample, feature, cell);
1203
- } else if (feature.isitd) {
1204
- this.drawCell_isitd(sample, feature, cell);
1205
- } else if (feature.issvfusion) {
1206
- this.drawCell_issvfusion(sample, feature, cell);
1207
- } else if (feature.issvcnv || feature.ismutation) {
1208
- this.drawCell_ismutation(sample, feature, cell);
1209
- } else if (feature.issampleattribute) {
1210
- this.drawCell_issampleattribute(sample, feature, cell);
1211
- } else {
1212
- console.error("unknown feature type when drawing cell");
1213
- }
1214
- }
1215
- }
1216
- svgg.attr(
1217
- "transform",
1218
- "translate(" + (samplenamemaxwidth + this.rowlabspace + this.rowlabticksize) + "," + (featurenamemaxwidth + this.collabspace + this.collabticksize) + ")"
1219
- );
1220
- this.svg.attr(
1221
- "width",
1222
- samplenamemaxwidth + this.rowlabspace + this.rowlabticksize + cols_lst.reduce((i, j) => i + j.width, 0) + cols_lst.length * this.colspace
1223
- ).attr(
1224
- "height",
1225
- featurenamemaxwidth + this.collabspace + this.collabticksize + rows_lst.reduce((i, j) => i + j.height, 0) + rows_lst.length * this.rowspace
1226
- );
1227
- }
1228
- drawCell_isgenevalue(sample, feature, g) {
1229
- const height = this.features_on_rows ? feature.height : sample.height;
1230
- const width = this.features_on_rows ? sample.width : feature.width;
1231
- const item = feature.items.find((i) => i.sample == sample.name);
1232
- if (!item) {
1233
- this.drawEmptycell(sample, feature, g);
1234
- return;
1235
- }
1236
- 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) => {
1237
- event2.target.setAttribute("stroke-opacity", 1);
1238
- this.showTip_cell(sample, feature);
1239
- }).on("mouseout", (event2) => {
1240
- event2.target.setAttribute("stroke-opacity", 0);
1241
- this.tip.hide();
1242
- }).on("click", () => {
1243
- this.click_cell(sample, feature);
1244
- });
1245
- if (item.value < feature.scale.maxv) {
1246
- rect.attr("fill-opacity", item.value / feature.scale.maxv);
1247
- }
1248
- }
1249
- drawCell_iscnv(sample, feature, g) {
1250
- const height = this.features_on_rows ? feature.height : sample.height;
1251
- const width = this.features_on_rows ? sample.width : feature.width;
1252
- const items = feature.items.filter((i) => i.sample == sample.name);
1253
- if (items.length == 0) {
1254
- this.drawEmptycell(sample, feature, g);
1255
- return;
1256
- }
1257
- for (const item of items) {
1258
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1259
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1260
- const maxabslogratio = this.max_cnv;
1261
- 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");
1262
- }
1263
- 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) => {
1264
- event2.target.setAttribute("stroke-opacity", 1);
1265
- this.showTip_cell(sample, feature);
1266
- }).on("mouseout", (event2) => {
1267
- event2.target.setAttribute("stroke-opacity", 0);
1268
- this.tip.hide();
1269
- }).on("click", () => {
1270
- this.click_cell(sample, feature);
1271
- });
1272
- }
1273
- drawCell_isloh(sample, feature, g) {
1274
- const height = this.features_on_rows ? feature.height : sample.height;
1275
- const width = this.features_on_rows ? sample.width : feature.width;
1276
- const items = feature.items.filter((i) => i.sample == sample.name);
1277
- if (items.length == 0) {
1278
- this.drawEmptycell(sample, feature, g);
1279
- return;
1280
- }
1281
- for (const item of items) {
1282
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1283
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1284
- const loh_range = this.max_loh - this.min_loh;
1285
- 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");
1286
- }
1287
- 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) => {
1288
- event2.target.setAttribute("stroke-opacity", 1);
1289
- this.showTip_cell(sample, feature);
1290
- }).on("mouseout", (event2) => {
1291
- event2.target.setAttribute("stroke-opacity", 0);
1292
- this.tip.hide();
1293
- }).on("click", () => {
1294
- this.click_cell(sample, feature);
1295
- });
1296
- }
1297
- drawCell_isvcf(sample, feature, g) {
1298
- const height = this.features_on_rows ? feature.height : sample.height;
1299
- const width = this.features_on_rows ? sample.width : feature.width;
1300
- const mlst = getitemforsample_vcf(feature, sample);
1301
- if (mlst.length == 0) {
1302
- this.drawEmptycell(sample, feature, g);
1303
- return;
1304
- }
1305
- const class2count = /* @__PURE__ */ new Map();
1306
- for (const m of mlst) {
1307
- if (!class2count.has(m.class)) {
1308
- class2count.set(m.class, 0);
1309
- }
1310
- class2count.set(m.class, class2count.get(m.class) + 1);
1311
- }
1312
- let start = 0;
1313
- for (const [cname, count] of class2count) {
1314
- const span = count / mlst.length * this.features_on_rows ? height : width;
1315
- 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");
1316
- start += span;
1317
- }
1318
- 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) => {
1319
- event2.target.setAttribute("stroke-opacity", 1);
1320
- this.showTip_cell(sample, feature);
1321
- }).on("mouseout", (event2) => {
1322
- event2.target.setAttribute("stroke-opacity", 0);
1323
- this.tip.hide();
1324
- }).on("click", () => {
1325
- this.click_cell(sample, feature);
1326
- });
1327
- }
1328
- drawCell_isitd(sample, feature, g) {
1329
- const height = this.features_on_rows ? feature.height : sample.height;
1330
- const width = this.features_on_rows ? sample.width : feature.width;
1331
- const item = feature.items.find((i) => i.sample == sample.name);
1332
- if (!item) {
1333
- this.drawEmptycell(sample, feature, g);
1334
- return;
1335
- }
1336
- 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) => {
1337
- event2.target.setAttribute("stroke-opacity", 1);
1338
- this.showTip_cell(sample, feature);
1339
- }).on("mouseout", (event2) => {
1340
- event2.target.setAttribute("stroke-opacity", 0);
1341
- this.tip.hide();
1342
- }).on("click", () => {
1343
- this.click_cell(sample, feature);
1344
- });
1345
- }
1346
- drawCell_issampleattribute(sample, feature, g) {
1347
- const height = this.features_on_rows ? feature.height : sample.height;
1348
- const width = this.features_on_rows ? sample.width : feature.width;
1349
- const item = feature.items.find((i) => i.sample == sample.name);
1350
- if (!item) {
1351
- this.drawEmptycell(sample, feature, g);
1352
- return;
1353
- }
1354
- 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) => {
1355
- event2.target.setAttribute("stroke-opacity", 1);
1356
- this.showTip_cell(sample, feature);
1357
- }).on("mouseout", (event2) => {
1358
- event2.target.setAttribute("stroke-opacity", 0);
1359
- this.tip.hide();
1360
- }).on("click", () => {
1361
- this.click_cell(sample, feature);
1362
- });
1363
- }
1364
- drawCell_issvfusion(sample, feature, g) {
1365
- const height = this.features_on_rows ? feature.height : sample.height;
1366
- const width = this.features_on_rows ? sample.width : feature.width;
1367
- const item = feature.items.find((i) => i.sample == sample.name);
1368
- if (!item) {
1369
- this.drawEmptycell(sample, feature, g);
1370
- return;
1371
- }
1372
- 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) => {
1373
- event2.target.setAttribute("stroke-opacity", 1);
1374
- this.showTip_cell(sample, feature);
1375
- }).on("mouseout", (event2) => {
1376
- event2.target.setAttribute("stroke-opacity", 0);
1377
- this.tip.hide();
1378
- }).on("click", () => {
1379
- this.click_cell(sample, feature);
1380
- });
1381
- }
1382
- drawCell_ismutation(sample, feature, g) {
1383
- const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(feature, sample);
1384
- const height = this.features_on_rows ? feature.height : sample.height;
1385
- const width = this.features_on_rows ? sample.width : feature.width;
1386
- if (cnv.length + loh.length + itd.length + sv.length + fusion.length + snvindel.length == 0) {
1387
- this.drawEmptycell(sample, feature, g);
1388
- return;
1389
- }
1390
- let is_symbolic = false;
1391
- if (this.ismutation_allsymbolic) {
1392
- is_symbolic = true;
1393
- } else if (this.ismutation_allnotsymbolic) {
1394
- } else {
1395
- if (height <= 4) {
1396
- is_symbolic = true;
1397
- }
1398
- }
1399
- if (is_symbolic) {
1400
- this.drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel);
1401
- } else {
1402
- if (loh.length) {
1403
- for (const item of loh) {
1404
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1405
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1406
- const loh_range = this.max_loh - this.min_loh;
1407
- 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");
1408
- }
1409
- }
1410
- if (cnv.length) {
1411
- for (const item of cnv) {
1412
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1413
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1414
- const maxabslogratio = item.value > 0 ? this.max_cnv : this.min_cnv;
1415
- 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");
1416
- }
1417
- }
1418
- if (itd.length) {
1419
- for (const item of itd) {
1420
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1421
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1422
- 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");
1423
- }
1424
- }
1425
- if (sv.length) {
1426
- 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");
1427
- }
1428
- if (fusion.length) {
1429
- 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");
1430
- }
1431
- if (snvindel.length) {
1432
- const m = snvindel[0];
1433
- const g2 = g.append("g").attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");
1434
- const color = mclass[m.m.class].color;
1435
- const w = Math.min(width, height) / 2;
1436
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", "white").attr("stroke-width", 3);
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", color);
1439
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", color);
1440
- }
1441
- }
1442
- 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) => {
1443
- event2.target.setAttribute("stroke-opacity", 1);
1444
- this.showTip_cell(sample, feature);
1445
- }).on("mouseout", (event2) => {
1446
- event2.target.setAttribute("stroke-opacity", 0);
1447
- this.tip.hide();
1448
- }).on("click", () => {
1449
- this.click_cell(sample, feature);
1450
- });
1451
- }
1452
- drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel) {
1453
- const height = this.features_on_rows ? feature.height : sample.height;
1454
- const width = this.features_on_rows ? sample.width : feature.width;
1455
- const loh_range = this.max_loh - this.min_loh;
1456
- const lst = [];
1457
- if (cnv.length) {
1458
- for (const i of cnv) {
1459
- const maxabslogratio = i.value > 0 ? this.max_cnv : this.min_cnv;
1460
- let k;
1461
- if (i.value > 0) {
1462
- k = { color: feature.cnv.colorgain };
1463
- } else {
1464
- k = { color: feature.cnv.colorloss };
1465
- }
1466
- k.opacity = Math.abs(i.value / maxabslogratio);
1467
- lst.push(k);
1468
- }
1469
- }
1470
- if (loh.length) {
1471
- for (const i of loh) {
1472
- lst.push({
1473
- color: feature.loh.color,
1474
- opacity: (i.segmean - this.min_loh) / loh_range
1475
- });
1476
- }
1477
- }
1478
- if (itd.length) {
1479
- for (const i of itd) {
1480
- lst.push({ color: feature.itd.color });
1481
- }
1482
- }
1483
- if (sv.length) {
1484
- for (const i of sv) {
1485
- lst.push({ color: feature.sv.color });
1486
- }
1487
- }
1488
- if (fusion.length) {
1489
- for (const i of fusion) {
1490
- lst.push({ color: feature.fusion.color });
1491
- }
1492
- }
1493
- if (snvindel.length) {
1494
- for (const i of snvindel) {
1495
- lst.push({ color: mclass[i.m.class].color });
1496
- }
1497
- }
1498
- const f_len = this.features_on_rows ? height / lst.length : width / lst.length;
1499
- let f_start = 0;
1500
- for (const i of lst) {
1501
- 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");
1502
- if (i.opacity) r.attr("opacity", i.opacity);
1503
- f_start += f_len;
1504
- }
1505
- }
1506
- // __newattr draw cell for new feature
1507
- /*********** __draw ends *****/
1508
- async click_cell(sample, feature) {
1509
- try {
1510
- let svcnvtk;
1511
- if (this.iscustom) {
1512
- svcnvtk = {
1513
- iscustom: true,
1514
- type: tkt.mdssvcnv,
1515
- singlesample: {
1516
- name: sample.name
1517
- }
1518
- };
1519
- for (const k in this.querykey2tracks) {
1520
- const t = this.querykey2tracks[k];
1521
- if (t.type == tkt.mdssvcnv) {
1522
- svcnvtk.name = t.name || "Custom tk";
1523
- svcnvtk.file = t.file;
1524
- svcnvtk.url = t.url;
1525
- svcnvtk.indexURL = t.indexURL;
1526
- } else if (t.type == tkt.mdsvcf) {
1527
- svcnvtk.checkvcf = {
1528
- file: t.file,
1529
- url: t.url,
1530
- indexURL: t.indexURL
1531
- };
1532
- } else if (t.type == tkt.mdsexpression) {
1533
- svcnvtk.checkexpressionrank = {
1534
- file: t.file,
1535
- url: t.url,
1536
- indexURL: t.indexURL
1537
- };
1538
- }
1539
- }
1540
- } else {
1541
- if (!this.mds) throw "not custom but .mds{} missing";
1542
- for (const querykey in this.mds.queries) {
1543
- const tk = this.mds.queries[querykey];
1544
- if (tk.type == tkt.mdssvcnv) {
1545
- svcnvtk = {
1546
- mds: this.mds,
1547
- querykey,
1548
- singlesample: {
1549
- name: sample.name
1550
- }
1551
- };
1552
- for (const k in tk) svcnvtk[k] = tk[k];
1553
- break;
1554
- }
1555
- }
1556
- }
1557
- if (!svcnvtk) throw "cannot find a svcnv tk";
1558
- svcnvtk.bplengthUpperLimit = 0;
1559
- const pane = newpane({ x: 100, y: 100 });
1560
- const blockarg = {
1561
- jwt: this.jwt,
1562
- hostURL: this.hostURL,
1563
- nobox: 1,
1564
- genome: this.genome,
1565
- holder: pane.body,
1566
- chr: feature.chr,
1567
- start: feature.start,
1568
- stop: feature.stop,
1569
- tklst: []
1570
- };
1571
- first_genetrack_tolist(this.genome, blockarg.tklst);
1572
- blockarg.tklst.push(svcnvtk);
1573
- if (!this.iscustom) {
1574
- if (!this.dslabel) throw "not custom but dslabel missing";
1575
- const par = {
1576
- genome: this.genome.name,
1577
- dslabel: this.dslabel,
1578
- querykey: svcnvtk.querykey,
1579
- gettrack4singlesample: sample.name
1580
- };
1581
- const data = await dofetch("/mdssvcnv", par);
1582
- if (data.error) throw "Error checking for assay track: " + data.error;
1583
- if (data.tracks) {
1584
- for (const t of data.tracks) blockarg.tklst.push(t);
1585
- }
1586
- }
1587
- const _ = await import("./block-XYSUTBXJ.js");
1588
- new _.Block(blockarg);
1589
- } catch (e) {
1590
- window.alert(e.message || e);
1591
- if (e.stack) console.log(e.stack);
1592
- }
1593
- }
1594
- /********** __menu and tooltip **********/
1595
- showTip_feature(f) {
1596
- this.tip.clear();
1597
- this.tipContent_feature(f, this.tip.d);
1598
- this.tip.showunder(event.target);
1599
- }
1600
- showMenu_feature(f) {
1601
- this.menu.showunder(event.target).clear();
1602
- this.tipContent_feature(f, this.menu.d);
1603
- this.menu.d.append("div").attr("class", "sja_menuoption").text("Remove this feature").on("click", () => {
1604
- this.menu.hide();
1605
- f.legend_tr.remove();
1606
- this.features.splice(
1607
- this.features.findIndex((i) => i.id == f.id),
1608
- 1
1609
- );
1610
- this.draw_matrix();
1611
- });
1612
- if (f.isgenevalue) return showMenu_isgenevalue(this, f);
1613
- if (f.iscnv) return showMenu_iscnv(this, f, f);
1614
- if (f.isloh) return showMenu_isloh(this, f, f);
1615
- if (f.ismutation) return showMenu_ismutation(this, f);
1616
- if (f.isitd) {
1617
- return;
1618
- }
1619
- if (f.issvfusion) {
1620
- return;
1621
- }
1622
- if (f.issvcnv) {
1623
- return;
1624
- }
1625
- if (f.issampleattribute) {
1626
- return;
1627
- }
1628
- }
1629
- tipContent_feature(f, holder) {
1630
- holder.append("div").text(f.label).style("opacity", 0.5).style("font-size", ".7em").style("margin", "10px");
1631
- if (f.isgenevalue || f.iscnv || f.isloh || f.isitd || f.issvfusion) {
1632
- 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");
1633
- } else if (f.issvcnv || f.ismutation) {
1634
- if (!f.genename) {
1635
- 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");
1636
- }
1637
- } else if (f.issampleattribute) {
1638
- holder.append("div").text(f.label);
1639
- }
1640
- if (f.isgenevalue) {
1641
- 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");
1642
- }
1643
- }
1644
- showTip_sample(sample) {
1645
- this.tip.clear().d.append("div").text(sample.name).style("padding", "10px").style("font-size", ".7em");
1646
- const lst = [];
1647
- for (const f of this.features) {
1648
- if (lst.length > 10) {
1649
- lst.push({ k: "more", v: "..." });
1650
- break;
1651
- }
1652
- if (f.isgenevalue) {
1653
- const v = f.items.find((i) => i.sample == sample.name);
1654
- lst.push({ k: f.label, v: v ? v.value : saynovalue });
1655
- continue;
1656
- }
1657
- if (f.iscnv) {
1658
- const items = f.items.filter((i) => i.sample == sample.name);
1659
- let text;
1660
- if (items.length == 0) {
1661
- text = saynovalue;
1662
- } else {
1663
- const lst2 = items.map((i) => {
1664
- 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>";
1665
- });
1666
- text = lst2.join("");
1667
- }
1668
- lst.push({ k: f.label, v: text });
1669
- continue;
1670
- }
1671
- if (f.isloh) {
1672
- const items = f.items.filter((i) => i.sample == sample.name);
1673
- let text;
1674
- if (items.length == 0) {
1675
- text = saynovalue;
1676
- } else {
1677
- const lst2 = items.map((i) => {
1678
- 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>";
1679
- });
1680
- text = lst2.join("");
1681
- }
1682
- lst.push({ k: f.label, v: text });
1683
- continue;
1684
- }
1685
- if (f.isvcf) {
1686
- const mlst = getitemforsample_vcf(f, sample);
1687
- let text;
1688
- if (mlst.length == 0) {
1689
- text = saynovalue;
1690
- } else {
1691
- text = mlst.map((m) => {
1692
- 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>";
1693
- }).join("");
1694
- }
1695
- lst.push({ k: f.label, v: text });
1696
- continue;
1697
- }
1698
- if (f.isitd) {
1699
- const items = f.items.filter((i) => i.sample == sample.name);
1700
- let text;
1701
- if (items.length == 0) {
1702
- text = saynovalue;
1703
- } else {
1704
- text = '<div style="background:' + f.color + ';width:20px">&nbsp;</div>';
1705
- }
1706
- lst.push({ k: f.label, v: text });
1707
- continue;
1708
- }
1709
- if (f.issvfusion) {
1710
- const items = f.items.filter((i) => i.sample == sample.name);
1711
- let text;
1712
- if (items.length == 0) {
1713
- text = saynovalue;
1714
- } else {
1715
- text = '<div style="background:' + f.color + ';width:20px">&nbsp;</div>';
1716
- }
1717
- lst.push({ k: f.label, v: text });
1718
- continue;
1719
- }
1720
- if (f.issvcnv) {
1721
- continue;
1722
- }
1723
- if (f.ismutation) {
1724
- continue;
1725
- }
1726
- if (f.issampleattribute) {
1727
- const item = f.items.find((i) => i.sample == sample.name);
1728
- if (item) {
1729
- lst.push({ k: f.label, v: item.value });
1730
- }
1731
- continue;
1732
- }
1733
- console.error("sample tooltip: Unknown feature type");
1734
- }
1735
- make_table_2col(this.tip.d, lst);
1736
- this.tip.show(event.clientX, event.clientY);
1737
- }
1738
- showTip_cell(sample, f) {
1739
- const lst = [{ k: "sample", v: sample.name }];
1740
- if (f.isgenevalue) {
1741
- const v = f.items.find((i) => i.sample == sample.name);
1742
- lst.push({ k: f.label, v: v ? v.value : saynovalue });
1743
- } else if (f.iscnv) {
1744
- const items = f.items.filter((i) => i.sample == sample.name);
1745
- let text;
1746
- if (items.length == 0) {
1747
- text = saynovalue;
1748
- } else {
1749
- const lst2 = items.map((i) => {
1750
- 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>";
1751
- });
1752
- text = lst2.join("");
1753
- }
1754
- lst.push({ k: f.label, v: text });
1755
- } else if (f.isloh) {
1756
- const items = f.items.filter((i) => i.sample == sample.name);
1757
- let text;
1758
- if (items.length == 0) {
1759
- text = saynovalue;
1760
- } else {
1761
- const lst2 = items.map((i) => {
1762
- 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>";
1763
- });
1764
- text = lst2.join("");
1765
- }
1766
- lst.push({ k: f.label, v: text });
1767
- } else if (f.isvcf) {
1768
- const mlst = getitemforsample_vcf(f, sample);
1769
- let text;
1770
- if (mlst.length == 0) {
1771
- text = saynovalue;
1772
- } else {
1773
- text = mlst.map((m) => {
1774
- 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>";
1775
- }).join("");
1776
- }
1777
- lst.push({ k: f.label, v: text });
1778
- } else if (f.isitd) {
1779
- const items = f.items.filter((i) => i.sample == sample.name);
1780
- let text;
1781
- if (items.length == 0) {
1782
- text = saynovalue;
1783
- } else {
1784
- const lst2 = items.map((i) => {
1785
- return "<div>" + i.chr + ":" + i.start + "-" + i.stop + " </div>";
1786
- });
1787
- text = lst2.join("");
1788
- }
1789
- lst.push({ k: f.label, v: text });
1790
- } else if (f.issvfusion) {
1791
- const items = f.items.filter((i) => i.sample == sample.name);
1792
- let text;
1793
- if (items.length == 0) {
1794
- text = saynovalue;
1795
- } else {
1796
- const lst2 = items.map((i) => {
1797
- return "<div>" + i.chrA + ":" + i.posA + " - " + i.chrB + ":" + i.posB + " </div>";
1798
- });
1799
- text = lst2.join("");
1800
- }
1801
- lst.push({ k: f.label, v: text });
1802
- } else if (f.issvcnv || f.ismutation) {
1803
- const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(f, sample);
1804
- if (cnv.length) {
1805
- lst.push({
1806
- k: (f.genename || f.label) + " CNV",
1807
- v: cnv.map((i) => {
1808
- 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>";
1809
- }).join("")
1810
- });
1811
- }
1812
- if (loh.length) {
1813
- lst.push({
1814
- k: (f.genename || f.label) + " LOH",
1815
- v: loh.map((i) => {
1816
- 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>";
1817
- }).join("")
1818
- });
1819
- }
1820
- if (itd.length) {
1821
- lst.push({
1822
- k: (f.genename || f.label) + " ITD",
1823
- v: itd.map((i) => {
1824
- return '<div style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + "</div>";
1825
- }).join("")
1826
- });
1827
- }
1828
- if (sv.length) {
1829
- lst.push({
1830
- k: (f.genename || f.label) + " SV",
1831
- v: sv.map((i) => {
1832
- return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " &gt; " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
1833
- }).join("")
1834
- });
1835
- }
1836
- if (fusion.length) {
1837
- lst.push({
1838
- k: (f.genename || f.label) + " fusion",
1839
- v: fusion.map((i) => {
1840
- return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " &gt; " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
1841
- }).join("")
1842
- });
1843
- }
1844
- if (snvindel.length) {
1845
- lst.push({
1846
- k: (f.genename || f.label) + " SNV/indel",
1847
- v: snvindel.map((m) => {
1848
- const c = mclass[m.m.class];
1849
- return '<div><span style="color:' + c.color + '">' + (m.m.mname || "") + '</span> <span style="font-size:.7em;opacity:.5">' + c.label + "</span></div>";
1850
- }).join("")
1851
- });
1852
- }
1853
- } else if (f.issampleattribute) {
1854
- const item = f.items.find((i) => i.sample == sample.name);
1855
- if (item) {
1856
- lst.push({
1857
- k: f.label,
1858
- v: item.value
1859
- });
1860
- }
1861
- } else {
1862
- console.error("cell tooltip: unknown feature type");
1863
- }
1864
- this.tip.clear();
1865
- make_table_2col(this.tip.d, lst);
1866
- this.tip.show(event.clientX, event.clientY);
1867
- }
1868
- /********** __menu ends **********/
1869
- sortsamplesbyfeatures() {
1870
- const sortbygenevalue = this.features.find((f) => f.isgenevalue && f.sort);
1871
- if (sortbygenevalue && sortbygenevalue.items) {
1872
- const sample2value = /* @__PURE__ */ new Map();
1873
- for (const i of sortbygenevalue.items) {
1874
- sample2value.set(i.sample, i.value);
1875
- }
1876
- this.samples.sort((i, j) => {
1877
- const vi = sample2value.has(i.name) ? sample2value.get(i.name) : sortbygenevalue.missingvalue;
1878
- const vj = sample2value.has(j.name) ? sample2value.get(j.name) : sortbygenevalue.missingvalue;
1879
- return vj - vi;
1880
- });
1881
- }
1882
- }
1883
- may_init_customvcf(tk) {
1884
- if (tk.info) return;
1885
- const arg = ["genome=" + this.genome.name];
1886
- if (tk.file) {
1887
- arg.push("file=" + tk.file);
1888
- } else {
1889
- arg.push("url=" + tk.url);
1890
- if (tk.indexURL) arg.push("indexURL=" + tk.indexURL);
1891
- }
1892
- return dofetch2("vcfheader?" + arg.join("&")).then((data) => {
1893
- const [info, format, samples, errs] = vcfparsemeta(data.metastr.split("\n"));
1894
- if (errs) throw "Error parsing VCF meta lines: " + errs.join("; ");
1895
- tk.info = info;
1896
- tk.format = format;
1897
- tk.samples = samples;
1898
- tk.nochr = data.nochr;
1899
- });
1900
- }
1901
- drawEmptycell(sample, feature, g) {
1902
- const height = this.features_on_rows ? feature.height : sample.height;
1903
- const width = this.features_on_rows ? sample.width : feature.width;
1904
- if (height < 5) return;
1905
- g.append("line").attr("x2", width).attr("y2", height).attr("stroke", "#ededed");
1906
- }
1907
- // end of class
1908
- };
1909
- function feature2arg(f) {
1910
- if (f.isgenevalue) {
1911
- return {
1912
- id: f.id,
1913
- isgenevalue: 1,
1914
- querykey: f.querykey,
1915
- genename: f.genename,
1916
- chr: f.chr,
1917
- start: f.start,
1918
- stop: f.stop
1919
- };
1920
- }
1921
- if (f.iscnv) {
1922
- return {
1923
- id: f.id,
1924
- iscnv: 1,
1925
- querykey: f.querykey,
1926
- chr: f.chr,
1927
- start: f.start,
1928
- stop: f.stop,
1929
- valuecutoff: f.valuecutoff,
1930
- focalsizelimit: f.focalsizelimit
1931
- };
1932
- }
1933
- if (f.isloh) {
1934
- return {
1935
- id: f.id,
1936
- isloh: 1,
1937
- querykey: f.querykey,
1938
- chr: f.chr,
1939
- start: f.start,
1940
- stop: f.stop,
1941
- valuecutoff: f.valuecutoff,
1942
- focalsizelimit: f.focalsizelimit
1943
- };
1944
- }
1945
- if (f.isvcf) {
1946
- return {
1947
- id: f.id,
1948
- isvcf: 1,
1949
- querykey: f.querykey,
1950
- chr: f.chr,
1951
- start: f.start,
1952
- stop: f.stop,
1953
- snvindel: {
1954
- excludeclasses: f.snvindel.excludeclasses
1955
- }
1956
- };
1957
- }
1958
- if (f.isitd) {
1959
- return {
1960
- id: f.id,
1961
- isitd: 1,
1962
- querykey: f.querykey,
1963
- chr: f.chr,
1964
- start: f.start,
1965
- stop: f.stop
1966
- };
1967
- }
1968
- if (f.issvfusion) {
1969
- return {
1970
- id: f.id,
1971
- issvfusion: 1,
1972
- querykey: f.querykey,
1973
- chr: f.chr,
1974
- start: f.start,
1975
- stop: f.stop
1976
- };
1977
- }
1978
- if (f.issvcnv || f.ismutation) {
1979
- const arg = {
1980
- id: f.id,
1981
- chr: f.chr,
1982
- start: f.start,
1983
- stop: f.stop,
1984
- cnv: {
1985
- hidden: f.cnv.hidden,
1986
- valuecutoff: f.cnv.valuecutoff,
1987
- focalsizelimit: f.cnv.focalsizelimit
1988
- },
1989
- loh: {
1990
- hidden: f.loh.hidden,
1991
- valuecutoff: f.loh.valuecutoff,
1992
- focalsizelimit: f.loh.focalsizelimit
1993
- },
1994
- itd: {
1995
- hidden: f.itd.hidden
1996
- },
1997
- sv: {
1998
- hidden: f.sv.hidden
1999
- },
2000
- fusion: {
2001
- hidden: f.fusion.hidden
2002
- },
2003
- snvindel: {
2004
- excludeclasses: f.snvindel.excludeclasses
2005
- }
2006
- };
2007
- if (f.issvcnv) {
2008
- arg.issvcnv = 1;
2009
- arg.querykey = f.querykey;
2010
- } else {
2011
- arg.ismutation = 1;
2012
- arg.querykeylst = f.querykeylst;
2013
- }
2014
- return arg;
2015
- }
2016
- if (f.issampleattribute) {
2017
- return {
2018
- id: f.id,
2019
- issampleattribute: 1,
2020
- key: f.key
2021
- };
2022
- }
2023
- throw "unknown feature type in making request parameter";
2024
- }
2025
- function getitemforsample_vcf(feature, sample) {
2026
- const mlst = [];
2027
- for (const m of feature.items) {
2028
- if (m.dt == dtsnvindel) {
2029
- if (m.sampledata.findIndex((i) => i.sampleobj.name == sample.name) != -1) {
2030
- mlst.push(m);
2031
- }
2032
- } else {
2033
- console.error("getitemforsample_vcf: unknown dt");
2034
- }
2035
- }
2036
- return mlst;
2037
- }
2038
- function getitemforsample_compound(feature, sample) {
2039
- const cnv = [], loh = [], itd = [], sv = [], fusion = [], snvindel = [];
2040
- for (const item of feature.items) {
2041
- if (item.dt == dtsnvindel) {
2042
- if (!item.sampledata) continue;
2043
- const m_sample = item.sampledata.find((s) => s.sampleobj.name == sample.name);
2044
- if (!m_sample) continue;
2045
- snvindel.push({
2046
- m: item,
2047
- m_sample
2048
- });
2049
- continue;
2050
- }
2051
- if (item.sample != sample.name) continue;
2052
- if (item.dt == dtcnv) {
2053
- cnv.push(item);
2054
- } else if (item.dt == dtloh) {
2055
- loh.push(item);
2056
- } else if (item.dt == dtitd) {
2057
- itd.push(item);
2058
- } else if (item.dt == dtsv) {
2059
- sv.push(item);
2060
- } else if (item.dt == dtfusionrna) {
2061
- fusion.push(item);
2062
- } else {
2063
- console.error("unknown dt: " + item.dt);
2064
- }
2065
- }
2066
- return [cnv, loh, itd, sv, fusion, snvindel];
2067
- }
2068
- function initfeature_polymutation(f) {
2069
- if (!f.width) f.width = 20;
2070
- if (!f.cnv) f.cnv = {};
2071
- if (!f.cnv.valuecutoff) f.cnv.valuecutoff = 0.2;
2072
- if (!Number.isInteger(f.cnv.focalsizelimit)) f.cnv.focalsizelimit = 2e6;
2073
- if (!f.cnv.colorgain) f.cnv.colorgain = default_cnvgaincolor;
2074
- if (!f.cnv.colorloss) f.cnv.colorloss = default_cnvlosscolor;
2075
- if (!f.loh) f.loh = {};
2076
- if (!f.loh.valuecutoff) f.loh.valuecutoff = 0.1;
2077
- if (!Number.isInteger(f.loh.focalsizelimit)) f.loh.focalsizelimit = 2e6;
2078
- if (!f.loh.color) f.loh.color = default_lohcolor;
2079
- if (!f.itd) f.itd = {};
2080
- if (!f.itd.color) f.itd.color = mclass[mclassitd].color;
2081
- if (!f.sv) f.sv = {};
2082
- if (!f.sv.color) f.sv.color = default_svcolor;
2083
- if (!f.fusion) f.fusion = {};
2084
- if (!f.fusion.color) f.fusion.color = default_svcolor;
2085
- if (!f.snvindel) f.snvindel = {};
2086
- if (!f.snvindel.excludeclasses) f.snvindel.excludeclasses = {};
2087
- }
2088
- function init_controlui(o) {
2089
- const buttonrow = o.holder.append("div").style("margin-bottom", "5px");
2090
- const folderdiv = o.holder.append("div").style("margin-bottom", "20px");
2091
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("LEGEND").attr("class", "sja_clbtext").on("click", () => {
2092
- if (o.legendtable.style("display") == "none") {
2093
- appear(o.legendtable);
2094
- } else {
2095
- disappear(o.legendtable);
2096
- }
2097
- });
2098
- o.legendtable = folderdiv.append("table").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("border-spacing", "10px").style("display", "none");
2099
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("CONFIG").attr("class", "sja_clbtext").on("click", () => {
2100
- if (generalconfig.style("display") == "none") {
2101
- appear(generalconfig);
2102
- } else {
2103
- disappear(generalconfig);
2104
- }
2105
- });
2106
- const generalconfig = folderdiv.append("div").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("display", "none");
2107
- const row = generalconfig.append("div").style("margin", "5px");
2108
- row.append("div").style("vertical-align", "top").style("display", "inline-block").html("Show features as &nbsp;&nbsp;");
2109
- const opts_div = row.append("div").style("display", "inline-block");
2110
- const mutation_opts = [
2111
- { value: "symbol", text: "CNV on genomic location, others as symbol" },
2112
- { value: "proportion", text: "All features as porportion" }
2113
- ];
2114
- mutation_opts.forEach((opt) => {
2115
- const opt_div = opts_div.append("div");
2116
- opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "mutaion_display").attr("value", opt.value).property(
2117
- "checked",
2118
- 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
2119
- ).on("change", function() {
2120
- if (opt.value == "symbol" && o.ismutation_allnotsymbolic) return;
2121
- else if (opt.value == "proportion" && o.ismutation_allsymbolic) return;
2122
- else if (opt.value == "symbol") {
2123
- delete o.ismutation_allsymbolic;
2124
- o.ismutation_allnotsymbolic = true;
2125
- } else if (opt.value == "proportion") {
2126
- o.ismutation_allsymbolic = true;
2127
- delete o.ismutation_allnotsymbolic;
2128
- } else {
2129
- return;
2130
- }
2131
- o.draw_matrix();
2132
- });
2133
- opt_div.append("label").attr("for", opt.value).text(opt.text);
2134
- });
2135
- const row2 = generalconfig.append("div").style("margin", "5px");
2136
- row2.append("div").style("vertical-align", "top").style("display", "inline-block").html("Layout of Matrix &nbsp;&nbsp;");
2137
- const opts_div2 = row2.append("div").style("display", "inline-block");
2138
- const layout_opts = [
2139
- { value: "gene_on_row", text: "Genes as Rows" },
2140
- { value: "sam_on_row", text: "Samples as Rows" }
2141
- ];
2142
- layout_opts.forEach((opt) => {
2143
- const opt_div = opts_div2.append("div");
2144
- opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "layout").attr("value", opt.value).property(
2145
- "checked",
2146
- opt.value == "gene_on_row" && o.features_on_rows ? 1 : opt.value == "sam_on_row" && !o.features_on_rows ? 1 : 0
2147
- ).on("change", function() {
2148
- if (opt.value == "gene_on_row" && o.features_on_rows) return;
2149
- else if (opt.value == "sam_on_row" && !o.features_on_rows) return;
2150
- else if (opt.value == "gene_on_row") {
2151
- o.features_on_rows = true;
2152
- if (o.ori_feature_width) o.features.forEach((f) => f.height = o.ori_feature_width);
2153
- } else {
2154
- o.features_on_rows = false;
2155
- if (o.ori_feature_height) o.features.forEach((f) => f.width = o.ori_feature_height);
2156
- }
2157
- o.draw_matrix();
2158
- });
2159
- opt_div.append("label").attr("for", opt.value).text(opt.text);
2160
- });
2161
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("DATA").attr("class", "sja_clbtext").on("click", () => {
2162
- printData(o);
2163
- });
2164
- may_add_kmplotbutton(o, buttonrow);
2165
- }
2166
- function printData(o) {
2167
- const lst = ["sample feature varianttype variant"];
2168
- for (const s of o.samples) {
2169
- for (const f of o.features) {
2170
- for (const i of f.items) {
2171
- if (i.sample && i.sample == s.name || i.sampledata && i.sampledata.findIndex((i2) => i2.sampleobj.name == s.name) != -1) {
2172
- lst.push(s.name + " " + f.label + " " + dt2label[i.dt] + " " + item2string(i));
2173
- }
2174
- }
2175
- }
2176
- }
2177
- export_data("Matrix data", [{ text: lst.join("\n") }]);
2178
- }
2179
- function item2string(i) {
2180
- if (i.dt == dtsnvindel)
2181
- return i.mname + " " + mclass[i.class].label + " " + i.chr + "." + i.pos + "." + i.ref + "." + i.alt;
2182
- if (i.dt == dtfusionrna || i.dt == dtsv)
2183
- return i.chrA + "." + i.posA + "." + (i.strandA || "") + " > " + i.chrB + "." + i.posB + "." + (i.strandB || "");
2184
- if (i.dt == dtcnv) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.value;
2185
- if (i.dt == dtloh) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.segmean;
2186
- if (i.dt == dtitd) return i.chr + ":" + i.start + "-" + i.stop;
2187
- return "";
2188
- }
2189
- export {
2190
- Samplematrix
2191
- };
2192
- //# sourceMappingURL=samplematrix-DFD3PNI4.js.map