@sjcrh/proteinpaint-client 2.208.0 → 2.210.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (940) hide show
  1. package/dist/2dmaf-43QBND66.js +1367 -0
  2. package/dist/AggMatrixInput-X7NGFUHH.js +406 -0
  3. package/dist/AggregateMatrix-M4HRI4PX.js +41 -0
  4. package/dist/AppHeader-QBRQN6PM.js +830 -0
  5. package/dist/BoxPlot-V6SPSEQ2.js +1211 -0
  6. package/dist/CorrelationVolcano-UFPCYC77.js +617 -0
  7. package/dist/Cuminc-KXGXGLKZ.js +1219 -0
  8. package/dist/DE-K2YXHOOW.js +89 -0
  9. package/dist/DEinput-O6LBFAAH.js +501 -0
  10. package/dist/DEinput-O6LBFAAH.js.map +7 -0
  11. package/dist/DM-C7VN3RWB.js +90 -0
  12. package/dist/DifferentialAnalysis-A2BU4WB3.js +239 -0
  13. package/dist/DifferentialAnalysis-A2BU4WB3.js.map +7 -0
  14. package/dist/Disco-HECQVKXG.js +3389 -0
  15. package/dist/Disco.UI-XF2GEKRW.js +243 -0
  16. package/dist/DmrPlot-TVXVXOHL.js +362 -0
  17. package/dist/DmrPlot-TVXVXOHL.js.map +7 -0
  18. package/dist/GB-66ZGJ5ST.js +1428 -0
  19. package/dist/GB-66ZGJ5ST.js.map +7 -0
  20. package/dist/GSEA-Z4YPI4HY.js +875 -0
  21. package/dist/GSEA-Z4YPI4HY.js.map +7 -0
  22. package/dist/GeneExpInput-VBIZZV27.js +42 -0
  23. package/dist/Geomap-UIIOLRFA.js +84 -0
  24. package/dist/HicApp-73ESVNBA.js +2245 -0
  25. package/dist/IDCViewer-RBYN5A4P.js +10812 -0
  26. package/dist/NumBinaryEditor-DJLSNSLE.js +279 -0
  27. package/dist/NumBinaryEditor.unit.spec-LCJHL3XM.js +312 -0
  28. package/dist/NumContEditor-SVLDJ2ML.js +105 -0
  29. package/dist/NumContEditor.unit.spec-JDMSK4HY.js +164 -0
  30. package/dist/NumCustomBinEditor-BI63AH3R.js +33 -0
  31. package/dist/NumCustomBinEditor.unit.spec-5433G7Y2.js +397 -0
  32. package/dist/NumDiscreteEditor-LEZTGXAV.js +170 -0
  33. package/dist/NumDiscreteEditor.unit.spec-5OEORHJ4.js +233 -0
  34. package/dist/NumRegularBinEditor-EXWHIWPM.js +33 -0
  35. package/dist/NumRegularBinEditor.unit.spec-QY25Z2TT.js +278 -0
  36. package/dist/NumSplineEditor-XPPMYYAD.js +210 -0
  37. package/dist/NumSplineEditor.unit.spec-GOGBKWMN.js +224 -0
  38. package/dist/NumericDensity-RKY2IQ72.js +33 -0
  39. package/dist/NumericDensity.unit.spec-5ZM6ICXM.js +418 -0
  40. package/dist/NumericHandler-FXF3M5M3.js +34 -0
  41. package/dist/NumericHandler.unit.spec-M2OQTBJX.js +214 -0
  42. package/dist/ProteomeInput-TMZ3THRL.js +388 -0
  43. package/dist/Regression-GQGAATHG.js +1416 -0
  44. package/dist/Regression-GQGAATHG.js.map +7 -0
  45. package/dist/RunChart2-7GNDWRKC.js +749 -0
  46. package/dist/SC-R2I2EMHA.js +1183 -0
  47. package/dist/SC-R2I2EMHA.js.map +7 -0
  48. package/dist/Violin-GKKEB55L.js +1081 -0
  49. package/dist/Violin-GKKEB55L.js.map +7 -0
  50. package/dist/Volcano-HRG5EFWH.js +2443 -0
  51. package/dist/Volcano-HRG5EFWH.js.map +7 -0
  52. package/dist/Wsi-OHRCGYYD.js +629 -0
  53. package/dist/adSandbox-H56B25WR.js +33 -0
  54. package/dist/animatedBubbleChart-7SXFHU4J.js +547 -0
  55. package/dist/app-22JCSULA.js +42 -0
  56. package/dist/app-RGZJB6LN.js +32 -0
  57. package/dist/app.js +14 -14
  58. package/dist/bam-HA65TRGX.js +876 -0
  59. package/dist/barchart-6XO75OMA.js +42 -0
  60. package/dist/barchart2-6E5BIRHD.js +309 -0
  61. package/dist/block-43KNTXZ5.js +6250 -0
  62. package/dist/block-43KNTXZ5.js.map +7 -0
  63. package/dist/block.init-TPU5QIPA.js +33 -0
  64. package/dist/block.mds.expressionrank-QZDRFXCH.js +354 -0
  65. package/dist/block.mds.geneboxplot-64QVBK5Q.js +823 -0
  66. package/dist/block.mds.junction-I4J6VXNT.js +1539 -0
  67. package/dist/block.mds.svcnv-GDQMSQFF.js +6796 -0
  68. package/dist/block.svg-2MZFT5QP.js +159 -0
  69. package/dist/block.tk.aicheck-2MKHF6LX.js +278 -0
  70. package/dist/block.tk.ase-CLYGKFTS.js +360 -0
  71. package/dist/block.tk.bam-XTR4QA5Z.js +1901 -0
  72. package/dist/block.tk.bedgraphdot-A2P2CXRU.js +379 -0
  73. package/dist/block.tk.bigwig.ui-YZH6JXEO.js +206 -0
  74. package/dist/block.tk.hicstraw-QBK5VWGU.js +818 -0
  75. package/dist/block.tk.junction-5DEVBA7G.js +2358 -0
  76. package/dist/block.tk.junction.textmatrixui-7TTQMO6W.js +194 -0
  77. package/dist/block.tk.ld-PRIVUPKL.js +94 -0
  78. package/dist/block.tk.menu-JGBRFSS3.js +1024 -0
  79. package/dist/block.tk.pgv-KQJCJMVD.js +938 -0
  80. package/dist/brainImaging-4SLVJ2HV.js +555 -0
  81. package/dist/brainRegions-BDIVM2SG.js +217 -0
  82. package/dist/bubbleHeatmap-ORKFJNEQ.js +378 -0
  83. package/dist/cellTypeBubbleHeatmap-VOHLI4P7.js +278 -0
  84. package/dist/chunk-26N3B2JO.js +194 -0
  85. package/dist/chunk-2HNJF5ZI.js +240 -0
  86. package/dist/chunk-2LNGHIOC.js +281 -0
  87. package/dist/chunk-3FEP6B5T.js +119 -0
  88. package/dist/chunk-3SCQGODD.js +274 -0
  89. package/dist/chunk-47STLK7K.js +518 -0
  90. package/dist/chunk-4G73CMUL.js +38 -0
  91. package/dist/chunk-4XYQG3XU.js +276 -0
  92. package/dist/chunk-53XNEXR6.js +34 -0
  93. package/dist/chunk-55FABQU2.js +24955 -0
  94. package/dist/chunk-55FABQU2.js.map +7 -0
  95. package/dist/chunk-5UB5H7A3.js +123 -0
  96. package/dist/chunk-6FYQYTV6.js +141 -0
  97. package/dist/chunk-6RP6CR4Q.js +182 -0
  98. package/dist/chunk-A5D37SIL.js +103 -0
  99. package/dist/chunk-ADRFQ5AL.js +102 -0
  100. package/dist/chunk-AUZ63NKJ.js +70 -0
  101. package/dist/chunk-B563DUNQ.js +217 -0
  102. package/dist/chunk-B563DUNQ.js.map +7 -0
  103. package/dist/chunk-BK6UDL7F.js +339 -0
  104. package/dist/chunk-CFZ2ZW3E.js +382 -0
  105. package/dist/chunk-CKOU3P27.js +26 -0
  106. package/dist/chunk-CT4IG5IR.js +339 -0
  107. package/dist/chunk-D6UBH77N.js +1731 -0
  108. package/dist/chunk-DS4GLMJL.js +170 -0
  109. package/dist/chunk-DSBRHWZ7.js +2853 -0
  110. package/dist/chunk-DX35MKPR.js +272 -0
  111. package/dist/chunk-EDZJ3VNZ.js +54 -0
  112. package/dist/chunk-F47A4CVK.js +1339 -0
  113. package/dist/chunk-FSLOUTTK.js +37 -0
  114. package/dist/chunk-FSLOUTTK.js.map +7 -0
  115. package/dist/chunk-G4H34RNK.js +446 -0
  116. package/dist/chunk-G7RUMSHL.js +263 -0
  117. package/dist/chunk-GXFS25SK.js +480 -0
  118. package/dist/chunk-I25LKYC4.js +379 -0
  119. package/dist/chunk-I25LKYC4.js.map +7 -0
  120. package/dist/chunk-IAB2PRIH.js +396 -0
  121. package/dist/chunk-IAB2PRIH.js.map +7 -0
  122. package/dist/chunk-IBT6WRY6.js +692 -0
  123. package/dist/chunk-IJ7AIDEO.js +302 -0
  124. package/dist/chunk-JBFVJHZN.js +1233 -0
  125. package/dist/chunk-JDVBUIEU.js +56 -0
  126. package/dist/chunk-JTANDSTD.js +54 -0
  127. package/dist/chunk-K7RW5TPU.js +4375 -0
  128. package/dist/chunk-KIAMLQ7S.js +424 -0
  129. package/dist/chunk-KIAMLQ7S.js.map +7 -0
  130. package/dist/chunk-LBCIXRI2.js +49 -0
  131. package/dist/chunk-MNXL2UV5.js +98 -0
  132. package/dist/chunk-NDOKW2HJ.js +31 -0
  133. package/dist/chunk-NI5CVN43.js +203 -0
  134. package/dist/chunk-NOBXDQDU.js +397 -0
  135. package/dist/chunk-NQNVLZOA.js +6360 -0
  136. package/dist/chunk-NULFGPE3.js +158 -0
  137. package/dist/chunk-OUIXGM3K.js +299 -0
  138. package/dist/chunk-P4LGA36F.js +14 -0
  139. package/dist/chunk-PU5FQWAY.js +55 -0
  140. package/dist/chunk-PZ2OSHBF.js +56 -0
  141. package/dist/chunk-QBNDPW7O.js +5071 -0
  142. package/dist/chunk-QD75Q5LM.js +59 -0
  143. package/dist/chunk-R5PKBL7V.js +80 -0
  144. package/dist/chunk-R5PKBL7V.js.map +7 -0
  145. package/dist/chunk-RFSOP75Z.js +1988 -0
  146. package/dist/chunk-RFSOP75Z.js.map +7 -0
  147. package/dist/chunk-RI65SIN3.js +626 -0
  148. package/dist/chunk-RPGLLO4T.js +2676 -0
  149. package/dist/chunk-RXNZK7MF.js +134 -0
  150. package/dist/chunk-S2ICJ3RZ.js +550 -0
  151. package/dist/chunk-SB36AUG7.js +1614 -0
  152. package/dist/chunk-SB36AUG7.js.map +7 -0
  153. package/dist/chunk-SFHG6H2D.js +129 -0
  154. package/dist/chunk-TQ2DVEQO.js +783 -0
  155. package/dist/chunk-U6BJ4ZNU.js +176 -0
  156. package/dist/chunk-UXD6G6G4.js +178 -0
  157. package/dist/chunk-VA57CUC7.js +2146 -0
  158. package/dist/chunk-VA57CUC7.js.map +7 -0
  159. package/dist/chunk-VH5W6ODW.js +294 -0
  160. package/dist/chunk-VROF55EH.js +255 -0
  161. package/dist/chunk-VROF55EH.js.map +7 -0
  162. package/dist/chunk-VWA7BYSV.js +217 -0
  163. package/dist/chunk-X37BRSGS.js +102 -0
  164. package/dist/chunk-XQYDXA47.js +562 -0
  165. package/dist/chunk-XXPUZVS4.js +237 -0
  166. package/dist/chunk-XXPUZVS4.js.map +7 -0
  167. package/dist/chunk-Y7V5AIUH.js +468 -0
  168. package/dist/chunk-YBNIOGUE.js +243 -0
  169. package/dist/chunk-YEYMNF7V.js +2327 -0
  170. package/dist/chunk-YJ74QATP.js +1278 -0
  171. package/dist/chunk-ZG2HCGAO.js +2784 -0
  172. package/dist/chunk-ZZN7ZD7J.js +54 -0
  173. package/dist/cohort-6OCRQQ2S.js +70 -0
  174. package/dist/condition-SZVXH3VU.js +327 -0
  175. package/dist/controls-MO6ZND76.js +34 -0
  176. package/dist/controls.config-P4MSTGL4.js +34 -0
  177. package/dist/correlation-NMI3CM3T.js +95 -0
  178. package/dist/customdata.inputui-VCHSCA65.js +284 -0
  179. package/dist/dataDownload-VQHOTQ5D.js +329 -0
  180. package/dist/databrowser.ui-ZFOCAG32.js +425 -0
  181. package/dist/dictionary-S5YCFUWH.js +113 -0
  182. package/dist/dnaMethylation-MQZLZRGT.js +33 -0
  183. package/dist/dnaMethylation.integration.spec-H546EBUO.js +198 -0
  184. package/dist/dofetch-QZIYSC7H.js +48 -0
  185. package/dist/e2pca-XOXOS3PN.js +344 -0
  186. package/dist/ep-U6KRL7FR.js +1249 -0
  187. package/dist/expclust.gdc.spec-HCK65C63.js +302 -0
  188. package/dist/facet-DCC25KJO.js +519 -0
  189. package/dist/gb-TIFWFD4Y.js +81 -0
  190. package/dist/geneExpClustering-6DQEOTOY.js +244 -0
  191. package/dist/geneExpression-EASRAN6B.js +310 -0
  192. package/dist/geneExpression-G4YMDCBH.js +33 -0
  193. package/dist/geneExpression.unit.spec-XVEJYMPX.js +128 -0
  194. package/dist/geneExpression.unit.spec-XVEJYMPX.js.map +7 -0
  195. package/dist/geneORA-6UBS5GSC.js +273 -0
  196. package/dist/geneRanking-UXXYWHNB.js +548 -0
  197. package/dist/geneVariant-SZRJOXVC.js +289 -0
  198. package/dist/geneVariant-SZRJOXVC.js.map +7 -0
  199. package/dist/geneVariant-TKFKARZK.js +36 -0
  200. package/dist/geneVariant.integration.spec-PXMAYJN3.js +503 -0
  201. package/dist/geneVariant.integration.spec-PXMAYJN3.js.map +7 -0
  202. package/dist/genefusion.ui-TJLYXSVL.js +303 -0
  203. package/dist/geneset-YTBDLEIH.js +203 -0
  204. package/dist/genomeBrowser.spec-ZO4LFIXE.js +276 -0
  205. package/dist/grin2-FC4VYU54.js +949 -0
  206. package/dist/grin2-FC4VYU54.js.map +7 -0
  207. package/dist/grin2-LIFKBMVK.js +70 -0
  208. package/dist/hierCluster-56EGAPOR.js +59 -0
  209. package/dist/hierCluster-DR5NWCXA.js +55 -0
  210. package/dist/hierCluster.config-NACE3FH2.js +36 -0
  211. package/dist/hierCluster.integration.spec-PEEXPAS6.js +483 -0
  212. package/dist/hierCluster.interactivity-OCBGLUJM.js +49 -0
  213. package/dist/hierCluster.renderers-JNQUSAP4.js +19 -0
  214. package/dist/imagePlot-GR4JNUGG.js +156 -0
  215. package/dist/importPlot-4R4BSPVD.js +8 -0
  216. package/dist/isoformExpression-ST5ZW2NE.js +35 -0
  217. package/dist/isoformExpression.unit.spec-PPFC5Z7N.js +237 -0
  218. package/dist/junction-7AKZHOHV.js +36 -0
  219. package/dist/junction.customTerm-TMV43R7Z.js +16 -0
  220. package/dist/junction.unit.spec-SZUJXRQ2.js +182 -0
  221. package/dist/launch.adhoc-RWJQUOJ6.js +37 -0
  222. package/dist/leftlabel.sample-WRHLVQAQ.js +258 -0
  223. package/dist/lollipop-ZZWXTM23.js +166 -0
  224. package/dist/maf-N4XPZTQU.js +455 -0
  225. package/dist/maftimeline-2FBS6RWS.js +587 -0
  226. package/dist/matrix-5KEQPB5H.js +59 -0
  227. package/dist/matrix-RJUNXB5N.js +54 -0
  228. package/dist/matrix.cells-WXTPOJYB.js +26 -0
  229. package/dist/matrix.config-ZZFLLD6Z.js +37 -0
  230. package/dist/matrix.data-3PQ73GVJ.js +23 -0
  231. package/dist/matrix.groups-U6CKS6WW.js +26 -0
  232. package/dist/matrix.integration.spec-T53PMVHC.js +3160 -0
  233. package/dist/matrix.integration.spec-T53PMVHC.js.map +7 -0
  234. package/dist/matrix.interactivity-3LDZV3F7.js +37 -0
  235. package/dist/matrix.layout-MINLYQCA.js +39 -0
  236. package/dist/matrix.legend-6GSDFZHS.js +20 -0
  237. package/dist/matrix.renderers-5BKOXDE3.js +34 -0
  238. package/dist/matrix.serieses-6FCFIFAQ.js +19 -0
  239. package/dist/matrix.sort-EHVVYDZ3.js +26 -0
  240. package/dist/matrix.sort.unit.spec-BCWE4AFX.js +468 -0
  241. package/dist/matrix.sorterUi-WL5I6S3K.js +16 -0
  242. package/dist/matrix.sorterUi.unit.spec-XJR5KXRL.js +338 -0
  243. package/dist/matrix.unit.spec-TUCKPE26.js +150 -0
  244. package/dist/mavb-GWSNRBLM.js +727 -0
  245. package/dist/mds.fimo-OMAQRSMW.js +513 -0
  246. package/dist/mds.samplescatterplot-4UW3CC45.js +1545 -0
  247. package/dist/mds.survivalplot-2CJYJBD2.js +477 -0
  248. package/dist/multivalue-G44MHEYI.js +83 -0
  249. package/dist/numericDictTermCluster-5BDRGVQG.js +63 -0
  250. package/dist/oncomatrix-ZTVO23ZH.js +290 -0
  251. package/dist/oncomatrix.spec-2QVK2A3Q.js +443 -0
  252. package/dist/plot.2dvaf-CL5YUXKH.js +372 -0
  253. package/dist/plot.app-4ANKPSNP.js +36 -0
  254. package/dist/plot.barplot-BMGDNZRA.js +97 -0
  255. package/dist/plot.boxplot-GMLQCDP6.js +146 -0
  256. package/dist/plot.brainImaging-RZXX3NUZ.js +51 -0
  257. package/dist/plot.disco-3MD4J4C7.js +99 -0
  258. package/dist/plot.ssgq-ZC4UYKOT.js +134 -0
  259. package/dist/plot.vaf2cov-4DHFMYQV.js +253 -0
  260. package/dist/polar2-TMB5EITR.js +232 -0
  261. package/dist/profileForms-GD7BIOOD.js +941 -0
  262. package/dist/profilePlot-CZLK5E74.js +49 -0
  263. package/dist/proteinView-FEEEXLKT.js +1357 -0
  264. package/dist/proteomeCohortCompare-NVLJ2FXX.js +912 -0
  265. package/dist/pseudbulk.unit.spec-GHQZPNAH.js +86 -0
  266. package/dist/pseudobulk-G5UQIRKL.js +35 -0
  267. package/dist/qualitative-EAUUCKU5.js +38 -0
  268. package/dist/radar2-CJQ2L6KE.js +327 -0
  269. package/dist/radarFacility2-BLVRZE4V.js +335 -0
  270. package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +211 -0
  271. package/dist/render-KKAQPH6Y.js +33 -0
  272. package/dist/report-OSOJHTSD.js +217 -0
  273. package/dist/sampleView-WB74RLD7.js +43 -0
  274. package/dist/samplelst-ZKXV5WOD.js +106 -0
  275. package/dist/samplematrix-WJFYMWLT.js +2193 -0
  276. package/dist/sc-RBRBUCLR.js +81 -0
  277. package/dist/scatter-5K3QTIDK.js +88 -0
  278. package/dist/scatter-SM7GQENM.js +925 -0
  279. package/dist/selectGenomeWithTklst-ZZUJ7AQ7.js +129 -0
  280. package/dist/singleCellCellType-LCF2JNZ2.js +33 -0
  281. package/dist/singleCellCellType.unit.spec-T6DYH4BC.js +154 -0
  282. package/dist/singleCellGeneExpression-2XUYTH4C.js +33 -0
  283. package/dist/singleCellGeneExpression.unit.spec-SMRCLOF4.js +148 -0
  284. package/dist/singleCellNumericValue-57I33FZT.js +33 -0
  285. package/dist/singleCellNumericValue.unit.spec-4YNB4OEV.js +416 -0
  286. package/dist/singleCellPlot-L6TKQHGD.js +48 -0
  287. package/dist/singlecell-LZKR3UDV.js +81 -0
  288. package/dist/singlecell-UKN2VCXQ.js +1566 -0
  289. package/dist/snp-3LJITU5B.js +33 -0
  290. package/dist/snp.unit.spec-ZQNU6XRM.js +171 -0
  291. package/dist/snplocus-OME7UQBW.js +203 -0
  292. package/dist/spliceevent.a53ss.diagram-C32IEFMU.js +146 -0
  293. package/dist/spliceevent.exonskip.diagram-CZ7MVRLK.js +278 -0
  294. package/dist/spliceevent.noeventdiagram-ZO6R3776.js +455 -0
  295. package/dist/ssGSEA-BGPQ2PFY.js +33 -0
  296. package/dist/ssGSEA.unit.spec-U7TBUSSK.js +83 -0
  297. package/dist/stattable-FISGQCED.js +117 -0
  298. package/dist/studyCatalog-UHFUT2CJ.js +414 -0
  299. package/dist/summarizeCnvGeneexp-OVZO6KIB.js +158 -0
  300. package/dist/summarizeGeneexpSurvival-KVQ4JGWK.js +105 -0
  301. package/dist/summarizeMutationCnv-RAKGHNLE.js +159 -0
  302. package/dist/summarizeMutationDiagnosis-LGCINAGG.js +35 -0
  303. package/dist/summarizeMutationSurvival-J7H7L4FX.js +99 -0
  304. package/dist/summary-2632JZXH.js +44 -0
  305. package/dist/summary.integration.spec-5WBS2ZRP.js +409 -0
  306. package/dist/summaryInput-BH6C3ATV.js +242 -0
  307. package/dist/sunburst-AMRR2IHM.js +278 -0
  308. package/dist/survival-2RNJQVFS.js +1248 -0
  309. package/dist/survival-WYCH4QOQ.js +53 -0
  310. package/dist/survival.integration.spec-7IFPY4I4.js +613 -0
  311. package/dist/svgraph-YQWS52ZJ.js +1382 -0
  312. package/dist/svmr-NRN6LGKK.js +3837 -0
  313. package/dist/table-3QOMV2NN.js +197 -0
  314. package/dist/termCollection-2ZJ7TJGO.js +33 -0
  315. package/dist/termCollection-3MCVR7BA.js +252 -0
  316. package/dist/termCollection.unit.spec-QYOEA3X6.js +299 -0
  317. package/dist/termCollectionFractionSelection-5AH6EF4L.js +42 -0
  318. package/dist/termCollectionFractionSelection.unit.spec-WPGW4WJN.js +188 -0
  319. package/dist/tk-DQ7D5UEO.js +41 -0
  320. package/dist/tk-ONKYBG6R.js +1121 -0
  321. package/dist/tp.ui-C7BTMHEI.js +1454 -0
  322. package/dist/tvs.dt-PLRMK7OT.js +34 -0
  323. package/dist/tvs.dtcnv.categorical-IZUY2AQO.js +35 -0
  324. package/dist/tvs.dtcnv.continuous-ENV3RHHA.js +67 -0
  325. package/dist/tvs.dtfusion-2DVCV6AM.js +35 -0
  326. package/dist/tvs.dtitd-XNDIRQYU.js +35 -0
  327. package/dist/tvs.dtsnvindel-4D3G7XSF.js +35 -0
  328. package/dist/tvs.dtsv-QYMIMC4Z.js +35 -0
  329. package/dist/tvs.numeric-M5LH3PRH.js +20 -0
  330. package/dist/tvs.samplelst-2KEU2ZWB.js +98 -0
  331. package/dist/tvs.termCollection-FEY746V5.js +124 -0
  332. package/dist/vocabulary-BR4NJDPS.js +36 -0
  333. package/dist/wsi.direct-JWDUNHIO.js +8343 -0
  334. package/package.json +3 -3
  335. package/dist/2dmaf-PN5YS362.js +0 -1367
  336. package/dist/AggMatrixInput-NJHU4FU2.js +0 -406
  337. package/dist/AggregateMatrix-IBWOJWOC.js +0 -41
  338. package/dist/AppHeader-XV6S7GG5.js +0 -830
  339. package/dist/BoxPlot-ZIVA55SK.js +0 -1211
  340. package/dist/CorrelationVolcano-33I4FC44.js +0 -617
  341. package/dist/Cuminc-WKY35UGV.js +0 -1219
  342. package/dist/DE-E256DHID.js +0 -89
  343. package/dist/DEinput-YU3W72K7.js +0 -499
  344. package/dist/DEinput-YU3W72K7.js.map +0 -7
  345. package/dist/DM-W7PXTIKY.js +0 -90
  346. package/dist/DifferentialAnalysis-SHMQHWJL.js +0 -236
  347. package/dist/DifferentialAnalysis-SHMQHWJL.js.map +0 -7
  348. package/dist/Disco-OZY5GW2Z.js +0 -3389
  349. package/dist/Disco.UI-NRALEYXK.js +0 -243
  350. package/dist/DmrPlot-QKUX5XUW.js +0 -637
  351. package/dist/DmrPlot-QKUX5XUW.js.map +0 -7
  352. package/dist/GB-ZYH7PGHT.js +0 -1391
  353. package/dist/GB-ZYH7PGHT.js.map +0 -7
  354. package/dist/GSEA-VQTD4MLY.js +0 -851
  355. package/dist/GSEA-VQTD4MLY.js.map +0 -7
  356. package/dist/GeneExpInput-XEFUTLFU.js +0 -42
  357. package/dist/Geomap-GEK7UEDU.js +0 -84
  358. package/dist/HicApp-ZY7UHV5H.js +0 -2245
  359. package/dist/IDCViewer-YNKG4V46.js +0 -10812
  360. package/dist/NumBinaryEditor-NEL727DX.js +0 -279
  361. package/dist/NumBinaryEditor.unit.spec-GCGZMJYF.js +0 -312
  362. package/dist/NumContEditor-IM6RRDGU.js +0 -105
  363. package/dist/NumContEditor.unit.spec-B5AJXANS.js +0 -164
  364. package/dist/NumCustomBinEditor-EZT5DRKP.js +0 -33
  365. package/dist/NumCustomBinEditor.unit.spec-KLUDS6TH.js +0 -397
  366. package/dist/NumDiscreteEditor-2M6Q5AAZ.js +0 -170
  367. package/dist/NumDiscreteEditor.unit.spec-2JYZYJUX.js +0 -233
  368. package/dist/NumRegularBinEditor-AQDHA2PU.js +0 -33
  369. package/dist/NumRegularBinEditor.unit.spec-62BYFNYG.js +0 -278
  370. package/dist/NumSplineEditor-6Y5TZSTO.js +0 -210
  371. package/dist/NumSplineEditor.unit.spec-S65AV5EK.js +0 -224
  372. package/dist/NumericDensity-5ES4SDWZ.js +0 -33
  373. package/dist/NumericDensity.unit.spec-J6KZSE2P.js +0 -418
  374. package/dist/NumericHandler-ZTLDPP2F.js +0 -34
  375. package/dist/NumericHandler.unit.spec-BZFBVHGU.js +0 -214
  376. package/dist/ProteomeInput-IKEXPCGV.js +0 -388
  377. package/dist/Regression-6F6YP3AX.js +0 -1416
  378. package/dist/Regression-6F6YP3AX.js.map +0 -7
  379. package/dist/RunChart2-CVRPXQH5.js +0 -749
  380. package/dist/SC-FPXVXBXF.js +0 -1175
  381. package/dist/SC-FPXVXBXF.js.map +0 -7
  382. package/dist/Violin-BAS6DQHL.js +0 -1081
  383. package/dist/Violin-BAS6DQHL.js.map +0 -7
  384. package/dist/Volcano-FCCWUMX7.js +0 -1649
  385. package/dist/Volcano-FCCWUMX7.js.map +0 -7
  386. package/dist/Wsi-3YTFABWG.js +0 -629
  387. package/dist/adSandbox-QYIG6637.js +0 -33
  388. package/dist/animatedBubbleChart-X53PR73H.js +0 -547
  389. package/dist/app-HJLTRZPI.js +0 -32
  390. package/dist/app-MGY6A4DM.js +0 -42
  391. package/dist/bam-VRQHRCP5.js +0 -876
  392. package/dist/barchart-TWMOUZFL.js +0 -42
  393. package/dist/barchart2-CV7RMMRG.js +0 -309
  394. package/dist/block-L53P4UGQ.js +0 -6249
  395. package/dist/block-L53P4UGQ.js.map +0 -7
  396. package/dist/block.init-XYOJTXKP.js +0 -33
  397. package/dist/block.mds.expressionrank-77FSBDHA.js +0 -354
  398. package/dist/block.mds.geneboxplot-4TSYV4WS.js +0 -823
  399. package/dist/block.mds.junction-P4MYDET6.js +0 -1539
  400. package/dist/block.mds.svcnv-CYOFAS2T.js +0 -6796
  401. package/dist/block.svg-IT3ELCF4.js +0 -159
  402. package/dist/block.tk.aicheck-GULHJLV5.js +0 -278
  403. package/dist/block.tk.ase-RW5YL6HN.js +0 -360
  404. package/dist/block.tk.bam-MPGQW6KB.js +0 -1901
  405. package/dist/block.tk.bedgraphdot-EYRY374P.js +0 -379
  406. package/dist/block.tk.bigwig.ui-BKSXCDNM.js +0 -206
  407. package/dist/block.tk.hicstraw-76PV6NM3.js +0 -818
  408. package/dist/block.tk.junction-Z52QHQJQ.js +0 -2358
  409. package/dist/block.tk.junction.textmatrixui-K32OOTZC.js +0 -194
  410. package/dist/block.tk.ld-DDGLRHPO.js +0 -94
  411. package/dist/block.tk.menu-MO6TESKI.js +0 -1024
  412. package/dist/block.tk.pgv-AKLKKSEP.js +0 -938
  413. package/dist/brainImaging-KSTJQJAB.js +0 -555
  414. package/dist/brainRegions-WCRMMSK4.js +0 -217
  415. package/dist/bubbleHeatmap-4YOQ3BAB.js +0 -378
  416. package/dist/cellTypeBubbleHeatmap-O6YZ2RW4.js +0 -278
  417. package/dist/chunk-3GUVLDUS.js +0 -299
  418. package/dist/chunk-3PQDD5HM.js +0 -446
  419. package/dist/chunk-3WYUHDDP.js +0 -1986
  420. package/dist/chunk-3WYUHDDP.js.map +0 -7
  421. package/dist/chunk-4C7MA5Q3.js +0 -158
  422. package/dist/chunk-4EZLVENZ.js +0 -1612
  423. package/dist/chunk-4EZLVENZ.js.map +0 -7
  424. package/dist/chunk-4PB5ZEOB.js +0 -102
  425. package/dist/chunk-5IMFPVGT.js +0 -119
  426. package/dist/chunk-6DPELKO5.js +0 -518
  427. package/dist/chunk-6HGTVMZM.js +0 -54
  428. package/dist/chunk-72P6O537.js +0 -1731
  429. package/dist/chunk-74C6G6JD.js +0 -397
  430. package/dist/chunk-A7TXS6JR.js +0 -276
  431. package/dist/chunk-AAJXHERO.js +0 -123
  432. package/dist/chunk-AVS4IXEA.js +0 -692
  433. package/dist/chunk-BFXZBZEV.js +0 -176
  434. package/dist/chunk-BGVGN73F.js +0 -480
  435. package/dist/chunk-BL7EYUZC.js +0 -6360
  436. package/dist/chunk-BPGZUNLL.js +0 -274
  437. package/dist/chunk-CPIPN5F6.js +0 -141
  438. package/dist/chunk-D5MSWPAZ.js +0 -217
  439. package/dist/chunk-DFT2PAIU.js +0 -243
  440. package/dist/chunk-DMWOK4DS.js +0 -178
  441. package/dist/chunk-E7NVJ44Z.js +0 -263
  442. package/dist/chunk-EMMGUSJB.js +0 -54
  443. package/dist/chunk-G3CCQOLH.js +0 -240
  444. package/dist/chunk-GGQVDHYF.js +0 -379
  445. package/dist/chunk-GGQVDHYF.js.map +0 -7
  446. package/dist/chunk-GMRIEUBW.js +0 -408
  447. package/dist/chunk-GMRIEUBW.js.map +0 -7
  448. package/dist/chunk-GPZYAJQH.js +0 -2676
  449. package/dist/chunk-GS6ZMPKP.js +0 -272
  450. package/dist/chunk-GUXKLMLM.js +0 -102
  451. package/dist/chunk-HELEV3LT.js +0 -2853
  452. package/dist/chunk-HKKTNIMX.js +0 -339
  453. package/dist/chunk-HKSRIEWJ.js +0 -26
  454. package/dist/chunk-IELQ3HMN.js +0 -70
  455. package/dist/chunk-IISNWG4X.js +0 -103
  456. package/dist/chunk-J7KB2MH3.js +0 -34
  457. package/dist/chunk-JEJV7V7M.js +0 -2327
  458. package/dist/chunk-JIZ3B32T.js +0 -626
  459. package/dist/chunk-KAY2ODXX.js +0 -38
  460. package/dist/chunk-KJM6PLXM.js +0 -5071
  461. package/dist/chunk-KTKZSYIH.js +0 -24
  462. package/dist/chunk-KTKZSYIH.js.map +0 -7
  463. package/dist/chunk-KZHF3MQX.js +0 -1278
  464. package/dist/chunk-MC674TS2.js +0 -194
  465. package/dist/chunk-MLKQZ3RL.js +0 -1339
  466. package/dist/chunk-MSSPT5YM.js +0 -550
  467. package/dist/chunk-N6IWVSFP.js +0 -4375
  468. package/dist/chunk-NBGVEZNX.js +0 -56
  469. package/dist/chunk-OBBR4UYN.js +0 -54
  470. package/dist/chunk-PQA3C2NY.js +0 -294
  471. package/dist/chunk-QJ2VBXFB.js +0 -134
  472. package/dist/chunk-QJ3HYZH3.js +0 -24772
  473. package/dist/chunk-QJ3HYZH3.js.map +0 -7
  474. package/dist/chunk-QP7EJXSU.js +0 -55
  475. package/dist/chunk-QUHXX7JE.js +0 -56
  476. package/dist/chunk-REPQKF5L.js +0 -182
  477. package/dist/chunk-SHXJW27D.js +0 -2784
  478. package/dist/chunk-SUNDNTVY.js +0 -302
  479. package/dist/chunk-SYPSS3JQ.js +0 -387
  480. package/dist/chunk-SYPSS3JQ.js.map +0 -7
  481. package/dist/chunk-TSI4W6XO.js +0 -98
  482. package/dist/chunk-TXIQ5PHR.js +0 -468
  483. package/dist/chunk-U45R6QNT.js +0 -562
  484. package/dist/chunk-UMZJQWWK.js +0 -1233
  485. package/dist/chunk-VMRO6DMC.js +0 -2140
  486. package/dist/chunk-VMRO6DMC.js.map +0 -7
  487. package/dist/chunk-VO7Q4WMM.js +0 -55
  488. package/dist/chunk-VO7Q4WMM.js.map +0 -7
  489. package/dist/chunk-VWGRKOVJ.js +0 -170
  490. package/dist/chunk-WCTKHF5T.js +0 -197
  491. package/dist/chunk-WCTKHF5T.js.map +0 -7
  492. package/dist/chunk-WOMERKMR.js +0 -31
  493. package/dist/chunk-WXX2YD4Q.js +0 -59
  494. package/dist/chunk-X44AR557.js +0 -382
  495. package/dist/chunk-XEU5HXOY.js +0 -783
  496. package/dist/chunk-XGYQZHNX.js +0 -281
  497. package/dist/chunk-XOND7UIK.js +0 -49
  498. package/dist/chunk-XRMUUWLS.js +0 -339
  499. package/dist/chunk-XTOGCXPD.js +0 -129
  500. package/dist/chunk-Y5BBFDC3.js +0 -14
  501. package/dist/chunk-Z2FSHODI.js +0 -203
  502. package/dist/cohort-JWIQOO7U.js +0 -70
  503. package/dist/condition-ZUAQYF5C.js +0 -327
  504. package/dist/controls-ZPQ6SXD2.js +0 -34
  505. package/dist/controls.config-NELL5HY5.js +0 -34
  506. package/dist/correlation-2X76UI3K.js +0 -95
  507. package/dist/customdata.inputui-V6QIGFRP.js +0 -284
  508. package/dist/dataDownload-NSDY4MSL.js +0 -329
  509. package/dist/databrowser.ui-DDLFQB6K.js +0 -425
  510. package/dist/dictionary-WSDD6TFI.js +0 -113
  511. package/dist/dnaMethylation-3IM4OACZ.js +0 -33
  512. package/dist/dnaMethylation.integration.spec-5CSJA67S.js +0 -198
  513. package/dist/dofetch-GZ7POIBV.js +0 -48
  514. package/dist/e2pca-AX7U2DOI.js +0 -344
  515. package/dist/ep-UKACHFJU.js +0 -1249
  516. package/dist/expclust.gdc.spec-46HDKH2Q.js +0 -302
  517. package/dist/facet-3EONZDDE.js +0 -519
  518. package/dist/gb-W7GX5NWS.js +0 -81
  519. package/dist/geneExpClustering-PJA6Y5GW.js +0 -244
  520. package/dist/geneExpression-EMLVPVNK.js +0 -310
  521. package/dist/geneExpression-JMGYBT53.js +0 -33
  522. package/dist/geneExpression.unit.spec-DDZVZJVC.js +0 -128
  523. package/dist/geneExpression.unit.spec-DDZVZJVC.js.map +0 -7
  524. package/dist/geneORA-CIAFQQWB.js +0 -273
  525. package/dist/geneRanking-JRAU6FMJ.js +0 -548
  526. package/dist/geneVariant-3DZTWQFG.js +0 -36
  527. package/dist/geneVariant-YWURIZ72.js +0 -286
  528. package/dist/geneVariant-YWURIZ72.js.map +0 -7
  529. package/dist/geneVariant.integration.spec-V3KECZMM.js +0 -489
  530. package/dist/geneVariant.integration.spec-V3KECZMM.js.map +0 -7
  531. package/dist/genefusion.ui-AO3TUDTL.js +0 -303
  532. package/dist/geneset-RCIP2GZH.js +0 -203
  533. package/dist/genomeBrowser.spec-7PZCNBL3.js +0 -276
  534. package/dist/grin2-EUBCNH4Q.js +0 -70
  535. package/dist/grin2-YYBB5XJK.js +0 -1137
  536. package/dist/grin2-YYBB5XJK.js.map +0 -7
  537. package/dist/hierCluster-AV5NO2GW.js +0 -59
  538. package/dist/hierCluster-W2MVN34V.js +0 -55
  539. package/dist/hierCluster.config-4MBWG6RZ.js +0 -36
  540. package/dist/hierCluster.integration.spec-JUIBIUKH.js +0 -483
  541. package/dist/hierCluster.interactivity-6PJE64PF.js +0 -49
  542. package/dist/hierCluster.renderers-RWDQ5SHY.js +0 -19
  543. package/dist/imagePlot-XLDQNUJA.js +0 -156
  544. package/dist/importPlot-7FISAQKR.js +0 -8
  545. package/dist/isoformExpression-WOQAOVZS.js +0 -35
  546. package/dist/isoformExpression.unit.spec-BMEGJNCO.js +0 -237
  547. package/dist/junction-6NO36IPU.js +0 -36
  548. package/dist/junction.customTerm-N6JAOWZO.js +0 -16
  549. package/dist/junction.unit.spec-UKGSQHO4.js +0 -182
  550. package/dist/launch.adhoc-42PUNEA6.js +0 -37
  551. package/dist/leftlabel.sample-EXAUDPSB.js +0 -258
  552. package/dist/lollipop-4ASTA5HO.js +0 -166
  553. package/dist/maf-HPXANL3M.js +0 -455
  554. package/dist/maftimeline-2SXFX3HF.js +0 -587
  555. package/dist/matrix-DX4W5XMX.js +0 -59
  556. package/dist/matrix-S34ITAPJ.js +0 -54
  557. package/dist/matrix.cells-BLULUGSZ.js +0 -26
  558. package/dist/matrix.config-Z3LWYH74.js +0 -37
  559. package/dist/matrix.data-73HY7Y2V.js +0 -23
  560. package/dist/matrix.groups-NOUMYNFY.js +0 -26
  561. package/dist/matrix.integration.spec-VTXYJ46U.js +0 -3160
  562. package/dist/matrix.integration.spec-VTXYJ46U.js.map +0 -7
  563. package/dist/matrix.interactivity-YHDIO5A2.js +0 -37
  564. package/dist/matrix.layout-25HYKUF2.js +0 -39
  565. package/dist/matrix.legend-IMK7DH4V.js +0 -20
  566. package/dist/matrix.renderers-3RZRN6HO.js +0 -34
  567. package/dist/matrix.serieses-ZTVHQ7QA.js +0 -19
  568. package/dist/matrix.sort-EDXHT6NZ.js +0 -26
  569. package/dist/matrix.sort.unit.spec-LSNY7PHU.js +0 -468
  570. package/dist/matrix.sorterUi-3DRNHG5Z.js +0 -16
  571. package/dist/matrix.sorterUi.unit.spec-GNIIWGRJ.js +0 -338
  572. package/dist/matrix.unit.spec-7A6ZFRXI.js +0 -150
  573. package/dist/mavb-M5AXPLYX.js +0 -727
  574. package/dist/mds.fimo-QE5OFA22.js +0 -513
  575. package/dist/mds.samplescatterplot-664EOHX2.js +0 -1545
  576. package/dist/mds.survivalplot-H4TJD44D.js +0 -477
  577. package/dist/multivalue-JD3CNQJR.js +0 -83
  578. package/dist/numericDictTermCluster-XPKEYXD7.js +0 -63
  579. package/dist/oncomatrix-TX5PZQ76.js +0 -290
  580. package/dist/oncomatrix.spec-6X2WAHL7.js +0 -443
  581. package/dist/plot.2dvaf-5OHUFTMK.js +0 -372
  582. package/dist/plot.app-XIVVJHWG.js +0 -36
  583. package/dist/plot.barplot-PSODLAXD.js +0 -97
  584. package/dist/plot.boxplot-W3ASYFOG.js +0 -146
  585. package/dist/plot.brainImaging-JGDLKLR7.js +0 -51
  586. package/dist/plot.disco-TPMXTTZK.js +0 -99
  587. package/dist/plot.ssgq-KIZIOZIF.js +0 -134
  588. package/dist/plot.vaf2cov-MSMW72IY.js +0 -253
  589. package/dist/polar2-LA4MSRRN.js +0 -232
  590. package/dist/profileForms-BJRNB2ZF.js +0 -941
  591. package/dist/profilePlot-DDO53C4T.js +0 -49
  592. package/dist/proteinView-NFUR42XQ.js +0 -1357
  593. package/dist/proteomeCohortCompare-OZVF3X66.js +0 -912
  594. package/dist/pseudbulk.unit.spec-RY72JF7A.js +0 -86
  595. package/dist/pseudobulk-UVT5G2VL.js +0 -35
  596. package/dist/qualitative-X3VXNC7X.js +0 -38
  597. package/dist/radar2-RTVUJ3AN.js +0 -327
  598. package/dist/radarFacility2-ZGLZ5AKM.js +0 -335
  599. package/dist/rememberedGvQ.unit.spec-RLLLWU5M.js +0 -211
  600. package/dist/render-LR5BOYW6.js +0 -33
  601. package/dist/report-37W5OXUM.js +0 -217
  602. package/dist/sampleView-BDC2WPH7.js +0 -43
  603. package/dist/samplelst-V2EIVZC5.js +0 -106
  604. package/dist/samplematrix-XOSKILUL.js +0 -2193
  605. package/dist/sc-ZVZPWQY7.js +0 -81
  606. package/dist/scatter-2ZE5MCYH.js +0 -88
  607. package/dist/scatter-ZOWFPGIS.js +0 -925
  608. package/dist/selectGenomeWithTklst-EF7WYEAJ.js +0 -129
  609. package/dist/singleCellCellType-TKCGC3G3.js +0 -33
  610. package/dist/singleCellCellType.unit.spec-JZ6UHC5F.js +0 -154
  611. package/dist/singleCellGeneExpression-I2INGXGI.js +0 -33
  612. package/dist/singleCellGeneExpression.unit.spec-KL77FSHZ.js +0 -148
  613. package/dist/singleCellNumericValue-2X5NCEHL.js +0 -33
  614. package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js +0 -416
  615. package/dist/singleCellPlot-Q6INE54V.js +0 -48
  616. package/dist/singlecell-5N2P5ZAT.js +0 -81
  617. package/dist/singlecell-NPSWMNI3.js +0 -1566
  618. package/dist/snp-2WPJYPDE.js +0 -33
  619. package/dist/snp.unit.spec-PPWIIOX6.js +0 -171
  620. package/dist/snplocus-T3HZFZWA.js +0 -203
  621. package/dist/spliceevent.a53ss.diagram-APCF4LV5.js +0 -146
  622. package/dist/spliceevent.exonskip.diagram-TT5JGBSC.js +0 -278
  623. package/dist/spliceevent.noeventdiagram-CPXQSX3Z.js +0 -455
  624. package/dist/ssGSEA-FSX6P7HA.js +0 -33
  625. package/dist/ssGSEA.unit.spec-TXYT665R.js +0 -83
  626. package/dist/stattable-BD64SFYV.js +0 -117
  627. package/dist/studyCatalog-6BOWO4PO.js +0 -414
  628. package/dist/summarizeCnvGeneexp-AMLYJIPU.js +0 -158
  629. package/dist/summarizeGeneexpSurvival-IDM7T333.js +0 -105
  630. package/dist/summarizeMutationCnv-R6SYSJQC.js +0 -159
  631. package/dist/summarizeMutationDiagnosis-XZJ4JLW2.js +0 -35
  632. package/dist/summarizeMutationSurvival-ABJ5RL4L.js +0 -99
  633. package/dist/summary-NVYCTE6P.js +0 -44
  634. package/dist/summary.integration.spec-SSLTLVNW.js +0 -409
  635. package/dist/summaryInput-SJOZETRP.js +0 -242
  636. package/dist/sunburst-RU5ZPJKW.js +0 -278
  637. package/dist/survival-BHJQMXKI.js +0 -53
  638. package/dist/survival-DVG6Y2FV.js +0 -1248
  639. package/dist/survival.integration.spec-OJUPTY5N.js +0 -613
  640. package/dist/svgraph-ETFA4GRX.js +0 -1382
  641. package/dist/svmr-AI3RU4JK.js +0 -3837
  642. package/dist/table-YCTSMLQL.js +0 -197
  643. package/dist/termCollection-GMKEZR6D.js +0 -252
  644. package/dist/termCollection-VEVKKJZD.js +0 -33
  645. package/dist/termCollection.unit.spec-EU6YCEPX.js +0 -299
  646. package/dist/termCollectionFractionSelection-UBS74X36.js +0 -42
  647. package/dist/termCollectionFractionSelection.unit.spec-Y5OJFGDD.js +0 -188
  648. package/dist/tk-HMF4HCNV.js +0 -1121
  649. package/dist/tk-W6Z4FJMW.js +0 -41
  650. package/dist/tp.ui-NECRDJCS.js +0 -1454
  651. package/dist/tvs.dt-2JEH3F35.js +0 -34
  652. package/dist/tvs.dtcnv.categorical-YBXKEBR2.js +0 -35
  653. package/dist/tvs.dtcnv.continuous-AD3SJ6BY.js +0 -67
  654. package/dist/tvs.dtfusion-ODI3CLQS.js +0 -35
  655. package/dist/tvs.dtitd-V3LYLPJY.js +0 -35
  656. package/dist/tvs.dtsnvindel-R3V5LTNL.js +0 -35
  657. package/dist/tvs.dtsv-ZQLKEDLJ.js +0 -35
  658. package/dist/tvs.numeric-22AHXO5K.js +0 -20
  659. package/dist/tvs.samplelst-G25A7HM6.js +0 -98
  660. package/dist/tvs.termCollection-WLVCWDEJ.js +0 -124
  661. package/dist/vocabulary-6K537FJM.js +0 -36
  662. package/dist/wsi.direct-SNPPQPVO.js +0 -8343
  663. /package/dist/{2dmaf-PN5YS362.js.map → 2dmaf-43QBND66.js.map} +0 -0
  664. /package/dist/{AggMatrixInput-NJHU4FU2.js.map → AggMatrixInput-X7NGFUHH.js.map} +0 -0
  665. /package/dist/{AggregateMatrix-IBWOJWOC.js.map → AggregateMatrix-M4HRI4PX.js.map} +0 -0
  666. /package/dist/{AppHeader-XV6S7GG5.js.map → AppHeader-QBRQN6PM.js.map} +0 -0
  667. /package/dist/{BoxPlot-ZIVA55SK.js.map → BoxPlot-V6SPSEQ2.js.map} +0 -0
  668. /package/dist/{CorrelationVolcano-33I4FC44.js.map → CorrelationVolcano-UFPCYC77.js.map} +0 -0
  669. /package/dist/{Cuminc-WKY35UGV.js.map → Cuminc-KXGXGLKZ.js.map} +0 -0
  670. /package/dist/{DE-E256DHID.js.map → DE-K2YXHOOW.js.map} +0 -0
  671. /package/dist/{DM-W7PXTIKY.js.map → DM-C7VN3RWB.js.map} +0 -0
  672. /package/dist/{Disco-OZY5GW2Z.js.map → Disco-HECQVKXG.js.map} +0 -0
  673. /package/dist/{Disco.UI-NRALEYXK.js.map → Disco.UI-XF2GEKRW.js.map} +0 -0
  674. /package/dist/{GeneExpInput-XEFUTLFU.js.map → GeneExpInput-VBIZZV27.js.map} +0 -0
  675. /package/dist/{Geomap-GEK7UEDU.js.map → Geomap-UIIOLRFA.js.map} +0 -0
  676. /package/dist/{HicApp-ZY7UHV5H.js.map → HicApp-73ESVNBA.js.map} +0 -0
  677. /package/dist/{IDCViewer-YNKG4V46.js.map → IDCViewer-RBYN5A4P.js.map} +0 -0
  678. /package/dist/{NumBinaryEditor-NEL727DX.js.map → NumBinaryEditor-DJLSNSLE.js.map} +0 -0
  679. /package/dist/{NumBinaryEditor.unit.spec-GCGZMJYF.js.map → NumBinaryEditor.unit.spec-LCJHL3XM.js.map} +0 -0
  680. /package/dist/{NumContEditor-IM6RRDGU.js.map → NumContEditor-SVLDJ2ML.js.map} +0 -0
  681. /package/dist/{NumContEditor.unit.spec-B5AJXANS.js.map → NumContEditor.unit.spec-JDMSK4HY.js.map} +0 -0
  682. /package/dist/{NumCustomBinEditor-EZT5DRKP.js.map → NumCustomBinEditor-BI63AH3R.js.map} +0 -0
  683. /package/dist/{NumCustomBinEditor.unit.spec-KLUDS6TH.js.map → NumCustomBinEditor.unit.spec-5433G7Y2.js.map} +0 -0
  684. /package/dist/{NumDiscreteEditor-2M6Q5AAZ.js.map → NumDiscreteEditor-LEZTGXAV.js.map} +0 -0
  685. /package/dist/{NumDiscreteEditor.unit.spec-2JYZYJUX.js.map → NumDiscreteEditor.unit.spec-5OEORHJ4.js.map} +0 -0
  686. /package/dist/{NumRegularBinEditor-AQDHA2PU.js.map → NumRegularBinEditor-EXWHIWPM.js.map} +0 -0
  687. /package/dist/{NumRegularBinEditor.unit.spec-62BYFNYG.js.map → NumRegularBinEditor.unit.spec-QY25Z2TT.js.map} +0 -0
  688. /package/dist/{NumSplineEditor-6Y5TZSTO.js.map → NumSplineEditor-XPPMYYAD.js.map} +0 -0
  689. /package/dist/{NumSplineEditor.unit.spec-S65AV5EK.js.map → NumSplineEditor.unit.spec-GOGBKWMN.js.map} +0 -0
  690. /package/dist/{NumericDensity-5ES4SDWZ.js.map → NumericDensity-RKY2IQ72.js.map} +0 -0
  691. /package/dist/{NumericDensity.unit.spec-J6KZSE2P.js.map → NumericDensity.unit.spec-5ZM6ICXM.js.map} +0 -0
  692. /package/dist/{NumericHandler-ZTLDPP2F.js.map → NumericHandler-FXF3M5M3.js.map} +0 -0
  693. /package/dist/{NumericHandler.unit.spec-BZFBVHGU.js.map → NumericHandler.unit.spec-M2OQTBJX.js.map} +0 -0
  694. /package/dist/{ProteomeInput-IKEXPCGV.js.map → ProteomeInput-TMZ3THRL.js.map} +0 -0
  695. /package/dist/{RunChart2-CVRPXQH5.js.map → RunChart2-7GNDWRKC.js.map} +0 -0
  696. /package/dist/{Wsi-3YTFABWG.js.map → Wsi-OHRCGYYD.js.map} +0 -0
  697. /package/dist/{adSandbox-QYIG6637.js.map → adSandbox-H56B25WR.js.map} +0 -0
  698. /package/dist/{animatedBubbleChart-X53PR73H.js.map → animatedBubbleChart-7SXFHU4J.js.map} +0 -0
  699. /package/dist/{app-HJLTRZPI.js.map → app-22JCSULA.js.map} +0 -0
  700. /package/dist/{app-MGY6A4DM.js.map → app-RGZJB6LN.js.map} +0 -0
  701. /package/dist/{bam-VRQHRCP5.js.map → bam-HA65TRGX.js.map} +0 -0
  702. /package/dist/{barchart-TWMOUZFL.js.map → barchart-6XO75OMA.js.map} +0 -0
  703. /package/dist/{barchart2-CV7RMMRG.js.map → barchart2-6E5BIRHD.js.map} +0 -0
  704. /package/dist/{block.init-XYOJTXKP.js.map → block.init-TPU5QIPA.js.map} +0 -0
  705. /package/dist/{block.mds.expressionrank-77FSBDHA.js.map → block.mds.expressionrank-QZDRFXCH.js.map} +0 -0
  706. /package/dist/{block.mds.geneboxplot-4TSYV4WS.js.map → block.mds.geneboxplot-64QVBK5Q.js.map} +0 -0
  707. /package/dist/{block.mds.junction-P4MYDET6.js.map → block.mds.junction-I4J6VXNT.js.map} +0 -0
  708. /package/dist/{block.mds.svcnv-CYOFAS2T.js.map → block.mds.svcnv-GDQMSQFF.js.map} +0 -0
  709. /package/dist/{block.svg-IT3ELCF4.js.map → block.svg-2MZFT5QP.js.map} +0 -0
  710. /package/dist/{block.tk.aicheck-GULHJLV5.js.map → block.tk.aicheck-2MKHF6LX.js.map} +0 -0
  711. /package/dist/{block.tk.ase-RW5YL6HN.js.map → block.tk.ase-CLYGKFTS.js.map} +0 -0
  712. /package/dist/{block.tk.bam-MPGQW6KB.js.map → block.tk.bam-XTR4QA5Z.js.map} +0 -0
  713. /package/dist/{block.tk.bedgraphdot-EYRY374P.js.map → block.tk.bedgraphdot-A2P2CXRU.js.map} +0 -0
  714. /package/dist/{block.tk.bigwig.ui-BKSXCDNM.js.map → block.tk.bigwig.ui-YZH6JXEO.js.map} +0 -0
  715. /package/dist/{block.tk.hicstraw-76PV6NM3.js.map → block.tk.hicstraw-QBK5VWGU.js.map} +0 -0
  716. /package/dist/{block.tk.junction-Z52QHQJQ.js.map → block.tk.junction-5DEVBA7G.js.map} +0 -0
  717. /package/dist/{block.tk.junction.textmatrixui-K32OOTZC.js.map → block.tk.junction.textmatrixui-7TTQMO6W.js.map} +0 -0
  718. /package/dist/{block.tk.ld-DDGLRHPO.js.map → block.tk.ld-PRIVUPKL.js.map} +0 -0
  719. /package/dist/{block.tk.menu-MO6TESKI.js.map → block.tk.menu-JGBRFSS3.js.map} +0 -0
  720. /package/dist/{block.tk.pgv-AKLKKSEP.js.map → block.tk.pgv-KQJCJMVD.js.map} +0 -0
  721. /package/dist/{brainImaging-KSTJQJAB.js.map → brainImaging-4SLVJ2HV.js.map} +0 -0
  722. /package/dist/{brainRegions-WCRMMSK4.js.map → brainRegions-BDIVM2SG.js.map} +0 -0
  723. /package/dist/{bubbleHeatmap-4YOQ3BAB.js.map → bubbleHeatmap-ORKFJNEQ.js.map} +0 -0
  724. /package/dist/{cellTypeBubbleHeatmap-O6YZ2RW4.js.map → cellTypeBubbleHeatmap-VOHLI4P7.js.map} +0 -0
  725. /package/dist/{chunk-MC674TS2.js.map → chunk-26N3B2JO.js.map} +0 -0
  726. /package/dist/{chunk-G3CCQOLH.js.map → chunk-2HNJF5ZI.js.map} +0 -0
  727. /package/dist/{chunk-XGYQZHNX.js.map → chunk-2LNGHIOC.js.map} +0 -0
  728. /package/dist/{chunk-5IMFPVGT.js.map → chunk-3FEP6B5T.js.map} +0 -0
  729. /package/dist/{chunk-BPGZUNLL.js.map → chunk-3SCQGODD.js.map} +0 -0
  730. /package/dist/{chunk-6DPELKO5.js.map → chunk-47STLK7K.js.map} +0 -0
  731. /package/dist/{chunk-KAY2ODXX.js.map → chunk-4G73CMUL.js.map} +0 -0
  732. /package/dist/{chunk-A7TXS6JR.js.map → chunk-4XYQG3XU.js.map} +0 -0
  733. /package/dist/{chunk-J7KB2MH3.js.map → chunk-53XNEXR6.js.map} +0 -0
  734. /package/dist/{chunk-AAJXHERO.js.map → chunk-5UB5H7A3.js.map} +0 -0
  735. /package/dist/{chunk-CPIPN5F6.js.map → chunk-6FYQYTV6.js.map} +0 -0
  736. /package/dist/{chunk-REPQKF5L.js.map → chunk-6RP6CR4Q.js.map} +0 -0
  737. /package/dist/{chunk-IISNWG4X.js.map → chunk-A5D37SIL.js.map} +0 -0
  738. /package/dist/{chunk-4PB5ZEOB.js.map → chunk-ADRFQ5AL.js.map} +0 -0
  739. /package/dist/{chunk-IELQ3HMN.js.map → chunk-AUZ63NKJ.js.map} +0 -0
  740. /package/dist/{chunk-HKKTNIMX.js.map → chunk-BK6UDL7F.js.map} +0 -0
  741. /package/dist/{chunk-X44AR557.js.map → chunk-CFZ2ZW3E.js.map} +0 -0
  742. /package/dist/{chunk-HKSRIEWJ.js.map → chunk-CKOU3P27.js.map} +0 -0
  743. /package/dist/{chunk-XRMUUWLS.js.map → chunk-CT4IG5IR.js.map} +0 -0
  744. /package/dist/{chunk-72P6O537.js.map → chunk-D6UBH77N.js.map} +0 -0
  745. /package/dist/{chunk-VWGRKOVJ.js.map → chunk-DS4GLMJL.js.map} +0 -0
  746. /package/dist/{chunk-HELEV3LT.js.map → chunk-DSBRHWZ7.js.map} +0 -0
  747. /package/dist/{chunk-GS6ZMPKP.js.map → chunk-DX35MKPR.js.map} +0 -0
  748. /package/dist/{chunk-6HGTVMZM.js.map → chunk-EDZJ3VNZ.js.map} +0 -0
  749. /package/dist/{chunk-MLKQZ3RL.js.map → chunk-F47A4CVK.js.map} +0 -0
  750. /package/dist/{chunk-3PQDD5HM.js.map → chunk-G4H34RNK.js.map} +0 -0
  751. /package/dist/{chunk-E7NVJ44Z.js.map → chunk-G7RUMSHL.js.map} +0 -0
  752. /package/dist/{chunk-BGVGN73F.js.map → chunk-GXFS25SK.js.map} +0 -0
  753. /package/dist/{chunk-AVS4IXEA.js.map → chunk-IBT6WRY6.js.map} +0 -0
  754. /package/dist/{chunk-SUNDNTVY.js.map → chunk-IJ7AIDEO.js.map} +0 -0
  755. /package/dist/{chunk-UMZJQWWK.js.map → chunk-JBFVJHZN.js.map} +0 -0
  756. /package/dist/{chunk-NBGVEZNX.js.map → chunk-JDVBUIEU.js.map} +0 -0
  757. /package/dist/{chunk-OBBR4UYN.js.map → chunk-JTANDSTD.js.map} +0 -0
  758. /package/dist/{chunk-N6IWVSFP.js.map → chunk-K7RW5TPU.js.map} +0 -0
  759. /package/dist/{chunk-XOND7UIK.js.map → chunk-LBCIXRI2.js.map} +0 -0
  760. /package/dist/{chunk-TSI4W6XO.js.map → chunk-MNXL2UV5.js.map} +0 -0
  761. /package/dist/{chunk-WOMERKMR.js.map → chunk-NDOKW2HJ.js.map} +0 -0
  762. /package/dist/{chunk-Z2FSHODI.js.map → chunk-NI5CVN43.js.map} +0 -0
  763. /package/dist/{chunk-74C6G6JD.js.map → chunk-NOBXDQDU.js.map} +0 -0
  764. /package/dist/{chunk-BL7EYUZC.js.map → chunk-NQNVLZOA.js.map} +0 -0
  765. /package/dist/{chunk-4C7MA5Q3.js.map → chunk-NULFGPE3.js.map} +0 -0
  766. /package/dist/{chunk-3GUVLDUS.js.map → chunk-OUIXGM3K.js.map} +0 -0
  767. /package/dist/{chunk-Y5BBFDC3.js.map → chunk-P4LGA36F.js.map} +0 -0
  768. /package/dist/{chunk-QP7EJXSU.js.map → chunk-PU5FQWAY.js.map} +0 -0
  769. /package/dist/{chunk-QUHXX7JE.js.map → chunk-PZ2OSHBF.js.map} +0 -0
  770. /package/dist/{chunk-KJM6PLXM.js.map → chunk-QBNDPW7O.js.map} +0 -0
  771. /package/dist/{chunk-WXX2YD4Q.js.map → chunk-QD75Q5LM.js.map} +0 -0
  772. /package/dist/{chunk-JIZ3B32T.js.map → chunk-RI65SIN3.js.map} +0 -0
  773. /package/dist/{chunk-GPZYAJQH.js.map → chunk-RPGLLO4T.js.map} +0 -0
  774. /package/dist/{chunk-QJ2VBXFB.js.map → chunk-RXNZK7MF.js.map} +0 -0
  775. /package/dist/{chunk-MSSPT5YM.js.map → chunk-S2ICJ3RZ.js.map} +0 -0
  776. /package/dist/{chunk-XTOGCXPD.js.map → chunk-SFHG6H2D.js.map} +0 -0
  777. /package/dist/{chunk-XEU5HXOY.js.map → chunk-TQ2DVEQO.js.map} +0 -0
  778. /package/dist/{chunk-BFXZBZEV.js.map → chunk-U6BJ4ZNU.js.map} +0 -0
  779. /package/dist/{chunk-DMWOK4DS.js.map → chunk-UXD6G6G4.js.map} +0 -0
  780. /package/dist/{chunk-PQA3C2NY.js.map → chunk-VH5W6ODW.js.map} +0 -0
  781. /package/dist/{chunk-D5MSWPAZ.js.map → chunk-VWA7BYSV.js.map} +0 -0
  782. /package/dist/{chunk-GUXKLMLM.js.map → chunk-X37BRSGS.js.map} +0 -0
  783. /package/dist/{chunk-U45R6QNT.js.map → chunk-XQYDXA47.js.map} +0 -0
  784. /package/dist/{chunk-TXIQ5PHR.js.map → chunk-Y7V5AIUH.js.map} +0 -0
  785. /package/dist/{chunk-DFT2PAIU.js.map → chunk-YBNIOGUE.js.map} +0 -0
  786. /package/dist/{chunk-JEJV7V7M.js.map → chunk-YEYMNF7V.js.map} +0 -0
  787. /package/dist/{chunk-KZHF3MQX.js.map → chunk-YJ74QATP.js.map} +0 -0
  788. /package/dist/{chunk-SHXJW27D.js.map → chunk-ZG2HCGAO.js.map} +0 -0
  789. /package/dist/{chunk-EMMGUSJB.js.map → chunk-ZZN7ZD7J.js.map} +0 -0
  790. /package/dist/{cohort-JWIQOO7U.js.map → cohort-6OCRQQ2S.js.map} +0 -0
  791. /package/dist/{condition-ZUAQYF5C.js.map → condition-SZVXH3VU.js.map} +0 -0
  792. /package/dist/{controls-ZPQ6SXD2.js.map → controls-MO6ZND76.js.map} +0 -0
  793. /package/dist/{controls.config-NELL5HY5.js.map → controls.config-P4MSTGL4.js.map} +0 -0
  794. /package/dist/{correlation-2X76UI3K.js.map → correlation-NMI3CM3T.js.map} +0 -0
  795. /package/dist/{customdata.inputui-V6QIGFRP.js.map → customdata.inputui-VCHSCA65.js.map} +0 -0
  796. /package/dist/{dataDownload-NSDY4MSL.js.map → dataDownload-VQHOTQ5D.js.map} +0 -0
  797. /package/dist/{databrowser.ui-DDLFQB6K.js.map → databrowser.ui-ZFOCAG32.js.map} +0 -0
  798. /package/dist/{dictionary-WSDD6TFI.js.map → dictionary-S5YCFUWH.js.map} +0 -0
  799. /package/dist/{dnaMethylation-3IM4OACZ.js.map → dnaMethylation-MQZLZRGT.js.map} +0 -0
  800. /package/dist/{dnaMethylation.integration.spec-5CSJA67S.js.map → dnaMethylation.integration.spec-H546EBUO.js.map} +0 -0
  801. /package/dist/{dofetch-GZ7POIBV.js.map → dofetch-QZIYSC7H.js.map} +0 -0
  802. /package/dist/{e2pca-AX7U2DOI.js.map → e2pca-XOXOS3PN.js.map} +0 -0
  803. /package/dist/{ep-UKACHFJU.js.map → ep-U6KRL7FR.js.map} +0 -0
  804. /package/dist/{expclust.gdc.spec-46HDKH2Q.js.map → expclust.gdc.spec-HCK65C63.js.map} +0 -0
  805. /package/dist/{facet-3EONZDDE.js.map → facet-DCC25KJO.js.map} +0 -0
  806. /package/dist/{gb-W7GX5NWS.js.map → gb-TIFWFD4Y.js.map} +0 -0
  807. /package/dist/{geneExpClustering-PJA6Y5GW.js.map → geneExpClustering-6DQEOTOY.js.map} +0 -0
  808. /package/dist/{geneExpression-EMLVPVNK.js.map → geneExpression-EASRAN6B.js.map} +0 -0
  809. /package/dist/{geneExpression-JMGYBT53.js.map → geneExpression-G4YMDCBH.js.map} +0 -0
  810. /package/dist/{geneORA-CIAFQQWB.js.map → geneORA-6UBS5GSC.js.map} +0 -0
  811. /package/dist/{geneRanking-JRAU6FMJ.js.map → geneRanking-UXXYWHNB.js.map} +0 -0
  812. /package/dist/{geneVariant-3DZTWQFG.js.map → geneVariant-TKFKARZK.js.map} +0 -0
  813. /package/dist/{genefusion.ui-AO3TUDTL.js.map → genefusion.ui-TJLYXSVL.js.map} +0 -0
  814. /package/dist/{geneset-RCIP2GZH.js.map → geneset-YTBDLEIH.js.map} +0 -0
  815. /package/dist/{genomeBrowser.spec-7PZCNBL3.js.map → genomeBrowser.spec-ZO4LFIXE.js.map} +0 -0
  816. /package/dist/{grin2-EUBCNH4Q.js.map → grin2-LIFKBMVK.js.map} +0 -0
  817. /package/dist/{hierCluster-AV5NO2GW.js.map → hierCluster-56EGAPOR.js.map} +0 -0
  818. /package/dist/{hierCluster-W2MVN34V.js.map → hierCluster-DR5NWCXA.js.map} +0 -0
  819. /package/dist/{hierCluster.config-4MBWG6RZ.js.map → hierCluster.config-NACE3FH2.js.map} +0 -0
  820. /package/dist/{hierCluster.integration.spec-JUIBIUKH.js.map → hierCluster.integration.spec-PEEXPAS6.js.map} +0 -0
  821. /package/dist/{hierCluster.interactivity-6PJE64PF.js.map → hierCluster.interactivity-OCBGLUJM.js.map} +0 -0
  822. /package/dist/{hierCluster.renderers-RWDQ5SHY.js.map → hierCluster.renderers-JNQUSAP4.js.map} +0 -0
  823. /package/dist/{imagePlot-XLDQNUJA.js.map → imagePlot-GR4JNUGG.js.map} +0 -0
  824. /package/dist/{importPlot-7FISAQKR.js.map → importPlot-4R4BSPVD.js.map} +0 -0
  825. /package/dist/{isoformExpression-WOQAOVZS.js.map → isoformExpression-ST5ZW2NE.js.map} +0 -0
  826. /package/dist/{isoformExpression.unit.spec-BMEGJNCO.js.map → isoformExpression.unit.spec-PPFC5Z7N.js.map} +0 -0
  827. /package/dist/{junction-6NO36IPU.js.map → junction-7AKZHOHV.js.map} +0 -0
  828. /package/dist/{junction.customTerm-N6JAOWZO.js.map → junction.customTerm-TMV43R7Z.js.map} +0 -0
  829. /package/dist/{junction.unit.spec-UKGSQHO4.js.map → junction.unit.spec-SZUJXRQ2.js.map} +0 -0
  830. /package/dist/{launch.adhoc-42PUNEA6.js.map → launch.adhoc-RWJQUOJ6.js.map} +0 -0
  831. /package/dist/{leftlabel.sample-EXAUDPSB.js.map → leftlabel.sample-WRHLVQAQ.js.map} +0 -0
  832. /package/dist/{lollipop-4ASTA5HO.js.map → lollipop-ZZWXTM23.js.map} +0 -0
  833. /package/dist/{maf-HPXANL3M.js.map → maf-N4XPZTQU.js.map} +0 -0
  834. /package/dist/{maftimeline-2SXFX3HF.js.map → maftimeline-2FBS6RWS.js.map} +0 -0
  835. /package/dist/{matrix-DX4W5XMX.js.map → matrix-5KEQPB5H.js.map} +0 -0
  836. /package/dist/{matrix-S34ITAPJ.js.map → matrix-RJUNXB5N.js.map} +0 -0
  837. /package/dist/{matrix.cells-BLULUGSZ.js.map → matrix.cells-WXTPOJYB.js.map} +0 -0
  838. /package/dist/{matrix.config-Z3LWYH74.js.map → matrix.config-ZZFLLD6Z.js.map} +0 -0
  839. /package/dist/{matrix.data-73HY7Y2V.js.map → matrix.data-3PQ73GVJ.js.map} +0 -0
  840. /package/dist/{matrix.groups-NOUMYNFY.js.map → matrix.groups-U6CKS6WW.js.map} +0 -0
  841. /package/dist/{matrix.interactivity-YHDIO5A2.js.map → matrix.interactivity-3LDZV3F7.js.map} +0 -0
  842. /package/dist/{matrix.layout-25HYKUF2.js.map → matrix.layout-MINLYQCA.js.map} +0 -0
  843. /package/dist/{matrix.legend-IMK7DH4V.js.map → matrix.legend-6GSDFZHS.js.map} +0 -0
  844. /package/dist/{matrix.renderers-3RZRN6HO.js.map → matrix.renderers-5BKOXDE3.js.map} +0 -0
  845. /package/dist/{matrix.serieses-ZTVHQ7QA.js.map → matrix.serieses-6FCFIFAQ.js.map} +0 -0
  846. /package/dist/{matrix.sort-EDXHT6NZ.js.map → matrix.sort-EHVVYDZ3.js.map} +0 -0
  847. /package/dist/{matrix.sort.unit.spec-LSNY7PHU.js.map → matrix.sort.unit.spec-BCWE4AFX.js.map} +0 -0
  848. /package/dist/{matrix.sorterUi-3DRNHG5Z.js.map → matrix.sorterUi-WL5I6S3K.js.map} +0 -0
  849. /package/dist/{matrix.sorterUi.unit.spec-GNIIWGRJ.js.map → matrix.sorterUi.unit.spec-XJR5KXRL.js.map} +0 -0
  850. /package/dist/{matrix.unit.spec-7A6ZFRXI.js.map → matrix.unit.spec-TUCKPE26.js.map} +0 -0
  851. /package/dist/{mavb-M5AXPLYX.js.map → mavb-GWSNRBLM.js.map} +0 -0
  852. /package/dist/{mds.fimo-QE5OFA22.js.map → mds.fimo-OMAQRSMW.js.map} +0 -0
  853. /package/dist/{mds.samplescatterplot-664EOHX2.js.map → mds.samplescatterplot-4UW3CC45.js.map} +0 -0
  854. /package/dist/{mds.survivalplot-H4TJD44D.js.map → mds.survivalplot-2CJYJBD2.js.map} +0 -0
  855. /package/dist/{multivalue-JD3CNQJR.js.map → multivalue-G44MHEYI.js.map} +0 -0
  856. /package/dist/{numericDictTermCluster-XPKEYXD7.js.map → numericDictTermCluster-5BDRGVQG.js.map} +0 -0
  857. /package/dist/{oncomatrix-TX5PZQ76.js.map → oncomatrix-ZTVO23ZH.js.map} +0 -0
  858. /package/dist/{oncomatrix.spec-6X2WAHL7.js.map → oncomatrix.spec-2QVK2A3Q.js.map} +0 -0
  859. /package/dist/{plot.2dvaf-5OHUFTMK.js.map → plot.2dvaf-CL5YUXKH.js.map} +0 -0
  860. /package/dist/{plot.app-XIVVJHWG.js.map → plot.app-4ANKPSNP.js.map} +0 -0
  861. /package/dist/{plot.barplot-PSODLAXD.js.map → plot.barplot-BMGDNZRA.js.map} +0 -0
  862. /package/dist/{plot.boxplot-W3ASYFOG.js.map → plot.boxplot-GMLQCDP6.js.map} +0 -0
  863. /package/dist/{plot.brainImaging-JGDLKLR7.js.map → plot.brainImaging-RZXX3NUZ.js.map} +0 -0
  864. /package/dist/{plot.disco-TPMXTTZK.js.map → plot.disco-3MD4J4C7.js.map} +0 -0
  865. /package/dist/{plot.ssgq-KIZIOZIF.js.map → plot.ssgq-ZC4UYKOT.js.map} +0 -0
  866. /package/dist/{plot.vaf2cov-MSMW72IY.js.map → plot.vaf2cov-4DHFMYQV.js.map} +0 -0
  867. /package/dist/{polar2-LA4MSRRN.js.map → polar2-TMB5EITR.js.map} +0 -0
  868. /package/dist/{profileForms-BJRNB2ZF.js.map → profileForms-GD7BIOOD.js.map} +0 -0
  869. /package/dist/{profilePlot-DDO53C4T.js.map → profilePlot-CZLK5E74.js.map} +0 -0
  870. /package/dist/{proteinView-NFUR42XQ.js.map → proteinView-FEEEXLKT.js.map} +0 -0
  871. /package/dist/{proteomeCohortCompare-OZVF3X66.js.map → proteomeCohortCompare-NVLJ2FXX.js.map} +0 -0
  872. /package/dist/{pseudbulk.unit.spec-RY72JF7A.js.map → pseudbulk.unit.spec-GHQZPNAH.js.map} +0 -0
  873. /package/dist/{pseudobulk-UVT5G2VL.js.map → pseudobulk-G5UQIRKL.js.map} +0 -0
  874. /package/dist/{qualitative-X3VXNC7X.js.map → qualitative-EAUUCKU5.js.map} +0 -0
  875. /package/dist/{radar2-RTVUJ3AN.js.map → radar2-CJQ2L6KE.js.map} +0 -0
  876. /package/dist/{radarFacility2-ZGLZ5AKM.js.map → radarFacility2-BLVRZE4V.js.map} +0 -0
  877. /package/dist/{rememberedGvQ.unit.spec-RLLLWU5M.js.map → rememberedGvQ.unit.spec-DYRO2LO5.js.map} +0 -0
  878. /package/dist/{render-LR5BOYW6.js.map → render-KKAQPH6Y.js.map} +0 -0
  879. /package/dist/{report-37W5OXUM.js.map → report-OSOJHTSD.js.map} +0 -0
  880. /package/dist/{sampleView-BDC2WPH7.js.map → sampleView-WB74RLD7.js.map} +0 -0
  881. /package/dist/{samplelst-V2EIVZC5.js.map → samplelst-ZKXV5WOD.js.map} +0 -0
  882. /package/dist/{samplematrix-XOSKILUL.js.map → samplematrix-WJFYMWLT.js.map} +0 -0
  883. /package/dist/{sc-ZVZPWQY7.js.map → sc-RBRBUCLR.js.map} +0 -0
  884. /package/dist/{scatter-2ZE5MCYH.js.map → scatter-5K3QTIDK.js.map} +0 -0
  885. /package/dist/{scatter-ZOWFPGIS.js.map → scatter-SM7GQENM.js.map} +0 -0
  886. /package/dist/{selectGenomeWithTklst-EF7WYEAJ.js.map → selectGenomeWithTklst-ZZUJ7AQ7.js.map} +0 -0
  887. /package/dist/{singleCellCellType-TKCGC3G3.js.map → singleCellCellType-LCF2JNZ2.js.map} +0 -0
  888. /package/dist/{singleCellCellType.unit.spec-JZ6UHC5F.js.map → singleCellCellType.unit.spec-T6DYH4BC.js.map} +0 -0
  889. /package/dist/{singleCellGeneExpression-I2INGXGI.js.map → singleCellGeneExpression-2XUYTH4C.js.map} +0 -0
  890. /package/dist/{singleCellGeneExpression.unit.spec-KL77FSHZ.js.map → singleCellGeneExpression.unit.spec-SMRCLOF4.js.map} +0 -0
  891. /package/dist/{singleCellNumericValue-2X5NCEHL.js.map → singleCellNumericValue-57I33FZT.js.map} +0 -0
  892. /package/dist/{singleCellNumericValue.unit.spec-OUDBX5MY.js.map → singleCellNumericValue.unit.spec-4YNB4OEV.js.map} +0 -0
  893. /package/dist/{singleCellPlot-Q6INE54V.js.map → singleCellPlot-L6TKQHGD.js.map} +0 -0
  894. /package/dist/{singlecell-5N2P5ZAT.js.map → singlecell-LZKR3UDV.js.map} +0 -0
  895. /package/dist/{singlecell-NPSWMNI3.js.map → singlecell-UKN2VCXQ.js.map} +0 -0
  896. /package/dist/{snp-2WPJYPDE.js.map → snp-3LJITU5B.js.map} +0 -0
  897. /package/dist/{snp.unit.spec-PPWIIOX6.js.map → snp.unit.spec-ZQNU6XRM.js.map} +0 -0
  898. /package/dist/{snplocus-T3HZFZWA.js.map → snplocus-OME7UQBW.js.map} +0 -0
  899. /package/dist/{spliceevent.a53ss.diagram-APCF4LV5.js.map → spliceevent.a53ss.diagram-C32IEFMU.js.map} +0 -0
  900. /package/dist/{spliceevent.exonskip.diagram-TT5JGBSC.js.map → spliceevent.exonskip.diagram-CZ7MVRLK.js.map} +0 -0
  901. /package/dist/{spliceevent.noeventdiagram-CPXQSX3Z.js.map → spliceevent.noeventdiagram-ZO6R3776.js.map} +0 -0
  902. /package/dist/{ssGSEA-FSX6P7HA.js.map → ssGSEA-BGPQ2PFY.js.map} +0 -0
  903. /package/dist/{ssGSEA.unit.spec-TXYT665R.js.map → ssGSEA.unit.spec-U7TBUSSK.js.map} +0 -0
  904. /package/dist/{stattable-BD64SFYV.js.map → stattable-FISGQCED.js.map} +0 -0
  905. /package/dist/{studyCatalog-6BOWO4PO.js.map → studyCatalog-UHFUT2CJ.js.map} +0 -0
  906. /package/dist/{summarizeCnvGeneexp-AMLYJIPU.js.map → summarizeCnvGeneexp-OVZO6KIB.js.map} +0 -0
  907. /package/dist/{summarizeGeneexpSurvival-IDM7T333.js.map → summarizeGeneexpSurvival-KVQ4JGWK.js.map} +0 -0
  908. /package/dist/{summarizeMutationCnv-R6SYSJQC.js.map → summarizeMutationCnv-RAKGHNLE.js.map} +0 -0
  909. /package/dist/{summarizeMutationDiagnosis-XZJ4JLW2.js.map → summarizeMutationDiagnosis-LGCINAGG.js.map} +0 -0
  910. /package/dist/{summarizeMutationSurvival-ABJ5RL4L.js.map → summarizeMutationSurvival-J7H7L4FX.js.map} +0 -0
  911. /package/dist/{summary-NVYCTE6P.js.map → summary-2632JZXH.js.map} +0 -0
  912. /package/dist/{summary.integration.spec-SSLTLVNW.js.map → summary.integration.spec-5WBS2ZRP.js.map} +0 -0
  913. /package/dist/{summaryInput-SJOZETRP.js.map → summaryInput-BH6C3ATV.js.map} +0 -0
  914. /package/dist/{sunburst-RU5ZPJKW.js.map → sunburst-AMRR2IHM.js.map} +0 -0
  915. /package/dist/{survival-DVG6Y2FV.js.map → survival-2RNJQVFS.js.map} +0 -0
  916. /package/dist/{survival-BHJQMXKI.js.map → survival-WYCH4QOQ.js.map} +0 -0
  917. /package/dist/{survival.integration.spec-OJUPTY5N.js.map → survival.integration.spec-7IFPY4I4.js.map} +0 -0
  918. /package/dist/{svgraph-ETFA4GRX.js.map → svgraph-YQWS52ZJ.js.map} +0 -0
  919. /package/dist/{svmr-AI3RU4JK.js.map → svmr-NRN6LGKK.js.map} +0 -0
  920. /package/dist/{table-YCTSMLQL.js.map → table-3QOMV2NN.js.map} +0 -0
  921. /package/dist/{termCollection-VEVKKJZD.js.map → termCollection-2ZJ7TJGO.js.map} +0 -0
  922. /package/dist/{termCollection-GMKEZR6D.js.map → termCollection-3MCVR7BA.js.map} +0 -0
  923. /package/dist/{termCollection.unit.spec-EU6YCEPX.js.map → termCollection.unit.spec-QYOEA3X6.js.map} +0 -0
  924. /package/dist/{termCollectionFractionSelection-UBS74X36.js.map → termCollectionFractionSelection-5AH6EF4L.js.map} +0 -0
  925. /package/dist/{termCollectionFractionSelection.unit.spec-Y5OJFGDD.js.map → termCollectionFractionSelection.unit.spec-WPGW4WJN.js.map} +0 -0
  926. /package/dist/{tk-W6Z4FJMW.js.map → tk-DQ7D5UEO.js.map} +0 -0
  927. /package/dist/{tk-HMF4HCNV.js.map → tk-ONKYBG6R.js.map} +0 -0
  928. /package/dist/{tp.ui-NECRDJCS.js.map → tp.ui-C7BTMHEI.js.map} +0 -0
  929. /package/dist/{tvs.dt-2JEH3F35.js.map → tvs.dt-PLRMK7OT.js.map} +0 -0
  930. /package/dist/{tvs.dtcnv.categorical-YBXKEBR2.js.map → tvs.dtcnv.categorical-IZUY2AQO.js.map} +0 -0
  931. /package/dist/{tvs.dtcnv.continuous-AD3SJ6BY.js.map → tvs.dtcnv.continuous-ENV3RHHA.js.map} +0 -0
  932. /package/dist/{tvs.dtfusion-ODI3CLQS.js.map → tvs.dtfusion-2DVCV6AM.js.map} +0 -0
  933. /package/dist/{tvs.dtitd-V3LYLPJY.js.map → tvs.dtitd-XNDIRQYU.js.map} +0 -0
  934. /package/dist/{tvs.dtsnvindel-R3V5LTNL.js.map → tvs.dtsnvindel-4D3G7XSF.js.map} +0 -0
  935. /package/dist/{tvs.dtsv-ZQLKEDLJ.js.map → tvs.dtsv-QYMIMC4Z.js.map} +0 -0
  936. /package/dist/{tvs.numeric-22AHXO5K.js.map → tvs.numeric-M5LH3PRH.js.map} +0 -0
  937. /package/dist/{tvs.samplelst-G25A7HM6.js.map → tvs.samplelst-2KEU2ZWB.js.map} +0 -0
  938. /package/dist/{tvs.termCollection-WLVCWDEJ.js.map → tvs.termCollection-FEY746V5.js.map} +0 -0
  939. /package/dist/{vocabulary-6K537FJM.js.map → vocabulary-BR4NJDPS.js.map} +0 -0
  940. /package/dist/{wsi.direct-SNPPQPVO.js.map → wsi.direct-JWDUNHIO.js.map} +0 -0
@@ -1,2193 +0,0 @@
1
- import {
2
- appear2 as appear,
3
- disappear2 as disappear,
4
- export_data,
5
- first_genetrack_tolist,
6
- font,
7
- make_table_2col,
8
- newpane,
9
- sayerror
10
- } from "./chunk-QJ3HYZH3.js";
11
- import {
12
- invalidcoord,
13
- string2pos
14
- } from "./chunk-HJ6L54YS.js";
15
- import "./chunk-KV4W2ACA.js";
16
- import "./chunk-DMWOK4DS.js";
17
- import {
18
- Menu
19
- } from "./chunk-ELJX3QIQ.js";
20
- import "./chunk-5IMFPVGT.js";
21
- import "./chunk-EEB5VE2A.js";
22
- import "./chunk-6RRZRISL.js";
23
- import "./chunk-2KM4PRQM.js";
24
- import {
25
- dofetch,
26
- dofetch2,
27
- dofetch3,
28
- vcfparsemeta
29
- } from "./chunk-VMRO6DMC.js";
30
- import "./chunk-HKKTNIMX.js";
31
- import "./chunk-GMRIEUBW.js";
32
- import {
33
- bplen,
34
- dt2label,
35
- dtcnv,
36
- dtfusionrna,
37
- dtitd,
38
- dtloh,
39
- dtsnvindel,
40
- dtsv,
41
- getMax_byiqr,
42
- mclass,
43
- mclassitd,
44
- tkt,
45
- validtkt
46
- } from "./chunk-4EZLVENZ.js";
47
- import "./chunk-WINIL2KN.js";
48
- import "./chunk-PF4DSFDR.js";
49
- import "./chunk-7X6NF7NI.js";
50
- import "./chunk-W5J3LTYS.js";
51
- import {
52
- category10_default
53
- } from "./chunk-Z2ZITHT4.js";
54
- import {
55
- linear,
56
- ordinal
57
- } from "./chunk-4OLM3KSB.js";
58
- import "./chunk-FXQXCOII.js";
59
- import "./chunk-TLT4YIG3.js";
60
- import "./chunk-5R63Q5KH.js";
61
- import "./chunk-I6Y4O3RR.js";
62
- import "./chunk-Q5RDQNIT.js";
63
- import "./chunk-DQC5FFGV.js";
64
- import "./chunk-HS5PO5ZQ.js";
65
-
66
- // src/samplematrix.featuremenu.js
67
- function showMenu_isgenevalue(smat, f) {
68
- smat.menu.d.append("div").attr("class", "sja_menuoption").text("Sort").on("click", () => {
69
- smat.menu.hide();
70
- if (f.sort) {
71
- return;
72
- }
73
- for (const f2 of smat.features) {
74
- if (f2.isgenevalue) delete f2.sort;
75
- }
76
- f.sort = 1;
77
- smat.draw_matrix();
78
- });
79
- }
80
- function showMenu_iscnv(smat, f, obj) {
81
- {
82
- const row = smat.menu.d.append("div").style("margin", "10px");
83
- row.append("span").html("CNV log2(ratio) cutoff ");
84
- row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
85
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
86
- let v = Number.parseFloat(event2.target.value);
87
- if (!v || v < 0) {
88
- v = 0;
89
- }
90
- if (v == 0) {
91
- if (obj.valuecutoff) {
92
- obj.valuecutoff = 0;
93
- smat.update_singlefeature(f);
94
- } else {
95
- }
96
- return;
97
- }
98
- if (obj.valuecutoff) {
99
- if (obj.valuecutoff == v) {
100
- } else {
101
- obj.valuecutoff = v;
102
- smat.update_singlefeature(f);
103
- }
104
- } else {
105
- obj.valuecutoff = v;
106
- smat.update_singlefeature(f);
107
- }
108
- });
109
- row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Only show CNV with absolute log2(ratio) no less than cutoff.<br>Set to 0 to cancel.");
110
- }
111
- {
112
- const row = smat.menu.d.append("div").style("margin", "10px");
113
- row.append("span").html("CNV segment size limit&nbsp;");
114
- row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
115
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
116
- let v = Number.parseInt(event2.target.value);
117
- if (!v || v < 0) {
118
- v = 0;
119
- }
120
- if (v == 0) {
121
- if (obj.focalsizelimit) {
122
- obj.focalsizelimit = 0;
123
- smat.update_singlefeature(f);
124
- } else {
125
- }
126
- return;
127
- }
128
- if (obj.focalsizelimit) {
129
- if (obj.focalsizelimit == v) {
130
- } else {
131
- obj.focalsizelimit = v;
132
- smat.update_singlefeature(f);
133
- }
134
- } else {
135
- obj.focalsizelimit = v;
136
- smat.update_singlefeature(f);
137
- }
138
- });
139
- row.append("span").text("bp");
140
- row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Limit the CNV segment length to show only focal events.<br>Set to 0 to cancel.");
141
- }
142
- }
143
- function showMenu_isloh(smat, f, obj) {
144
- {
145
- const row = smat.menu.d.append("div").style("margin", "10px");
146
- row.append("span").html("LOH segmean cutoff&nbsp;");
147
- row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
148
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
149
- let v = Number.parseFloat(event2.target.value);
150
- if (!v || v < 0) {
151
- v = 0;
152
- }
153
- if (v == 0) {
154
- if (obj.valuecutoff) {
155
- obj.valuecutoff = 0;
156
- smat.update_singlefeature(f);
157
- } else {
158
- }
159
- return;
160
- }
161
- if (obj.valuecutoff) {
162
- if (obj.valuecutoff == v) {
163
- } else {
164
- obj.valuecutoff = v;
165
- smat.update_singlefeature(f);
166
- }
167
- } else {
168
- obj.valuecutoff = v;
169
- smat.update_singlefeature(f);
170
- }
171
- });
172
- row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Only show LOH with segmean no less than cutoff.<br>Set to 0 to cancel.");
173
- }
174
- {
175
- const row = smat.menu.d.append("div").style("margin", "10px");
176
- row.append("span").html("LOH segment size limit&nbsp;");
177
- row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
178
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
179
- let v = Number.parseInt(event2.target.value);
180
- if (!v || v < 0) {
181
- v = 0;
182
- }
183
- if (v == 0) {
184
- if (obj.focalsizelimit) {
185
- obj.focalsizelimit = 0;
186
- smat.update_singlefeature(f);
187
- } else {
188
- }
189
- return;
190
- }
191
- if (obj.focalsizelimit) {
192
- if (obj.focalsizelimit == v) {
193
- } else {
194
- obj.focalsizelimit = v;
195
- smat.update_singlefeature(f);
196
- }
197
- } else {
198
- obj.focalsizelimit = v;
199
- smat.update_singlefeature(f);
200
- }
201
- });
202
- row.append("span").text("bp");
203
- row.append("div").style("font-size", ".7em").style("opacity", 0.5).html("Limit the LOH segment length to show only focal events.<br>Set to 0 to cancel.");
204
- }
205
- }
206
- function showMenu_ismutation(smat, f) {
207
- {
208
- const div = smat.menu.d.append("div").style("margin", "10px").style("border", "solid 1px #ededed");
209
- const update = () => {
210
- smat.update_singlefeature(f);
211
- smat.menu.hide();
212
- };
213
- const table = div.append("table").style("margin", "10px").style("border-spacing", "1px");
214
- const tbody = table.append("tbody");
215
- {
216
- const tr = tbody.append("tr");
217
- tr.append("td").style("opacity", 0.5).text("CNV");
218
- tr.append("td").attr("class", "sja_menuoption").text(f.cnv.hidden ? "Show" : "Hide").on("click", () => {
219
- f.cnv.hidden = !f.cnv.hidden;
220
- update();
221
- });
222
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
223
- ismutation_hideallclass(f);
224
- delete f.cnv.hidden;
225
- update();
226
- });
227
- const td = tr.append("td");
228
- if (!f.cnv.hidden) {
229
- td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
230
- smat.menu.clear();
231
- showMenu_iscnv(smat, f, f.cnv);
232
- });
233
- }
234
- }
235
- {
236
- const tr = tbody.append("tr");
237
- tr.append("td").style("opacity", 0.5).text("LOH");
238
- tr.append("td").attr("class", "sja_menuoption").text(f.loh.hidden ? "Show" : "Hide").on("click", () => {
239
- f.loh.hidden = !f.loh.hidden;
240
- update();
241
- });
242
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
243
- ismutation_hideallclass(f);
244
- delete f.loh.hidden;
245
- update();
246
- });
247
- const td = tr.append("td");
248
- if (!f.loh.hidden) {
249
- td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
250
- smat.menu.clear();
251
- showMenu_isloh(smat, f, f.loh);
252
- });
253
- }
254
- }
255
- {
256
- const tr = tbody.append("tr");
257
- tr.append("td").style("opacity", 0.5).text("ITD");
258
- tr.append("td").attr("class", "sja_menuoption").text(f.itd.hidden ? "Show" : "Hide").on("click", () => {
259
- f.itd.hidden = !f.itd.hidden;
260
- update();
261
- });
262
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
263
- ismutation_hideallclass(f);
264
- delete f.itd.hidden;
265
- update();
266
- });
267
- const td = tr.append("td");
268
- if (!f.itd.hidden) {
269
- }
270
- }
271
- {
272
- const tr = tbody.append("tr");
273
- tr.append("td").style("opacity", 0.5).text("SV");
274
- tr.append("td").attr("class", "sja_menuoption").text(f.sv.hidden ? "Show" : "Hide").on("click", () => {
275
- f.sv.hidden = !f.sv.hidden;
276
- update();
277
- });
278
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
279
- ismutation_hideallclass(f);
280
- delete f.sv.hidden;
281
- update();
282
- });
283
- const td = tr.append("td");
284
- if (!f.sv.hidden) {
285
- }
286
- }
287
- {
288
- const tr = tbody.append("tr");
289
- tr.append("td").style("opacity", 0.5).text("Fusion");
290
- tr.append("td").attr("class", "sja_menuoption").text(f.fusion.hidden ? "show" : "hide").on("click", () => {
291
- f.fusion.hidden = !f.fusion.hidden;
292
- update();
293
- });
294
- tr.append("td").attr("class", "sja_menuoption").text("show only").on("click", () => {
295
- ismutation_hideallclass(f);
296
- delete f.fusion.hidden;
297
- update();
298
- });
299
- const td = tr.append("td");
300
- if (!f.fusion.hidden) {
301
- }
302
- }
303
- table.append("tbody").append("tr").append("td").attr("colspan", 4).style("padding-top", "10px").append("span").style("font-size", ".8em").text("List SNV/indel").attr("class", "sja_clbtext").on("click", () => {
304
- if (tbody2.style("display") == "none") {
305
- tbody2.style("display", "table-row-group");
306
- } else {
307
- tbody2.style("display", "none");
308
- }
309
- });
310
- const tbody2 = table.append("tbody").style("display", "none");
311
- for (const k in mclass) {
312
- const c = mclass[k];
313
- if (c.dt != dtsnvindel) {
314
- continue;
315
- }
316
- const tr = tbody2.append("tr");
317
- tr.append("td").style("opacity", 0.5).text(c.label);
318
- tr.append("td").attr("class", "sja_menuoption").text(f.snvindel.excludeclasses[k] ? "Show" : "Hide").on("click", () => {
319
- if (f.snvindel.excludeclasses[k]) {
320
- delete f.snvindel.excludeclasses[k];
321
- } else {
322
- f.snvindel.excludeclasses[k] = 1;
323
- }
324
- update();
325
- });
326
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
327
- ismutation_hideallclass(f);
328
- delete f.snvindel.excludeclasses[k];
329
- update();
330
- });
331
- const td = tr.append("td");
332
- }
333
- div.append("div").style("margin", "10px").append("span").style("font-size", ".8em").text("Show all classes").attr("class", "sja_clbtext").on("click", () => {
334
- f.cnv.hidden = false;
335
- f.loh.hidden = false;
336
- f.itd.hidden = false;
337
- f.sv.hidden = false;
338
- f.fusion.hidden = false;
339
- f.snvindel.excludeclasses = {};
340
- update();
341
- });
342
- }
343
- }
344
- function ismutation_hideallclass(f) {
345
- f.cnv.hidden = true;
346
- f.loh.hidden = true;
347
- f.itd.hidden = true;
348
- f.sv.hidden = true;
349
- f.fusion.hidden = true;
350
- f.snvindel.excludeclasses = {};
351
- for (const k in mclass) {
352
- if (mclass[k].dt == dtsnvindel) f.snvindel.excludeclasses[k] = 1;
353
- }
354
- }
355
-
356
- // src/samplematrix.kmplot.js
357
- function may_add_kmplotbutton(smat, buttonrow) {
358
- if (!smat.mds || !smat.mds.survivalplot) return;
359
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("SURVIVAL PLOT").attr("class", "sja_clbtext").on("click", (event2) => {
360
- smat.menu.clear().showunder(event2.target);
361
- kmplot_menu(smat);
362
- });
363
- }
364
- async function kmplot_menu(smat) {
365
- const mutation_features = smat.features.filter((i) => i.ismutation);
366
- try {
367
- if (mutation_features.length != 2) throw "only works with two genomic features.";
368
- await kmplot_do(smat, mutation_features[0], mutation_features[1]);
369
- } catch (e) {
370
- smat.menu.d.append("div").style("margin", "20px").text("Cannot make survival plot: " + (e.message || e));
371
- }
372
- }
373
- async function kmplot_do(smat, f1, f2) {
374
- const s1 = [], s2 = [], s12 = [];
375
- for (const i of smat.samples) {
376
- const in1 = f1.items.find((j) => j.sample == i.name);
377
- const in2 = f2.items.find((j) => j.sample == i.name);
378
- if (in1) {
379
- if (in2) s12.push(i.name);
380
- else s1.push(i.name);
381
- } else {
382
- s2.push(i.name);
383
- }
384
- }
385
- const plot = {
386
- renderplot: 1,
387
- samplerule: {
388
- full: {},
389
- mutated_sets: [
390
- { name: f1.label + " mutated (n=" + s1.length + ")", samplenames: s1 },
391
- { name: f2.label + " mutated (n=" + s2.length + ")", samplenames: s2 },
392
- { name: f1.label + " and " + f2.label + " mutated (n=" + s12.length + ")", samplenames: s12 }
393
- ]
394
- }
395
- };
396
- if (smat.limitsamplebyeitherannotation) {
397
- plot.samplerule.full = {
398
- byattr: 1,
399
- key: smat.limitsamplebyeitherannotation[0].key,
400
- value: smat.limitsamplebyeitherannotation[0].value,
401
- immutable: 1
402
- };
403
- }
404
- const pane = newpane({ x: 100, y: 100 });
405
- pane.header.text(
406
- (smat.limitsamplebyeitherannotation ? smat.limitsamplebyeitherannotation[0].value + " " : "") + "survival by " + f1.label + " and " + f2.label + " mutation status"
407
- );
408
- const _ = await import("./mds.survivalplot-H4TJD44D.js");
409
- _.init(
410
- {
411
- mds: smat.mds,
412
- genome: smat.genome,
413
- plotlist: [plot]
414
- },
415
- pane.body
416
- );
417
- }
418
-
419
- // src/samplematrix.js
420
- var saynovalue = "na";
421
- var default_cnvgaincolor = "#D6683C";
422
- var default_cnvlosscolor = "#67a9cf";
423
- var default_genevaluecolor = "#095873";
424
- var default_lohcolor = "#858585";
425
- var default_svcolor = "#858585";
426
- var minheight2showname = 8;
427
- var Samplematrix = class {
428
- /*
429
- init ui
430
- */
431
- constructor(p) {
432
- for (const k in p) {
433
- this[k] = p[k];
434
- }
435
- if (this.debugmode) window.smat = this;
436
- this.tip = new Menu({ padding: "0px", hideXmute: 1, hideYmute: 1 });
437
- this.menu = new Menu({ padding: "0px" });
438
- this.errdiv = this.holder.append("div");
439
- if (!this.iscustom) {
440
- try {
441
- if (!this.dslabel) throw "not custom data but dslabel is missing";
442
- this.mds = this.genome.datasets[this.dslabel];
443
- if (!this.mds) throw "invalid dataset name: " + this.dslabel;
444
- if (!this.mds.isMds) throw "improper dataset: " + this.dslabel;
445
- } catch (e) {
446
- this.error(e);
447
- }
448
- }
449
- init_controlui(this);
450
- if (this.header) {
451
- this.holder.append("div").style("margin-bottom", "20px").html(this.header);
452
- }
453
- this.wait_div = this.holder.append("div");
454
- this.wait_div.style("display", "block").text("Loading...");
455
- this.svg = this.holder.append("svg");
456
- this.validate_config().then(() => {
457
- return this.get_features();
458
- }).catch((err) => {
459
- if (typeof err == "string") {
460
- this.error(err);
461
- } else {
462
- this.error(err.message);
463
- if (err.stack) console.log(err.stack);
464
- }
465
- });
466
- }
467
- error(m) {
468
- sayerror(this.errdiv, m);
469
- }
470
- async validate_config() {
471
- if (this.iscustom) {
472
- if (!this.querykey2tracks) throw "querykey2tracks missing for custom dataset";
473
- let novalidtk = true;
474
- for (const key in this.querykey2tracks) {
475
- const tk = this.querykey2tracks[key];
476
- if (!tk.file && !tk.url) throw "no file or url for a custom track by key " + key;
477
- if (!tk.type) throw "missing type for member track by key " + key;
478
- if (!validtkt(tk.type)) throw "invalid type for a member track: " + tk.type;
479
- novalidtk = false;
480
- }
481
- if (novalidtk) throw "no custom tracks from querykey2tracks";
482
- let vcftk;
483
- for (const key in this.querykey2tracks) {
484
- const tk = this.querykey2tracks[key];
485
- if (tk.type == tkt.mdsvcf) {
486
- vcftk = tk;
487
- }
488
- }
489
- if (vcftk) {
490
- await this.may_init_customvcf(vcftk);
491
- }
492
- } else {
493
- if (this.mds.mdsIsUninitiated) {
494
- const d = await dofetch3(`getDataset?genome=${this.genome.name}&dsname=${this.mds.label}`);
495
- if (d.error) throw d.error;
496
- if (!d.ds) throw "ds missing";
497
- Object.assign(this.mds, d.ds);
498
- delete this.mds.mdsIsUninitiated;
499
- }
500
- }
501
- if (this.limitsamplebyeitherannotation) {
502
- if (!Array.isArray(this.limitsamplebyeitherannotation)) throw "limitsamplebyeitherannotation must be an array";
503
- const tr = this.legendtable.append("tr");
504
- for (const anno of this.limitsamplebyeitherannotation) {
505
- if (!anno.key) throw ".key missing from an element of limitsamplebyeitherannotation";
506
- if (!anno.value) throw ".value missing from an element of limitsamplebyeitherannotation";
507
- }
508
- this.showlegend_limitsample();
509
- }
510
- const cnv_tr = this.legendtable.append("tr");
511
- cnv_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("CNV cutoff");
512
- this.legendtable.cnv_td = cnv_tr.append("td");
513
- const loh_tr = this.legendtable.append("tr");
514
- loh_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("LOH cutoff");
515
- this.legendtable.loh_td = loh_tr.append("td");
516
- if (this.limitbysamplesetgroup) {
517
- if (!Array.isArray(this.limitbysamplesetgroup.samples)) throw ".limitbysamplesetgroup.samples is not array";
518
- }
519
- if (!this.rowspace) this.rowspace = 1;
520
- if (!this.colspace) this.colspace = 1;
521
- if (!this.rowlabspace) this.rowlabspace = 5;
522
- if (!this.collabspace) this.collabspace = 5;
523
- if (!this.rowlabticksize) this.rowlabticksize = 5;
524
- if (!this.collabticksize) this.collabticksize = 5;
525
- if (!this.features) throw "missing features[]";
526
- if (!Array.isArray(this.features)) throw "features must be an array";
527
- if (this.features[0].height) this.ori_feature_height = this.features[0].height;
528
- if (this.features[0].width) this.ori_feature_width = this.features[0].width;
529
- for (const f of this.features) {
530
- await this.validate_feature(f);
531
- }
532
- }
533
- showlegend_limitsample() {
534
- if (!this.limitsamplebyeitherannotation) return;
535
- }
536
- feature_parseposition_maygene(f) {
537
- return Promise.resolve().then(() => {
538
- if (f.position) {
539
- const o = string2pos(f.position, this.genome);
540
- if (o) {
541
- f.chr = o.chr;
542
- f.start = o.start;
543
- f.stop = o.stop;
544
- }
545
- }
546
- if (f.chr) {
547
- const err = invalidcoord(this.genome, f.chr, f.start, f.stop);
548
- if (err) {
549
- throw 'feature "' + f.label + '" position error: ' + err;
550
- } else {
551
- return;
552
- }
553
- }
554
- if (!f.genename) throw "position required for a feature: no position or genename given";
555
- return dofetch("/genelookup", {
556
- input: f.genename,
557
- genome: this.genome.name,
558
- deep: 1
559
- }).then((data) => {
560
- if (data.error) throw data.error;
561
- if (!data.gmlst || data.gmlst.length == 0) throw "no gene can be found for " + f.genename;
562
- const regions = [];
563
- for (const gm of data.gmlst) {
564
- let nooverlap = true;
565
- for (const region of regions) {
566
- if (gm.chr == region.chr && Math.max(gm.start, region.start) < Math.min(gm.stop, region.stop)) {
567
- nooverlap = false;
568
- region.start = Math.min(region.start, gm.start);
569
- region.stop = Math.max(region.stop, gm.stop);
570
- break;
571
- }
572
- }
573
- if (nooverlap) {
574
- regions.push({
575
- chr: gm.chr,
576
- start: gm.start,
577
- stop: gm.stop
578
- });
579
- }
580
- }
581
- if (regions.length > 1) {
582
- sayerror(
583
- this.errdiv,
584
- "multiple regions found for gene " + f.genename + " you'd better specify one in feature"
585
- );
586
- }
587
- f.chr = regions[0].chr;
588
- f.start = regions[0].start;
589
- f.stop = regions[0].stop;
590
- });
591
- });
592
- }
593
- validate_feature(f) {
594
- return Promise.resolve().then(() => {
595
- f.id = Math.random().toString();
596
- const tr = this.legendtable.append("tr");
597
- f.legend_tr = tr;
598
- if (f.isgenevalue) {
599
- if (!f.genename) throw ".genename missing for isgenevalue feature";
600
- f.label = f.genename + " expression";
601
- if (this.dslabel) {
602
- if (!f.querykey) throw ".querykey missing for isgenevalue feature while loading from official dataset";
603
- } else {
604
- }
605
- if (!f.scale) f.scale = { auto: 1 };
606
- if (f.missingvalue == void 0) f.missingvalue = 0;
607
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
608
- f.legendholder = tr.append("td");
609
- if (!f.width) f.width = 20;
610
- if (!f.color) f.color = default_genevaluecolor;
611
- return this.feature_parseposition_maygene(f);
612
- }
613
- if (f.iscnv) {
614
- if (this.dslabel) {
615
- if (!f.querykey) throw ".querykey missing for iscnv feature while loading from official dataset";
616
- } else {
617
- }
618
- if (!f.label && f.genename) {
619
- f.label = f.genename + " CNV";
620
- }
621
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
622
- f.legendholder = tr.append("td");
623
- if (!f.width) f.width = 40;
624
- if (!f.colorgain) f.colorgain = default_cnvgaincolor;
625
- if (!f.colorloss) f.colorloss = default_cnvlosscolor;
626
- return this.feature_parseposition_maygene(f).then(() => {
627
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV";
628
- f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
629
- });
630
- }
631
- if (f.isloh) {
632
- if (this.dslabel) {
633
- if (!f.querykey) throw ".querykey missing for isloh feature while loading from official dataset";
634
- } else {
635
- }
636
- if (!f.label && f.genename) {
637
- f.label = f.genename + " LOH";
638
- }
639
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
640
- f.legendholder = tr.append("td");
641
- if (!f.width) f.width = 40;
642
- if (!f.color) f.color = default_lohcolor;
643
- return this.feature_parseposition_maygene(f).then(() => {
644
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " LOH";
645
- f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
646
- });
647
- }
648
- if (f.isvcf) {
649
- if (this.dslabel) {
650
- if (!f.querykey) throw ".querykey missing for isvcf feature while loading from official dataset";
651
- } else {
652
- }
653
- if (!f.label && f.genename) {
654
- f.label = f.genename + " SNV/indel";
655
- }
656
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
657
- f.legendholder = tr.append("td");
658
- if (!f.width) f.width = 20;
659
- if (!f.snvindel) f.snvindel = {};
660
- return this.feature_parseposition_maygene(f).then(() => {
661
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SNV/indel";
662
- });
663
- }
664
- if (f.isitd) {
665
- if (this.dslabel) {
666
- if (!f.querykey) throw ".querykey missing for isitd feature while loading from official dataset";
667
- } else {
668
- }
669
- if (!f.label && f.genename) {
670
- f.label = f.genename + " ITD";
671
- }
672
- if (!f.width) f.width = 20;
673
- if (!f.color) f.color = mclass[mclassitd].color;
674
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
675
- f.legendholder = tr.append("td");
676
- f.legendholder.append("div").style("width", "20px").html("&nbsp;").style("background", f.color);
677
- return this.feature_parseposition_maygene(f).then(() => {
678
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " ITD";
679
- });
680
- }
681
- if (f.issvfusion) {
682
- if (this.dslabel) {
683
- if (!f.querykey) throw ".querykey missing for issvfusion feature while loading from official dataset";
684
- } else {
685
- }
686
- if (!f.label && f.genename) {
687
- f.label = f.genename + " SV/fusion";
688
- }
689
- if (!f.width) f.width = 20;
690
- if (!f.color) f.color = default_svcolor;
691
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
692
- f.legendholder = tr.append("td");
693
- return this.feature_parseposition_maygene(f).then(() => {
694
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SV/fusion";
695
- });
696
- }
697
- if (f.issvcnv) {
698
- if (this.dslabel) {
699
- if (!f.querykey) throw ".querykey missing for issvcnv feature while loading from official dataset";
700
- } else {
701
- }
702
- if (!f.label && f.genename) {
703
- f.label = f.genename + " CNV/SV";
704
- }
705
- tr.append("td").text(f.label).style("color", "#858585").style("text-align", "right");
706
- f.legendholder = tr.append("td");
707
- initfeature_polymutation(f);
708
- return this.feature_parseposition_maygene(f).then(() => {
709
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV/SV";
710
- });
711
- }
712
- if (f.ismutation) {
713
- if (this.dslabel) {
714
- if (!f.querykeylst) throw ".querykeylst missing for ismutation feature";
715
- if (!Array.isArray(f.querykeylst)) throw ".querykeylst[] should be array for ismutation feature";
716
- if (f.querykeylst.length == 0) throw "querykeylst[] empty array for ismutation feature";
717
- } else {
718
- }
719
- if (!f.label && f.genename) {
720
- f.label = f.genename + " mutation";
721
- }
722
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
723
- f.legendholder = tr.append("td");
724
- initfeature_polymutation(f);
725
- return this.feature_parseposition_maygene(f).then(() => {
726
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " mutation";
727
- f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
728
- });
729
- }
730
- if (f.issampleattribute) {
731
- if (!this.dslabel) throw ".dslabel missing: sampleattribute only works for official dataset";
732
- if (!f.key) throw ".key missing for issampleattribute feature";
733
- if (!f.label) f.label = f.key;
734
- if (this.mds && this.mds.sampleAttribute && this.mds.sampleAttribute.attributes) {
735
- const registry = this.mds.sampleAttribute.attributes[f.key];
736
- if (registry) {
737
- f.values = registry.values;
738
- }
739
- }
740
- if (!f.values) {
741
- f.values = {};
742
- }
743
- f.assignmissingcolor = ordinal(category10_default);
744
- if (!f.width && !this.features_on_rows) f.width = 20;
745
- else if (!f.height && this.features_on_rows) f.height = 50;
746
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
747
- f.legendholder = tr.append("td");
748
- return Promise.resolve();
749
- }
750
- throw "unknown feature type in validating feature";
751
- });
752
- }
753
- get_features(featureset) {
754
- this.max_cnv = 0;
755
- this.min_cnv = 0;
756
- this.max_loh = 0;
757
- this.min_loh = 0;
758
- const arg = {
759
- genome: this.genome.name,
760
- limitsamplebyeitherannotation: this.limitsamplebyeitherannotation,
761
- features: (featureset || this.features).map(feature2arg)
762
- };
763
- if (this.limitbysamplesetgroup) {
764
- arg.sampleset = this.limitbysamplesetgroup.samples;
765
- }
766
- if (this.iscustom) {
767
- arg.iscustom = 1;
768
- arg.querykey2tracks = {};
769
- for (const f of arg.features) {
770
- if (f.querykey) {
771
- arg.querykey2tracks[f.querykey] = this.querykey2tracks[f.querykey];
772
- } else if (f.querykeylst) {
773
- for (const k of f.querykeylst) arg.querykey2tracks[k] = this.querykey2tracks[k];
774
- }
775
- }
776
- } else {
777
- arg.dslabel = this.mds.label;
778
- }
779
- return dofetch("/samplematrix", arg).then((data) => {
780
- if (data.error) {
781
- for (const f0 of arg.features) {
782
- const f = this.features.find((f2) => f2.id == f0.id);
783
- if (f) f.items = [];
784
- }
785
- throw data.error;
786
- }
787
- for (const dat of data.results) {
788
- const f = this.features.find((f2) => f2.id == dat.id);
789
- if (!f) throw "feature not found: " + f.id;
790
- f.items = dat.items;
791
- this.prep_featuredata(f);
792
- }
793
- this.draw_matrix();
794
- this.make_legend();
795
- this.wait_div.style("display", "none");
796
- });
797
- }
798
- update_singlefeature(f) {
799
- this.get_features([f]).catch((err) => {
800
- if (typeof err == "string") {
801
- this.error(err);
802
- } else {
803
- this.error(err.message);
804
- if (err.stack) console.log(err.stack);
805
- }
806
- });
807
- }
808
- addnewfeature_update(f) {
809
- this.features.push(f);
810
- this.validate_feature(f).then(() => {
811
- return this.get_features([f]);
812
- }).catch((err) => {
813
- this.error(typeof err == "string" ? err : err.message);
814
- if (err.stack) console.log(err.stack);
815
- });
816
- }
817
- prep_featuredata(f) {
818
- if (f.isgenevalue) {
819
- f.scale.maxv = 0;
820
- f.scale.minv = 0;
821
- for (const i of f.items) {
822
- f.scale.maxv = Math.max(f.scale.maxv, i.value);
823
- }
824
- return;
825
- }
826
- if (f.iscnv) {
827
- const gain = [], loss = [];
828
- for (const i of f.items) {
829
- if (i.value > 0) {
830
- gain.push(i.value);
831
- } else {
832
- loss.push(-i.value);
833
- }
834
- }
835
- const gmax = getMax_byiqr(gain, 0);
836
- const lmax = getMax_byiqr(loss, 0);
837
- f.maxabslogratio = Math.max(gmax, lmax);
838
- if (f.maxabslogratio > this.max_cnv) this.max_cnv = f.maxabslogratio;
839
- return;
840
- }
841
- if (f.isloh) {
842
- const values = f.items.map((i) => i.segmean);
843
- f.minvalue = 0;
844
- f.maxvalue = Math.max(...values);
845
- if (f.maxvalue > this.max_loh) this.max_loh = f.maxvalue;
846
- return;
847
- }
848
- if (f.isvcf) {
849
- return;
850
- }
851
- if (f.isitd) {
852
- return;
853
- }
854
- if (f.issvfusion) {
855
- return;
856
- }
857
- if (f.issvcnv || f.ismutation) {
858
- const cnvgain = [], cnvloss = [];
859
- let lohmax = 0;
860
- for (const i of f.items) {
861
- if (i.dt == dtcnv) {
862
- if (i.value > 0) {
863
- cnvgain.push(i.value);
864
- } else {
865
- cnvloss.push(-i.value);
866
- }
867
- } else if (i.dt == dtloh) {
868
- lohmax = Math.max(i.segmean, lohmax);
869
- }
870
- }
871
- if (cnvgain.length + cnvloss.length > 0) {
872
- const gmax = getMax_byiqr(cnvgain, 0);
873
- const lmax = getMax_byiqr(cnvloss, 0);
874
- f.cnv.maxabslogratio = Math.max(gmax, lmax);
875
- if (f.cnv.maxabslogratio > this.max_cnv) {
876
- this.max_cnv = f.cnv.maxabslogratio;
877
- this.min_cnv = -f.cnv.maxabslogratio;
878
- this.cnv_colorloss = f.cnv.colorloss;
879
- this.cnv_colorgain = f.cnv.colorgain;
880
- }
881
- }
882
- if (lohmax) {
883
- f.loh.minvalue = 0;
884
- f.loh.maxvalue = lohmax;
885
- if (f.loh.maxvalue > this.max_loh) this.max_loh = f.loh.maxvalue;
886
- this.loh_color = f.loh.color;
887
- }
888
- return;
889
- }
890
- if (f.issampleattribute) {
891
- for (const i of f.items) {
892
- if (!f.values[i.value]) {
893
- f.values[i.value] = {
894
- name: i.value,
895
- color: f.assignmissingcolor(i.value)
896
- };
897
- }
898
- }
899
- return;
900
- }
901
- throw "unknown feature type in preparing feature data";
902
- }
903
- make_legend() {
904
- for (const f of this.features) {
905
- const h = f.legendholder;
906
- h.selectAll("*").remove();
907
- if (f.isgenevalue) {
908
- h.append("span").text(f.scale.minv.toFixed(3));
909
- h.append("div").style("margin", "2px 10px").style("display", "inline-block").style("width", "100px").style("height", "15px").style("background", "linear-gradient( to right, white, " + f.color + ")");
910
- h.append("span").text(f.scale.maxv.toFixed(3));
911
- continue;
912
- }
913
- if (f.iscnv) {
914
- h.append("span").html(
915
- 'Gain <span style="background:' + f.colorgain + ';color:white;padding:1px 5px">' + f.maxabslogratio.toFixed(3) + '</span> &nbsp; Loss <span style="background:' + f.colorloss + ';color:white;padding:1px 5px">-' + f.maxabslogratio.toFixed(3) + "</span>"
916
- );
917
- continue;
918
- }
919
- if (f.isloh) {
920
- h.append("span").text(f.minvalue.toFixed(3));
921
- h.append("div").style("margin", "2px 10px").style("display", "inline-block").style("width", "100px").style("height", "15px").style("background", "linear-gradient( to right, white, " + f.color + ")");
922
- h.append("span").text(f.maxvalue.toFixed(3));
923
- continue;
924
- }
925
- if (f.isvcf) {
926
- const classes = /* @__PURE__ */ new Set();
927
- for (const m of f.items) {
928
- if (m.class) {
929
- classes.add(m.class);
930
- } else {
931
- }
932
- }
933
- for (const c of classes) {
934
- const cell = h.append("div").style("display", "inline-block").style("margin-right", "10px");
935
- cell.append("span").style("background", mclass[c].color).style("margin-right", "2px").html("&nbsp;&nbsp;&nbsp;");
936
- cell.append("span").text(mclass[c].label).style("color", mclass[c].color);
937
- }
938
- continue;
939
- }
940
- if (f.isitd) {
941
- continue;
942
- }
943
- if (f.issvfusion) {
944
- continue;
945
- }
946
- if (f.issvcnv || f.ismutation) {
947
- const vcfclass2count = /* @__PURE__ */ new Map();
948
- let itdcount = 0;
949
- let svcount = 0;
950
- let fusioncount = 0;
951
- for (const i of f.items) {
952
- if (i.dt == dtsnvindel) {
953
- if (i.class && i.sampledata) {
954
- if (!vcfclass2count.has(i.class)) {
955
- vcfclass2count.set(i.class, 0);
956
- }
957
- vcfclass2count.set(i.class, vcfclass2count.get(i.class) + i.sampledata.length);
958
- } else {
959
- }
960
- } else if (i.dt == dtitd) {
961
- itdcount++;
962
- } else if (i.dt == dtsv) {
963
- svcount++;
964
- } else if (i.dt == dtfusionrna) {
965
- fusioncount++;
966
- }
967
- }
968
- if (vcfclass2count.size + itdcount + svcount + fusioncount > 0) {
969
- const row = h.append("div").style("margin-bottom", "5px").style("white-space", "nowrap");
970
- for (const [classname, count] of vcfclass2count) {
971
- const c = mclass[classname];
972
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
973
- cell.append("span").attr("class", "sja_mcdot").style("background", c.color).text(count);
974
- cell.append("span").text(c.label).style("color", c.color);
975
- }
976
- if (itdcount) {
977
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
978
- cell.append("span").attr("class", "sja_mcdot").style("background", f.itd.color).text(itdcount);
979
- cell.append("span").text("ITD");
980
- }
981
- if (svcount) {
982
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
983
- cell.append("span").attr("class", "sja_mcdot").style("background", f.sv.color).text(svcount);
984
- cell.append("span").text("SV");
985
- }
986
- if (fusioncount) {
987
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
988
- cell.append("span").attr("class", "sja_mcdot").style("background", f.fusion.color).text(fusioncount);
989
- cell.append("span").text("Fusion");
990
- }
991
- }
992
- continue;
993
- }
994
- if (f.issampleattribute) {
995
- const value2count = /* @__PURE__ */ new Map();
996
- for (const sample of this.samples) {
997
- const anno = f.items.find((i) => i.sample == sample.name);
998
- if (anno) {
999
- value2count.set(anno.value, (value2count.get(anno.value) || 0) + 1);
1000
- }
1001
- }
1002
- for (const [value, count] of value2count) {
1003
- const cell = h.append("div").style("display", "inline-block").style("margin-right", "20px");
1004
- cell.append("span").attr("class", "sja_mcdot").style("background", f.values[value].color).text(count);
1005
- cell.append("span").text(f.values[value].name);
1006
- }
1007
- continue;
1008
- }
1009
- throw "unknown feature type in making legend";
1010
- }
1011
- this.makeGlobalCnvLohLegend();
1012
- }
1013
- makeGlobalCnvLohLegend() {
1014
- const legend_data = [
1015
- { type: "cnv", legend_label: "CNV log2(ratio): " },
1016
- { type: "loh", legend_label: "LOH seg.mean: " }
1017
- ];
1018
- const min_cnv_orig = parseFloat(this.min_cnv.toFixed(3));
1019
- const max_cnv_orig = parseFloat(this.max_cnv.toFixed(3));
1020
- const min_loh_orig = parseFloat(this.min_loh.toFixed(3));
1021
- const max_loh_orig = parseFloat(this.max_loh.toFixed(3));
1022
- let changed_flag = false;
1023
- legend_data.forEach((data) => {
1024
- let min_cutoff = data.type == "cnv" ? this.min_cnv : this.min_loh;
1025
- let max_cutoff = data.type == "cnv" ? this.max_cnv : this.max_loh;
1026
- const td = data.type == "cnv" ? this.legendtable.cnv_td : this.legendtable.loh_td;
1027
- const row = td.append("div").style("margin-bottom", "5px");
1028
- row.append("span").text(data.legend_label);
1029
- const lower_range_txt = row.append("span").text(min_cutoff.toFixed(3));
1030
- const lower_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", min_cutoff.toFixed(3));
1031
- if (data.type == "cnv") {
1032
- row.append("div").style("margin", "4px 0 1px 10px").style("display", "inline-block").style("width", "50px").style("height", "15px").style("background", "linear-gradient( to right," + this.cnv_colorloss + ",white)");
1033
- }
1034
- row.append("div").style("margin", "4px 10px 1px 10px").style("margin-left", data.type == "cnv" ? "0" : "10px").style("display", "inline-block").style("width", data.type == "cnv" ? "50px" : "100px").style("height", "15px").style(
1035
- "background",
1036
- "linear-gradient( to right, white, " + (data.type == "cnv" ? this.cnv_colorgain : this.loh_color) + ")"
1037
- );
1038
- const upper_range_txt = row.append("span").text(max_cutoff.toFixed(3));
1039
- const upper_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", max_cutoff.toFixed(3));
1040
- const edit_btn = row.append("button").style("margin", "2px 5px").style("padding", "3px 10px").text("Edit").on("click", () => {
1041
- lower_range_txt.style("display", "none");
1042
- upper_range_txt.style("display", "none");
1043
- lower_range_input.style("display", "inline-block");
1044
- upper_range_input.style("display", "inline-block");
1045
- edit_btn.style("display", "none");
1046
- submit_btn.style("display", "inline-block");
1047
- });
1048
- const submit_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Submit").on("click", () => {
1049
- if (data.type == "cnv") {
1050
- this.min_cnv = min_cutoff = lower_range_input.property("value");
1051
- this.max_cnv = max_cutoff = upper_range_input.property("value");
1052
- if (this.min_cnv != min_cnv_orig || this.max_cnv != max_cnv_orig) changed_flag = true;
1053
- } else {
1054
- this.min_loh = min_cutoff = parseFloat(lower_range_input.property("value"));
1055
- this.max_loh = max_cutoff = parseFloat(upper_range_input.property("value"));
1056
- if (this.min_loh != min_loh_orig || this.max_loh != max_loh_orig) changed_flag = true;
1057
- }
1058
- lower_range_txt.style("display", "inline-block").text(parseFloat(min_cutoff).toFixed(3));
1059
- upper_range_txt.style("display", "inline-block").text(parseFloat(max_cutoff).toFixed(3));
1060
- lower_range_input.style("display", "none");
1061
- upper_range_input.style("display", "none");
1062
- edit_btn.style("display", "inline-block");
1063
- submit_btn.style("display", "none");
1064
- reset_btn.style("display", changed_flag ? "inline-block" : "none");
1065
- this.draw_matrix();
1066
- });
1067
- const reset_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Reset").on("click", () => {
1068
- if (data.type == "cnv") {
1069
- this.min_cnv = min_cutoff = min_cnv_orig;
1070
- this.max_cnv = max_cutoff = max_cnv_orig;
1071
- } else {
1072
- this.min_loh = min_cutoff = min_loh_orig;
1073
- this.max_loh = max_cutoff = max_loh_orig;
1074
- }
1075
- lower_range_txt.text(parseFloat(min_cutoff).toFixed(3));
1076
- upper_range_txt.text(parseFloat(max_cutoff).toFixed(3));
1077
- lower_range_input.property("value", parseFloat(min_cutoff).toFixed(3));
1078
- upper_range_input.property("value", parseFloat(max_cutoff).toFixed(3));
1079
- reset_btn.style("display", "none");
1080
- changed_flag = false;
1081
- this.draw_matrix();
1082
- });
1083
- reset_btn.style("display", "none");
1084
- });
1085
- }
1086
- gatherSamplesFromFeatureData() {
1087
- const name2sample = /* @__PURE__ */ new Map();
1088
- for (const feature of this.features) {
1089
- if (feature.donotaddsample) {
1090
- continue;
1091
- }
1092
- if (feature.isgenevalue || feature.iscnv || feature.isloh || feature.isitd || feature.issvfusion || feature.issvcnv) {
1093
- for (const item of feature.items) {
1094
- if (!name2sample.has(item.sample)) {
1095
- name2sample.set(item.sample, {});
1096
- }
1097
- }
1098
- } else if (feature.isvcf) {
1099
- for (const m of feature.items) {
1100
- if (m.dt == dtsnvindel) {
1101
- if (!m.sampledata) continue;
1102
- for (const s of m.sampledata) {
1103
- if (!name2sample.has(s.sampleobj.name)) {
1104
- name2sample.set(s.sampleobj.name, {});
1105
- }
1106
- }
1107
- } else {
1108
- console.error("unsupported dt from isvcf: " + m.dt);
1109
- }
1110
- }
1111
- } else if (feature.ismutation) {
1112
- for (const m of feature.items) {
1113
- if (m.dt == dtsnvindel) {
1114
- if (!m.sampledata) continue;
1115
- for (const s of m.sampledata) {
1116
- if (!name2sample.has(s.sampleobj.name)) {
1117
- name2sample.set(s.sampleobj.name, {});
1118
- }
1119
- }
1120
- } else {
1121
- if (!m.sample) continue;
1122
- if (!name2sample.has(m.sample)) {
1123
- name2sample.set(m.sample, {});
1124
- }
1125
- }
1126
- }
1127
- } else if (feature.issampleattribute) {
1128
- for (const i of feature.items) {
1129
- if (!name2sample.has(i.sample)) {
1130
- name2sample.set(i.sample, {});
1131
- }
1132
- }
1133
- } else {
1134
- console.error("unknown feature type from this.data");
1135
- }
1136
- }
1137
- const uniformheight = Math.min(18, Math.max(1, Math.ceil(800 / name2sample.size)));
1138
- this.samples = [];
1139
- for (const [n, sample] of name2sample) {
1140
- if (!this.features_on_rows) sample.height = uniformheight;
1141
- else sample.width = uniformheight;
1142
- sample.name = n;
1143
- this.samples.push(sample);
1144
- }
1145
- }
1146
- /*********** __draw *****/
1147
- draw_matrix() {
1148
- this.svg.selectAll("*").remove();
1149
- const svgg = this.svg.append("g");
1150
- this.gatherSamplesFromFeatureData();
1151
- this.sortsamplesbyfeatures();
1152
- const rows_lst = this.features_on_rows ? this.features : this.samples;
1153
- const cols_lst = this.features_on_rows ? this.samples : this.features;
1154
- let y = 0, samplenamemaxwidth = 0;
1155
- for (const r of rows_lst) {
1156
- r.g = svgg.append("g").attr("transform", "translate(0," + y + ")");
1157
- y += r.height + this.rowspace;
1158
- if (r.height >= minheight2showname) {
1159
- r.g.append("text").attr("font-family", font).attr("font-size", Math.min(16, r.height)).attr("text-anchor", "end").attr("dominant-baseline", "central").attr("x", -this.rowlabspace - this.rowlabticksize).attr("y", r.height / 2).text(this.features_on_rows ? r.label + (r.count ? " (" + r.count + ")" : "") : r.name).each(function() {
1160
- samplenamemaxwidth = Math.max(samplenamemaxwidth, this.getBBox().width);
1161
- }).attr("class", "sja_clbtext").on("mouseover", () => {
1162
- this.features_on_rows ? this.showTip_feature(r) : this.showTip_sample(r);
1163
- }).on("mouseout", () => {
1164
- this.tip.hide();
1165
- }).on("click", () => {
1166
- if (this.features_on_rows) this.showMenu_feature(r);
1167
- });
1168
- r.g.append("line").attr("x1", -this.rowlabticksize).attr("y1", r.height / 2).attr("y2", r.height / 2).attr("stroke", "black").attr("shape-rendering", "crispEdges");
1169
- }
1170
- }
1171
- let x = 0, featurenamemaxwidth = 0;
1172
- for (const c of cols_lst) {
1173
- const g = svgg.append("g").attr("transform", "translate(" + (x + c.width / 2) + ",-" + (this.collabspace + this.collabticksize) + ")");
1174
- x += c.width + this.colspace;
1175
- const label = g.append("text").attr("font-family", font).attr("font-size", Math.min(16, c.width - 2)).attr("dominant-baseline", "central").attr("transform", "rotate(-90)").text(this.features_on_rows ? c.name : c.label + (c.count ? " (" + c.count + ")" : "")).each(function() {
1176
- featurenamemaxwidth = Math.max(featurenamemaxwidth, this.getBBox().width);
1177
- }).on("mouseover", () => {
1178
- this.features_on_rows ? this.showTip_sample(c) : this.showTip_feature(c);
1179
- }).on("mouseout", () => {
1180
- this.tip.hide();
1181
- }).on("click", () => {
1182
- if (!this.features_on_rows) this.showMenu_feature(c);
1183
- });
1184
- if (c.isgenevalue) {
1185
- label.attr("fill", c.color);
1186
- }
1187
- g.append("line").attr("y1", this.collabspace).attr("y2", this.collabspace + this.collabticksize).attr("stroke", "black").attr("shape-rendering", "crispEdges");
1188
- }
1189
- for (const r of rows_lst) {
1190
- let x2 = 0;
1191
- for (const c of cols_lst) {
1192
- const sample = this.features_on_rows ? c : r;
1193
- const feature = this.features_on_rows ? r : c;
1194
- const cell = r.g.append("g").attr("transform", "translate(" + x2 + ",0)");
1195
- x2 += c.width + this.colspace;
1196
- if (feature.isgenevalue) {
1197
- this.drawCell_isgenevalue(sample, feature, cell);
1198
- } else if (feature.iscnv) {
1199
- this.drawCell_iscnv(sample, feature, cell);
1200
- } else if (feature.isloh) {
1201
- this.drawCell_isloh(sample, feature, cell);
1202
- } else if (feature.isvcf) {
1203
- this.drawCell_isvcf(sample, feature, cell);
1204
- } else if (feature.isitd) {
1205
- this.drawCell_isitd(sample, feature, cell);
1206
- } else if (feature.issvfusion) {
1207
- this.drawCell_issvfusion(sample, feature, cell);
1208
- } else if (feature.issvcnv || feature.ismutation) {
1209
- this.drawCell_ismutation(sample, feature, cell);
1210
- } else if (feature.issampleattribute) {
1211
- this.drawCell_issampleattribute(sample, feature, cell);
1212
- } else {
1213
- console.error("unknown feature type when drawing cell");
1214
- }
1215
- }
1216
- }
1217
- svgg.attr(
1218
- "transform",
1219
- "translate(" + (samplenamemaxwidth + this.rowlabspace + this.rowlabticksize) + "," + (featurenamemaxwidth + this.collabspace + this.collabticksize) + ")"
1220
- );
1221
- this.svg.attr(
1222
- "width",
1223
- samplenamemaxwidth + this.rowlabspace + this.rowlabticksize + cols_lst.reduce((i, j) => i + j.width, 0) + cols_lst.length * this.colspace
1224
- ).attr(
1225
- "height",
1226
- featurenamemaxwidth + this.collabspace + this.collabticksize + rows_lst.reduce((i, j) => i + j.height, 0) + rows_lst.length * this.rowspace
1227
- );
1228
- }
1229
- drawCell_isgenevalue(sample, feature, g) {
1230
- const height = this.features_on_rows ? feature.height : sample.height;
1231
- const width = this.features_on_rows ? sample.width : feature.width;
1232
- const item = feature.items.find((i) => i.sample == sample.name);
1233
- if (!item) {
1234
- this.drawEmptycell(sample, feature, g);
1235
- return;
1236
- }
1237
- const rect = g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1238
- event2.target.setAttribute("stroke-opacity", 1);
1239
- this.showTip_cell(sample, feature);
1240
- }).on("mouseout", (event2) => {
1241
- event2.target.setAttribute("stroke-opacity", 0);
1242
- this.tip.hide();
1243
- }).on("click", () => {
1244
- this.click_cell(sample, feature);
1245
- });
1246
- if (item.value < feature.scale.maxv) {
1247
- rect.attr("fill-opacity", item.value / feature.scale.maxv);
1248
- }
1249
- }
1250
- drawCell_iscnv(sample, feature, g) {
1251
- const height = this.features_on_rows ? feature.height : sample.height;
1252
- const width = this.features_on_rows ? sample.width : feature.width;
1253
- const items = feature.items.filter((i) => i.sample == sample.name);
1254
- if (items.length == 0) {
1255
- this.drawEmptycell(sample, feature, g);
1256
- return;
1257
- }
1258
- for (const item of items) {
1259
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1260
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1261
- const maxabslogratio = this.max_cnv;
1262
- g.append("rect").attr("x", x1).attr("width", Math.max(1, x2 - x1)).attr("height", sample.height).attr("fill", item.value > 0 ? feature.colorgain : feature.colorloss).attr("fill-opacity", Math.abs(item.value / maxabslogratio)).attr("shape-rendering", "crispEdges");
1263
- }
1264
- g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1265
- event2.target.setAttribute("stroke-opacity", 1);
1266
- this.showTip_cell(sample, feature);
1267
- }).on("mouseout", (event2) => {
1268
- event2.target.setAttribute("stroke-opacity", 0);
1269
- this.tip.hide();
1270
- }).on("click", () => {
1271
- this.click_cell(sample, feature);
1272
- });
1273
- }
1274
- drawCell_isloh(sample, feature, g) {
1275
- const height = this.features_on_rows ? feature.height : sample.height;
1276
- const width = this.features_on_rows ? sample.width : feature.width;
1277
- const items = feature.items.filter((i) => i.sample == sample.name);
1278
- if (items.length == 0) {
1279
- this.drawEmptycell(sample, feature, g);
1280
- return;
1281
- }
1282
- for (const item of items) {
1283
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1284
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1285
- const loh_range = this.max_loh - this.min_loh;
1286
- g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.color).attr("fill-opacity", (item.segmean - this.min_loh) / loh_range).attr("shape-rendering", "crispEdges");
1287
- }
1288
- g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1289
- event2.target.setAttribute("stroke-opacity", 1);
1290
- this.showTip_cell(sample, feature);
1291
- }).on("mouseout", (event2) => {
1292
- event2.target.setAttribute("stroke-opacity", 0);
1293
- this.tip.hide();
1294
- }).on("click", () => {
1295
- this.click_cell(sample, feature);
1296
- });
1297
- }
1298
- drawCell_isvcf(sample, feature, g) {
1299
- const height = this.features_on_rows ? feature.height : sample.height;
1300
- const width = this.features_on_rows ? sample.width : feature.width;
1301
- const mlst = getitemforsample_vcf(feature, sample);
1302
- if (mlst.length == 0) {
1303
- this.drawEmptycell(sample, feature, g);
1304
- return;
1305
- }
1306
- const class2count = /* @__PURE__ */ new Map();
1307
- for (const m of mlst) {
1308
- if (!class2count.has(m.class)) {
1309
- class2count.set(m.class, 0);
1310
- }
1311
- class2count.set(m.class, class2count.get(m.class) + 1);
1312
- }
1313
- let start = 0;
1314
- for (const [cname, count] of class2count) {
1315
- const span = count / mlst.length * this.features_on_rows ? height : width;
1316
- g.append("rect").attr("x", this.features_on_rows ? 0 : start).attr("y", this.features_on_rows ? start : 0).attr("width", this.features_on_rows ? width : span).attr("height", this.features_on_rows ? span : height).attr("fill", mclass[cname].color).attr("shape-rendering", "crispEdges");
1317
- start += span;
1318
- }
1319
- g.append("rect").attr("fill", "white").attr("fill-opacity", 0).attr("width", width).attr("height", height).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1320
- event2.target.setAttribute("stroke-opacity", 1);
1321
- this.showTip_cell(sample, feature);
1322
- }).on("mouseout", (event2) => {
1323
- event2.target.setAttribute("stroke-opacity", 0);
1324
- this.tip.hide();
1325
- }).on("click", () => {
1326
- this.click_cell(sample, feature);
1327
- });
1328
- }
1329
- drawCell_isitd(sample, feature, g) {
1330
- const height = this.features_on_rows ? feature.height : sample.height;
1331
- const width = this.features_on_rows ? sample.width : feature.width;
1332
- const item = feature.items.find((i) => i.sample == sample.name);
1333
- if (!item) {
1334
- this.drawEmptycell(sample, feature, g);
1335
- return;
1336
- }
1337
- g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1338
- event2.target.setAttribute("stroke-opacity", 1);
1339
- this.showTip_cell(sample, feature);
1340
- }).on("mouseout", (event2) => {
1341
- event2.target.setAttribute("stroke-opacity", 0);
1342
- this.tip.hide();
1343
- }).on("click", () => {
1344
- this.click_cell(sample, feature);
1345
- });
1346
- }
1347
- drawCell_issampleattribute(sample, feature, g) {
1348
- const height = this.features_on_rows ? feature.height : sample.height;
1349
- const width = this.features_on_rows ? sample.width : feature.width;
1350
- const item = feature.items.find((i) => i.sample == sample.name);
1351
- if (!item) {
1352
- this.drawEmptycell(sample, feature, g);
1353
- return;
1354
- }
1355
- g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.values[item.value].color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1356
- event2.target.setAttribute("stroke-opacity", 1);
1357
- this.showTip_cell(sample, feature);
1358
- }).on("mouseout", (event2) => {
1359
- event2.target.setAttribute("stroke-opacity", 0);
1360
- this.tip.hide();
1361
- }).on("click", () => {
1362
- this.click_cell(sample, feature);
1363
- });
1364
- }
1365
- drawCell_issvfusion(sample, feature, g) {
1366
- const height = this.features_on_rows ? feature.height : sample.height;
1367
- const width = this.features_on_rows ? sample.width : feature.width;
1368
- const item = feature.items.find((i) => i.sample == sample.name);
1369
- if (!item) {
1370
- this.drawEmptycell(sample, feature, g);
1371
- return;
1372
- }
1373
- g.append("rect").attr("width", width).attr("height", height).attr("fill", feature.color).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1374
- event2.target.setAttribute("stroke-opacity", 1);
1375
- this.showTip_cell(sample, feature);
1376
- }).on("mouseout", (event2) => {
1377
- event2.target.setAttribute("stroke-opacity", 0);
1378
- this.tip.hide();
1379
- }).on("click", () => {
1380
- this.click_cell(sample, feature);
1381
- });
1382
- }
1383
- drawCell_ismutation(sample, feature, g) {
1384
- const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(feature, sample);
1385
- const height = this.features_on_rows ? feature.height : sample.height;
1386
- const width = this.features_on_rows ? sample.width : feature.width;
1387
- if (cnv.length + loh.length + itd.length + sv.length + fusion.length + snvindel.length == 0) {
1388
- this.drawEmptycell(sample, feature, g);
1389
- return;
1390
- }
1391
- let is_symbolic = false;
1392
- if (this.ismutation_allsymbolic) {
1393
- is_symbolic = true;
1394
- } else if (this.ismutation_allnotsymbolic) {
1395
- } else {
1396
- if (height <= 4) {
1397
- is_symbolic = true;
1398
- }
1399
- }
1400
- if (is_symbolic) {
1401
- this.drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel);
1402
- } else {
1403
- if (loh.length) {
1404
- for (const item of loh) {
1405
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1406
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1407
- const loh_range = this.max_loh - this.min_loh;
1408
- g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.loh.color).attr("fill-opacity", (item.segmean - this.min_loh) / loh_range).attr("shape-rendering", "crispEdges");
1409
- }
1410
- }
1411
- if (cnv.length) {
1412
- for (const item of cnv) {
1413
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1414
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1415
- const maxabslogratio = item.value > 0 ? this.max_cnv : this.min_cnv;
1416
- g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", item.value > 0 ? feature.cnv.colorgain : feature.cnv.colorloss).attr("fill-opacity", Math.abs(item.value / maxabslogratio)).attr("shape-rendering", "crispEdges");
1417
- }
1418
- }
1419
- if (itd.length) {
1420
- for (const item of itd) {
1421
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1422
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1423
- g.append("rect").attr("x", this.features_on_rows ? 0 : x1).attr("y", this.features_on_rows ? x1 : 0).attr("width", this.features_on_rows ? width : Math.max(1, x2 - x1)).attr("height", this.features_on_rows ? Math.max(1, x2 - x1) : height).attr("fill", feature.itd.color).attr("shape-rendering", "crispEdges");
1424
- }
1425
- }
1426
- if (sv.length) {
1427
- g.append("circle").attr("cx", width / 2).attr("cy", height / 2).attr("r", Math.min(width, height) / 2).attr("stroke", feature.sv.color).attr("fill", "none");
1428
- }
1429
- if (fusion.length) {
1430
- g.append("circle").attr("cx", width / 2).attr("cy", height / 2).attr("r", Math.min(width, height) / 2).attr("stroke", feature.fusion.color).attr("fill", "none");
1431
- }
1432
- if (snvindel.length) {
1433
- const m = snvindel[0];
1434
- const g2 = g.append("g").attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");
1435
- const color = mclass[m.m.class].color;
1436
- const w = Math.min(width, height) / 2;
1437
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", "white").attr("stroke-width", 3);
1438
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", "white").attr("stroke-width", 3);
1439
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", color);
1440
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", color);
1441
- }
1442
- }
1443
- g.append("rect").attr("width", width).attr("height", height).attr("fill", "white").attr("fill-opacity", 0).attr("stroke", "#ccc").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges").on("mouseover", (event2) => {
1444
- event2.target.setAttribute("stroke-opacity", 1);
1445
- this.showTip_cell(sample, feature);
1446
- }).on("mouseout", (event2) => {
1447
- event2.target.setAttribute("stroke-opacity", 0);
1448
- this.tip.hide();
1449
- }).on("click", () => {
1450
- this.click_cell(sample, feature);
1451
- });
1452
- }
1453
- drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel) {
1454
- const height = this.features_on_rows ? feature.height : sample.height;
1455
- const width = this.features_on_rows ? sample.width : feature.width;
1456
- const loh_range = this.max_loh - this.min_loh;
1457
- const lst = [];
1458
- if (cnv.length) {
1459
- for (const i of cnv) {
1460
- const maxabslogratio = i.value > 0 ? this.max_cnv : this.min_cnv;
1461
- let k;
1462
- if (i.value > 0) {
1463
- k = { color: feature.cnv.colorgain };
1464
- } else {
1465
- k = { color: feature.cnv.colorloss };
1466
- }
1467
- k.opacity = Math.abs(i.value / maxabslogratio);
1468
- lst.push(k);
1469
- }
1470
- }
1471
- if (loh.length) {
1472
- for (const i of loh) {
1473
- lst.push({
1474
- color: feature.loh.color,
1475
- opacity: (i.segmean - this.min_loh) / loh_range
1476
- });
1477
- }
1478
- }
1479
- if (itd.length) {
1480
- for (const i of itd) {
1481
- lst.push({ color: feature.itd.color });
1482
- }
1483
- }
1484
- if (sv.length) {
1485
- for (const i of sv) {
1486
- lst.push({ color: feature.sv.color });
1487
- }
1488
- }
1489
- if (fusion.length) {
1490
- for (const i of fusion) {
1491
- lst.push({ color: feature.fusion.color });
1492
- }
1493
- }
1494
- if (snvindel.length) {
1495
- for (const i of snvindel) {
1496
- lst.push({ color: mclass[i.m.class].color });
1497
- }
1498
- }
1499
- const f_len = this.features_on_rows ? height / lst.length : width / lst.length;
1500
- let f_start = 0;
1501
- for (const i of lst) {
1502
- const r = g.append("rect").attr("x", this.features_on_rows ? 0 : f_start).attr("y", this.features_on_rows ? f_start : 0).attr("width", this.features_on_rows ? width : f_len).attr("height", this.features_on_rows ? f_len : height).attr("fill", i.color).attr("shape-rendering", "crispEdges");
1503
- if (i.opacity) r.attr("opacity", i.opacity);
1504
- f_start += f_len;
1505
- }
1506
- }
1507
- // __newattr draw cell for new feature
1508
- /*********** __draw ends *****/
1509
- async click_cell(sample, feature) {
1510
- try {
1511
- let svcnvtk;
1512
- if (this.iscustom) {
1513
- svcnvtk = {
1514
- iscustom: true,
1515
- type: tkt.mdssvcnv,
1516
- singlesample: {
1517
- name: sample.name
1518
- }
1519
- };
1520
- for (const k in this.querykey2tracks) {
1521
- const t = this.querykey2tracks[k];
1522
- if (t.type == tkt.mdssvcnv) {
1523
- svcnvtk.name = t.name || "Custom tk";
1524
- svcnvtk.file = t.file;
1525
- svcnvtk.url = t.url;
1526
- svcnvtk.indexURL = t.indexURL;
1527
- } else if (t.type == tkt.mdsvcf) {
1528
- svcnvtk.checkvcf = {
1529
- file: t.file,
1530
- url: t.url,
1531
- indexURL: t.indexURL
1532
- };
1533
- } else if (t.type == tkt.mdsexpression) {
1534
- svcnvtk.checkexpressionrank = {
1535
- file: t.file,
1536
- url: t.url,
1537
- indexURL: t.indexURL
1538
- };
1539
- }
1540
- }
1541
- } else {
1542
- if (!this.mds) throw "not custom but .mds{} missing";
1543
- for (const querykey in this.mds.queries) {
1544
- const tk = this.mds.queries[querykey];
1545
- if (tk.type == tkt.mdssvcnv) {
1546
- svcnvtk = {
1547
- mds: this.mds,
1548
- querykey,
1549
- singlesample: {
1550
- name: sample.name
1551
- }
1552
- };
1553
- for (const k in tk) svcnvtk[k] = tk[k];
1554
- break;
1555
- }
1556
- }
1557
- }
1558
- if (!svcnvtk) throw "cannot find a svcnv tk";
1559
- svcnvtk.bplengthUpperLimit = 0;
1560
- const pane = newpane({ x: 100, y: 100 });
1561
- const blockarg = {
1562
- jwt: this.jwt,
1563
- hostURL: this.hostURL,
1564
- nobox: 1,
1565
- genome: this.genome,
1566
- holder: pane.body,
1567
- chr: feature.chr,
1568
- start: feature.start,
1569
- stop: feature.stop,
1570
- tklst: []
1571
- };
1572
- first_genetrack_tolist(this.genome, blockarg.tklst);
1573
- blockarg.tklst.push(svcnvtk);
1574
- if (!this.iscustom) {
1575
- if (!this.dslabel) throw "not custom but dslabel missing";
1576
- const par = {
1577
- genome: this.genome.name,
1578
- dslabel: this.dslabel,
1579
- querykey: svcnvtk.querykey,
1580
- gettrack4singlesample: sample.name
1581
- };
1582
- const data = await dofetch("/mdssvcnv", par);
1583
- if (data.error) throw "Error checking for assay track: " + data.error;
1584
- if (data.tracks) {
1585
- for (const t of data.tracks) blockarg.tklst.push(t);
1586
- }
1587
- }
1588
- const _ = await import("./block-L53P4UGQ.js");
1589
- new _.Block(blockarg);
1590
- } catch (e) {
1591
- window.alert(e.message || e);
1592
- if (e.stack) console.log(e.stack);
1593
- }
1594
- }
1595
- /********** __menu and tooltip **********/
1596
- showTip_feature(f) {
1597
- this.tip.clear();
1598
- this.tipContent_feature(f, this.tip.d);
1599
- this.tip.showunder(event.target);
1600
- }
1601
- showMenu_feature(f) {
1602
- this.menu.showunder(event.target).clear();
1603
- this.tipContent_feature(f, this.menu.d);
1604
- this.menu.d.append("div").attr("class", "sja_menuoption").text("Remove this feature").on("click", () => {
1605
- this.menu.hide();
1606
- f.legend_tr.remove();
1607
- this.features.splice(
1608
- this.features.findIndex((i) => i.id == f.id),
1609
- 1
1610
- );
1611
- this.draw_matrix();
1612
- });
1613
- if (f.isgenevalue) return showMenu_isgenevalue(this, f);
1614
- if (f.iscnv) return showMenu_iscnv(this, f, f);
1615
- if (f.isloh) return showMenu_isloh(this, f, f);
1616
- if (f.ismutation) return showMenu_ismutation(this, f);
1617
- if (f.isitd) {
1618
- return;
1619
- }
1620
- if (f.issvfusion) {
1621
- return;
1622
- }
1623
- if (f.issvcnv) {
1624
- return;
1625
- }
1626
- if (f.issampleattribute) {
1627
- return;
1628
- }
1629
- }
1630
- tipContent_feature(f, holder) {
1631
- holder.append("div").text(f.label).style("opacity", 0.5).style("font-size", ".7em").style("margin", "10px");
1632
- if (f.isgenevalue || f.iscnv || f.isloh || f.isitd || f.issvfusion) {
1633
- holder.append("div").html(f.chr + ":" + f.start + "-" + f.stop + " &nbsp; " + bplen(f.stop - f.start)).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
1634
- } else if (f.issvcnv || f.ismutation) {
1635
- if (!f.genename) {
1636
- holder.append("div").html(f.chr + ":" + f.start + "-" + f.stop + " &nbsp; " + bplen(f.stop - f.start)).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
1637
- }
1638
- } else if (f.issampleattribute) {
1639
- holder.append("div").text(f.label);
1640
- }
1641
- if (f.isgenevalue) {
1642
- holder.append("div").text("Min: " + f.scale.minv + ", max: " + f.scale.maxv).style("font-size", ".7em").style("opacity", 0.5).style("margin", "0px 10px 10px 10px");
1643
- }
1644
- }
1645
- showTip_sample(sample) {
1646
- this.tip.clear().d.append("div").text(sample.name).style("padding", "10px").style("font-size", ".7em");
1647
- const lst = [];
1648
- for (const f of this.features) {
1649
- if (lst.length > 10) {
1650
- lst.push({ k: "more", v: "..." });
1651
- break;
1652
- }
1653
- if (f.isgenevalue) {
1654
- const v = f.items.find((i) => i.sample == sample.name);
1655
- lst.push({ k: f.label, v: v ? v.value : saynovalue });
1656
- continue;
1657
- }
1658
- if (f.iscnv) {
1659
- const items = f.items.filter((i) => i.sample == sample.name);
1660
- let text;
1661
- if (items.length == 0) {
1662
- text = saynovalue;
1663
- } else {
1664
- const lst2 = items.map((i) => {
1665
- return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + (i.value > 0 ? f.colorgain : f.colorloss) + ';color:white;padding:1px 5px">' + i.value + "</span></div>";
1666
- });
1667
- text = lst2.join("");
1668
- }
1669
- lst.push({ k: f.label, v: text });
1670
- continue;
1671
- }
1672
- if (f.isloh) {
1673
- const items = f.items.filter((i) => i.sample == sample.name);
1674
- let text;
1675
- if (items.length == 0) {
1676
- text = saynovalue;
1677
- } else {
1678
- const lst2 = items.map((i) => {
1679
- return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + f.color + ';color:white;padding:1px 5px">' + i.segmean + "</span></div>";
1680
- });
1681
- text = lst2.join("");
1682
- }
1683
- lst.push({ k: f.label, v: text });
1684
- continue;
1685
- }
1686
- if (f.isvcf) {
1687
- const mlst = getitemforsample_vcf(f, sample);
1688
- let text;
1689
- if (mlst.length == 0) {
1690
- text = saynovalue;
1691
- } else {
1692
- text = mlst.map((m) => {
1693
- return '<div><span style="color:' + mclass[m.class].color + '">' + m.mname + '</span> <span style="font-size:.7em;opacity:.5">' + mclass[m.class].label + "</span></div>";
1694
- }).join("");
1695
- }
1696
- lst.push({ k: f.label, v: text });
1697
- continue;
1698
- }
1699
- if (f.isitd) {
1700
- const items = f.items.filter((i) => i.sample == sample.name);
1701
- let text;
1702
- if (items.length == 0) {
1703
- text = saynovalue;
1704
- } else {
1705
- text = '<div style="background:' + f.color + ';width:20px">&nbsp;</div>';
1706
- }
1707
- lst.push({ k: f.label, v: text });
1708
- continue;
1709
- }
1710
- if (f.issvfusion) {
1711
- const items = f.items.filter((i) => i.sample == sample.name);
1712
- let text;
1713
- if (items.length == 0) {
1714
- text = saynovalue;
1715
- } else {
1716
- text = '<div style="background:' + f.color + ';width:20px">&nbsp;</div>';
1717
- }
1718
- lst.push({ k: f.label, v: text });
1719
- continue;
1720
- }
1721
- if (f.issvcnv) {
1722
- continue;
1723
- }
1724
- if (f.ismutation) {
1725
- continue;
1726
- }
1727
- if (f.issampleattribute) {
1728
- const item = f.items.find((i) => i.sample == sample.name);
1729
- if (item) {
1730
- lst.push({ k: f.label, v: item.value });
1731
- }
1732
- continue;
1733
- }
1734
- console.error("sample tooltip: Unknown feature type");
1735
- }
1736
- make_table_2col(this.tip.d, lst);
1737
- this.tip.show(event.clientX, event.clientY);
1738
- }
1739
- showTip_cell(sample, f) {
1740
- const lst = [{ k: "sample", v: sample.name }];
1741
- if (f.isgenevalue) {
1742
- const v = f.items.find((i) => i.sample == sample.name);
1743
- lst.push({ k: f.label, v: v ? v.value : saynovalue });
1744
- } else if (f.iscnv) {
1745
- const items = f.items.filter((i) => i.sample == sample.name);
1746
- let text;
1747
- if (items.length == 0) {
1748
- text = saynovalue;
1749
- } else {
1750
- const lst2 = items.map((i) => {
1751
- return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + (i.value > 0 ? f.colorgain : f.colorloss) + ';color:white;padding:1px 5px">' + i.value + "</span></div>";
1752
- });
1753
- text = lst2.join("");
1754
- }
1755
- lst.push({ k: f.label, v: text });
1756
- } else if (f.isloh) {
1757
- const items = f.items.filter((i) => i.sample == sample.name);
1758
- let text;
1759
- if (items.length == 0) {
1760
- text = saynovalue;
1761
- } else {
1762
- const lst2 = items.map((i) => {
1763
- return "<div>" + i.chr + ":" + i.start + "-" + i.stop + ' <span style="font-size:.7em">' + bplen(i.stop - i.start) + '</span> <span style="font-size:.8em;background:' + f.color + ';color:white;padding:1px 5px">' + i.segmean + "</span></div>";
1764
- });
1765
- text = lst2.join("");
1766
- }
1767
- lst.push({ k: f.label, v: text });
1768
- } else if (f.isvcf) {
1769
- const mlst = getitemforsample_vcf(f, sample);
1770
- let text;
1771
- if (mlst.length == 0) {
1772
- text = saynovalue;
1773
- } else {
1774
- text = mlst.map((m) => {
1775
- return '<div><span style="color:' + mclass[m.class].color + '">' + m.mname + '</span> <span style="font-size:.7em;opacity:.5">' + mclass[m.class].label + "</span></div>";
1776
- }).join("");
1777
- }
1778
- lst.push({ k: f.label, v: text });
1779
- } else if (f.isitd) {
1780
- const items = f.items.filter((i) => i.sample == sample.name);
1781
- let text;
1782
- if (items.length == 0) {
1783
- text = saynovalue;
1784
- } else {
1785
- const lst2 = items.map((i) => {
1786
- return "<div>" + i.chr + ":" + i.start + "-" + i.stop + " </div>";
1787
- });
1788
- text = lst2.join("");
1789
- }
1790
- lst.push({ k: f.label, v: text });
1791
- } else if (f.issvfusion) {
1792
- const items = f.items.filter((i) => i.sample == sample.name);
1793
- let text;
1794
- if (items.length == 0) {
1795
- text = saynovalue;
1796
- } else {
1797
- const lst2 = items.map((i) => {
1798
- return "<div>" + i.chrA + ":" + i.posA + " - " + i.chrB + ":" + i.posB + " </div>";
1799
- });
1800
- text = lst2.join("");
1801
- }
1802
- lst.push({ k: f.label, v: text });
1803
- } else if (f.issvcnv || f.ismutation) {
1804
- const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(f, sample);
1805
- if (cnv.length) {
1806
- lst.push({
1807
- k: (f.genename || f.label) + " CNV",
1808
- v: cnv.map((i) => {
1809
- return '<div><span style="background:' + (i.value > 0 ? f.cnv.colorgain : f.cnv.colorloss) + ';color:white;padding:0px 3px">' + i.value + '</span> <span style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + " &nbsp;&nbsp;" + bplen(i.stop - i.start) + "</span></div>";
1810
- }).join("")
1811
- });
1812
- }
1813
- if (loh.length) {
1814
- lst.push({
1815
- k: (f.genename || f.label) + " LOH",
1816
- v: loh.map((i) => {
1817
- return '<div><span style="background:' + f.loh.color + ';color:white;padding:0px 3px">' + i.segmean + '</span> <span style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + " &nbsp;&nbsp;" + bplen(i.stop - i.start) + "</span></div>";
1818
- }).join("")
1819
- });
1820
- }
1821
- if (itd.length) {
1822
- lst.push({
1823
- k: (f.genename || f.label) + " ITD",
1824
- v: itd.map((i) => {
1825
- return '<div style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + "</div>";
1826
- }).join("")
1827
- });
1828
- }
1829
- if (sv.length) {
1830
- lst.push({
1831
- k: (f.genename || f.label) + " SV",
1832
- v: sv.map((i) => {
1833
- return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " &gt; " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
1834
- }).join("")
1835
- });
1836
- }
1837
- if (fusion.length) {
1838
- lst.push({
1839
- k: (f.genename || f.label) + " fusion",
1840
- v: fusion.map((i) => {
1841
- return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " &gt; " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
1842
- }).join("")
1843
- });
1844
- }
1845
- if (snvindel.length) {
1846
- lst.push({
1847
- k: (f.genename || f.label) + " SNV/indel",
1848
- v: snvindel.map((m) => {
1849
- const c = mclass[m.m.class];
1850
- return '<div><span style="color:' + c.color + '">' + (m.m.mname || "") + '</span> <span style="font-size:.7em;opacity:.5">' + c.label + "</span></div>";
1851
- }).join("")
1852
- });
1853
- }
1854
- } else if (f.issampleattribute) {
1855
- const item = f.items.find((i) => i.sample == sample.name);
1856
- if (item) {
1857
- lst.push({
1858
- k: f.label,
1859
- v: item.value
1860
- });
1861
- }
1862
- } else {
1863
- console.error("cell tooltip: unknown feature type");
1864
- }
1865
- this.tip.clear();
1866
- make_table_2col(this.tip.d, lst);
1867
- this.tip.show(event.clientX, event.clientY);
1868
- }
1869
- /********** __menu ends **********/
1870
- sortsamplesbyfeatures() {
1871
- const sortbygenevalue = this.features.find((f) => f.isgenevalue && f.sort);
1872
- if (sortbygenevalue && sortbygenevalue.items) {
1873
- const sample2value = /* @__PURE__ */ new Map();
1874
- for (const i of sortbygenevalue.items) {
1875
- sample2value.set(i.sample, i.value);
1876
- }
1877
- this.samples.sort((i, j) => {
1878
- const vi = sample2value.has(i.name) ? sample2value.get(i.name) : sortbygenevalue.missingvalue;
1879
- const vj = sample2value.has(j.name) ? sample2value.get(j.name) : sortbygenevalue.missingvalue;
1880
- return vj - vi;
1881
- });
1882
- }
1883
- }
1884
- may_init_customvcf(tk) {
1885
- if (tk.info) return;
1886
- const arg = ["genome=" + this.genome.name];
1887
- if (tk.file) {
1888
- arg.push("file=" + tk.file);
1889
- } else {
1890
- arg.push("url=" + tk.url);
1891
- if (tk.indexURL) arg.push("indexURL=" + tk.indexURL);
1892
- }
1893
- return dofetch2("vcfheader?" + arg.join("&")).then((data) => {
1894
- const [info, format, samples, errs] = vcfparsemeta(data.metastr.split("\n"));
1895
- if (errs) throw "Error parsing VCF meta lines: " + errs.join("; ");
1896
- tk.info = info;
1897
- tk.format = format;
1898
- tk.samples = samples;
1899
- tk.nochr = data.nochr;
1900
- });
1901
- }
1902
- drawEmptycell(sample, feature, g) {
1903
- const height = this.features_on_rows ? feature.height : sample.height;
1904
- const width = this.features_on_rows ? sample.width : feature.width;
1905
- if (height < 5) return;
1906
- g.append("line").attr("x2", width).attr("y2", height).attr("stroke", "#ededed");
1907
- }
1908
- // end of class
1909
- };
1910
- function feature2arg(f) {
1911
- if (f.isgenevalue) {
1912
- return {
1913
- id: f.id,
1914
- isgenevalue: 1,
1915
- querykey: f.querykey,
1916
- genename: f.genename,
1917
- chr: f.chr,
1918
- start: f.start,
1919
- stop: f.stop
1920
- };
1921
- }
1922
- if (f.iscnv) {
1923
- return {
1924
- id: f.id,
1925
- iscnv: 1,
1926
- querykey: f.querykey,
1927
- chr: f.chr,
1928
- start: f.start,
1929
- stop: f.stop,
1930
- valuecutoff: f.valuecutoff,
1931
- focalsizelimit: f.focalsizelimit
1932
- };
1933
- }
1934
- if (f.isloh) {
1935
- return {
1936
- id: f.id,
1937
- isloh: 1,
1938
- querykey: f.querykey,
1939
- chr: f.chr,
1940
- start: f.start,
1941
- stop: f.stop,
1942
- valuecutoff: f.valuecutoff,
1943
- focalsizelimit: f.focalsizelimit
1944
- };
1945
- }
1946
- if (f.isvcf) {
1947
- return {
1948
- id: f.id,
1949
- isvcf: 1,
1950
- querykey: f.querykey,
1951
- chr: f.chr,
1952
- start: f.start,
1953
- stop: f.stop,
1954
- snvindel: {
1955
- excludeclasses: f.snvindel.excludeclasses
1956
- }
1957
- };
1958
- }
1959
- if (f.isitd) {
1960
- return {
1961
- id: f.id,
1962
- isitd: 1,
1963
- querykey: f.querykey,
1964
- chr: f.chr,
1965
- start: f.start,
1966
- stop: f.stop
1967
- };
1968
- }
1969
- if (f.issvfusion) {
1970
- return {
1971
- id: f.id,
1972
- issvfusion: 1,
1973
- querykey: f.querykey,
1974
- chr: f.chr,
1975
- start: f.start,
1976
- stop: f.stop
1977
- };
1978
- }
1979
- if (f.issvcnv || f.ismutation) {
1980
- const arg = {
1981
- id: f.id,
1982
- chr: f.chr,
1983
- start: f.start,
1984
- stop: f.stop,
1985
- cnv: {
1986
- hidden: f.cnv.hidden,
1987
- valuecutoff: f.cnv.valuecutoff,
1988
- focalsizelimit: f.cnv.focalsizelimit
1989
- },
1990
- loh: {
1991
- hidden: f.loh.hidden,
1992
- valuecutoff: f.loh.valuecutoff,
1993
- focalsizelimit: f.loh.focalsizelimit
1994
- },
1995
- itd: {
1996
- hidden: f.itd.hidden
1997
- },
1998
- sv: {
1999
- hidden: f.sv.hidden
2000
- },
2001
- fusion: {
2002
- hidden: f.fusion.hidden
2003
- },
2004
- snvindel: {
2005
- excludeclasses: f.snvindel.excludeclasses
2006
- }
2007
- };
2008
- if (f.issvcnv) {
2009
- arg.issvcnv = 1;
2010
- arg.querykey = f.querykey;
2011
- } else {
2012
- arg.ismutation = 1;
2013
- arg.querykeylst = f.querykeylst;
2014
- }
2015
- return arg;
2016
- }
2017
- if (f.issampleattribute) {
2018
- return {
2019
- id: f.id,
2020
- issampleattribute: 1,
2021
- key: f.key
2022
- };
2023
- }
2024
- throw "unknown feature type in making request parameter";
2025
- }
2026
- function getitemforsample_vcf(feature, sample) {
2027
- const mlst = [];
2028
- for (const m of feature.items) {
2029
- if (m.dt == dtsnvindel) {
2030
- if (m.sampledata.findIndex((i) => i.sampleobj.name == sample.name) != -1) {
2031
- mlst.push(m);
2032
- }
2033
- } else {
2034
- console.error("getitemforsample_vcf: unknown dt");
2035
- }
2036
- }
2037
- return mlst;
2038
- }
2039
- function getitemforsample_compound(feature, sample) {
2040
- const cnv = [], loh = [], itd = [], sv = [], fusion = [], snvindel = [];
2041
- for (const item of feature.items) {
2042
- if (item.dt == dtsnvindel) {
2043
- if (!item.sampledata) continue;
2044
- const m_sample = item.sampledata.find((s) => s.sampleobj.name == sample.name);
2045
- if (!m_sample) continue;
2046
- snvindel.push({
2047
- m: item,
2048
- m_sample
2049
- });
2050
- continue;
2051
- }
2052
- if (item.sample != sample.name) continue;
2053
- if (item.dt == dtcnv) {
2054
- cnv.push(item);
2055
- } else if (item.dt == dtloh) {
2056
- loh.push(item);
2057
- } else if (item.dt == dtitd) {
2058
- itd.push(item);
2059
- } else if (item.dt == dtsv) {
2060
- sv.push(item);
2061
- } else if (item.dt == dtfusionrna) {
2062
- fusion.push(item);
2063
- } else {
2064
- console.error("unknown dt: " + item.dt);
2065
- }
2066
- }
2067
- return [cnv, loh, itd, sv, fusion, snvindel];
2068
- }
2069
- function initfeature_polymutation(f) {
2070
- if (!f.width) f.width = 20;
2071
- if (!f.cnv) f.cnv = {};
2072
- if (!f.cnv.valuecutoff) f.cnv.valuecutoff = 0.2;
2073
- if (!Number.isInteger(f.cnv.focalsizelimit)) f.cnv.focalsizelimit = 2e6;
2074
- if (!f.cnv.colorgain) f.cnv.colorgain = default_cnvgaincolor;
2075
- if (!f.cnv.colorloss) f.cnv.colorloss = default_cnvlosscolor;
2076
- if (!f.loh) f.loh = {};
2077
- if (!f.loh.valuecutoff) f.loh.valuecutoff = 0.1;
2078
- if (!Number.isInteger(f.loh.focalsizelimit)) f.loh.focalsizelimit = 2e6;
2079
- if (!f.loh.color) f.loh.color = default_lohcolor;
2080
- if (!f.itd) f.itd = {};
2081
- if (!f.itd.color) f.itd.color = mclass[mclassitd].color;
2082
- if (!f.sv) f.sv = {};
2083
- if (!f.sv.color) f.sv.color = default_svcolor;
2084
- if (!f.fusion) f.fusion = {};
2085
- if (!f.fusion.color) f.fusion.color = default_svcolor;
2086
- if (!f.snvindel) f.snvindel = {};
2087
- if (!f.snvindel.excludeclasses) f.snvindel.excludeclasses = {};
2088
- }
2089
- function init_controlui(o) {
2090
- const buttonrow = o.holder.append("div").style("margin-bottom", "5px");
2091
- const folderdiv = o.holder.append("div").style("margin-bottom", "20px");
2092
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("LEGEND").attr("class", "sja_clbtext").on("click", () => {
2093
- if (o.legendtable.style("display") == "none") {
2094
- appear(o.legendtable);
2095
- } else {
2096
- disappear(o.legendtable);
2097
- }
2098
- });
2099
- o.legendtable = folderdiv.append("table").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("border-spacing", "10px").style("display", "none");
2100
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("CONFIG").attr("class", "sja_clbtext").on("click", () => {
2101
- if (generalconfig.style("display") == "none") {
2102
- appear(generalconfig);
2103
- } else {
2104
- disappear(generalconfig);
2105
- }
2106
- });
2107
- const generalconfig = folderdiv.append("div").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("display", "none");
2108
- const row = generalconfig.append("div").style("margin", "5px");
2109
- row.append("div").style("vertical-align", "top").style("display", "inline-block").html("Show features as &nbsp;&nbsp;");
2110
- const opts_div = row.append("div").style("display", "inline-block");
2111
- const mutation_opts = [
2112
- { value: "symbol", text: "CNV on genomic location, others as symbol" },
2113
- { value: "proportion", text: "All features as porportion" }
2114
- ];
2115
- mutation_opts.forEach((opt) => {
2116
- const opt_div = opts_div.append("div");
2117
- opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "mutaion_display").attr("value", opt.value).property(
2118
- "checked",
2119
- opt.value == "symbol" && o.ismutation_allsymbolic === void 0 && o.ismutation_allnotsymbolic === void 0 ? 1 : opt.value == "symbol" && o.ismutation_allnotsymbolic ? 1 : opt.value == "proportion" && o.ismutation_allsymbolic ? 1 : 0
2120
- ).on("change", function() {
2121
- if (opt.value == "symbol" && o.ismutation_allnotsymbolic) return;
2122
- else if (opt.value == "proportion" && o.ismutation_allsymbolic) return;
2123
- else if (opt.value == "symbol") {
2124
- delete o.ismutation_allsymbolic;
2125
- o.ismutation_allnotsymbolic = true;
2126
- } else if (opt.value == "proportion") {
2127
- o.ismutation_allsymbolic = true;
2128
- delete o.ismutation_allnotsymbolic;
2129
- } else {
2130
- return;
2131
- }
2132
- o.draw_matrix();
2133
- });
2134
- opt_div.append("label").attr("for", opt.value).text(opt.text);
2135
- });
2136
- const row2 = generalconfig.append("div").style("margin", "5px");
2137
- row2.append("div").style("vertical-align", "top").style("display", "inline-block").html("Layout of Matrix &nbsp;&nbsp;");
2138
- const opts_div2 = row2.append("div").style("display", "inline-block");
2139
- const layout_opts = [
2140
- { value: "gene_on_row", text: "Genes as Rows" },
2141
- { value: "sam_on_row", text: "Samples as Rows" }
2142
- ];
2143
- layout_opts.forEach((opt) => {
2144
- const opt_div = opts_div2.append("div");
2145
- opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "layout").attr("value", opt.value).property(
2146
- "checked",
2147
- opt.value == "gene_on_row" && o.features_on_rows ? 1 : opt.value == "sam_on_row" && !o.features_on_rows ? 1 : 0
2148
- ).on("change", function() {
2149
- if (opt.value == "gene_on_row" && o.features_on_rows) return;
2150
- else if (opt.value == "sam_on_row" && !o.features_on_rows) return;
2151
- else if (opt.value == "gene_on_row") {
2152
- o.features_on_rows = true;
2153
- if (o.ori_feature_width) o.features.forEach((f) => f.height = o.ori_feature_width);
2154
- } else {
2155
- o.features_on_rows = false;
2156
- if (o.ori_feature_height) o.features.forEach((f) => f.width = o.ori_feature_height);
2157
- }
2158
- o.draw_matrix();
2159
- });
2160
- opt_div.append("label").attr("for", opt.value).text(opt.text);
2161
- });
2162
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("DATA").attr("class", "sja_clbtext").on("click", () => {
2163
- printData(o);
2164
- });
2165
- may_add_kmplotbutton(o, buttonrow);
2166
- }
2167
- function printData(o) {
2168
- const lst = ["sample feature varianttype variant"];
2169
- for (const s of o.samples) {
2170
- for (const f of o.features) {
2171
- for (const i of f.items) {
2172
- if (i.sample && i.sample == s.name || i.sampledata && i.sampledata.findIndex((i2) => i2.sampleobj.name == s.name) != -1) {
2173
- lst.push(s.name + " " + f.label + " " + dt2label[i.dt] + " " + item2string(i));
2174
- }
2175
- }
2176
- }
2177
- }
2178
- export_data("Matrix data", [{ text: lst.join("\n") }]);
2179
- }
2180
- function item2string(i) {
2181
- if (i.dt == dtsnvindel)
2182
- return i.mname + " " + mclass[i.class].label + " " + i.chr + "." + i.pos + "." + i.ref + "." + i.alt;
2183
- if (i.dt == dtfusionrna || i.dt == dtsv)
2184
- return i.chrA + "." + i.posA + "." + (i.strandA || "") + " > " + i.chrB + "." + i.posB + "." + (i.strandB || "");
2185
- if (i.dt == dtcnv) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.value;
2186
- if (i.dt == dtloh) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.segmean;
2187
- if (i.dt == dtitd) return i.chr + ":" + i.start + "-" + i.stop;
2188
- return "";
2189
- }
2190
- export {
2191
- Samplematrix
2192
- };
2193
- //# sourceMappingURL=samplematrix-XOSKILUL.js.map