@sjcrh/proteinpaint-client 2.187.0 → 2.188.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 (963) hide show
  1. package/dist/2dmaf-6YIEXAIG.js +1372 -0
  2. package/dist/AIProjectAdmin-5K5NIQNT.js +828 -0
  3. package/dist/AppHeader-4SN5M6SZ.js +834 -0
  4. package/dist/BoxPlot-DBJA6TQF.js +1218 -0
  5. package/dist/CorrelationVolcano-MDMTMTT5.js +618 -0
  6. package/dist/DE-S5AFNI4I.js +94 -0
  7. package/dist/DEinput-XVBBA74N.js +300 -0
  8. package/dist/DifferentialAnalysis-TUBGPAB2.js +244 -0
  9. package/dist/DifferentialAnalysis-TUBGPAB2.js.map +7 -0
  10. package/dist/Disco-VV7FQ7WW.js +3236 -0
  11. package/dist/Disco.UI-JDJFJFEY.js +244 -0
  12. package/dist/DmrPlot-XOG67W74.js +641 -0
  13. package/dist/GB-K3AWZQFF.js +1129 -0
  14. package/dist/GeneExpInput-Y7MDS2CA.js +365 -0
  15. package/dist/HicApp-53OTZ3YU.js +2249 -0
  16. package/dist/NumBinaryEditor-SB4YR3JM.js +269 -0
  17. package/dist/NumBinaryEditor.unit.spec-V2W2OZYP.js +285 -0
  18. package/dist/NumContEditor-RZZBM7PR.js +106 -0
  19. package/dist/NumContEditor.unit.spec-GAAW3ZZN.js +168 -0
  20. package/dist/NumCustomBinEditor-GFCGPRPI.js +37 -0
  21. package/dist/NumCustomBinEditor.unit.spec-24MXSO3L.js +283 -0
  22. package/dist/NumDiscreteEditor-HAHIOFNC.js +178 -0
  23. package/dist/NumDiscreteEditor.unit.spec-JYN2CWSI.js +201 -0
  24. package/dist/NumRegularBinEditor-7DOE64RB.js +37 -0
  25. package/dist/NumRegularBinEditor.unit.spec-2WU4GGNT.js +226 -0
  26. package/dist/NumSplineEditor-JLRD5TVX.js +191 -0
  27. package/dist/NumSplineEditor.unit.spec-LOG7CECJ.js +198 -0
  28. package/dist/NumericDensity-IDOP7I34.js +37 -0
  29. package/dist/NumericDensity.unit.spec-HTJQRPVH.js +220 -0
  30. package/dist/NumericHandler-DWVVGLLB.js +38 -0
  31. package/dist/NumericHandler.unit.spec-BDDFTHOF.js +218 -0
  32. package/dist/ProteomeInput-PK4ZM3SZ.js +395 -0
  33. package/dist/ProteomeInput-PK4ZM3SZ.js.map +7 -0
  34. package/dist/RunChart2-PBJ56YX3.js +757 -0
  35. package/dist/SC-UC3HP2MY.js +830 -0
  36. package/dist/SC-UC3HP2MY.js.map +7 -0
  37. package/dist/Volcano-BZJCA53R.js +1314 -0
  38. package/dist/Volcano-BZJCA53R.js.map +7 -0
  39. package/dist/WSIViewer-OHOP2DZT.js +48475 -0
  40. package/dist/WSIViewer-OHOP2DZT.js.map +7 -0
  41. package/dist/WsiSamplesPlot-FOMPMEXK.js +164 -0
  42. package/dist/adSandbox-SRPPCYYR.js +37 -0
  43. package/dist/alphaGenome-IS2WAJCK.js +174 -0
  44. package/dist/app-GTHYSGWI.js +36 -0
  45. package/dist/app-XEKETNLG.js +48 -0
  46. package/dist/app.js +20 -20
  47. package/dist/bam-GQBFL6A7.js +859 -0
  48. package/dist/barchart-AESC4JSX.js +46 -0
  49. package/dist/barchart.data-RE34IC4G.js +22 -0
  50. package/dist/barchart.events-KM4J5ISO.js +46 -0
  51. package/dist/barchart.integration.spec-DFVSBGO3.js +1676 -0
  52. package/dist/barchart2-NNTL4RQZ.js +310 -0
  53. package/dist/block-EHZM3FUX.js +6201 -0
  54. package/dist/block.init-EAEFNNF6.js +37 -0
  55. package/dist/block.mds.expressionrank-ZBHA2CFE.js +358 -0
  56. package/dist/block.mds.geneboxplot-4ZU3QUAK.js +827 -0
  57. package/dist/block.mds.junction-PDH55JXO.js +1544 -0
  58. package/dist/block.mds.svcnv-QWBU54XQ.js +6800 -0
  59. package/dist/block.svg-HUGBYWXU.js +163 -0
  60. package/dist/block.tk.aicheck-SDCWXQZF.js +282 -0
  61. package/dist/block.tk.ase-HMUTHCJS.js +364 -0
  62. package/dist/block.tk.bam-Q7B2YQLI.js +1905 -0
  63. package/dist/block.tk.bedgraphdot-QBGBSVHN.js +383 -0
  64. package/dist/block.tk.bigwig.ui-767A3MUH.js +211 -0
  65. package/dist/block.tk.hicstraw-LEZUZHLF.js +822 -0
  66. package/dist/block.tk.junction-GQHCZOYR.js +2363 -0
  67. package/dist/block.tk.junction.textmatrixui-D5QUO7KQ.js +198 -0
  68. package/dist/block.tk.ld-E3MHZOG5.js +98 -0
  69. package/dist/block.tk.menu-XE7PFYGR.js +1028 -0
  70. package/dist/block.tk.pgv-MPPMPDED.js +943 -0
  71. package/dist/brainImaging-YQ443NOL.js +422 -0
  72. package/dist/chunk-26WXJBSR.js +228 -0
  73. package/dist/chunk-2P6Z7JFC.js +119 -0
  74. package/dist/chunk-2QQO4RRD.js +2681 -0
  75. package/dist/chunk-2T7VYQLY.js +281 -0
  76. package/dist/chunk-2T7VYQLY.js.map +7 -0
  77. package/dist/chunk-2XPDA6NL.js +20652 -0
  78. package/dist/chunk-2XPDA6NL.js.map +7 -0
  79. package/dist/chunk-37ARSZOI.js +2815 -0
  80. package/dist/chunk-42Q53PXE.js +381 -0
  81. package/dist/chunk-46ASPS5Y.js +386 -0
  82. package/dist/chunk-4KPI7PB5.js +142 -0
  83. package/dist/chunk-4MDNMCGZ.js +102 -0
  84. package/dist/chunk-5IG3E4DT.js +272 -0
  85. package/dist/chunk-5MIR7IHI.js +52 -0
  86. package/dist/chunk-5MZVXJVA.js +55 -0
  87. package/dist/chunk-66D5GRS5.js +263 -0
  88. package/dist/chunk-6ATE2TRC.js +534 -0
  89. package/dist/chunk-6BFR6MK3.js +158 -0
  90. package/dist/chunk-6NJMCO4X.js +335 -0
  91. package/dist/chunk-6ON5KAMO.js +54 -0
  92. package/dist/chunk-76GPYMHZ.js +102 -0
  93. package/dist/chunk-7AAFBFOH.js +147 -0
  94. package/dist/chunk-7OOZHEUC.js +302 -0
  95. package/dist/chunk-A4VLWLYF.js +226 -0
  96. package/dist/chunk-A6EFWGWD.js +444 -0
  97. package/dist/chunk-ALW5XXVW.js +170 -0
  98. package/dist/chunk-ANCT2BGO.js +34 -0
  99. package/dist/chunk-AROMXWCY.js +291 -0
  100. package/dist/chunk-AY4UBGLC.js +815 -0
  101. package/dist/chunk-B43MTEYB.js +84 -0
  102. package/dist/chunk-B43MTEYB.js.map +7 -0
  103. package/dist/chunk-BMVLR3TM.js +1210 -0
  104. package/dist/chunk-BR7JA2EO.js +621 -0
  105. package/dist/chunk-C3SYSMNE.js +42 -0
  106. package/dist/chunk-C3SYSMNE.js.map +7 -0
  107. package/dist/chunk-D3HJXMTH.js +17 -0
  108. package/dist/chunk-DKUEZ4XD.js +205 -0
  109. package/dist/chunk-DT3MMC5U.js +31 -0
  110. package/dist/chunk-DYVKN7EE.js +5000 -0
  111. package/dist/chunk-EF37UZY6.js +37 -0
  112. package/dist/chunk-ESXMS7FW.js +229 -0
  113. package/dist/chunk-FDK4UJMN.js +263 -0
  114. package/dist/chunk-FDK4UJMN.js.map +7 -0
  115. package/dist/chunk-FUSVXQ6C.js +368 -0
  116. package/dist/chunk-G7JRRTS5.js +170 -0
  117. package/dist/chunk-G7JRRTS5.js.map +7 -0
  118. package/dist/chunk-GHWHLSUX.js +192 -0
  119. package/dist/chunk-GHWHLSUX.js.map +7 -0
  120. package/dist/chunk-GXKVAPGP.js +2786 -0
  121. package/dist/chunk-H4JIENLQ.js +39 -0
  122. package/dist/chunk-H7YJG4YM.js +470 -0
  123. package/dist/chunk-I24KPIDD.js +148 -0
  124. package/dist/chunk-IENFDUWD.js +203 -0
  125. package/dist/chunk-IKHIY6IZ.js +2327 -0
  126. package/dist/chunk-IKHIY6IZ.js.map +7 -0
  127. package/dist/chunk-J7BISJTL.js +50 -0
  128. package/dist/chunk-J7KYOSEK.js +824 -0
  129. package/dist/chunk-JGPZ5254.js +371 -0
  130. package/dist/chunk-JUIPCWAM.js +194 -0
  131. package/dist/chunk-LO4NMQ7W.js +293 -0
  132. package/dist/chunk-LSSLS5HV.js +95 -0
  133. package/dist/chunk-MDLRB3MR.js +407 -0
  134. package/dist/chunk-MJLKGZ27.js +129 -0
  135. package/dist/chunk-MYWJQRTD.js +1849 -0
  136. package/dist/chunk-MYWJQRTD.js.map +7 -0
  137. package/dist/chunk-NL5T3SBK.js +4209 -0
  138. package/dist/chunk-NMBIT4IK.js +46 -0
  139. package/dist/chunk-NMBIT4IK.js.map +7 -0
  140. package/dist/chunk-ONAYJVN2.js +217 -0
  141. package/dist/chunk-PP7K4R2E.js +141 -0
  142. package/dist/chunk-PP7K4R2E.js.map +7 -0
  143. package/dist/chunk-PSMFOARZ.js +14 -0
  144. package/dist/chunk-QX3GF2IA.js +514 -0
  145. package/dist/chunk-QZ2U4BOS.js +1159 -0
  146. package/dist/chunk-RBZBBNLL.js +1087 -0
  147. package/dist/chunk-RQ2ZJ66W.js +276 -0
  148. package/dist/chunk-RQ2ZJ66W.js.map +7 -0
  149. package/dist/chunk-RZTFQXWV.js +117 -0
  150. package/dist/chunk-SJC2C77V.js +177 -0
  151. package/dist/chunk-THUXB7EE.js +698 -0
  152. package/dist/chunk-THUXB7EE.js.map +7 -0
  153. package/dist/chunk-TVXVP4M6.js +215 -0
  154. package/dist/chunk-UTDPKDIY.js +482 -0
  155. package/dist/chunk-UVIUB7QI.js +280 -0
  156. package/dist/chunk-VAUSRBL5.js +6364 -0
  157. package/dist/chunk-VP3IZVQA.js +54 -0
  158. package/dist/chunk-VP3IZVQA.js.map +7 -0
  159. package/dist/chunk-WP22GYZ2.js +446 -0
  160. package/dist/chunk-WUNX3VST.js +1271 -0
  161. package/dist/chunk-X7GDCYND.js +1561 -0
  162. package/dist/chunk-X7GDCYND.js.map +7 -0
  163. package/dist/chunk-XB3V6S2X.js +1230 -0
  164. package/dist/chunk-XB3V6S2X.js.map +7 -0
  165. package/dist/chunk-XD4TBJK2.js +455 -0
  166. package/dist/chunk-Y6DSXMPB.js +121 -0
  167. package/dist/chunk-YBIZRASR.js +252 -0
  168. package/dist/chunk-YI2YH7ZK.js +158 -0
  169. package/dist/chunk-YLDE3PVC.js +1943 -0
  170. package/dist/chunk-Z736NYXL.js +26 -0
  171. package/dist/chunk-ZEJB7CPC.js +95 -0
  172. package/dist/chunk-ZGWEBKZ4.js +100 -0
  173. package/dist/condition-FSF6ROJV.js +331 -0
  174. package/dist/controls-OPSBFDFZ.js +40 -0
  175. package/dist/controls.config-3QRV5363.js +38 -0
  176. package/dist/correlation-WLOI7Z35.js +97 -0
  177. package/dist/cuminc-G2UGJUUA.js +1148 -0
  178. package/dist/cuminc.integration.spec-X5NEZ6S5.js +677 -0
  179. package/dist/customdata.inputui-RNW3AO3Z.js +288 -0
  180. package/dist/dataDownload-4U3TGDMH.js +329 -0
  181. package/dist/dataDownload.integration.spec-6FUI2SJ4.js +192 -0
  182. package/dist/databrowser.ui-4GVJVJWG.js +432 -0
  183. package/dist/dictionary-NSDS7Z4K.js +110 -0
  184. package/dist/dnaMethylation-OYQB75LD.js +37 -0
  185. package/dist/dnaMethylation.integration.spec-6TTLV34N.js +202 -0
  186. package/dist/dofetch-4TO3QMT6.js +50 -0
  187. package/dist/e2pca-NYBVR6PL.js +349 -0
  188. package/dist/ep-RTDVEA4D.js +1255 -0
  189. package/dist/expclust.gdc.spec-JVIRESTP.js +306 -0
  190. package/dist/facet-OVBF2QMO.js +520 -0
  191. package/dist/forms2-HTLS54CX.js +533 -0
  192. package/dist/gb-Y3546HMZ.js +87 -0
  193. package/dist/geneExpClustering-PH3PWH3K.js +248 -0
  194. package/dist/geneExpression-2Z2EV3XM.js +37 -0
  195. package/dist/geneExpression-6CFXOCGW.js +312 -0
  196. package/dist/geneExpression.unit.spec-WKUTHRHC.js +101 -0
  197. package/dist/geneORA-SHLZESLB.js +277 -0
  198. package/dist/geneVariant-FHZUIFPM.js +38 -0
  199. package/dist/geneVariant-Y7ZUBEOX.js +40 -0
  200. package/dist/geneVariant.integration.spec-N7TZUOY3.js +197 -0
  201. package/dist/genefusion.ui-7PDVZPZ2.js +308 -0
  202. package/dist/geneset-HLVOGYUI.js +202 -0
  203. package/dist/genomeBrowser.spec-7IVIMUR5.js +280 -0
  204. package/dist/grin2-2GNWIYFU.js +845 -0
  205. package/dist/grin2-2GNWIYFU.js.map +7 -0
  206. package/dist/grin2-Z5O7254R.js +1555 -0
  207. package/dist/gsea-TFC3MBRW.js +46 -0
  208. package/dist/hierCluster-ERSE5I4I.js +62 -0
  209. package/dist/hierCluster-QQZQU5ZG.js +58 -0
  210. package/dist/hierCluster.config-WPINWW37.js +39 -0
  211. package/dist/hierCluster.integration.spec-Y6OHSKPW.js +394 -0
  212. package/dist/hierCluster.interactivity-HS3G5QC5.js +53 -0
  213. package/dist/hierCluster.renderers-W63ZKZTT.js +21 -0
  214. package/dist/imagePlot-QFVN25PM.js +162 -0
  215. package/dist/importPlot-MIDM5APH.js +8 -0
  216. package/dist/isoformExpression-L4TRNT4A.js +39 -0
  217. package/dist/isoformExpression.unit.spec-QQG323LA.js +207 -0
  218. package/dist/launch.adhoc-4NQ6GGGL.js +41 -0
  219. package/dist/leftlabel.sample-JU7AIPZL.js +259 -0
  220. package/dist/legacyDataset-TT4CHF23.js +119 -0
  221. package/dist/lollipop-JG74M6PJ.js +170 -0
  222. package/dist/maf-PDL2EGHI.js +451 -0
  223. package/dist/maftimeline-V43NQEEE.js +592 -0
  224. package/dist/matrix-EB2EFP4S.js +57 -0
  225. package/dist/matrix-Q57FU5FE.js +62 -0
  226. package/dist/matrix.cells-NJIMPD32.js +28 -0
  227. package/dist/matrix.config-GLDEQD3H.js +40 -0
  228. package/dist/matrix.data-6SHAKOQU.js +25 -0
  229. package/dist/matrix.groups-MTDEANQA.js +26 -0
  230. package/dist/matrix.integration.spec-JCZ5VQJU.js +3071 -0
  231. package/dist/matrix.interactivity-SVRNWL6V.js +41 -0
  232. package/dist/matrix.layout-2HREO42N.js +43 -0
  233. package/dist/matrix.legend-QHVKT3MP.js +22 -0
  234. package/dist/matrix.renderers-IYR3ZY6V.js +37 -0
  235. package/dist/matrix.serieses-2VMTQXL2.js +21 -0
  236. package/dist/matrix.sort-PWA2RQQR.js +27 -0
  237. package/dist/matrix.sort.unit.spec-3OYIPTFY.js +471 -0
  238. package/dist/matrix.sorterUi-Y5QLO75X.js +18 -0
  239. package/dist/matrix.sorterUi.unit.spec-BNEXQHLP.js +341 -0
  240. package/dist/mavb-IZDDU4KK.js +731 -0
  241. package/dist/mds.fimo-FWBL7JE6.js +517 -0
  242. package/dist/mds.samplescatterplot-T47C7DJB.js +1549 -0
  243. package/dist/mds.survivalplot-MFZJCGS6.js +482 -0
  244. package/dist/numericDictTermCluster-I2W67RGA.js +72 -0
  245. package/dist/oncomatrix-6W7IBAED.js +294 -0
  246. package/dist/oncomatrix.spec-CEFH5IGH.js +447 -0
  247. package/dist/plot.2dvaf-BN6CFLNU.js +376 -0
  248. package/dist/plot.app-7EYWUCZV.js +40 -0
  249. package/dist/plot.barplot-MDIARSQD.js +101 -0
  250. package/dist/plot.boxplot-RUHGXC54.js +151 -0
  251. package/dist/plot.brainImaging-JEE32ZBV.js +51 -0
  252. package/dist/plot.disco-2RPNPX6E.js +101 -0
  253. package/dist/plot.dzi-7VTYYGGW.js +33 -0
  254. package/dist/plot.ssgq-FHE5KU5C.js +138 -0
  255. package/dist/plot.vaf2cov-WDJJM5Q4.js +258 -0
  256. package/dist/plot.wsi-FQZWHNSF.js +36 -0
  257. package/dist/polar-M7EGINN4.js +185 -0
  258. package/dist/polar2-JFYY43K2.js +227 -0
  259. package/dist/profile.spec-SIOHASOX.js +79 -0
  260. package/dist/profileBarchart-6JLEKVJV.js +266 -0
  261. package/dist/profileForms-G6CH73RV.js +440 -0
  262. package/dist/profilePlot-NQYJOBVV.js +53 -0
  263. package/dist/profileRadar-4TNWIXDB.js +262 -0
  264. package/dist/profileRadarFacility-XPH3LCBQ.js +262 -0
  265. package/dist/proteinView-OZLHO45J.js +1222 -0
  266. package/dist/proteinView-OZLHO45J.js.map +7 -0
  267. package/dist/proteomeAbundance-NQ4635NL.js +12 -0
  268. package/dist/proteomeAbundance-OV24UTZN.js +59 -0
  269. package/dist/proteomeAbundance-OV24UTZN.js.map +7 -0
  270. package/dist/qualitative-DL4WJG3O.js +42 -0
  271. package/dist/radar2-YNOQWHBT.js +315 -0
  272. package/dist/radarFacility2-24UPSI7S.js +324 -0
  273. package/dist/regression-URAUTLTD.js +55 -0
  274. package/dist/regression.inputs-UDVOU7FB.js +47 -0
  275. package/dist/regression.inputs.term-BWW6W34R.js +47 -0
  276. package/dist/regression.inputs.values.table-UKGIZTXG.js +44 -0
  277. package/dist/regression.integration.spec-EBHQTNA3.js +783 -0
  278. package/dist/regression.results-XTOSWIP6.js +39 -0
  279. package/dist/regression.spec-KG2I53VR.js +707 -0
  280. package/dist/report-KH7SNPVF.js +221 -0
  281. package/dist/sampleScatter.spec-PIXGS3LG.js +201 -0
  282. package/dist/sampleView-TWS6VT55.js +47 -0
  283. package/dist/samplelst-6AB5Y4WR.js +110 -0
  284. package/dist/samplematrix-AJAF555E.js +2197 -0
  285. package/dist/sc-PMNYZKXA.js +85 -0
  286. package/dist/scatter-Q2GH3ZJD.js +801 -0
  287. package/dist/scatter.integration.spec-SMMYKWH3.js +1195 -0
  288. package/dist/selectGenomeWithTklst-VE4SDYY7.js +133 -0
  289. package/dist/singleCellCellType-S324GCKW.js +37 -0
  290. package/dist/singleCellCellType.unit.spec-NXC2GELH.js +159 -0
  291. package/dist/singleCellGeneExpression-6H4HRKIA.js +37 -0
  292. package/dist/singleCellGeneExpression.unit.spec-HIJXVUWJ.js +152 -0
  293. package/dist/singleCellPlot-H7PCZ2DP.js +52 -0
  294. package/dist/singlecell-4LH3MQVL.js +85 -0
  295. package/dist/singlecell-MOSYT3RI.js +1571 -0
  296. package/dist/snp-IKLGTD4Q.js +37 -0
  297. package/dist/snp.unit.spec-GC74MUVM.js +175 -0
  298. package/dist/snplocus-RIABFSBQ.js +207 -0
  299. package/dist/spliceevent.a53ss.diagram-4E2IYYHL.js +150 -0
  300. package/dist/spliceevent.exonskip.diagram-C56R6XLQ.js +276 -0
  301. package/dist/spliceevent.noeventdiagram-SIPMAKXI.js +459 -0
  302. package/dist/ssGSEA-5QNHLSOI.js +37 -0
  303. package/dist/ssGSEA.unit.spec-KVPN553B.js +87 -0
  304. package/dist/summarizeCnvGeneexp-K4VGJSW6.js +162 -0
  305. package/dist/summarizeGeneexpSurvival-HGHX65FN.js +107 -0
  306. package/dist/summarizeMutationCnv-3K4Z6R2X.js +163 -0
  307. package/dist/summarizeMutationDiagnosis-M2MHUPRT.js +39 -0
  308. package/dist/summarizeMutationSurvival-WVBUP3GA.js +98 -0
  309. package/dist/summary-RZHZXCU5.js +48 -0
  310. package/dist/summary.integration.spec-FGZP7DY7.js +413 -0
  311. package/dist/summaryInput-UGM7MMCR.js +234 -0
  312. package/dist/sunburst-L27U7LV7.js +283 -0
  313. package/dist/survival-5ZMEBV6O.js +57 -0
  314. package/dist/survival-JWRRGTJT.js +45 -0
  315. package/dist/survival.integration.spec-Z5542I4V.js +801 -0
  316. package/dist/svgraph-O6ZVLNNN.js +1386 -0
  317. package/dist/svmr-ULFV7OSH.js +3841 -0
  318. package/dist/table-CHRQH2GH.js +199 -0
  319. package/dist/termCollection-FAO6ZA6F.js +178 -0
  320. package/dist/termCollection-GBXS3GOY.js +37 -0
  321. package/dist/termCollection.unit.spec-4WRTOV6E.js +207 -0
  322. package/dist/tk-KNUBWRNK.js +45 -0
  323. package/dist/tp.ui-2PPYOQYL.js +1458 -0
  324. package/dist/tvs.density-BZ5SKDQS.js +18 -0
  325. package/dist/tvs.dt-TDNSTGQR.js +38 -0
  326. package/dist/tvs.dtcnv.categorical-P2IGIE4I.js +39 -0
  327. package/dist/tvs.dtcnv.continuous-2XUCRBDR.js +71 -0
  328. package/dist/tvs.dtfusion-PRHZVMOG.js +39 -0
  329. package/dist/tvs.dtsnvindel-KGKBW5JS.js +39 -0
  330. package/dist/tvs.dtsv-M3CY5TZF.js +39 -0
  331. package/dist/tvs.numeric-W74JCC5P.js +21 -0
  332. package/dist/tvs.samplelst-BTWFBBAN.js +103 -0
  333. package/dist/tvs.termCollection-Y64QIKOA.js +158 -0
  334. package/dist/violin-3LLHHV3L.js +45 -0
  335. package/dist/violin.integration.spec-6NF5FDLQ.js +1424 -0
  336. package/dist/violin.interactivity-W2AKZ24D.js +37 -0
  337. package/dist/violin.renderer-CRFYYZRI.js +39 -0
  338. package/dist/vocabulary-AUJOAVYS.js +40 -0
  339. package/package.json +4 -3
  340. package/dist/2dmaf-DTWWXOZC.js +0 -1372
  341. package/dist/AIProjectAdmin-BCYIWOXD.js +0 -828
  342. package/dist/AppHeader-H3L2MRWP.js +0 -834
  343. package/dist/BoxPlot-INZ6IN3V.js +0 -1218
  344. package/dist/CorrelationVolcano-AK3XW4ZH.js +0 -618
  345. package/dist/DE-IBSFUKNG.js +0 -94
  346. package/dist/DEinput-H4GMQWDY.js +0 -300
  347. package/dist/DifferentialAnalysis-3DSL5LQC.js +0 -243
  348. package/dist/DifferentialAnalysis-3DSL5LQC.js.map +0 -7
  349. package/dist/Disco-5PXXMGGQ.js +0 -3236
  350. package/dist/Disco.UI-23LOT2U6.js +0 -244
  351. package/dist/DmrPlot-PBCU2XNF.js +0 -641
  352. package/dist/GB-HIEPWNPV.js +0 -1129
  353. package/dist/GeneExpInput-A4JNX7PU.js +0 -365
  354. package/dist/HicApp-IDH2A4BC.js +0 -2249
  355. package/dist/NumBinaryEditor-CZ54X7J3.js +0 -269
  356. package/dist/NumBinaryEditor.unit.spec-QLBRM7MJ.js +0 -285
  357. package/dist/NumContEditor-Z5MGLQ2I.js +0 -106
  358. package/dist/NumContEditor.unit.spec-TR7D7ULV.js +0 -168
  359. package/dist/NumCustomBinEditor-B7JID42Y.js +0 -37
  360. package/dist/NumCustomBinEditor.unit.spec-GZJIVY4K.js +0 -283
  361. package/dist/NumDiscreteEditor-LWHZ36T6.js +0 -178
  362. package/dist/NumDiscreteEditor.unit.spec-QCQCMEWO.js +0 -201
  363. package/dist/NumRegularBinEditor-IATRIUKD.js +0 -37
  364. package/dist/NumRegularBinEditor.unit.spec-J6UTQO76.js +0 -226
  365. package/dist/NumSplineEditor-2KMU6SRO.js +0 -191
  366. package/dist/NumSplineEditor.unit.spec-MX7Y4MTD.js +0 -198
  367. package/dist/NumericDensity-JCH7F5FV.js +0 -37
  368. package/dist/NumericDensity.unit.spec-4TKKRKHF.js +0 -220
  369. package/dist/NumericHandler-7FB3RJM7.js +0 -38
  370. package/dist/NumericHandler.unit.spec-U6DCADZY.js +0 -218
  371. package/dist/RunChart2-VQTIVMKM.js +0 -757
  372. package/dist/SC-XW272KAP.js +0 -827
  373. package/dist/SC-XW272KAP.js.map +0 -7
  374. package/dist/Volcano-Y4U3L6D2.js +0 -1352
  375. package/dist/Volcano-Y4U3L6D2.js.map +0 -7
  376. package/dist/WSIViewer-UFB7TI2D.js +0 -47972
  377. package/dist/WSIViewer-UFB7TI2D.js.map +0 -7
  378. package/dist/WsiSamplesPlot-2OAR57YB.js +0 -164
  379. package/dist/adSandbox-IKKFYRF7.js +0 -37
  380. package/dist/alphaGenome-WJNFQGGK.js +0 -174
  381. package/dist/app-UHGTFH6D.js +0 -48
  382. package/dist/app-YETYAR45.js +0 -36
  383. package/dist/bam-S6U7VNJP.js +0 -859
  384. package/dist/barchart-3NJDGHXU.js +0 -46
  385. package/dist/barchart.data-MVVKPDLE.js +0 -22
  386. package/dist/barchart.events-WQGA4CGB.js +0 -46
  387. package/dist/barchart.integration.spec-E6CJTWRN.js +0 -1676
  388. package/dist/barchart2-UNHFOYKB.js +0 -310
  389. package/dist/block-2XHZLY26.js +0 -6201
  390. package/dist/block.init-CMG4V6RB.js +0 -37
  391. package/dist/block.mds.expressionrank-QX2JOEMV.js +0 -358
  392. package/dist/block.mds.geneboxplot-USVQSDBT.js +0 -827
  393. package/dist/block.mds.junction-R6GJO75N.js +0 -1544
  394. package/dist/block.mds.svcnv-MRISSDAX.js +0 -6800
  395. package/dist/block.svg-Z5KKZTDB.js +0 -163
  396. package/dist/block.tk.aicheck-SOFJYYZX.js +0 -282
  397. package/dist/block.tk.ase-EHX5FV2Y.js +0 -364
  398. package/dist/block.tk.bam-DJS6LODM.js +0 -1905
  399. package/dist/block.tk.bedgraphdot-R2YHPXZA.js +0 -383
  400. package/dist/block.tk.bigwig.ui-VPEEQJLS.js +0 -211
  401. package/dist/block.tk.hicstraw-BDYN573B.js +0 -822
  402. package/dist/block.tk.junction-BONB4BXU.js +0 -2363
  403. package/dist/block.tk.junction.textmatrixui-Y5R6KY4N.js +0 -198
  404. package/dist/block.tk.ld-EGVVSXCB.js +0 -98
  405. package/dist/block.tk.menu-4YBMB5JT.js +0 -1028
  406. package/dist/block.tk.pgv-SBHGL6UH.js +0 -943
  407. package/dist/brainImaging-G3WZDYG6.js +0 -422
  408. package/dist/chunk-2K5DSRBJ.js +0 -84
  409. package/dist/chunk-2K5DSRBJ.js.map +0 -7
  410. package/dist/chunk-2O6JF76T.js +0 -121
  411. package/dist/chunk-2QULGYVE.js +0 -368
  412. package/dist/chunk-2VLGHVOL.js +0 -215
  413. package/dist/chunk-32TTOWY6.js +0 -1210
  414. package/dist/chunk-43PMSEMV.js +0 -50
  415. package/dist/chunk-4KSU6NBP.js +0 -194
  416. package/dist/chunk-4SFX42S7.js +0 -1271
  417. package/dist/chunk-4Y444IRJ.js +0 -272
  418. package/dist/chunk-56AN5PPQ.js +0 -679
  419. package/dist/chunk-56AN5PPQ.js.map +0 -7
  420. package/dist/chunk-5FO3NKA4.js +0 -155
  421. package/dist/chunk-5FO3NKA4.js.map +0 -7
  422. package/dist/chunk-5HOR6JQ2.js +0 -100
  423. package/dist/chunk-5LZKQFLO.js +0 -180
  424. package/dist/chunk-5LZKQFLO.js.map +0 -7
  425. package/dist/chunk-5RE3J6HK.js +0 -293
  426. package/dist/chunk-5SMOOFRW.js +0 -386
  427. package/dist/chunk-64Z22QAH.js +0 -14
  428. package/dist/chunk-6NMH6WPB.js +0 -446
  429. package/dist/chunk-7FKIAQ4K.js +0 -17
  430. package/dist/chunk-7NOKTEHK.js +0 -407
  431. package/dist/chunk-7UHUOC6F.js +0 -119
  432. package/dist/chunk-AMYSEKPF.js +0 -1658
  433. package/dist/chunk-AMYSEKPF.js.map +0 -7
  434. package/dist/chunk-ANGDY7VC.js +0 -170
  435. package/dist/chunk-AQ4OP4GR.js +0 -39
  436. package/dist/chunk-AQVOYTLS.js +0 -177
  437. package/dist/chunk-ARINZFQG.js +0 -276
  438. package/dist/chunk-ARINZFQG.js.map +0 -7
  439. package/dist/chunk-BQJVLXEL.js +0 -55
  440. package/dist/chunk-BRMASRRS.js +0 -455
  441. package/dist/chunk-BT4OOYPT.js +0 -280
  442. package/dist/chunk-BTJFVY3R.js +0 -190
  443. package/dist/chunk-BTJFVY3R.js.map +0 -7
  444. package/dist/chunk-C62CSWMV.js +0 -335
  445. package/dist/chunk-CAWDQURD.js +0 -6364
  446. package/dist/chunk-DMAHNBGN.js +0 -1230
  447. package/dist/chunk-DMAHNBGN.js.map +0 -7
  448. package/dist/chunk-EGWVYY7K.js +0 -264
  449. package/dist/chunk-EGWVYY7K.js.map +0 -7
  450. package/dist/chunk-ENWVV6EU.js +0 -2681
  451. package/dist/chunk-EPOELG75.js +0 -56
  452. package/dist/chunk-EPOELG75.js.map +0 -7
  453. package/dist/chunk-FA44G3GZ.js +0 -470
  454. package/dist/chunk-GD7FKXOA.js +0 -148
  455. package/dist/chunk-GF4OSOYW.js +0 -2815
  456. package/dist/chunk-GQOBT2W7.js +0 -203
  457. package/dist/chunk-GTBL7UHX.js +0 -2786
  458. package/dist/chunk-HE7CD7BD.js +0 -482
  459. package/dist/chunk-I7JDV4ZC.js +0 -226
  460. package/dist/chunk-IABWKPRK.js +0 -534
  461. package/dist/chunk-IPDH4FHY.js +0 -54
  462. package/dist/chunk-JNOOLCYB.js +0 -1159
  463. package/dist/chunk-JPKYHLNI.js +0 -158
  464. package/dist/chunk-KMQ6GQ3I.js +0 -1943
  465. package/dist/chunk-KTCW3JA6.js +0 -4209
  466. package/dist/chunk-L4QG7XZE.js +0 -46
  467. package/dist/chunk-L4QG7XZE.js.map +0 -7
  468. package/dist/chunk-LGUE54VX.js +0 -302
  469. package/dist/chunk-LJ4AUJXC.js +0 -95
  470. package/dist/chunk-LN3QYBGI.js +0 -20495
  471. package/dist/chunk-LN3QYBGI.js.map +0 -7
  472. package/dist/chunk-LQQSRNR5.js +0 -228
  473. package/dist/chunk-LSV4Z473.js +0 -31
  474. package/dist/chunk-LTSR7SLO.js +0 -514
  475. package/dist/chunk-LY7GD74F.js +0 -381
  476. package/dist/chunk-MHCTLVGE.js +0 -26
  477. package/dist/chunk-MSAMGAQF.js +0 -2370
  478. package/dist/chunk-MSAMGAQF.js.map +0 -7
  479. package/dist/chunk-NYX4B5CO.js +0 -291
  480. package/dist/chunk-OPPNZXYG.js +0 -129
  481. package/dist/chunk-P6TPXUMP.js +0 -117
  482. package/dist/chunk-PL2CM7RY.js +0 -621
  483. package/dist/chunk-PSGQWZN4.js +0 -147
  484. package/dist/chunk-PZLYNNST.js +0 -371
  485. package/dist/chunk-RA4RQYXQ.js +0 -142
  486. package/dist/chunk-RAJZYWFN.js +0 -95
  487. package/dist/chunk-ROLVOPVR.js +0 -252
  488. package/dist/chunk-RQZJIBIH.js +0 -34
  489. package/dist/chunk-RSE2FOKW.js +0 -217
  490. package/dist/chunk-SDLRTORS.js +0 -263
  491. package/dist/chunk-TF4EDNQO.js +0 -158
  492. package/dist/chunk-TV74I3Y5.js +0 -43
  493. package/dist/chunk-TV74I3Y5.js.map +0 -7
  494. package/dist/chunk-UPPBAFUK.js +0 -5000
  495. package/dist/chunk-UVPAZM3G.js +0 -52
  496. package/dist/chunk-UWYCEYML.js +0 -815
  497. package/dist/chunk-VB3SRNBK.js +0 -37
  498. package/dist/chunk-W6XQR5UL.js +0 -444
  499. package/dist/chunk-XBBUQW52.js +0 -824
  500. package/dist/chunk-XSA3VIEQ.js +0 -205
  501. package/dist/chunk-XZ6MGJQ3.js +0 -102
  502. package/dist/chunk-YC6ZJ7RP.js +0 -1842
  503. package/dist/chunk-YC6ZJ7RP.js.map +0 -7
  504. package/dist/chunk-YEMIL6QU.js +0 -1087
  505. package/dist/chunk-ZD47FENE.js +0 -229
  506. package/dist/chunk-ZYBM24FU.js +0 -102
  507. package/dist/chunk-ZYY54HBU.js +0 -330
  508. package/dist/chunk-ZYY54HBU.js.map +0 -7
  509. package/dist/condition-ARCN26MF.js +0 -331
  510. package/dist/controls-PKWN2JGN.js +0 -40
  511. package/dist/controls.config-NFRPXFUJ.js +0 -38
  512. package/dist/correlation-DPT6XL2U.js +0 -97
  513. package/dist/cuminc-M4U7LQD5.js +0 -1148
  514. package/dist/cuminc.integration.spec-MH4OFYDJ.js +0 -677
  515. package/dist/customdata.inputui-6TAHAMSV.js +0 -288
  516. package/dist/dataDownload-7GZEYSUT.js +0 -329
  517. package/dist/dataDownload.integration.spec-NAIJRFTV.js +0 -192
  518. package/dist/databrowser.ui-LLXHZ5O6.js +0 -432
  519. package/dist/dictionary-MUAURMYE.js +0 -110
  520. package/dist/dnaMethylation-AU5D3U3E.js +0 -37
  521. package/dist/dnaMethylation.integration.spec-JIDBRA6P.js +0 -202
  522. package/dist/dofetch-WSYK5OTB.js +0 -50
  523. package/dist/e2pca-ICG35YR5.js +0 -349
  524. package/dist/ep-CSSSQOUP.js +0 -1255
  525. package/dist/expclust.gdc.spec-4WPQUXH4.js +0 -306
  526. package/dist/facet-JAGILNY6.js +0 -520
  527. package/dist/forms2-IMVDB6AT.js +0 -533
  528. package/dist/gb-36LTYICV.js +0 -87
  529. package/dist/geneExpClustering-CGMENTHI.js +0 -248
  530. package/dist/geneExpression-AD2L46J4.js +0 -37
  531. package/dist/geneExpression-G2FHBDUQ.js +0 -312
  532. package/dist/geneExpression.unit.spec-XWCB7K5L.js +0 -101
  533. package/dist/geneORA-GVHQF7DF.js +0 -277
  534. package/dist/geneVariant-HE22CH76.js +0 -40
  535. package/dist/geneVariant-SQD5QUFH.js +0 -38
  536. package/dist/geneVariant.integration.spec-66XFLDNN.js +0 -197
  537. package/dist/genefusion.ui-TD32NWD4.js +0 -308
  538. package/dist/geneset-NSYPDXS3.js +0 -202
  539. package/dist/genomeBrowser.spec-CYFONLNQ.js +0 -280
  540. package/dist/grin2-3QB57OPH.js +0 -1555
  541. package/dist/grin2-FLQNWPMZ.js +0 -851
  542. package/dist/grin2-FLQNWPMZ.js.map +0 -7
  543. package/dist/gsea-RMTU5I3U.js +0 -46
  544. package/dist/hierCluster-LSQL6PGC.js +0 -58
  545. package/dist/hierCluster-XTEBDEVO.js +0 -62
  546. package/dist/hierCluster.config-SHXFSPOH.js +0 -39
  547. package/dist/hierCluster.integration.spec-KNMIYWV3.js +0 -394
  548. package/dist/hierCluster.interactivity-6NAKTUR5.js +0 -53
  549. package/dist/hierCluster.renderers-FWOV4Q47.js +0 -21
  550. package/dist/imagePlot-3IVG4SFN.js +0 -162
  551. package/dist/importPlot-HEMDRIVF.js +0 -8
  552. package/dist/isoformExpression-FJ3GEU6D.js +0 -39
  553. package/dist/isoformExpression.unit.spec-L7D22UDB.js +0 -207
  554. package/dist/launch.adhoc-PDGQF2UP.js +0 -41
  555. package/dist/leftlabel.sample-ZBI4NHCV.js +0 -259
  556. package/dist/legacyDataset-PBCPC5I7.js +0 -119
  557. package/dist/lollipop-K7S6ASFE.js +0 -170
  558. package/dist/maf-JEW6PPJB.js +0 -451
  559. package/dist/maftimeline-7URL27MC.js +0 -592
  560. package/dist/matrix-6EK5WGIG.js +0 -57
  561. package/dist/matrix-DKBD5RIL.js +0 -62
  562. package/dist/matrix.cells-KEIOXJQ7.js +0 -28
  563. package/dist/matrix.config-FGJB4VVM.js +0 -40
  564. package/dist/matrix.data-QGCGFLD7.js +0 -25
  565. package/dist/matrix.groups-HBPLZ2QX.js +0 -26
  566. package/dist/matrix.integration.spec-R4PF67KF.js +0 -3071
  567. package/dist/matrix.interactivity-M3SY33ET.js +0 -41
  568. package/dist/matrix.layout-H6WQ3ZMW.js +0 -43
  569. package/dist/matrix.legend-UCL7HM26.js +0 -22
  570. package/dist/matrix.renderers-3PPFSS7Z.js +0 -37
  571. package/dist/matrix.serieses-S2TJ3E6P.js +0 -21
  572. package/dist/matrix.sort-CFA4UWBJ.js +0 -27
  573. package/dist/matrix.sort.unit.spec-562VIWDS.js +0 -471
  574. package/dist/matrix.sorterUi-FT7K5664.js +0 -18
  575. package/dist/matrix.sorterUi.unit.spec-GAHHUN3K.js +0 -341
  576. package/dist/mavb-HPW5X55U.js +0 -731
  577. package/dist/mds.fimo-HSBKLIOX.js +0 -517
  578. package/dist/mds.samplescatterplot-DE27OMJE.js +0 -1549
  579. package/dist/mds.survivalplot-IW22UGCE.js +0 -482
  580. package/dist/numericDictTermCluster-DOD66G3A.js +0 -72
  581. package/dist/oncomatrix-BZCVCPR4.js +0 -294
  582. package/dist/oncomatrix.spec-IHYCIAP4.js +0 -447
  583. package/dist/plot.2dvaf-QLOZ54VC.js +0 -376
  584. package/dist/plot.app-XDVDR23J.js +0 -40
  585. package/dist/plot.barplot-XOESF7OQ.js +0 -101
  586. package/dist/plot.boxplot-VNOC2CHT.js +0 -151
  587. package/dist/plot.brainImaging-7ZEOY4UR.js +0 -51
  588. package/dist/plot.disco-6GVDYK7A.js +0 -101
  589. package/dist/plot.dzi-TEFPPPL6.js +0 -33
  590. package/dist/plot.ssgq-OG4TODLO.js +0 -138
  591. package/dist/plot.vaf2cov-VMZRJULA.js +0 -258
  592. package/dist/plot.wsi-2CHZZ7AC.js +0 -36
  593. package/dist/polar-QUYQRQOQ.js +0 -185
  594. package/dist/polar2-OXXLAXJC.js +0 -227
  595. package/dist/profile.spec-TI6PRHNJ.js +0 -79
  596. package/dist/profileBarchart-GEK77XEB.js +0 -266
  597. package/dist/profileForms-NR3VNHKM.js +0 -440
  598. package/dist/profilePlot-GGKO3IW5.js +0 -53
  599. package/dist/profileRadar-MN3LX5ER.js +0 -262
  600. package/dist/profileRadarFacility-3G2HWB2L.js +0 -262
  601. package/dist/proteinView-TZ5BGOTA.js +0 -1188
  602. package/dist/proteinView-TZ5BGOTA.js.map +0 -7
  603. package/dist/proteomeAbundance-JXNECXF7.js +0 -68
  604. package/dist/proteomeAbundance-JXNECXF7.js.map +0 -7
  605. package/dist/proteomeAbundance-O4BB55O3.js +0 -21
  606. package/dist/qualitative-Q3TT73O7.js +0 -42
  607. package/dist/radar2-LSD3VPZT.js +0 -315
  608. package/dist/radarFacility2-LZGIXY7A.js +0 -324
  609. package/dist/regression-J3XDAPAZ.js +0 -55
  610. package/dist/regression.inputs-BBZYI5OI.js +0 -47
  611. package/dist/regression.inputs.term-7BW6XGLG.js +0 -47
  612. package/dist/regression.inputs.values.table-DYX2YU4H.js +0 -44
  613. package/dist/regression.integration.spec-WLXZYKWW.js +0 -783
  614. package/dist/regression.results-K5Q2N2KW.js +0 -39
  615. package/dist/regression.spec-VT7T6KBY.js +0 -707
  616. package/dist/report-3D3L573D.js +0 -221
  617. package/dist/sampleScatter.spec-6IPJQLM2.js +0 -201
  618. package/dist/sampleView-5JMFI4HF.js +0 -47
  619. package/dist/samplelst-SUCB5WOZ.js +0 -110
  620. package/dist/samplematrix-A5SZBKO6.js +0 -2197
  621. package/dist/sc-NAA6ESO6.js +0 -85
  622. package/dist/scatter-EQCN2HYE.js +0 -801
  623. package/dist/scatter.integration.spec-7NXIYS67.js +0 -1195
  624. package/dist/selectGenomeWithTklst-KXODNCY6.js +0 -133
  625. package/dist/singleCellCellType-HMIW76YB.js +0 -37
  626. package/dist/singleCellCellType.unit.spec-ZCZET56X.js +0 -159
  627. package/dist/singleCellGeneExpression-IUCUHF6R.js +0 -37
  628. package/dist/singleCellGeneExpression.unit.spec-J4D6F2N3.js +0 -152
  629. package/dist/singleCellPlot-L6W3MDGG.js +0 -52
  630. package/dist/singlecell-A6ECAAPI.js +0 -85
  631. package/dist/singlecell-KBABNXC5.js +0 -1571
  632. package/dist/snp-RO7ATG6E.js +0 -37
  633. package/dist/snp.unit.spec-ZJLRGJD4.js +0 -175
  634. package/dist/snplocus-N3CU6NRP.js +0 -207
  635. package/dist/spliceevent.a53ss.diagram-7PHT4COB.js +0 -150
  636. package/dist/spliceevent.exonskip.diagram-3CZTY6QD.js +0 -276
  637. package/dist/spliceevent.noeventdiagram-GQE256DT.js +0 -459
  638. package/dist/ssGSEA-4I3L5MX2.js +0 -37
  639. package/dist/ssGSEA.unit.spec-PZCC5YU7.js +0 -87
  640. package/dist/summarizeCnvGeneexp-ASXUQW56.js +0 -162
  641. package/dist/summarizeGeneexpSurvival-ULGUOW5V.js +0 -107
  642. package/dist/summarizeMutationCnv-VDUCIUGM.js +0 -163
  643. package/dist/summarizeMutationDiagnosis-FMAAMCZC.js +0 -39
  644. package/dist/summarizeMutationSurvival-GZ4NGDJT.js +0 -98
  645. package/dist/summary-2WNZ6JSB.js +0 -48
  646. package/dist/summary.integration.spec-XPMYB6GM.js +0 -413
  647. package/dist/summaryInput-2UGXEA5C.js +0 -234
  648. package/dist/sunburst-76WCQLTT.js +0 -283
  649. package/dist/survival-23IZM4ML.js +0 -45
  650. package/dist/survival-3EAMPHSX.js +0 -57
  651. package/dist/survival.integration.spec-YNVAKBV3.js +0 -801
  652. package/dist/svgraph-G2M5LXEP.js +0 -1386
  653. package/dist/svmr-BUDBVU34.js +0 -3841
  654. package/dist/table-QJSZ6YFK.js +0 -199
  655. package/dist/termCollection-2YAY3RLZ.js +0 -178
  656. package/dist/termCollection-MAMDMEDD.js +0 -37
  657. package/dist/termCollection.unit.spec-UY7G2BHG.js +0 -207
  658. package/dist/tk-GFGP3F76.js +0 -45
  659. package/dist/tp.ui-OQ757UIE.js +0 -1458
  660. package/dist/tvs.density-BJK23JYJ.js +0 -18
  661. package/dist/tvs.dt-TOYEFKNT.js +0 -38
  662. package/dist/tvs.dtcnv.categorical-EO2VLFL2.js +0 -39
  663. package/dist/tvs.dtcnv.continuous-ZAHTKZ4Y.js +0 -71
  664. package/dist/tvs.dtfusion-BY3AHBL3.js +0 -39
  665. package/dist/tvs.dtsnvindel-UM5LQ4FR.js +0 -39
  666. package/dist/tvs.dtsv-H7ZVHLS5.js +0 -39
  667. package/dist/tvs.numeric-66FP6RRH.js +0 -21
  668. package/dist/tvs.samplelst-Q5ECTZOY.js +0 -103
  669. package/dist/tvs.termCollection-FYNMKZTR.js +0 -158
  670. package/dist/violin-EGWLAJVM.js +0 -45
  671. package/dist/violin.integration.spec-3P4TYHBR.js +0 -1424
  672. package/dist/violin.interactivity-VWDR4LYB.js +0 -37
  673. package/dist/violin.renderer-WWTU6J7X.js +0 -39
  674. package/dist/vocabulary-JG4ZITOH.js +0 -40
  675. /package/dist/{2dmaf-DTWWXOZC.js.map → 2dmaf-6YIEXAIG.js.map} +0 -0
  676. /package/dist/{AIProjectAdmin-BCYIWOXD.js.map → AIProjectAdmin-5K5NIQNT.js.map} +0 -0
  677. /package/dist/{AppHeader-H3L2MRWP.js.map → AppHeader-4SN5M6SZ.js.map} +0 -0
  678. /package/dist/{BoxPlot-INZ6IN3V.js.map → BoxPlot-DBJA6TQF.js.map} +0 -0
  679. /package/dist/{CorrelationVolcano-AK3XW4ZH.js.map → CorrelationVolcano-MDMTMTT5.js.map} +0 -0
  680. /package/dist/{DE-IBSFUKNG.js.map → DE-S5AFNI4I.js.map} +0 -0
  681. /package/dist/{DEinput-H4GMQWDY.js.map → DEinput-XVBBA74N.js.map} +0 -0
  682. /package/dist/{Disco-5PXXMGGQ.js.map → Disco-VV7FQ7WW.js.map} +0 -0
  683. /package/dist/{Disco.UI-23LOT2U6.js.map → Disco.UI-JDJFJFEY.js.map} +0 -0
  684. /package/dist/{DmrPlot-PBCU2XNF.js.map → DmrPlot-XOG67W74.js.map} +0 -0
  685. /package/dist/{GB-HIEPWNPV.js.map → GB-K3AWZQFF.js.map} +0 -0
  686. /package/dist/{GeneExpInput-A4JNX7PU.js.map → GeneExpInput-Y7MDS2CA.js.map} +0 -0
  687. /package/dist/{HicApp-IDH2A4BC.js.map → HicApp-53OTZ3YU.js.map} +0 -0
  688. /package/dist/{NumBinaryEditor-CZ54X7J3.js.map → NumBinaryEditor-SB4YR3JM.js.map} +0 -0
  689. /package/dist/{NumBinaryEditor.unit.spec-QLBRM7MJ.js.map → NumBinaryEditor.unit.spec-V2W2OZYP.js.map} +0 -0
  690. /package/dist/{NumContEditor-Z5MGLQ2I.js.map → NumContEditor-RZZBM7PR.js.map} +0 -0
  691. /package/dist/{NumContEditor.unit.spec-TR7D7ULV.js.map → NumContEditor.unit.spec-GAAW3ZZN.js.map} +0 -0
  692. /package/dist/{NumCustomBinEditor-B7JID42Y.js.map → NumCustomBinEditor-GFCGPRPI.js.map} +0 -0
  693. /package/dist/{NumCustomBinEditor.unit.spec-GZJIVY4K.js.map → NumCustomBinEditor.unit.spec-24MXSO3L.js.map} +0 -0
  694. /package/dist/{NumDiscreteEditor-LWHZ36T6.js.map → NumDiscreteEditor-HAHIOFNC.js.map} +0 -0
  695. /package/dist/{NumDiscreteEditor.unit.spec-QCQCMEWO.js.map → NumDiscreteEditor.unit.spec-JYN2CWSI.js.map} +0 -0
  696. /package/dist/{NumRegularBinEditor-IATRIUKD.js.map → NumRegularBinEditor-7DOE64RB.js.map} +0 -0
  697. /package/dist/{NumRegularBinEditor.unit.spec-J6UTQO76.js.map → NumRegularBinEditor.unit.spec-2WU4GGNT.js.map} +0 -0
  698. /package/dist/{NumSplineEditor-2KMU6SRO.js.map → NumSplineEditor-JLRD5TVX.js.map} +0 -0
  699. /package/dist/{NumSplineEditor.unit.spec-MX7Y4MTD.js.map → NumSplineEditor.unit.spec-LOG7CECJ.js.map} +0 -0
  700. /package/dist/{NumericDensity-JCH7F5FV.js.map → NumericDensity-IDOP7I34.js.map} +0 -0
  701. /package/dist/{NumericDensity.unit.spec-4TKKRKHF.js.map → NumericDensity.unit.spec-HTJQRPVH.js.map} +0 -0
  702. /package/dist/{NumericHandler-7FB3RJM7.js.map → NumericHandler-DWVVGLLB.js.map} +0 -0
  703. /package/dist/{NumericHandler.unit.spec-U6DCADZY.js.map → NumericHandler.unit.spec-BDDFTHOF.js.map} +0 -0
  704. /package/dist/{RunChart2-VQTIVMKM.js.map → RunChart2-PBJ56YX3.js.map} +0 -0
  705. /package/dist/{WsiSamplesPlot-2OAR57YB.js.map → WsiSamplesPlot-FOMPMEXK.js.map} +0 -0
  706. /package/dist/{adSandbox-IKKFYRF7.js.map → adSandbox-SRPPCYYR.js.map} +0 -0
  707. /package/dist/{alphaGenome-WJNFQGGK.js.map → alphaGenome-IS2WAJCK.js.map} +0 -0
  708. /package/dist/{app-UHGTFH6D.js.map → app-GTHYSGWI.js.map} +0 -0
  709. /package/dist/{app-YETYAR45.js.map → app-XEKETNLG.js.map} +0 -0
  710. /package/dist/{bam-S6U7VNJP.js.map → bam-GQBFL6A7.js.map} +0 -0
  711. /package/dist/{barchart-3NJDGHXU.js.map → barchart-AESC4JSX.js.map} +0 -0
  712. /package/dist/{barchart.data-MVVKPDLE.js.map → barchart.data-RE34IC4G.js.map} +0 -0
  713. /package/dist/{barchart.events-WQGA4CGB.js.map → barchart.events-KM4J5ISO.js.map} +0 -0
  714. /package/dist/{barchart.integration.spec-E6CJTWRN.js.map → barchart.integration.spec-DFVSBGO3.js.map} +0 -0
  715. /package/dist/{barchart2-UNHFOYKB.js.map → barchart2-NNTL4RQZ.js.map} +0 -0
  716. /package/dist/{block-2XHZLY26.js.map → block-EHZM3FUX.js.map} +0 -0
  717. /package/dist/{block.init-CMG4V6RB.js.map → block.init-EAEFNNF6.js.map} +0 -0
  718. /package/dist/{block.mds.expressionrank-QX2JOEMV.js.map → block.mds.expressionrank-ZBHA2CFE.js.map} +0 -0
  719. /package/dist/{block.mds.geneboxplot-USVQSDBT.js.map → block.mds.geneboxplot-4ZU3QUAK.js.map} +0 -0
  720. /package/dist/{block.mds.junction-R6GJO75N.js.map → block.mds.junction-PDH55JXO.js.map} +0 -0
  721. /package/dist/{block.mds.svcnv-MRISSDAX.js.map → block.mds.svcnv-QWBU54XQ.js.map} +0 -0
  722. /package/dist/{block.svg-Z5KKZTDB.js.map → block.svg-HUGBYWXU.js.map} +0 -0
  723. /package/dist/{block.tk.aicheck-SOFJYYZX.js.map → block.tk.aicheck-SDCWXQZF.js.map} +0 -0
  724. /package/dist/{block.tk.ase-EHX5FV2Y.js.map → block.tk.ase-HMUTHCJS.js.map} +0 -0
  725. /package/dist/{block.tk.bam-DJS6LODM.js.map → block.tk.bam-Q7B2YQLI.js.map} +0 -0
  726. /package/dist/{block.tk.bedgraphdot-R2YHPXZA.js.map → block.tk.bedgraphdot-QBGBSVHN.js.map} +0 -0
  727. /package/dist/{block.tk.bigwig.ui-VPEEQJLS.js.map → block.tk.bigwig.ui-767A3MUH.js.map} +0 -0
  728. /package/dist/{block.tk.hicstraw-BDYN573B.js.map → block.tk.hicstraw-LEZUZHLF.js.map} +0 -0
  729. /package/dist/{block.tk.junction-BONB4BXU.js.map → block.tk.junction-GQHCZOYR.js.map} +0 -0
  730. /package/dist/{block.tk.junction.textmatrixui-Y5R6KY4N.js.map → block.tk.junction.textmatrixui-D5QUO7KQ.js.map} +0 -0
  731. /package/dist/{block.tk.ld-EGVVSXCB.js.map → block.tk.ld-E3MHZOG5.js.map} +0 -0
  732. /package/dist/{block.tk.menu-4YBMB5JT.js.map → block.tk.menu-XE7PFYGR.js.map} +0 -0
  733. /package/dist/{block.tk.pgv-SBHGL6UH.js.map → block.tk.pgv-MPPMPDED.js.map} +0 -0
  734. /package/dist/{brainImaging-G3WZDYG6.js.map → brainImaging-YQ443NOL.js.map} +0 -0
  735. /package/dist/{chunk-LQQSRNR5.js.map → chunk-26WXJBSR.js.map} +0 -0
  736. /package/dist/{chunk-7UHUOC6F.js.map → chunk-2P6Z7JFC.js.map} +0 -0
  737. /package/dist/{chunk-ENWVV6EU.js.map → chunk-2QQO4RRD.js.map} +0 -0
  738. /package/dist/{chunk-GF4OSOYW.js.map → chunk-37ARSZOI.js.map} +0 -0
  739. /package/dist/{chunk-LY7GD74F.js.map → chunk-42Q53PXE.js.map} +0 -0
  740. /package/dist/{chunk-5SMOOFRW.js.map → chunk-46ASPS5Y.js.map} +0 -0
  741. /package/dist/{chunk-RA4RQYXQ.js.map → chunk-4KPI7PB5.js.map} +0 -0
  742. /package/dist/{chunk-XZ6MGJQ3.js.map → chunk-4MDNMCGZ.js.map} +0 -0
  743. /package/dist/{chunk-4Y444IRJ.js.map → chunk-5IG3E4DT.js.map} +0 -0
  744. /package/dist/{chunk-UVPAZM3G.js.map → chunk-5MIR7IHI.js.map} +0 -0
  745. /package/dist/{chunk-BQJVLXEL.js.map → chunk-5MZVXJVA.js.map} +0 -0
  746. /package/dist/{chunk-SDLRTORS.js.map → chunk-66D5GRS5.js.map} +0 -0
  747. /package/dist/{chunk-IABWKPRK.js.map → chunk-6ATE2TRC.js.map} +0 -0
  748. /package/dist/{chunk-JPKYHLNI.js.map → chunk-6BFR6MK3.js.map} +0 -0
  749. /package/dist/{chunk-C62CSWMV.js.map → chunk-6NJMCO4X.js.map} +0 -0
  750. /package/dist/{chunk-IPDH4FHY.js.map → chunk-6ON5KAMO.js.map} +0 -0
  751. /package/dist/{chunk-ZYBM24FU.js.map → chunk-76GPYMHZ.js.map} +0 -0
  752. /package/dist/{chunk-PSGQWZN4.js.map → chunk-7AAFBFOH.js.map} +0 -0
  753. /package/dist/{chunk-LGUE54VX.js.map → chunk-7OOZHEUC.js.map} +0 -0
  754. /package/dist/{chunk-I7JDV4ZC.js.map → chunk-A4VLWLYF.js.map} +0 -0
  755. /package/dist/{chunk-W6XQR5UL.js.map → chunk-A6EFWGWD.js.map} +0 -0
  756. /package/dist/{chunk-ANGDY7VC.js.map → chunk-ALW5XXVW.js.map} +0 -0
  757. /package/dist/{chunk-RQZJIBIH.js.map → chunk-ANCT2BGO.js.map} +0 -0
  758. /package/dist/{chunk-NYX4B5CO.js.map → chunk-AROMXWCY.js.map} +0 -0
  759. /package/dist/{chunk-UWYCEYML.js.map → chunk-AY4UBGLC.js.map} +0 -0
  760. /package/dist/{chunk-32TTOWY6.js.map → chunk-BMVLR3TM.js.map} +0 -0
  761. /package/dist/{chunk-PL2CM7RY.js.map → chunk-BR7JA2EO.js.map} +0 -0
  762. /package/dist/{chunk-7FKIAQ4K.js.map → chunk-D3HJXMTH.js.map} +0 -0
  763. /package/dist/{chunk-XSA3VIEQ.js.map → chunk-DKUEZ4XD.js.map} +0 -0
  764. /package/dist/{chunk-LSV4Z473.js.map → chunk-DT3MMC5U.js.map} +0 -0
  765. /package/dist/{chunk-UPPBAFUK.js.map → chunk-DYVKN7EE.js.map} +0 -0
  766. /package/dist/{chunk-VB3SRNBK.js.map → chunk-EF37UZY6.js.map} +0 -0
  767. /package/dist/{chunk-ZD47FENE.js.map → chunk-ESXMS7FW.js.map} +0 -0
  768. /package/dist/{chunk-2QULGYVE.js.map → chunk-FUSVXQ6C.js.map} +0 -0
  769. /package/dist/{chunk-GTBL7UHX.js.map → chunk-GXKVAPGP.js.map} +0 -0
  770. /package/dist/{chunk-AQ4OP4GR.js.map → chunk-H4JIENLQ.js.map} +0 -0
  771. /package/dist/{chunk-FA44G3GZ.js.map → chunk-H7YJG4YM.js.map} +0 -0
  772. /package/dist/{chunk-GD7FKXOA.js.map → chunk-I24KPIDD.js.map} +0 -0
  773. /package/dist/{chunk-GQOBT2W7.js.map → chunk-IENFDUWD.js.map} +0 -0
  774. /package/dist/{chunk-43PMSEMV.js.map → chunk-J7BISJTL.js.map} +0 -0
  775. /package/dist/{chunk-XBBUQW52.js.map → chunk-J7KYOSEK.js.map} +0 -0
  776. /package/dist/{chunk-PZLYNNST.js.map → chunk-JGPZ5254.js.map} +0 -0
  777. /package/dist/{chunk-4KSU6NBP.js.map → chunk-JUIPCWAM.js.map} +0 -0
  778. /package/dist/{chunk-5RE3J6HK.js.map → chunk-LO4NMQ7W.js.map} +0 -0
  779. /package/dist/{chunk-RAJZYWFN.js.map → chunk-LSSLS5HV.js.map} +0 -0
  780. /package/dist/{chunk-7NOKTEHK.js.map → chunk-MDLRB3MR.js.map} +0 -0
  781. /package/dist/{chunk-OPPNZXYG.js.map → chunk-MJLKGZ27.js.map} +0 -0
  782. /package/dist/{chunk-KTCW3JA6.js.map → chunk-NL5T3SBK.js.map} +0 -0
  783. /package/dist/{chunk-RSE2FOKW.js.map → chunk-ONAYJVN2.js.map} +0 -0
  784. /package/dist/{chunk-64Z22QAH.js.map → chunk-PSMFOARZ.js.map} +0 -0
  785. /package/dist/{chunk-LTSR7SLO.js.map → chunk-QX3GF2IA.js.map} +0 -0
  786. /package/dist/{chunk-JNOOLCYB.js.map → chunk-QZ2U4BOS.js.map} +0 -0
  787. /package/dist/{chunk-YEMIL6QU.js.map → chunk-RBZBBNLL.js.map} +0 -0
  788. /package/dist/{chunk-P6TPXUMP.js.map → chunk-RZTFQXWV.js.map} +0 -0
  789. /package/dist/{chunk-AQVOYTLS.js.map → chunk-SJC2C77V.js.map} +0 -0
  790. /package/dist/{chunk-2VLGHVOL.js.map → chunk-TVXVP4M6.js.map} +0 -0
  791. /package/dist/{chunk-HE7CD7BD.js.map → chunk-UTDPKDIY.js.map} +0 -0
  792. /package/dist/{chunk-BT4OOYPT.js.map → chunk-UVIUB7QI.js.map} +0 -0
  793. /package/dist/{chunk-CAWDQURD.js.map → chunk-VAUSRBL5.js.map} +0 -0
  794. /package/dist/{chunk-6NMH6WPB.js.map → chunk-WP22GYZ2.js.map} +0 -0
  795. /package/dist/{chunk-4SFX42S7.js.map → chunk-WUNX3VST.js.map} +0 -0
  796. /package/dist/{chunk-BRMASRRS.js.map → chunk-XD4TBJK2.js.map} +0 -0
  797. /package/dist/{chunk-2O6JF76T.js.map → chunk-Y6DSXMPB.js.map} +0 -0
  798. /package/dist/{chunk-ROLVOPVR.js.map → chunk-YBIZRASR.js.map} +0 -0
  799. /package/dist/{chunk-TF4EDNQO.js.map → chunk-YI2YH7ZK.js.map} +0 -0
  800. /package/dist/{chunk-KMQ6GQ3I.js.map → chunk-YLDE3PVC.js.map} +0 -0
  801. /package/dist/{chunk-MHCTLVGE.js.map → chunk-Z736NYXL.js.map} +0 -0
  802. /package/dist/{chunk-LJ4AUJXC.js.map → chunk-ZEJB7CPC.js.map} +0 -0
  803. /package/dist/{chunk-5HOR6JQ2.js.map → chunk-ZGWEBKZ4.js.map} +0 -0
  804. /package/dist/{condition-ARCN26MF.js.map → condition-FSF6ROJV.js.map} +0 -0
  805. /package/dist/{controls-PKWN2JGN.js.map → controls-OPSBFDFZ.js.map} +0 -0
  806. /package/dist/{controls.config-NFRPXFUJ.js.map → controls.config-3QRV5363.js.map} +0 -0
  807. /package/dist/{correlation-DPT6XL2U.js.map → correlation-WLOI7Z35.js.map} +0 -0
  808. /package/dist/{cuminc-M4U7LQD5.js.map → cuminc-G2UGJUUA.js.map} +0 -0
  809. /package/dist/{cuminc.integration.spec-MH4OFYDJ.js.map → cuminc.integration.spec-X5NEZ6S5.js.map} +0 -0
  810. /package/dist/{customdata.inputui-6TAHAMSV.js.map → customdata.inputui-RNW3AO3Z.js.map} +0 -0
  811. /package/dist/{dataDownload-7GZEYSUT.js.map → dataDownload-4U3TGDMH.js.map} +0 -0
  812. /package/dist/{dataDownload.integration.spec-NAIJRFTV.js.map → dataDownload.integration.spec-6FUI2SJ4.js.map} +0 -0
  813. /package/dist/{databrowser.ui-LLXHZ5O6.js.map → databrowser.ui-4GVJVJWG.js.map} +0 -0
  814. /package/dist/{dictionary-MUAURMYE.js.map → dictionary-NSDS7Z4K.js.map} +0 -0
  815. /package/dist/{dnaMethylation-AU5D3U3E.js.map → dnaMethylation-OYQB75LD.js.map} +0 -0
  816. /package/dist/{dnaMethylation.integration.spec-JIDBRA6P.js.map → dnaMethylation.integration.spec-6TTLV34N.js.map} +0 -0
  817. /package/dist/{dofetch-WSYK5OTB.js.map → dofetch-4TO3QMT6.js.map} +0 -0
  818. /package/dist/{e2pca-ICG35YR5.js.map → e2pca-NYBVR6PL.js.map} +0 -0
  819. /package/dist/{ep-CSSSQOUP.js.map → ep-RTDVEA4D.js.map} +0 -0
  820. /package/dist/{expclust.gdc.spec-4WPQUXH4.js.map → expclust.gdc.spec-JVIRESTP.js.map} +0 -0
  821. /package/dist/{facet-JAGILNY6.js.map → facet-OVBF2QMO.js.map} +0 -0
  822. /package/dist/{forms2-IMVDB6AT.js.map → forms2-HTLS54CX.js.map} +0 -0
  823. /package/dist/{gb-36LTYICV.js.map → gb-Y3546HMZ.js.map} +0 -0
  824. /package/dist/{geneExpClustering-CGMENTHI.js.map → geneExpClustering-PH3PWH3K.js.map} +0 -0
  825. /package/dist/{geneExpression-AD2L46J4.js.map → geneExpression-2Z2EV3XM.js.map} +0 -0
  826. /package/dist/{geneExpression-G2FHBDUQ.js.map → geneExpression-6CFXOCGW.js.map} +0 -0
  827. /package/dist/{geneExpression.unit.spec-XWCB7K5L.js.map → geneExpression.unit.spec-WKUTHRHC.js.map} +0 -0
  828. /package/dist/{geneORA-GVHQF7DF.js.map → geneORA-SHLZESLB.js.map} +0 -0
  829. /package/dist/{geneVariant-HE22CH76.js.map → geneVariant-FHZUIFPM.js.map} +0 -0
  830. /package/dist/{geneVariant-SQD5QUFH.js.map → geneVariant-Y7ZUBEOX.js.map} +0 -0
  831. /package/dist/{geneVariant.integration.spec-66XFLDNN.js.map → geneVariant.integration.spec-N7TZUOY3.js.map} +0 -0
  832. /package/dist/{genefusion.ui-TD32NWD4.js.map → genefusion.ui-7PDVZPZ2.js.map} +0 -0
  833. /package/dist/{geneset-NSYPDXS3.js.map → geneset-HLVOGYUI.js.map} +0 -0
  834. /package/dist/{genomeBrowser.spec-CYFONLNQ.js.map → genomeBrowser.spec-7IVIMUR5.js.map} +0 -0
  835. /package/dist/{grin2-3QB57OPH.js.map → grin2-Z5O7254R.js.map} +0 -0
  836. /package/dist/{gsea-RMTU5I3U.js.map → gsea-TFC3MBRW.js.map} +0 -0
  837. /package/dist/{hierCluster-LSQL6PGC.js.map → hierCluster-ERSE5I4I.js.map} +0 -0
  838. /package/dist/{hierCluster-XTEBDEVO.js.map → hierCluster-QQZQU5ZG.js.map} +0 -0
  839. /package/dist/{hierCluster.config-SHXFSPOH.js.map → hierCluster.config-WPINWW37.js.map} +0 -0
  840. /package/dist/{hierCluster.integration.spec-KNMIYWV3.js.map → hierCluster.integration.spec-Y6OHSKPW.js.map} +0 -0
  841. /package/dist/{hierCluster.interactivity-6NAKTUR5.js.map → hierCluster.interactivity-HS3G5QC5.js.map} +0 -0
  842. /package/dist/{hierCluster.renderers-FWOV4Q47.js.map → hierCluster.renderers-W63ZKZTT.js.map} +0 -0
  843. /package/dist/{imagePlot-3IVG4SFN.js.map → imagePlot-QFVN25PM.js.map} +0 -0
  844. /package/dist/{importPlot-HEMDRIVF.js.map → importPlot-MIDM5APH.js.map} +0 -0
  845. /package/dist/{isoformExpression-FJ3GEU6D.js.map → isoformExpression-L4TRNT4A.js.map} +0 -0
  846. /package/dist/{isoformExpression.unit.spec-L7D22UDB.js.map → isoformExpression.unit.spec-QQG323LA.js.map} +0 -0
  847. /package/dist/{launch.adhoc-PDGQF2UP.js.map → launch.adhoc-4NQ6GGGL.js.map} +0 -0
  848. /package/dist/{leftlabel.sample-ZBI4NHCV.js.map → leftlabel.sample-JU7AIPZL.js.map} +0 -0
  849. /package/dist/{legacyDataset-PBCPC5I7.js.map → legacyDataset-TT4CHF23.js.map} +0 -0
  850. /package/dist/{lollipop-K7S6ASFE.js.map → lollipop-JG74M6PJ.js.map} +0 -0
  851. /package/dist/{maf-JEW6PPJB.js.map → maf-PDL2EGHI.js.map} +0 -0
  852. /package/dist/{maftimeline-7URL27MC.js.map → maftimeline-V43NQEEE.js.map} +0 -0
  853. /package/dist/{matrix-6EK5WGIG.js.map → matrix-EB2EFP4S.js.map} +0 -0
  854. /package/dist/{matrix-DKBD5RIL.js.map → matrix-Q57FU5FE.js.map} +0 -0
  855. /package/dist/{matrix.cells-KEIOXJQ7.js.map → matrix.cells-NJIMPD32.js.map} +0 -0
  856. /package/dist/{matrix.config-FGJB4VVM.js.map → matrix.config-GLDEQD3H.js.map} +0 -0
  857. /package/dist/{matrix.data-QGCGFLD7.js.map → matrix.data-6SHAKOQU.js.map} +0 -0
  858. /package/dist/{matrix.groups-HBPLZ2QX.js.map → matrix.groups-MTDEANQA.js.map} +0 -0
  859. /package/dist/{matrix.integration.spec-R4PF67KF.js.map → matrix.integration.spec-JCZ5VQJU.js.map} +0 -0
  860. /package/dist/{matrix.interactivity-M3SY33ET.js.map → matrix.interactivity-SVRNWL6V.js.map} +0 -0
  861. /package/dist/{matrix.layout-H6WQ3ZMW.js.map → matrix.layout-2HREO42N.js.map} +0 -0
  862. /package/dist/{matrix.legend-UCL7HM26.js.map → matrix.legend-QHVKT3MP.js.map} +0 -0
  863. /package/dist/{matrix.renderers-3PPFSS7Z.js.map → matrix.renderers-IYR3ZY6V.js.map} +0 -0
  864. /package/dist/{matrix.serieses-S2TJ3E6P.js.map → matrix.serieses-2VMTQXL2.js.map} +0 -0
  865. /package/dist/{matrix.sort-CFA4UWBJ.js.map → matrix.sort-PWA2RQQR.js.map} +0 -0
  866. /package/dist/{matrix.sort.unit.spec-562VIWDS.js.map → matrix.sort.unit.spec-3OYIPTFY.js.map} +0 -0
  867. /package/dist/{matrix.sorterUi-FT7K5664.js.map → matrix.sorterUi-Y5QLO75X.js.map} +0 -0
  868. /package/dist/{matrix.sorterUi.unit.spec-GAHHUN3K.js.map → matrix.sorterUi.unit.spec-BNEXQHLP.js.map} +0 -0
  869. /package/dist/{mavb-HPW5X55U.js.map → mavb-IZDDU4KK.js.map} +0 -0
  870. /package/dist/{mds.fimo-HSBKLIOX.js.map → mds.fimo-FWBL7JE6.js.map} +0 -0
  871. /package/dist/{mds.samplescatterplot-DE27OMJE.js.map → mds.samplescatterplot-T47C7DJB.js.map} +0 -0
  872. /package/dist/{mds.survivalplot-IW22UGCE.js.map → mds.survivalplot-MFZJCGS6.js.map} +0 -0
  873. /package/dist/{numericDictTermCluster-DOD66G3A.js.map → numericDictTermCluster-I2W67RGA.js.map} +0 -0
  874. /package/dist/{oncomatrix-BZCVCPR4.js.map → oncomatrix-6W7IBAED.js.map} +0 -0
  875. /package/dist/{oncomatrix.spec-IHYCIAP4.js.map → oncomatrix.spec-CEFH5IGH.js.map} +0 -0
  876. /package/dist/{plot.2dvaf-QLOZ54VC.js.map → plot.2dvaf-BN6CFLNU.js.map} +0 -0
  877. /package/dist/{plot.app-XDVDR23J.js.map → plot.app-7EYWUCZV.js.map} +0 -0
  878. /package/dist/{plot.barplot-XOESF7OQ.js.map → plot.barplot-MDIARSQD.js.map} +0 -0
  879. /package/dist/{plot.boxplot-VNOC2CHT.js.map → plot.boxplot-RUHGXC54.js.map} +0 -0
  880. /package/dist/{plot.brainImaging-7ZEOY4UR.js.map → plot.brainImaging-JEE32ZBV.js.map} +0 -0
  881. /package/dist/{plot.disco-6GVDYK7A.js.map → plot.disco-2RPNPX6E.js.map} +0 -0
  882. /package/dist/{plot.dzi-TEFPPPL6.js.map → plot.dzi-7VTYYGGW.js.map} +0 -0
  883. /package/dist/{plot.ssgq-OG4TODLO.js.map → plot.ssgq-FHE5KU5C.js.map} +0 -0
  884. /package/dist/{plot.vaf2cov-VMZRJULA.js.map → plot.vaf2cov-WDJJM5Q4.js.map} +0 -0
  885. /package/dist/{plot.wsi-2CHZZ7AC.js.map → plot.wsi-FQZWHNSF.js.map} +0 -0
  886. /package/dist/{polar-QUYQRQOQ.js.map → polar-M7EGINN4.js.map} +0 -0
  887. /package/dist/{polar2-OXXLAXJC.js.map → polar2-JFYY43K2.js.map} +0 -0
  888. /package/dist/{profile.spec-TI6PRHNJ.js.map → profile.spec-SIOHASOX.js.map} +0 -0
  889. /package/dist/{profileBarchart-GEK77XEB.js.map → profileBarchart-6JLEKVJV.js.map} +0 -0
  890. /package/dist/{profileForms-NR3VNHKM.js.map → profileForms-G6CH73RV.js.map} +0 -0
  891. /package/dist/{profilePlot-GGKO3IW5.js.map → profilePlot-NQYJOBVV.js.map} +0 -0
  892. /package/dist/{profileRadar-MN3LX5ER.js.map → profileRadar-4TNWIXDB.js.map} +0 -0
  893. /package/dist/{profileRadarFacility-3G2HWB2L.js.map → profileRadarFacility-XPH3LCBQ.js.map} +0 -0
  894. /package/dist/{proteomeAbundance-O4BB55O3.js.map → proteomeAbundance-NQ4635NL.js.map} +0 -0
  895. /package/dist/{qualitative-Q3TT73O7.js.map → qualitative-DL4WJG3O.js.map} +0 -0
  896. /package/dist/{radar2-LSD3VPZT.js.map → radar2-YNOQWHBT.js.map} +0 -0
  897. /package/dist/{radarFacility2-LZGIXY7A.js.map → radarFacility2-24UPSI7S.js.map} +0 -0
  898. /package/dist/{regression-J3XDAPAZ.js.map → regression-URAUTLTD.js.map} +0 -0
  899. /package/dist/{regression.inputs-BBZYI5OI.js.map → regression.inputs-UDVOU7FB.js.map} +0 -0
  900. /package/dist/{regression.inputs.term-7BW6XGLG.js.map → regression.inputs.term-BWW6W34R.js.map} +0 -0
  901. /package/dist/{regression.inputs.values.table-DYX2YU4H.js.map → regression.inputs.values.table-UKGIZTXG.js.map} +0 -0
  902. /package/dist/{regression.integration.spec-WLXZYKWW.js.map → regression.integration.spec-EBHQTNA3.js.map} +0 -0
  903. /package/dist/{regression.results-K5Q2N2KW.js.map → regression.results-XTOSWIP6.js.map} +0 -0
  904. /package/dist/{regression.spec-VT7T6KBY.js.map → regression.spec-KG2I53VR.js.map} +0 -0
  905. /package/dist/{report-3D3L573D.js.map → report-KH7SNPVF.js.map} +0 -0
  906. /package/dist/{sampleScatter.spec-6IPJQLM2.js.map → sampleScatter.spec-PIXGS3LG.js.map} +0 -0
  907. /package/dist/{sampleView-5JMFI4HF.js.map → sampleView-TWS6VT55.js.map} +0 -0
  908. /package/dist/{samplelst-SUCB5WOZ.js.map → samplelst-6AB5Y4WR.js.map} +0 -0
  909. /package/dist/{samplematrix-A5SZBKO6.js.map → samplematrix-AJAF555E.js.map} +0 -0
  910. /package/dist/{sc-NAA6ESO6.js.map → sc-PMNYZKXA.js.map} +0 -0
  911. /package/dist/{scatter-EQCN2HYE.js.map → scatter-Q2GH3ZJD.js.map} +0 -0
  912. /package/dist/{scatter.integration.spec-7NXIYS67.js.map → scatter.integration.spec-SMMYKWH3.js.map} +0 -0
  913. /package/dist/{selectGenomeWithTklst-KXODNCY6.js.map → selectGenomeWithTklst-VE4SDYY7.js.map} +0 -0
  914. /package/dist/{singleCellCellType-HMIW76YB.js.map → singleCellCellType-S324GCKW.js.map} +0 -0
  915. /package/dist/{singleCellCellType.unit.spec-ZCZET56X.js.map → singleCellCellType.unit.spec-NXC2GELH.js.map} +0 -0
  916. /package/dist/{singleCellGeneExpression-IUCUHF6R.js.map → singleCellGeneExpression-6H4HRKIA.js.map} +0 -0
  917. /package/dist/{singleCellGeneExpression.unit.spec-J4D6F2N3.js.map → singleCellGeneExpression.unit.spec-HIJXVUWJ.js.map} +0 -0
  918. /package/dist/{singleCellPlot-L6W3MDGG.js.map → singleCellPlot-H7PCZ2DP.js.map} +0 -0
  919. /package/dist/{singlecell-A6ECAAPI.js.map → singlecell-4LH3MQVL.js.map} +0 -0
  920. /package/dist/{singlecell-KBABNXC5.js.map → singlecell-MOSYT3RI.js.map} +0 -0
  921. /package/dist/{snp-RO7ATG6E.js.map → snp-IKLGTD4Q.js.map} +0 -0
  922. /package/dist/{snp.unit.spec-ZJLRGJD4.js.map → snp.unit.spec-GC74MUVM.js.map} +0 -0
  923. /package/dist/{snplocus-N3CU6NRP.js.map → snplocus-RIABFSBQ.js.map} +0 -0
  924. /package/dist/{spliceevent.a53ss.diagram-7PHT4COB.js.map → spliceevent.a53ss.diagram-4E2IYYHL.js.map} +0 -0
  925. /package/dist/{spliceevent.exonskip.diagram-3CZTY6QD.js.map → spliceevent.exonskip.diagram-C56R6XLQ.js.map} +0 -0
  926. /package/dist/{spliceevent.noeventdiagram-GQE256DT.js.map → spliceevent.noeventdiagram-SIPMAKXI.js.map} +0 -0
  927. /package/dist/{ssGSEA-4I3L5MX2.js.map → ssGSEA-5QNHLSOI.js.map} +0 -0
  928. /package/dist/{ssGSEA.unit.spec-PZCC5YU7.js.map → ssGSEA.unit.spec-KVPN553B.js.map} +0 -0
  929. /package/dist/{summarizeCnvGeneexp-ASXUQW56.js.map → summarizeCnvGeneexp-K4VGJSW6.js.map} +0 -0
  930. /package/dist/{summarizeGeneexpSurvival-ULGUOW5V.js.map → summarizeGeneexpSurvival-HGHX65FN.js.map} +0 -0
  931. /package/dist/{summarizeMutationCnv-VDUCIUGM.js.map → summarizeMutationCnv-3K4Z6R2X.js.map} +0 -0
  932. /package/dist/{summarizeMutationDiagnosis-FMAAMCZC.js.map → summarizeMutationDiagnosis-M2MHUPRT.js.map} +0 -0
  933. /package/dist/{summarizeMutationSurvival-GZ4NGDJT.js.map → summarizeMutationSurvival-WVBUP3GA.js.map} +0 -0
  934. /package/dist/{summary-2WNZ6JSB.js.map → summary-RZHZXCU5.js.map} +0 -0
  935. /package/dist/{summary.integration.spec-XPMYB6GM.js.map → summary.integration.spec-FGZP7DY7.js.map} +0 -0
  936. /package/dist/{summaryInput-2UGXEA5C.js.map → summaryInput-UGM7MMCR.js.map} +0 -0
  937. /package/dist/{sunburst-76WCQLTT.js.map → sunburst-L27U7LV7.js.map} +0 -0
  938. /package/dist/{survival-3EAMPHSX.js.map → survival-5ZMEBV6O.js.map} +0 -0
  939. /package/dist/{survival-23IZM4ML.js.map → survival-JWRRGTJT.js.map} +0 -0
  940. /package/dist/{survival.integration.spec-YNVAKBV3.js.map → survival.integration.spec-Z5542I4V.js.map} +0 -0
  941. /package/dist/{svgraph-G2M5LXEP.js.map → svgraph-O6ZVLNNN.js.map} +0 -0
  942. /package/dist/{svmr-BUDBVU34.js.map → svmr-ULFV7OSH.js.map} +0 -0
  943. /package/dist/{table-QJSZ6YFK.js.map → table-CHRQH2GH.js.map} +0 -0
  944. /package/dist/{termCollection-2YAY3RLZ.js.map → termCollection-FAO6ZA6F.js.map} +0 -0
  945. /package/dist/{termCollection-MAMDMEDD.js.map → termCollection-GBXS3GOY.js.map} +0 -0
  946. /package/dist/{termCollection.unit.spec-UY7G2BHG.js.map → termCollection.unit.spec-4WRTOV6E.js.map} +0 -0
  947. /package/dist/{tk-GFGP3F76.js.map → tk-KNUBWRNK.js.map} +0 -0
  948. /package/dist/{tp.ui-OQ757UIE.js.map → tp.ui-2PPYOQYL.js.map} +0 -0
  949. /package/dist/{tvs.density-BJK23JYJ.js.map → tvs.density-BZ5SKDQS.js.map} +0 -0
  950. /package/dist/{tvs.dt-TOYEFKNT.js.map → tvs.dt-TDNSTGQR.js.map} +0 -0
  951. /package/dist/{tvs.dtcnv.categorical-EO2VLFL2.js.map → tvs.dtcnv.categorical-P2IGIE4I.js.map} +0 -0
  952. /package/dist/{tvs.dtcnv.continuous-ZAHTKZ4Y.js.map → tvs.dtcnv.continuous-2XUCRBDR.js.map} +0 -0
  953. /package/dist/{tvs.dtfusion-BY3AHBL3.js.map → tvs.dtfusion-PRHZVMOG.js.map} +0 -0
  954. /package/dist/{tvs.dtsnvindel-UM5LQ4FR.js.map → tvs.dtsnvindel-KGKBW5JS.js.map} +0 -0
  955. /package/dist/{tvs.dtsv-H7ZVHLS5.js.map → tvs.dtsv-M3CY5TZF.js.map} +0 -0
  956. /package/dist/{tvs.numeric-66FP6RRH.js.map → tvs.numeric-W74JCC5P.js.map} +0 -0
  957. /package/dist/{tvs.samplelst-Q5ECTZOY.js.map → tvs.samplelst-BTWFBBAN.js.map} +0 -0
  958. /package/dist/{tvs.termCollection-FYNMKZTR.js.map → tvs.termCollection-Y64QIKOA.js.map} +0 -0
  959. /package/dist/{violin-EGWLAJVM.js.map → violin-3LLHHV3L.js.map} +0 -0
  960. /package/dist/{violin.integration.spec-3P4TYHBR.js.map → violin.integration.spec-6NF5FDLQ.js.map} +0 -0
  961. /package/dist/{violin.interactivity-VWDR4LYB.js.map → violin.interactivity-W2AKZ24D.js.map} +0 -0
  962. /package/dist/{violin.renderer-WWTU6J7X.js.map → violin.renderer-CRFYYZRI.js.map} +0 -0
  963. /package/dist/{vocabulary-JG4ZITOH.js.map → vocabulary-AUJOAVYS.js.map} +0 -0
@@ -1,2197 +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-LN3QYBGI.js";
11
- import {
12
- invalidcoord,
13
- string2pos
14
- } from "./chunk-HJ6L54YS.js";
15
- import "./chunk-LSEFWW72.js";
16
- import "./chunk-BTJFVY3R.js";
17
- import {
18
- Menu
19
- } from "./chunk-HYOEWQ5P.js";
20
- import "./chunk-HBW42TDT.js";
21
- import "./chunk-G6O3URDN.js";
22
- import "./chunk-FN5XPUPH.js";
23
- import "./chunk-KWM6B3NL.js";
24
- import "./chunk-UCLS2SVB.js";
25
- import "./chunk-UWYCEYML.js";
26
- import "./chunk-7UHUOC6F.js";
27
- import {
28
- dofetch,
29
- dofetch2,
30
- dofetch3,
31
- vcfparsemeta
32
- } from "./chunk-YC6ZJ7RP.js";
33
- import "./chunk-MVTCBVSX.js";
34
- import "./chunk-2K5DSRBJ.js";
35
- import "./chunk-ZYY54HBU.js";
36
- import "./chunk-EGWVYY7K.js";
37
- import {
38
- bplen,
39
- dt2label,
40
- dtcnv,
41
- dtfusionrna,
42
- dtitd,
43
- dtloh,
44
- dtsnvindel,
45
- dtsv,
46
- getMax_byiqr,
47
- mclass,
48
- mclassitd,
49
- tkt,
50
- validtkt
51
- } from "./chunk-AMYSEKPF.js";
52
- import "./chunk-AQVOYTLS.js";
53
- import "./chunk-TV74I3Y5.js";
54
- import {
55
- category10_default
56
- } from "./chunk-KSGA62R2.js";
57
- import "./chunk-LOZEKOES.js";
58
- import "./chunk-TOU7EVFQ.js";
59
- import {
60
- linear,
61
- ordinal
62
- } from "./chunk-OAWQ6LOO.js";
63
- import "./chunk-L4QG7XZE.js";
64
- import "./chunk-KYBIQBXE.js";
65
- import "./chunk-I6Y4O3RR.js";
66
- import "./chunk-OMR2DT66.js";
67
- import "./chunk-DQC5FFGV.js";
68
- import "./chunk-HFNDKYVF.js";
69
-
70
- // src/samplematrix.featuremenu.js
71
- function showMenu_isgenevalue(smat, f) {
72
- smat.menu.d.append("div").attr("class", "sja_menuoption").text("Sort").on("click", () => {
73
- smat.menu.hide();
74
- if (f.sort) {
75
- return;
76
- }
77
- for (const f2 of smat.features) {
78
- if (f2.isgenevalue) delete f2.sort;
79
- }
80
- f.sort = 1;
81
- smat.draw_matrix();
82
- });
83
- }
84
- function showMenu_iscnv(smat, f, obj) {
85
- {
86
- const row = smat.menu.d.append("div").style("margin", "10px");
87
- row.append("span").html("CNV log2(ratio) cutoff ");
88
- row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
89
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
90
- let v = Number.parseFloat(event2.target.value);
91
- if (!v || v < 0) {
92
- v = 0;
93
- }
94
- if (v == 0) {
95
- if (obj.valuecutoff) {
96
- obj.valuecutoff = 0;
97
- smat.update_singlefeature(f);
98
- } else {
99
- }
100
- return;
101
- }
102
- if (obj.valuecutoff) {
103
- if (obj.valuecutoff == v) {
104
- } else {
105
- obj.valuecutoff = v;
106
- smat.update_singlefeature(f);
107
- }
108
- } else {
109
- obj.valuecutoff = v;
110
- smat.update_singlefeature(f);
111
- }
112
- });
113
- 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.");
114
- }
115
- {
116
- const row = smat.menu.d.append("div").style("margin", "10px");
117
- row.append("span").html("CNV segment size limit&nbsp;");
118
- row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
119
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
120
- let v = Number.parseInt(event2.target.value);
121
- if (!v || v < 0) {
122
- v = 0;
123
- }
124
- if (v == 0) {
125
- if (obj.focalsizelimit) {
126
- obj.focalsizelimit = 0;
127
- smat.update_singlefeature(f);
128
- } else {
129
- }
130
- return;
131
- }
132
- if (obj.focalsizelimit) {
133
- if (obj.focalsizelimit == v) {
134
- } else {
135
- obj.focalsizelimit = v;
136
- smat.update_singlefeature(f);
137
- }
138
- } else {
139
- obj.focalsizelimit = v;
140
- smat.update_singlefeature(f);
141
- }
142
- });
143
- row.append("span").text("bp");
144
- 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.");
145
- }
146
- }
147
- function showMenu_isloh(smat, f, obj) {
148
- {
149
- const row = smat.menu.d.append("div").style("margin", "10px");
150
- row.append("span").html("LOH segmean cutoff&nbsp;");
151
- row.append("input").property("value", obj.valuecutoff || 0).attr("type", "number").style("width", "50px").on("keyup", (event2) => {
152
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
153
- let v = Number.parseFloat(event2.target.value);
154
- if (!v || v < 0) {
155
- v = 0;
156
- }
157
- if (v == 0) {
158
- if (obj.valuecutoff) {
159
- obj.valuecutoff = 0;
160
- smat.update_singlefeature(f);
161
- } else {
162
- }
163
- return;
164
- }
165
- if (obj.valuecutoff) {
166
- if (obj.valuecutoff == v) {
167
- } else {
168
- obj.valuecutoff = v;
169
- smat.update_singlefeature(f);
170
- }
171
- } else {
172
- obj.valuecutoff = v;
173
- smat.update_singlefeature(f);
174
- }
175
- });
176
- 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.");
177
- }
178
- {
179
- const row = smat.menu.d.append("div").style("margin", "10px");
180
- row.append("span").html("LOH segment size limit&nbsp;");
181
- row.append("input").property("value", obj.focalsizelimit || 0).attr("type", "number").style("width", "100px").on("keyup", (event2) => {
182
- if (event2.code != "Enter" && event2.code != "NumpadEnter") return;
183
- let v = Number.parseInt(event2.target.value);
184
- if (!v || v < 0) {
185
- v = 0;
186
- }
187
- if (v == 0) {
188
- if (obj.focalsizelimit) {
189
- obj.focalsizelimit = 0;
190
- smat.update_singlefeature(f);
191
- } else {
192
- }
193
- return;
194
- }
195
- if (obj.focalsizelimit) {
196
- if (obj.focalsizelimit == v) {
197
- } else {
198
- obj.focalsizelimit = v;
199
- smat.update_singlefeature(f);
200
- }
201
- } else {
202
- obj.focalsizelimit = v;
203
- smat.update_singlefeature(f);
204
- }
205
- });
206
- row.append("span").text("bp");
207
- 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.");
208
- }
209
- }
210
- function showMenu_ismutation(smat, f) {
211
- {
212
- const div = smat.menu.d.append("div").style("margin", "10px").style("border", "solid 1px #ededed");
213
- const update = () => {
214
- smat.update_singlefeature(f);
215
- smat.menu.hide();
216
- };
217
- const table = div.append("table").style("margin", "10px").style("border-spacing", "1px");
218
- const tbody = table.append("tbody");
219
- {
220
- const tr = tbody.append("tr");
221
- tr.append("td").style("opacity", 0.5).text("CNV");
222
- tr.append("td").attr("class", "sja_menuoption").text(f.cnv.hidden ? "Show" : "Hide").on("click", () => {
223
- f.cnv.hidden = !f.cnv.hidden;
224
- update();
225
- });
226
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
227
- ismutation_hideallclass(f);
228
- delete f.cnv.hidden;
229
- update();
230
- });
231
- const td = tr.append("td");
232
- if (!f.cnv.hidden) {
233
- td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
234
- smat.menu.clear();
235
- showMenu_iscnv(smat, f, f.cnv);
236
- });
237
- }
238
- }
239
- {
240
- const tr = tbody.append("tr");
241
- tr.append("td").style("opacity", 0.5).text("LOH");
242
- tr.append("td").attr("class", "sja_menuoption").text(f.loh.hidden ? "Show" : "Hide").on("click", () => {
243
- f.loh.hidden = !f.loh.hidden;
244
- update();
245
- });
246
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
247
- ismutation_hideallclass(f);
248
- delete f.loh.hidden;
249
- update();
250
- });
251
- const td = tr.append("td");
252
- if (!f.loh.hidden) {
253
- td.attr("class", "sja_menuoption").style("font-size", ".8em").text("CONFIG").on("click", () => {
254
- smat.menu.clear();
255
- showMenu_isloh(smat, f, f.loh);
256
- });
257
- }
258
- }
259
- {
260
- const tr = tbody.append("tr");
261
- tr.append("td").style("opacity", 0.5).text("ITD");
262
- tr.append("td").attr("class", "sja_menuoption").text(f.itd.hidden ? "Show" : "Hide").on("click", () => {
263
- f.itd.hidden = !f.itd.hidden;
264
- update();
265
- });
266
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
267
- ismutation_hideallclass(f);
268
- delete f.itd.hidden;
269
- update();
270
- });
271
- const td = tr.append("td");
272
- if (!f.itd.hidden) {
273
- }
274
- }
275
- {
276
- const tr = tbody.append("tr");
277
- tr.append("td").style("opacity", 0.5).text("SV");
278
- tr.append("td").attr("class", "sja_menuoption").text(f.sv.hidden ? "Show" : "Hide").on("click", () => {
279
- f.sv.hidden = !f.sv.hidden;
280
- update();
281
- });
282
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
283
- ismutation_hideallclass(f);
284
- delete f.sv.hidden;
285
- update();
286
- });
287
- const td = tr.append("td");
288
- if (!f.sv.hidden) {
289
- }
290
- }
291
- {
292
- const tr = tbody.append("tr");
293
- tr.append("td").style("opacity", 0.5).text("Fusion");
294
- tr.append("td").attr("class", "sja_menuoption").text(f.fusion.hidden ? "show" : "hide").on("click", () => {
295
- f.fusion.hidden = !f.fusion.hidden;
296
- update();
297
- });
298
- tr.append("td").attr("class", "sja_menuoption").text("show only").on("click", () => {
299
- ismutation_hideallclass(f);
300
- delete f.fusion.hidden;
301
- update();
302
- });
303
- const td = tr.append("td");
304
- if (!f.fusion.hidden) {
305
- }
306
- }
307
- 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", () => {
308
- if (tbody2.style("display") == "none") {
309
- tbody2.style("display", "table-row-group");
310
- } else {
311
- tbody2.style("display", "none");
312
- }
313
- });
314
- const tbody2 = table.append("tbody").style("display", "none");
315
- for (const k in mclass) {
316
- const c = mclass[k];
317
- if (c.dt != dtsnvindel) {
318
- continue;
319
- }
320
- const tr = tbody2.append("tr");
321
- tr.append("td").style("opacity", 0.5).text(c.label);
322
- tr.append("td").attr("class", "sja_menuoption").text(f.snvindel.excludeclasses[k] ? "Show" : "Hide").on("click", () => {
323
- if (f.snvindel.excludeclasses[k]) {
324
- delete f.snvindel.excludeclasses[k];
325
- } else {
326
- f.snvindel.excludeclasses[k] = 1;
327
- }
328
- update();
329
- });
330
- tr.append("td").attr("class", "sja_menuoption").text("Show only").on("click", () => {
331
- ismutation_hideallclass(f);
332
- delete f.snvindel.excludeclasses[k];
333
- update();
334
- });
335
- const td = tr.append("td");
336
- }
337
- div.append("div").style("margin", "10px").append("span").style("font-size", ".8em").text("Show all classes").attr("class", "sja_clbtext").on("click", () => {
338
- f.cnv.hidden = false;
339
- f.loh.hidden = false;
340
- f.itd.hidden = false;
341
- f.sv.hidden = false;
342
- f.fusion.hidden = false;
343
- f.snvindel.excludeclasses = {};
344
- update();
345
- });
346
- }
347
- }
348
- function ismutation_hideallclass(f) {
349
- f.cnv.hidden = true;
350
- f.loh.hidden = true;
351
- f.itd.hidden = true;
352
- f.sv.hidden = true;
353
- f.fusion.hidden = true;
354
- f.snvindel.excludeclasses = {};
355
- for (const k in mclass) {
356
- if (mclass[k].dt == dtsnvindel) f.snvindel.excludeclasses[k] = 1;
357
- }
358
- }
359
-
360
- // src/samplematrix.kmplot.js
361
- function may_add_kmplotbutton(smat, buttonrow) {
362
- if (!smat.mds || !smat.mds.survivalplot) return;
363
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("SURVIVAL PLOT").attr("class", "sja_clbtext").on("click", (event2) => {
364
- smat.menu.clear().showunder(event2.target);
365
- kmplot_menu(smat);
366
- });
367
- }
368
- async function kmplot_menu(smat) {
369
- const mutation_features = smat.features.filter((i) => i.ismutation);
370
- try {
371
- if (mutation_features.length != 2) throw "only works with two genomic features.";
372
- await kmplot_do(smat, mutation_features[0], mutation_features[1]);
373
- } catch (e) {
374
- smat.menu.d.append("div").style("margin", "20px").text("Cannot make survival plot: " + (e.message || e));
375
- }
376
- }
377
- async function kmplot_do(smat, f1, f2) {
378
- const s1 = [], s2 = [], s12 = [];
379
- for (const i of smat.samples) {
380
- const in1 = f1.items.find((j) => j.sample == i.name);
381
- const in2 = f2.items.find((j) => j.sample == i.name);
382
- if (in1) {
383
- if (in2) s12.push(i.name);
384
- else s1.push(i.name);
385
- } else {
386
- s2.push(i.name);
387
- }
388
- }
389
- const plot = {
390
- renderplot: 1,
391
- samplerule: {
392
- full: {},
393
- mutated_sets: [
394
- { name: f1.label + " mutated (n=" + s1.length + ")", samplenames: s1 },
395
- { name: f2.label + " mutated (n=" + s2.length + ")", samplenames: s2 },
396
- { name: f1.label + " and " + f2.label + " mutated (n=" + s12.length + ")", samplenames: s12 }
397
- ]
398
- }
399
- };
400
- if (smat.limitsamplebyeitherannotation) {
401
- plot.samplerule.full = {
402
- byattr: 1,
403
- key: smat.limitsamplebyeitherannotation[0].key,
404
- value: smat.limitsamplebyeitherannotation[0].value,
405
- immutable: 1
406
- };
407
- }
408
- const pane = newpane({ x: 100, y: 100 });
409
- pane.header.text(
410
- (smat.limitsamplebyeitherannotation ? smat.limitsamplebyeitherannotation[0].value + " " : "") + "survival by " + f1.label + " and " + f2.label + " mutation status"
411
- );
412
- const _ = await import("./mds.survivalplot-IW22UGCE.js");
413
- _.init(
414
- {
415
- mds: smat.mds,
416
- genome: smat.genome,
417
- plotlist: [plot]
418
- },
419
- pane.body
420
- );
421
- }
422
-
423
- // src/samplematrix.js
424
- var saynovalue = "na";
425
- var default_cnvgaincolor = "#D6683C";
426
- var default_cnvlosscolor = "#67a9cf";
427
- var default_genevaluecolor = "#095873";
428
- var default_lohcolor = "#858585";
429
- var default_svcolor = "#858585";
430
- var minheight2showname = 8;
431
- var Samplematrix = class {
432
- /*
433
- init ui
434
- */
435
- constructor(p) {
436
- for (const k in p) {
437
- this[k] = p[k];
438
- }
439
- if (this.debugmode) window.smat = this;
440
- this.tip = new Menu({ padding: "0px", hideXmute: 1, hideYmute: 1 });
441
- this.menu = new Menu({ padding: "0px" });
442
- this.errdiv = this.holder.append("div");
443
- if (!this.iscustom) {
444
- try {
445
- if (!this.dslabel) throw "not custom data but dslabel is missing";
446
- this.mds = this.genome.datasets[this.dslabel];
447
- if (!this.mds) throw "invalid dataset name: " + this.dslabel;
448
- if (!this.mds.isMds) throw "improper dataset: " + this.dslabel;
449
- } catch (e) {
450
- this.error(e);
451
- }
452
- }
453
- init_controlui(this);
454
- if (this.header) {
455
- this.holder.append("div").style("margin-bottom", "20px").html(this.header);
456
- }
457
- this.wait_div = this.holder.append("div");
458
- this.wait_div.style("display", "block").text("Loading...");
459
- this.svg = this.holder.append("svg");
460
- this.validate_config().then(() => {
461
- return this.get_features();
462
- }).catch((err) => {
463
- if (typeof err == "string") {
464
- this.error(err);
465
- } else {
466
- this.error(err.message);
467
- if (err.stack) console.log(err.stack);
468
- }
469
- });
470
- }
471
- error(m) {
472
- sayerror(this.errdiv, m);
473
- }
474
- async validate_config() {
475
- if (this.iscustom) {
476
- if (!this.querykey2tracks) throw "querykey2tracks missing for custom dataset";
477
- let novalidtk = true;
478
- for (const key in this.querykey2tracks) {
479
- const tk = this.querykey2tracks[key];
480
- if (!tk.file && !tk.url) throw "no file or url for a custom track by key " + key;
481
- if (!tk.type) throw "missing type for member track by key " + key;
482
- if (!validtkt(tk.type)) throw "invalid type for a member track: " + tk.type;
483
- novalidtk = false;
484
- }
485
- if (novalidtk) throw "no custom tracks from querykey2tracks";
486
- let vcftk;
487
- for (const key in this.querykey2tracks) {
488
- const tk = this.querykey2tracks[key];
489
- if (tk.type == tkt.mdsvcf) {
490
- vcftk = tk;
491
- }
492
- }
493
- if (vcftk) {
494
- await this.may_init_customvcf(vcftk);
495
- }
496
- } else {
497
- if (this.mds.mdsIsUninitiated) {
498
- const d = await dofetch3(`getDataset?genome=${this.genome.name}&dsname=${this.mds.label}`);
499
- if (d.error) throw d.error;
500
- if (!d.ds) throw "ds missing";
501
- Object.assign(this.mds, d.ds);
502
- delete this.mds.mdsIsUninitiated;
503
- }
504
- }
505
- if (this.limitsamplebyeitherannotation) {
506
- if (!Array.isArray(this.limitsamplebyeitherannotation)) throw "limitsamplebyeitherannotation must be an array";
507
- const tr = this.legendtable.append("tr");
508
- for (const anno of this.limitsamplebyeitherannotation) {
509
- if (!anno.key) throw ".key missing from an element of limitsamplebyeitherannotation";
510
- if (!anno.value) throw ".value missing from an element of limitsamplebyeitherannotation";
511
- }
512
- this.showlegend_limitsample();
513
- }
514
- const cnv_tr = this.legendtable.append("tr");
515
- cnv_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("CNV cutoff");
516
- this.legendtable.cnv_td = cnv_tr.append("td");
517
- const loh_tr = this.legendtable.append("tr");
518
- loh_tr.append("td").style("opacity", 0.5).style("text-align", "right").text("LOH cutoff");
519
- this.legendtable.loh_td = loh_tr.append("td");
520
- if (this.limitbysamplesetgroup) {
521
- if (!Array.isArray(this.limitbysamplesetgroup.samples)) throw ".limitbysamplesetgroup.samples is not array";
522
- }
523
- if (!this.rowspace) this.rowspace = 1;
524
- if (!this.colspace) this.colspace = 1;
525
- if (!this.rowlabspace) this.rowlabspace = 5;
526
- if (!this.collabspace) this.collabspace = 5;
527
- if (!this.rowlabticksize) this.rowlabticksize = 5;
528
- if (!this.collabticksize) this.collabticksize = 5;
529
- if (!this.features) throw "missing features[]";
530
- if (!Array.isArray(this.features)) throw "features must be an array";
531
- if (this.features[0].height) this.ori_feature_height = this.features[0].height;
532
- if (this.features[0].width) this.ori_feature_width = this.features[0].width;
533
- for (const f of this.features) {
534
- await this.validate_feature(f);
535
- }
536
- }
537
- showlegend_limitsample() {
538
- if (!this.limitsamplebyeitherannotation) return;
539
- }
540
- feature_parseposition_maygene(f) {
541
- return Promise.resolve().then(() => {
542
- if (f.position) {
543
- const o = string2pos(f.position, this.genome);
544
- if (o) {
545
- f.chr = o.chr;
546
- f.start = o.start;
547
- f.stop = o.stop;
548
- }
549
- }
550
- if (f.chr) {
551
- const err = invalidcoord(this.genome, f.chr, f.start, f.stop);
552
- if (err) {
553
- throw 'feature "' + f.label + '" position error: ' + err;
554
- } else {
555
- return;
556
- }
557
- }
558
- if (!f.genename) throw "position required for a feature: no position or genename given";
559
- return dofetch("/genelookup", {
560
- input: f.genename,
561
- genome: this.genome.name,
562
- deep: 1
563
- }).then((data) => {
564
- if (data.error) throw data.error;
565
- if (!data.gmlst || data.gmlst.length == 0) throw "no gene can be found for " + f.genename;
566
- const regions = [];
567
- for (const gm of data.gmlst) {
568
- let nooverlap = true;
569
- for (const region of regions) {
570
- if (gm.chr == region.chr && Math.max(gm.start, region.start) < Math.min(gm.stop, region.stop)) {
571
- nooverlap = false;
572
- region.start = Math.min(region.start, gm.start);
573
- region.stop = Math.max(region.stop, gm.stop);
574
- break;
575
- }
576
- }
577
- if (nooverlap) {
578
- regions.push({
579
- chr: gm.chr,
580
- start: gm.start,
581
- stop: gm.stop
582
- });
583
- }
584
- }
585
- if (regions.length > 1) {
586
- sayerror(
587
- this.errdiv,
588
- "multiple regions found for gene " + f.genename + " you'd better specify one in feature"
589
- );
590
- }
591
- f.chr = regions[0].chr;
592
- f.start = regions[0].start;
593
- f.stop = regions[0].stop;
594
- });
595
- });
596
- }
597
- validate_feature(f) {
598
- return Promise.resolve().then(() => {
599
- f.id = Math.random().toString();
600
- const tr = this.legendtable.append("tr");
601
- f.legend_tr = tr;
602
- if (f.isgenevalue) {
603
- if (!f.genename) throw ".genename missing for isgenevalue feature";
604
- f.label = f.genename + " expression";
605
- if (this.dslabel) {
606
- if (!f.querykey) throw ".querykey missing for isgenevalue feature while loading from official dataset";
607
- } else {
608
- }
609
- if (!f.scale) f.scale = { auto: 1 };
610
- if (f.missingvalue == void 0) f.missingvalue = 0;
611
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
612
- f.legendholder = tr.append("td");
613
- if (!f.width) f.width = 20;
614
- if (!f.color) f.color = default_genevaluecolor;
615
- return this.feature_parseposition_maygene(f);
616
- }
617
- if (f.iscnv) {
618
- if (this.dslabel) {
619
- if (!f.querykey) throw ".querykey missing for iscnv feature while loading from official dataset";
620
- } else {
621
- }
622
- if (!f.label && f.genename) {
623
- f.label = f.genename + " CNV";
624
- }
625
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
626
- f.legendholder = tr.append("td");
627
- if (!f.width) f.width = 40;
628
- if (!f.colorgain) f.colorgain = default_cnvgaincolor;
629
- if (!f.colorloss) f.colorloss = default_cnvlosscolor;
630
- return this.feature_parseposition_maygene(f).then(() => {
631
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV";
632
- f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
633
- });
634
- }
635
- if (f.isloh) {
636
- if (this.dslabel) {
637
- if (!f.querykey) throw ".querykey missing for isloh feature while loading from official dataset";
638
- } else {
639
- }
640
- if (!f.label && f.genename) {
641
- f.label = f.genename + " LOH";
642
- }
643
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
644
- f.legendholder = tr.append("td");
645
- if (!f.width) f.width = 40;
646
- if (!f.color) f.color = default_lohcolor;
647
- return this.feature_parseposition_maygene(f).then(() => {
648
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " LOH";
649
- f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
650
- });
651
- }
652
- if (f.isvcf) {
653
- if (this.dslabel) {
654
- if (!f.querykey) throw ".querykey missing for isvcf feature while loading from official dataset";
655
- } else {
656
- }
657
- if (!f.label && f.genename) {
658
- f.label = f.genename + " SNV/indel";
659
- }
660
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
661
- f.legendholder = tr.append("td");
662
- if (!f.width) f.width = 20;
663
- if (!f.snvindel) f.snvindel = {};
664
- return this.feature_parseposition_maygene(f).then(() => {
665
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SNV/indel";
666
- });
667
- }
668
- if (f.isitd) {
669
- if (this.dslabel) {
670
- if (!f.querykey) throw ".querykey missing for isitd feature while loading from official dataset";
671
- } else {
672
- }
673
- if (!f.label && f.genename) {
674
- f.label = f.genename + " ITD";
675
- }
676
- if (!f.width) f.width = 20;
677
- if (!f.color) f.color = mclass[mclassitd].color;
678
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
679
- f.legendholder = tr.append("td");
680
- f.legendholder.append("div").style("width", "20px").html("&nbsp;").style("background", f.color);
681
- return this.feature_parseposition_maygene(f).then(() => {
682
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " ITD";
683
- });
684
- }
685
- if (f.issvfusion) {
686
- if (this.dslabel) {
687
- if (!f.querykey) throw ".querykey missing for issvfusion feature while loading from official dataset";
688
- } else {
689
- }
690
- if (!f.label && f.genename) {
691
- f.label = f.genename + " SV/fusion";
692
- }
693
- if (!f.width) f.width = 20;
694
- if (!f.color) f.color = default_svcolor;
695
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
696
- f.legendholder = tr.append("td");
697
- return this.feature_parseposition_maygene(f).then(() => {
698
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " SV/fusion";
699
- });
700
- }
701
- if (f.issvcnv) {
702
- if (this.dslabel) {
703
- if (!f.querykey) throw ".querykey missing for issvcnv feature while loading from official dataset";
704
- } else {
705
- }
706
- if (!f.label && f.genename) {
707
- f.label = f.genename + " CNV/SV";
708
- }
709
- tr.append("td").text(f.label).style("color", "#858585").style("text-align", "right");
710
- f.legendholder = tr.append("td");
711
- initfeature_polymutation(f);
712
- return this.feature_parseposition_maygene(f).then(() => {
713
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " CNV/SV";
714
- });
715
- }
716
- if (f.ismutation) {
717
- if (this.dslabel) {
718
- if (!f.querykeylst) throw ".querykeylst missing for ismutation feature";
719
- if (!Array.isArray(f.querykeylst)) throw ".querykeylst[] should be array for ismutation feature";
720
- if (f.querykeylst.length == 0) throw "querykeylst[] empty array for ismutation feature";
721
- } else {
722
- }
723
- if (!f.label && f.genename) {
724
- f.label = f.genename + " mutation";
725
- }
726
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
727
- f.legendholder = tr.append("td");
728
- initfeature_polymutation(f);
729
- return this.feature_parseposition_maygene(f).then(() => {
730
- if (!f.label) f.label = f.chr + ":" + f.start + "-" + f.stop + " mutation";
731
- f.coordscale = linear().domain([f.start, f.stop]).range([0, this.features_on_rows ? f.height : f.width]);
732
- });
733
- }
734
- if (f.issampleattribute) {
735
- if (!this.dslabel) throw ".dslabel missing: sampleattribute only works for official dataset";
736
- if (!f.key) throw ".key missing for issampleattribute feature";
737
- if (!f.label) f.label = f.key;
738
- if (this.mds && this.mds.sampleAttribute && this.mds.sampleAttribute.attributes) {
739
- const registry = this.mds.sampleAttribute.attributes[f.key];
740
- if (registry) {
741
- f.values = registry.values;
742
- }
743
- }
744
- if (!f.values) {
745
- f.values = {};
746
- }
747
- f.assignmissingcolor = ordinal(category10_default);
748
- if (!f.width && !this.features_on_rows) f.width = 20;
749
- else if (!f.height && this.features_on_rows) f.height = 50;
750
- tr.append("td").text(f.label).style("opacity", 0.5).style("text-align", "right");
751
- f.legendholder = tr.append("td");
752
- return Promise.resolve();
753
- }
754
- throw "unknown feature type in validating feature";
755
- });
756
- }
757
- get_features(featureset) {
758
- this.max_cnv = 0;
759
- this.min_cnv = 0;
760
- this.max_loh = 0;
761
- this.min_loh = 0;
762
- const arg = {
763
- genome: this.genome.name,
764
- limitsamplebyeitherannotation: this.limitsamplebyeitherannotation,
765
- features: (featureset || this.features).map(feature2arg)
766
- };
767
- if (this.limitbysamplesetgroup) {
768
- arg.sampleset = this.limitbysamplesetgroup.samples;
769
- }
770
- if (this.iscustom) {
771
- arg.iscustom = 1;
772
- arg.querykey2tracks = {};
773
- for (const f of arg.features) {
774
- if (f.querykey) {
775
- arg.querykey2tracks[f.querykey] = this.querykey2tracks[f.querykey];
776
- } else if (f.querykeylst) {
777
- for (const k of f.querykeylst) arg.querykey2tracks[k] = this.querykey2tracks[k];
778
- }
779
- }
780
- } else {
781
- arg.dslabel = this.mds.label;
782
- }
783
- return dofetch("/samplematrix", arg).then((data) => {
784
- if (data.error) {
785
- for (const f0 of arg.features) {
786
- const f = this.features.find((f2) => f2.id == f0.id);
787
- if (f) f.items = [];
788
- }
789
- throw data.error;
790
- }
791
- for (const dat of data.results) {
792
- const f = this.features.find((f2) => f2.id == dat.id);
793
- if (!f) throw "feature not found: " + f.id;
794
- f.items = dat.items;
795
- this.prep_featuredata(f);
796
- }
797
- this.draw_matrix();
798
- this.make_legend();
799
- this.wait_div.style("display", "none");
800
- });
801
- }
802
- update_singlefeature(f) {
803
- this.get_features([f]).catch((err) => {
804
- if (typeof err == "string") {
805
- this.error(err);
806
- } else {
807
- this.error(err.message);
808
- if (err.stack) console.log(err.stack);
809
- }
810
- });
811
- }
812
- addnewfeature_update(f) {
813
- this.features.push(f);
814
- this.validate_feature(f).then(() => {
815
- return this.get_features([f]);
816
- }).catch((err) => {
817
- this.error(typeof err == "string" ? err : err.message);
818
- if (err.stack) console.log(err.stack);
819
- });
820
- }
821
- prep_featuredata(f) {
822
- if (f.isgenevalue) {
823
- f.scale.maxv = 0;
824
- f.scale.minv = 0;
825
- for (const i of f.items) {
826
- f.scale.maxv = Math.max(f.scale.maxv, i.value);
827
- }
828
- return;
829
- }
830
- if (f.iscnv) {
831
- const gain = [], loss = [];
832
- for (const i of f.items) {
833
- if (i.value > 0) {
834
- gain.push(i.value);
835
- } else {
836
- loss.push(-i.value);
837
- }
838
- }
839
- const gmax = getMax_byiqr(gain, 0);
840
- const lmax = getMax_byiqr(loss, 0);
841
- f.maxabslogratio = Math.max(gmax, lmax);
842
- if (f.maxabslogratio > this.max_cnv) this.max_cnv = f.maxabslogratio;
843
- return;
844
- }
845
- if (f.isloh) {
846
- const values = f.items.map((i) => i.segmean);
847
- f.minvalue = 0;
848
- f.maxvalue = Math.max(...values);
849
- if (f.maxvalue > this.max_loh) this.max_loh = f.maxvalue;
850
- return;
851
- }
852
- if (f.isvcf) {
853
- return;
854
- }
855
- if (f.isitd) {
856
- return;
857
- }
858
- if (f.issvfusion) {
859
- return;
860
- }
861
- if (f.issvcnv || f.ismutation) {
862
- const cnvgain = [], cnvloss = [];
863
- let lohmax = 0;
864
- for (const i of f.items) {
865
- if (i.dt == dtcnv) {
866
- if (i.value > 0) {
867
- cnvgain.push(i.value);
868
- } else {
869
- cnvloss.push(-i.value);
870
- }
871
- } else if (i.dt == dtloh) {
872
- lohmax = Math.max(i.segmean, lohmax);
873
- }
874
- }
875
- if (cnvgain.length + cnvloss.length > 0) {
876
- const gmax = getMax_byiqr(cnvgain, 0);
877
- const lmax = getMax_byiqr(cnvloss, 0);
878
- f.cnv.maxabslogratio = Math.max(gmax, lmax);
879
- if (f.cnv.maxabslogratio > this.max_cnv) {
880
- this.max_cnv = f.cnv.maxabslogratio;
881
- this.min_cnv = -f.cnv.maxabslogratio;
882
- this.cnv_colorloss = f.cnv.colorloss;
883
- this.cnv_colorgain = f.cnv.colorgain;
884
- }
885
- }
886
- if (lohmax) {
887
- f.loh.minvalue = 0;
888
- f.loh.maxvalue = lohmax;
889
- if (f.loh.maxvalue > this.max_loh) this.max_loh = f.loh.maxvalue;
890
- this.loh_color = f.loh.color;
891
- }
892
- return;
893
- }
894
- if (f.issampleattribute) {
895
- for (const i of f.items) {
896
- if (!f.values[i.value]) {
897
- f.values[i.value] = {
898
- name: i.value,
899
- color: f.assignmissingcolor(i.value)
900
- };
901
- }
902
- }
903
- return;
904
- }
905
- throw "unknown feature type in preparing feature data";
906
- }
907
- make_legend() {
908
- for (const f of this.features) {
909
- const h = f.legendholder;
910
- h.selectAll("*").remove();
911
- if (f.isgenevalue) {
912
- h.append("span").text(f.scale.minv.toFixed(3));
913
- 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 + ")");
914
- h.append("span").text(f.scale.maxv.toFixed(3));
915
- continue;
916
- }
917
- if (f.iscnv) {
918
- h.append("span").html(
919
- '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>"
920
- );
921
- continue;
922
- }
923
- if (f.isloh) {
924
- h.append("span").text(f.minvalue.toFixed(3));
925
- 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 + ")");
926
- h.append("span").text(f.maxvalue.toFixed(3));
927
- continue;
928
- }
929
- if (f.isvcf) {
930
- const classes = /* @__PURE__ */ new Set();
931
- for (const m of f.items) {
932
- if (m.class) {
933
- classes.add(m.class);
934
- } else {
935
- }
936
- }
937
- for (const c of classes) {
938
- const cell = h.append("div").style("display", "inline-block").style("margin-right", "10px");
939
- cell.append("span").style("background", mclass[c].color).style("margin-right", "2px").html("&nbsp;&nbsp;&nbsp;");
940
- cell.append("span").text(mclass[c].label).style("color", mclass[c].color);
941
- }
942
- continue;
943
- }
944
- if (f.isitd) {
945
- continue;
946
- }
947
- if (f.issvfusion) {
948
- continue;
949
- }
950
- if (f.issvcnv || f.ismutation) {
951
- const vcfclass2count = /* @__PURE__ */ new Map();
952
- let itdcount = 0;
953
- let svcount = 0;
954
- let fusioncount = 0;
955
- for (const i of f.items) {
956
- if (i.dt == dtsnvindel) {
957
- if (i.class && i.sampledata) {
958
- if (!vcfclass2count.has(i.class)) {
959
- vcfclass2count.set(i.class, 0);
960
- }
961
- vcfclass2count.set(i.class, vcfclass2count.get(i.class) + i.sampledata.length);
962
- } else {
963
- }
964
- } else if (i.dt == dtitd) {
965
- itdcount++;
966
- } else if (i.dt == dtsv) {
967
- svcount++;
968
- } else if (i.dt == dtfusionrna) {
969
- fusioncount++;
970
- }
971
- }
972
- if (vcfclass2count.size + itdcount + svcount + fusioncount > 0) {
973
- const row = h.append("div").style("margin-bottom", "5px").style("white-space", "nowrap");
974
- for (const [classname, count] of vcfclass2count) {
975
- const c = mclass[classname];
976
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
977
- cell.append("span").attr("class", "sja_mcdot").style("background", c.color).text(count);
978
- cell.append("span").text(c.label).style("color", c.color);
979
- }
980
- if (itdcount) {
981
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
982
- cell.append("span").attr("class", "sja_mcdot").style("background", f.itd.color).text(itdcount);
983
- cell.append("span").text("ITD");
984
- }
985
- if (svcount) {
986
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
987
- cell.append("span").attr("class", "sja_mcdot").style("background", f.sv.color).text(svcount);
988
- cell.append("span").text("SV");
989
- }
990
- if (fusioncount) {
991
- const cell = row.append("div").style("display", "inline-block").style("margin-right", "20px");
992
- cell.append("span").attr("class", "sja_mcdot").style("background", f.fusion.color).text(fusioncount);
993
- cell.append("span").text("Fusion");
994
- }
995
- }
996
- continue;
997
- }
998
- if (f.issampleattribute) {
999
- const value2count = /* @__PURE__ */ new Map();
1000
- for (const sample of this.samples) {
1001
- const anno = f.items.find((i) => i.sample == sample.name);
1002
- if (anno) {
1003
- value2count.set(anno.value, (value2count.get(anno.value) || 0) + 1);
1004
- }
1005
- }
1006
- for (const [value, count] of value2count) {
1007
- const cell = h.append("div").style("display", "inline-block").style("margin-right", "20px");
1008
- cell.append("span").attr("class", "sja_mcdot").style("background", f.values[value].color).text(count);
1009
- cell.append("span").text(f.values[value].name);
1010
- }
1011
- continue;
1012
- }
1013
- throw "unknown feature type in making legend";
1014
- }
1015
- this.makeGlobalCnvLohLegend();
1016
- }
1017
- makeGlobalCnvLohLegend() {
1018
- const legend_data = [
1019
- { type: "cnv", legend_label: "CNV log2(ratio): " },
1020
- { type: "loh", legend_label: "LOH seg.mean: " }
1021
- ];
1022
- const min_cnv_orig = parseFloat(this.min_cnv.toFixed(3));
1023
- const max_cnv_orig = parseFloat(this.max_cnv.toFixed(3));
1024
- const min_loh_orig = parseFloat(this.min_loh.toFixed(3));
1025
- const max_loh_orig = parseFloat(this.max_loh.toFixed(3));
1026
- let changed_flag = false;
1027
- legend_data.forEach((data) => {
1028
- let min_cutoff = data.type == "cnv" ? this.min_cnv : this.min_loh;
1029
- let max_cutoff = data.type == "cnv" ? this.max_cnv : this.max_loh;
1030
- const td = data.type == "cnv" ? this.legendtable.cnv_td : this.legendtable.loh_td;
1031
- const row = td.append("div").style("margin-bottom", "5px");
1032
- row.append("span").text(data.legend_label);
1033
- const lower_range_txt = row.append("span").text(min_cutoff.toFixed(3));
1034
- const lower_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", min_cutoff.toFixed(3));
1035
- if (data.type == "cnv") {
1036
- 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)");
1037
- }
1038
- 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(
1039
- "background",
1040
- "linear-gradient( to right, white, " + (data.type == "cnv" ? this.cnv_colorgain : this.loh_color) + ")"
1041
- );
1042
- const upper_range_txt = row.append("span").text(max_cutoff.toFixed(3));
1043
- const upper_range_input = row.append("input").attr("type", "text").attr("size", 8).style("display", "none").property("value", max_cutoff.toFixed(3));
1044
- const edit_btn = row.append("button").style("margin", "2px 5px").style("padding", "3px 10px").text("Edit").on("click", () => {
1045
- lower_range_txt.style("display", "none");
1046
- upper_range_txt.style("display", "none");
1047
- lower_range_input.style("display", "inline-block");
1048
- upper_range_input.style("display", "inline-block");
1049
- edit_btn.style("display", "none");
1050
- submit_btn.style("display", "inline-block");
1051
- });
1052
- const submit_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Submit").on("click", () => {
1053
- if (data.type == "cnv") {
1054
- this.min_cnv = min_cutoff = lower_range_input.property("value");
1055
- this.max_cnv = max_cutoff = upper_range_input.property("value");
1056
- if (this.min_cnv != min_cnv_orig || this.max_cnv != max_cnv_orig) changed_flag = true;
1057
- } else {
1058
- this.min_loh = min_cutoff = parseFloat(lower_range_input.property("value"));
1059
- this.max_loh = max_cutoff = parseFloat(upper_range_input.property("value"));
1060
- if (this.min_loh != min_loh_orig || this.max_loh != max_loh_orig) changed_flag = true;
1061
- }
1062
- lower_range_txt.style("display", "inline-block").text(parseFloat(min_cutoff).toFixed(3));
1063
- upper_range_txt.style("display", "inline-block").text(parseFloat(max_cutoff).toFixed(3));
1064
- lower_range_input.style("display", "none");
1065
- upper_range_input.style("display", "none");
1066
- edit_btn.style("display", "inline-block");
1067
- submit_btn.style("display", "none");
1068
- reset_btn.style("display", changed_flag ? "inline-block" : "none");
1069
- this.draw_matrix();
1070
- });
1071
- const reset_btn = row.append("button").style("display", "none").style("margin", "2px 5px").style("padding", "3px 10px").text("Reset").on("click", () => {
1072
- if (data.type == "cnv") {
1073
- this.min_cnv = min_cutoff = min_cnv_orig;
1074
- this.max_cnv = max_cutoff = max_cnv_orig;
1075
- } else {
1076
- this.min_loh = min_cutoff = min_loh_orig;
1077
- this.max_loh = max_cutoff = max_loh_orig;
1078
- }
1079
- lower_range_txt.text(parseFloat(min_cutoff).toFixed(3));
1080
- upper_range_txt.text(parseFloat(max_cutoff).toFixed(3));
1081
- lower_range_input.property("value", parseFloat(min_cutoff).toFixed(3));
1082
- upper_range_input.property("value", parseFloat(max_cutoff).toFixed(3));
1083
- reset_btn.style("display", "none");
1084
- changed_flag = false;
1085
- this.draw_matrix();
1086
- });
1087
- reset_btn.style("display", "none");
1088
- });
1089
- }
1090
- gatherSamplesFromFeatureData() {
1091
- const name2sample = /* @__PURE__ */ new Map();
1092
- for (const feature of this.features) {
1093
- if (feature.donotaddsample) {
1094
- continue;
1095
- }
1096
- if (feature.isgenevalue || feature.iscnv || feature.isloh || feature.isitd || feature.issvfusion || feature.issvcnv) {
1097
- for (const item of feature.items) {
1098
- if (!name2sample.has(item.sample)) {
1099
- name2sample.set(item.sample, {});
1100
- }
1101
- }
1102
- } else if (feature.isvcf) {
1103
- for (const m of feature.items) {
1104
- if (m.dt == dtsnvindel) {
1105
- if (!m.sampledata) continue;
1106
- for (const s of m.sampledata) {
1107
- if (!name2sample.has(s.sampleobj.name)) {
1108
- name2sample.set(s.sampleobj.name, {});
1109
- }
1110
- }
1111
- } else {
1112
- console.error("unsupported dt from isvcf: " + m.dt);
1113
- }
1114
- }
1115
- } else if (feature.ismutation) {
1116
- for (const m of feature.items) {
1117
- if (m.dt == dtsnvindel) {
1118
- if (!m.sampledata) continue;
1119
- for (const s of m.sampledata) {
1120
- if (!name2sample.has(s.sampleobj.name)) {
1121
- name2sample.set(s.sampleobj.name, {});
1122
- }
1123
- }
1124
- } else {
1125
- if (!m.sample) continue;
1126
- if (!name2sample.has(m.sample)) {
1127
- name2sample.set(m.sample, {});
1128
- }
1129
- }
1130
- }
1131
- } else if (feature.issampleattribute) {
1132
- for (const i of feature.items) {
1133
- if (!name2sample.has(i.sample)) {
1134
- name2sample.set(i.sample, {});
1135
- }
1136
- }
1137
- } else {
1138
- console.error("unknown feature type from this.data");
1139
- }
1140
- }
1141
- const uniformheight = Math.min(18, Math.max(1, Math.ceil(800 / name2sample.size)));
1142
- this.samples = [];
1143
- for (const [n, sample] of name2sample) {
1144
- if (!this.features_on_rows) sample.height = uniformheight;
1145
- else sample.width = uniformheight;
1146
- sample.name = n;
1147
- this.samples.push(sample);
1148
- }
1149
- }
1150
- /*********** __draw *****/
1151
- draw_matrix() {
1152
- this.svg.selectAll("*").remove();
1153
- const svgg = this.svg.append("g");
1154
- this.gatherSamplesFromFeatureData();
1155
- this.sortsamplesbyfeatures();
1156
- const rows_lst = this.features_on_rows ? this.features : this.samples;
1157
- const cols_lst = this.features_on_rows ? this.samples : this.features;
1158
- let y = 0, samplenamemaxwidth = 0;
1159
- for (const r of rows_lst) {
1160
- r.g = svgg.append("g").attr("transform", "translate(0," + y + ")");
1161
- y += r.height + this.rowspace;
1162
- if (r.height >= minheight2showname) {
1163
- 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() {
1164
- samplenamemaxwidth = Math.max(samplenamemaxwidth, this.getBBox().width);
1165
- }).attr("class", "sja_clbtext").on("mouseover", () => {
1166
- this.features_on_rows ? this.showTip_feature(r) : this.showTip_sample(r);
1167
- }).on("mouseout", () => {
1168
- this.tip.hide();
1169
- }).on("click", () => {
1170
- if (this.features_on_rows) this.showMenu_feature(r);
1171
- });
1172
- 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");
1173
- }
1174
- }
1175
- let x = 0, featurenamemaxwidth = 0;
1176
- for (const c of cols_lst) {
1177
- const g = svgg.append("g").attr("transform", "translate(" + (x + c.width / 2) + ",-" + (this.collabspace + this.collabticksize) + ")");
1178
- x += c.width + this.colspace;
1179
- 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() {
1180
- featurenamemaxwidth = Math.max(featurenamemaxwidth, this.getBBox().width);
1181
- }).on("mouseover", () => {
1182
- this.features_on_rows ? this.showTip_sample(c) : this.showTip_feature(c);
1183
- }).on("mouseout", () => {
1184
- this.tip.hide();
1185
- }).on("click", () => {
1186
- if (!this.features_on_rows) this.showMenu_feature(c);
1187
- });
1188
- if (c.isgenevalue) {
1189
- label.attr("fill", c.color);
1190
- }
1191
- g.append("line").attr("y1", this.collabspace).attr("y2", this.collabspace + this.collabticksize).attr("stroke", "black").attr("shape-rendering", "crispEdges");
1192
- }
1193
- for (const r of rows_lst) {
1194
- let x2 = 0;
1195
- for (const c of cols_lst) {
1196
- const sample = this.features_on_rows ? c : r;
1197
- const feature = this.features_on_rows ? r : c;
1198
- const cell = r.g.append("g").attr("transform", "translate(" + x2 + ",0)");
1199
- x2 += c.width + this.colspace;
1200
- if (feature.isgenevalue) {
1201
- this.drawCell_isgenevalue(sample, feature, cell);
1202
- } else if (feature.iscnv) {
1203
- this.drawCell_iscnv(sample, feature, cell);
1204
- } else if (feature.isloh) {
1205
- this.drawCell_isloh(sample, feature, cell);
1206
- } else if (feature.isvcf) {
1207
- this.drawCell_isvcf(sample, feature, cell);
1208
- } else if (feature.isitd) {
1209
- this.drawCell_isitd(sample, feature, cell);
1210
- } else if (feature.issvfusion) {
1211
- this.drawCell_issvfusion(sample, feature, cell);
1212
- } else if (feature.issvcnv || feature.ismutation) {
1213
- this.drawCell_ismutation(sample, feature, cell);
1214
- } else if (feature.issampleattribute) {
1215
- this.drawCell_issampleattribute(sample, feature, cell);
1216
- } else {
1217
- console.error("unknown feature type when drawing cell");
1218
- }
1219
- }
1220
- }
1221
- svgg.attr(
1222
- "transform",
1223
- "translate(" + (samplenamemaxwidth + this.rowlabspace + this.rowlabticksize) + "," + (featurenamemaxwidth + this.collabspace + this.collabticksize) + ")"
1224
- );
1225
- this.svg.attr(
1226
- "width",
1227
- samplenamemaxwidth + this.rowlabspace + this.rowlabticksize + cols_lst.reduce((i, j) => i + j.width, 0) + cols_lst.length * this.colspace
1228
- ).attr(
1229
- "height",
1230
- featurenamemaxwidth + this.collabspace + this.collabticksize + rows_lst.reduce((i, j) => i + j.height, 0) + rows_lst.length * this.rowspace
1231
- );
1232
- }
1233
- drawCell_isgenevalue(sample, feature, g) {
1234
- const height = this.features_on_rows ? feature.height : sample.height;
1235
- const width = this.features_on_rows ? sample.width : feature.width;
1236
- const item = feature.items.find((i) => i.sample == sample.name);
1237
- if (!item) {
1238
- this.drawEmptycell(sample, feature, g);
1239
- return;
1240
- }
1241
- 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) => {
1242
- event2.target.setAttribute("stroke-opacity", 1);
1243
- this.showTip_cell(sample, feature);
1244
- }).on("mouseout", (event2) => {
1245
- event2.target.setAttribute("stroke-opacity", 0);
1246
- this.tip.hide();
1247
- }).on("click", () => {
1248
- this.click_cell(sample, feature);
1249
- });
1250
- if (item.value < feature.scale.maxv) {
1251
- rect.attr("fill-opacity", item.value / feature.scale.maxv);
1252
- }
1253
- }
1254
- drawCell_iscnv(sample, feature, g) {
1255
- const height = this.features_on_rows ? feature.height : sample.height;
1256
- const width = this.features_on_rows ? sample.width : feature.width;
1257
- const items = feature.items.filter((i) => i.sample == sample.name);
1258
- if (items.length == 0) {
1259
- this.drawEmptycell(sample, feature, g);
1260
- return;
1261
- }
1262
- for (const item of items) {
1263
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1264
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1265
- const maxabslogratio = this.max_cnv;
1266
- 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");
1267
- }
1268
- 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) => {
1269
- event2.target.setAttribute("stroke-opacity", 1);
1270
- this.showTip_cell(sample, feature);
1271
- }).on("mouseout", (event2) => {
1272
- event2.target.setAttribute("stroke-opacity", 0);
1273
- this.tip.hide();
1274
- }).on("click", () => {
1275
- this.click_cell(sample, feature);
1276
- });
1277
- }
1278
- drawCell_isloh(sample, feature, g) {
1279
- const height = this.features_on_rows ? feature.height : sample.height;
1280
- const width = this.features_on_rows ? sample.width : feature.width;
1281
- const items = feature.items.filter((i) => i.sample == sample.name);
1282
- if (items.length == 0) {
1283
- this.drawEmptycell(sample, feature, g);
1284
- return;
1285
- }
1286
- for (const item of items) {
1287
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1288
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1289
- const loh_range = this.max_loh - this.min_loh;
1290
- 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");
1291
- }
1292
- 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) => {
1293
- event2.target.setAttribute("stroke-opacity", 1);
1294
- this.showTip_cell(sample, feature);
1295
- }).on("mouseout", (event2) => {
1296
- event2.target.setAttribute("stroke-opacity", 0);
1297
- this.tip.hide();
1298
- }).on("click", () => {
1299
- this.click_cell(sample, feature);
1300
- });
1301
- }
1302
- drawCell_isvcf(sample, feature, g) {
1303
- const height = this.features_on_rows ? feature.height : sample.height;
1304
- const width = this.features_on_rows ? sample.width : feature.width;
1305
- const mlst = getitemforsample_vcf(feature, sample);
1306
- if (mlst.length == 0) {
1307
- this.drawEmptycell(sample, feature, g);
1308
- return;
1309
- }
1310
- const class2count = /* @__PURE__ */ new Map();
1311
- for (const m of mlst) {
1312
- if (!class2count.has(m.class)) {
1313
- class2count.set(m.class, 0);
1314
- }
1315
- class2count.set(m.class, class2count.get(m.class) + 1);
1316
- }
1317
- let start = 0;
1318
- for (const [cname, count] of class2count) {
1319
- const span = count / mlst.length * this.features_on_rows ? height : width;
1320
- 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");
1321
- start += span;
1322
- }
1323
- 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) => {
1324
- event2.target.setAttribute("stroke-opacity", 1);
1325
- this.showTip_cell(sample, feature);
1326
- }).on("mouseout", (event2) => {
1327
- event2.target.setAttribute("stroke-opacity", 0);
1328
- this.tip.hide();
1329
- }).on("click", () => {
1330
- this.click_cell(sample, feature);
1331
- });
1332
- }
1333
- drawCell_isitd(sample, feature, g) {
1334
- const height = this.features_on_rows ? feature.height : sample.height;
1335
- const width = this.features_on_rows ? sample.width : feature.width;
1336
- const item = feature.items.find((i) => i.sample == sample.name);
1337
- if (!item) {
1338
- this.drawEmptycell(sample, feature, g);
1339
- return;
1340
- }
1341
- 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) => {
1342
- event2.target.setAttribute("stroke-opacity", 1);
1343
- this.showTip_cell(sample, feature);
1344
- }).on("mouseout", (event2) => {
1345
- event2.target.setAttribute("stroke-opacity", 0);
1346
- this.tip.hide();
1347
- }).on("click", () => {
1348
- this.click_cell(sample, feature);
1349
- });
1350
- }
1351
- drawCell_issampleattribute(sample, feature, g) {
1352
- const height = this.features_on_rows ? feature.height : sample.height;
1353
- const width = this.features_on_rows ? sample.width : feature.width;
1354
- const item = feature.items.find((i) => i.sample == sample.name);
1355
- if (!item) {
1356
- this.drawEmptycell(sample, feature, g);
1357
- return;
1358
- }
1359
- 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) => {
1360
- event2.target.setAttribute("stroke-opacity", 1);
1361
- this.showTip_cell(sample, feature);
1362
- }).on("mouseout", (event2) => {
1363
- event2.target.setAttribute("stroke-opacity", 0);
1364
- this.tip.hide();
1365
- }).on("click", () => {
1366
- this.click_cell(sample, feature);
1367
- });
1368
- }
1369
- drawCell_issvfusion(sample, feature, g) {
1370
- const height = this.features_on_rows ? feature.height : sample.height;
1371
- const width = this.features_on_rows ? sample.width : feature.width;
1372
- const item = feature.items.find((i) => i.sample == sample.name);
1373
- if (!item) {
1374
- this.drawEmptycell(sample, feature, g);
1375
- return;
1376
- }
1377
- 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) => {
1378
- event2.target.setAttribute("stroke-opacity", 1);
1379
- this.showTip_cell(sample, feature);
1380
- }).on("mouseout", (event2) => {
1381
- event2.target.setAttribute("stroke-opacity", 0);
1382
- this.tip.hide();
1383
- }).on("click", () => {
1384
- this.click_cell(sample, feature);
1385
- });
1386
- }
1387
- drawCell_ismutation(sample, feature, g) {
1388
- const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(feature, sample);
1389
- const height = this.features_on_rows ? feature.height : sample.height;
1390
- const width = this.features_on_rows ? sample.width : feature.width;
1391
- if (cnv.length + loh.length + itd.length + sv.length + fusion.length + snvindel.length == 0) {
1392
- this.drawEmptycell(sample, feature, g);
1393
- return;
1394
- }
1395
- let is_symbolic = false;
1396
- if (this.ismutation_allsymbolic) {
1397
- is_symbolic = true;
1398
- } else if (this.ismutation_allnotsymbolic) {
1399
- } else {
1400
- if (height <= 4) {
1401
- is_symbolic = true;
1402
- }
1403
- }
1404
- if (is_symbolic) {
1405
- this.drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel);
1406
- } else {
1407
- if (loh.length) {
1408
- for (const item of loh) {
1409
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1410
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1411
- const loh_range = this.max_loh - this.min_loh;
1412
- 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");
1413
- }
1414
- }
1415
- if (cnv.length) {
1416
- for (const item of cnv) {
1417
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1418
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1419
- const maxabslogratio = item.value > 0 ? this.max_cnv : this.min_cnv;
1420
- 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");
1421
- }
1422
- }
1423
- if (itd.length) {
1424
- for (const item of itd) {
1425
- const x1 = feature.coordscale(Math.max(feature.start, item.start));
1426
- const x2 = feature.coordscale(Math.min(feature.stop, item.stop));
1427
- 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");
1428
- }
1429
- }
1430
- if (sv.length) {
1431
- 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");
1432
- }
1433
- if (fusion.length) {
1434
- 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");
1435
- }
1436
- if (snvindel.length) {
1437
- const m = snvindel[0];
1438
- const g2 = g.append("g").attr("transform", "translate(" + width / 2 + "," + height / 2 + ")");
1439
- const color = mclass[m.m.class].color;
1440
- const w = Math.min(width, height) / 2;
1441
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", "white").attr("stroke-width", 3);
1442
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", "white").attr("stroke-width", 3);
1443
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", -w).attr("y2", w).attr("stroke", color);
1444
- g2.append("line").attr("x1", -w).attr("x2", w).attr("y1", w).attr("y2", -w).attr("stroke", color);
1445
- }
1446
- }
1447
- 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) => {
1448
- event2.target.setAttribute("stroke-opacity", 1);
1449
- this.showTip_cell(sample, feature);
1450
- }).on("mouseout", (event2) => {
1451
- event2.target.setAttribute("stroke-opacity", 0);
1452
- this.tip.hide();
1453
- }).on("click", () => {
1454
- this.click_cell(sample, feature);
1455
- });
1456
- }
1457
- drawCell_ismutation_symbolic(sample, feature, g, cnv, loh, itd, sv, fusion, snvindel) {
1458
- const height = this.features_on_rows ? feature.height : sample.height;
1459
- const width = this.features_on_rows ? sample.width : feature.width;
1460
- const loh_range = this.max_loh - this.min_loh;
1461
- const lst = [];
1462
- if (cnv.length) {
1463
- for (const i of cnv) {
1464
- const maxabslogratio = i.value > 0 ? this.max_cnv : this.min_cnv;
1465
- let k;
1466
- if (i.value > 0) {
1467
- k = { color: feature.cnv.colorgain };
1468
- } else {
1469
- k = { color: feature.cnv.colorloss };
1470
- }
1471
- k.opacity = Math.abs(i.value / maxabslogratio);
1472
- lst.push(k);
1473
- }
1474
- }
1475
- if (loh.length) {
1476
- for (const i of loh) {
1477
- lst.push({
1478
- color: feature.loh.color,
1479
- opacity: (i.segmean - this.min_loh) / loh_range
1480
- });
1481
- }
1482
- }
1483
- if (itd.length) {
1484
- for (const i of itd) {
1485
- lst.push({ color: feature.itd.color });
1486
- }
1487
- }
1488
- if (sv.length) {
1489
- for (const i of sv) {
1490
- lst.push({ color: feature.sv.color });
1491
- }
1492
- }
1493
- if (fusion.length) {
1494
- for (const i of fusion) {
1495
- lst.push({ color: feature.fusion.color });
1496
- }
1497
- }
1498
- if (snvindel.length) {
1499
- for (const i of snvindel) {
1500
- lst.push({ color: mclass[i.m.class].color });
1501
- }
1502
- }
1503
- const f_len = this.features_on_rows ? height / lst.length : width / lst.length;
1504
- let f_start = 0;
1505
- for (const i of lst) {
1506
- 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");
1507
- if (i.opacity) r.attr("opacity", i.opacity);
1508
- f_start += f_len;
1509
- }
1510
- }
1511
- // __newattr draw cell for new feature
1512
- /*********** __draw ends *****/
1513
- async click_cell(sample, feature) {
1514
- try {
1515
- let svcnvtk;
1516
- if (this.iscustom) {
1517
- svcnvtk = {
1518
- iscustom: true,
1519
- type: tkt.mdssvcnv,
1520
- singlesample: {
1521
- name: sample.name
1522
- }
1523
- };
1524
- for (const k in this.querykey2tracks) {
1525
- const t = this.querykey2tracks[k];
1526
- if (t.type == tkt.mdssvcnv) {
1527
- svcnvtk.name = t.name || "Custom tk";
1528
- svcnvtk.file = t.file;
1529
- svcnvtk.url = t.url;
1530
- svcnvtk.indexURL = t.indexURL;
1531
- } else if (t.type == tkt.mdsvcf) {
1532
- svcnvtk.checkvcf = {
1533
- file: t.file,
1534
- url: t.url,
1535
- indexURL: t.indexURL
1536
- };
1537
- } else if (t.type == tkt.mdsexpression) {
1538
- svcnvtk.checkexpressionrank = {
1539
- file: t.file,
1540
- url: t.url,
1541
- indexURL: t.indexURL
1542
- };
1543
- }
1544
- }
1545
- } else {
1546
- if (!this.mds) throw "not custom but .mds{} missing";
1547
- for (const querykey in this.mds.queries) {
1548
- const tk = this.mds.queries[querykey];
1549
- if (tk.type == tkt.mdssvcnv) {
1550
- svcnvtk = {
1551
- mds: this.mds,
1552
- querykey,
1553
- singlesample: {
1554
- name: sample.name
1555
- }
1556
- };
1557
- for (const k in tk) svcnvtk[k] = tk[k];
1558
- break;
1559
- }
1560
- }
1561
- }
1562
- if (!svcnvtk) throw "cannot find a svcnv tk";
1563
- svcnvtk.bplengthUpperLimit = 0;
1564
- const pane = newpane({ x: 100, y: 100 });
1565
- const blockarg = {
1566
- jwt: this.jwt,
1567
- hostURL: this.hostURL,
1568
- nobox: 1,
1569
- genome: this.genome,
1570
- holder: pane.body,
1571
- chr: feature.chr,
1572
- start: feature.start,
1573
- stop: feature.stop,
1574
- tklst: []
1575
- };
1576
- first_genetrack_tolist(this.genome, blockarg.tklst);
1577
- blockarg.tklst.push(svcnvtk);
1578
- if (!this.iscustom) {
1579
- if (!this.dslabel) throw "not custom but dslabel missing";
1580
- const par = {
1581
- genome: this.genome.name,
1582
- dslabel: this.dslabel,
1583
- querykey: svcnvtk.querykey,
1584
- gettrack4singlesample: sample.name
1585
- };
1586
- const data = await dofetch("/mdssvcnv", par);
1587
- if (data.error) throw "Error checking for assay track: " + data.error;
1588
- if (data.tracks) {
1589
- for (const t of data.tracks) blockarg.tklst.push(t);
1590
- }
1591
- }
1592
- const _ = await import("./block-2XHZLY26.js");
1593
- new _.Block(blockarg);
1594
- } catch (e) {
1595
- window.alert(e.message || e);
1596
- if (e.stack) console.log(e.stack);
1597
- }
1598
- }
1599
- /********** __menu and tooltip **********/
1600
- showTip_feature(f) {
1601
- this.tip.clear();
1602
- this.tipContent_feature(f, this.tip.d);
1603
- this.tip.showunder(event.target);
1604
- }
1605
- showMenu_feature(f) {
1606
- this.menu.showunder(event.target).clear();
1607
- this.tipContent_feature(f, this.menu.d);
1608
- this.menu.d.append("div").attr("class", "sja_menuoption").text("Remove this feature").on("click", () => {
1609
- this.menu.hide();
1610
- f.legend_tr.remove();
1611
- this.features.splice(
1612
- this.features.findIndex((i) => i.id == f.id),
1613
- 1
1614
- );
1615
- this.draw_matrix();
1616
- });
1617
- if (f.isgenevalue) return showMenu_isgenevalue(this, f);
1618
- if (f.iscnv) return showMenu_iscnv(this, f, f);
1619
- if (f.isloh) return showMenu_isloh(this, f, f);
1620
- if (f.ismutation) return showMenu_ismutation(this, f);
1621
- if (f.isitd) {
1622
- return;
1623
- }
1624
- if (f.issvfusion) {
1625
- return;
1626
- }
1627
- if (f.issvcnv) {
1628
- return;
1629
- }
1630
- if (f.issampleattribute) {
1631
- return;
1632
- }
1633
- }
1634
- tipContent_feature(f, holder) {
1635
- holder.append("div").text(f.label).style("opacity", 0.5).style("font-size", ".7em").style("margin", "10px");
1636
- if (f.isgenevalue || f.iscnv || f.isloh || f.isitd || f.issvfusion) {
1637
- 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");
1638
- } else if (f.issvcnv || f.ismutation) {
1639
- if (!f.genename) {
1640
- 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");
1641
- }
1642
- } else if (f.issampleattribute) {
1643
- holder.append("div").text(f.label);
1644
- }
1645
- if (f.isgenevalue) {
1646
- 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");
1647
- }
1648
- }
1649
- showTip_sample(sample) {
1650
- this.tip.clear().d.append("div").text(sample.name).style("padding", "10px").style("font-size", ".7em");
1651
- const lst = [];
1652
- for (const f of this.features) {
1653
- if (lst.length > 10) {
1654
- lst.push({ k: "more", v: "..." });
1655
- break;
1656
- }
1657
- if (f.isgenevalue) {
1658
- const v = f.items.find((i) => i.sample == sample.name);
1659
- lst.push({ k: f.label, v: v ? v.value : saynovalue });
1660
- continue;
1661
- }
1662
- if (f.iscnv) {
1663
- const items = f.items.filter((i) => i.sample == sample.name);
1664
- let text;
1665
- if (items.length == 0) {
1666
- text = saynovalue;
1667
- } else {
1668
- const lst2 = items.map((i) => {
1669
- 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>";
1670
- });
1671
- text = lst2.join("");
1672
- }
1673
- lst.push({ k: f.label, v: text });
1674
- continue;
1675
- }
1676
- if (f.isloh) {
1677
- const items = f.items.filter((i) => i.sample == sample.name);
1678
- let text;
1679
- if (items.length == 0) {
1680
- text = saynovalue;
1681
- } else {
1682
- const lst2 = items.map((i) => {
1683
- 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>";
1684
- });
1685
- text = lst2.join("");
1686
- }
1687
- lst.push({ k: f.label, v: text });
1688
- continue;
1689
- }
1690
- if (f.isvcf) {
1691
- const mlst = getitemforsample_vcf(f, sample);
1692
- let text;
1693
- if (mlst.length == 0) {
1694
- text = saynovalue;
1695
- } else {
1696
- text = mlst.map((m) => {
1697
- 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>";
1698
- }).join("");
1699
- }
1700
- lst.push({ k: f.label, v: text });
1701
- continue;
1702
- }
1703
- if (f.isitd) {
1704
- const items = f.items.filter((i) => i.sample == sample.name);
1705
- let text;
1706
- if (items.length == 0) {
1707
- text = saynovalue;
1708
- } else {
1709
- text = '<div style="background:' + f.color + ';width:20px">&nbsp;</div>';
1710
- }
1711
- lst.push({ k: f.label, v: text });
1712
- continue;
1713
- }
1714
- if (f.issvfusion) {
1715
- const items = f.items.filter((i) => i.sample == sample.name);
1716
- let text;
1717
- if (items.length == 0) {
1718
- text = saynovalue;
1719
- } else {
1720
- text = '<div style="background:' + f.color + ';width:20px">&nbsp;</div>';
1721
- }
1722
- lst.push({ k: f.label, v: text });
1723
- continue;
1724
- }
1725
- if (f.issvcnv) {
1726
- continue;
1727
- }
1728
- if (f.ismutation) {
1729
- continue;
1730
- }
1731
- if (f.issampleattribute) {
1732
- const item = f.items.find((i) => i.sample == sample.name);
1733
- if (item) {
1734
- lst.push({ k: f.label, v: item.value });
1735
- }
1736
- continue;
1737
- }
1738
- console.error("sample tooltip: Unknown feature type");
1739
- }
1740
- make_table_2col(this.tip.d, lst);
1741
- this.tip.show(event.clientX, event.clientY);
1742
- }
1743
- showTip_cell(sample, f) {
1744
- const lst = [{ k: "sample", v: sample.name }];
1745
- if (f.isgenevalue) {
1746
- const v = f.items.find((i) => i.sample == sample.name);
1747
- lst.push({ k: f.label, v: v ? v.value : saynovalue });
1748
- } else if (f.iscnv) {
1749
- const items = f.items.filter((i) => i.sample == sample.name);
1750
- let text;
1751
- if (items.length == 0) {
1752
- text = saynovalue;
1753
- } else {
1754
- const lst2 = items.map((i) => {
1755
- 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>";
1756
- });
1757
- text = lst2.join("");
1758
- }
1759
- lst.push({ k: f.label, v: text });
1760
- } else if (f.isloh) {
1761
- const items = f.items.filter((i) => i.sample == sample.name);
1762
- let text;
1763
- if (items.length == 0) {
1764
- text = saynovalue;
1765
- } else {
1766
- const lst2 = items.map((i) => {
1767
- 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>";
1768
- });
1769
- text = lst2.join("");
1770
- }
1771
- lst.push({ k: f.label, v: text });
1772
- } else if (f.isvcf) {
1773
- const mlst = getitemforsample_vcf(f, sample);
1774
- let text;
1775
- if (mlst.length == 0) {
1776
- text = saynovalue;
1777
- } else {
1778
- text = mlst.map((m) => {
1779
- 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>";
1780
- }).join("");
1781
- }
1782
- lst.push({ k: f.label, v: text });
1783
- } else if (f.isitd) {
1784
- const items = f.items.filter((i) => i.sample == sample.name);
1785
- let text;
1786
- if (items.length == 0) {
1787
- text = saynovalue;
1788
- } else {
1789
- const lst2 = items.map((i) => {
1790
- return "<div>" + i.chr + ":" + i.start + "-" + i.stop + " </div>";
1791
- });
1792
- text = lst2.join("");
1793
- }
1794
- lst.push({ k: f.label, v: text });
1795
- } else if (f.issvfusion) {
1796
- const items = f.items.filter((i) => i.sample == sample.name);
1797
- let text;
1798
- if (items.length == 0) {
1799
- text = saynovalue;
1800
- } else {
1801
- const lst2 = items.map((i) => {
1802
- return "<div>" + i.chrA + ":" + i.posA + " - " + i.chrB + ":" + i.posB + " </div>";
1803
- });
1804
- text = lst2.join("");
1805
- }
1806
- lst.push({ k: f.label, v: text });
1807
- } else if (f.issvcnv || f.ismutation) {
1808
- const [cnv, loh, itd, sv, fusion, snvindel] = getitemforsample_compound(f, sample);
1809
- if (cnv.length) {
1810
- lst.push({
1811
- k: (f.genename || f.label) + " CNV",
1812
- v: cnv.map((i) => {
1813
- 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>";
1814
- }).join("")
1815
- });
1816
- }
1817
- if (loh.length) {
1818
- lst.push({
1819
- k: (f.genename || f.label) + " LOH",
1820
- v: loh.map((i) => {
1821
- 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>";
1822
- }).join("")
1823
- });
1824
- }
1825
- if (itd.length) {
1826
- lst.push({
1827
- k: (f.genename || f.label) + " ITD",
1828
- v: itd.map((i) => {
1829
- return '<div style="font-size:.8em">' + i.chr + ":" + i.start + "-" + i.stop + "</div>";
1830
- }).join("")
1831
- });
1832
- }
1833
- if (sv.length) {
1834
- lst.push({
1835
- k: (f.genename || f.label) + " SV",
1836
- v: sv.map((i) => {
1837
- return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " &gt; " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
1838
- }).join("")
1839
- });
1840
- }
1841
- if (fusion.length) {
1842
- lst.push({
1843
- k: (f.genename || f.label) + " fusion",
1844
- v: fusion.map((i) => {
1845
- return "<div>" + i.chrA + ":" + i.posA + "," + i.strandA + " &gt; " + i.chrB + ":" + i.posB + "," + i.strandB + "</div>";
1846
- }).join("")
1847
- });
1848
- }
1849
- if (snvindel.length) {
1850
- lst.push({
1851
- k: (f.genename || f.label) + " SNV/indel",
1852
- v: snvindel.map((m) => {
1853
- const c = mclass[m.m.class];
1854
- return '<div><span style="color:' + c.color + '">' + (m.m.mname || "") + '</span> <span style="font-size:.7em;opacity:.5">' + c.label + "</span></div>";
1855
- }).join("")
1856
- });
1857
- }
1858
- } else if (f.issampleattribute) {
1859
- const item = f.items.find((i) => i.sample == sample.name);
1860
- if (item) {
1861
- lst.push({
1862
- k: f.label,
1863
- v: item.value
1864
- });
1865
- }
1866
- } else {
1867
- console.error("cell tooltip: unknown feature type");
1868
- }
1869
- this.tip.clear();
1870
- make_table_2col(this.tip.d, lst);
1871
- this.tip.show(event.clientX, event.clientY);
1872
- }
1873
- /********** __menu ends **********/
1874
- sortsamplesbyfeatures() {
1875
- const sortbygenevalue = this.features.find((f) => f.isgenevalue && f.sort);
1876
- if (sortbygenevalue && sortbygenevalue.items) {
1877
- const sample2value = /* @__PURE__ */ new Map();
1878
- for (const i of sortbygenevalue.items) {
1879
- sample2value.set(i.sample, i.value);
1880
- }
1881
- this.samples.sort((i, j) => {
1882
- const vi = sample2value.has(i.name) ? sample2value.get(i.name) : sortbygenevalue.missingvalue;
1883
- const vj = sample2value.has(j.name) ? sample2value.get(j.name) : sortbygenevalue.missingvalue;
1884
- return vj - vi;
1885
- });
1886
- }
1887
- }
1888
- may_init_customvcf(tk) {
1889
- if (tk.info) return;
1890
- const arg = ["genome=" + this.genome.name];
1891
- if (tk.file) {
1892
- arg.push("file=" + tk.file);
1893
- } else {
1894
- arg.push("url=" + tk.url);
1895
- if (tk.indexURL) arg.push("indexURL=" + tk.indexURL);
1896
- }
1897
- return dofetch2("vcfheader?" + arg.join("&")).then((data) => {
1898
- const [info, format, samples, errs] = vcfparsemeta(data.metastr.split("\n"));
1899
- if (errs) throw "Error parsing VCF meta lines: " + errs.join("; ");
1900
- tk.info = info;
1901
- tk.format = format;
1902
- tk.samples = samples;
1903
- tk.nochr = data.nochr;
1904
- });
1905
- }
1906
- drawEmptycell(sample, feature, g) {
1907
- const height = this.features_on_rows ? feature.height : sample.height;
1908
- const width = this.features_on_rows ? sample.width : feature.width;
1909
- if (height < 5) return;
1910
- g.append("line").attr("x2", width).attr("y2", height).attr("stroke", "#ededed");
1911
- }
1912
- // end of class
1913
- };
1914
- function feature2arg(f) {
1915
- if (f.isgenevalue) {
1916
- return {
1917
- id: f.id,
1918
- isgenevalue: 1,
1919
- querykey: f.querykey,
1920
- genename: f.genename,
1921
- chr: f.chr,
1922
- start: f.start,
1923
- stop: f.stop
1924
- };
1925
- }
1926
- if (f.iscnv) {
1927
- return {
1928
- id: f.id,
1929
- iscnv: 1,
1930
- querykey: f.querykey,
1931
- chr: f.chr,
1932
- start: f.start,
1933
- stop: f.stop,
1934
- valuecutoff: f.valuecutoff,
1935
- focalsizelimit: f.focalsizelimit
1936
- };
1937
- }
1938
- if (f.isloh) {
1939
- return {
1940
- id: f.id,
1941
- isloh: 1,
1942
- querykey: f.querykey,
1943
- chr: f.chr,
1944
- start: f.start,
1945
- stop: f.stop,
1946
- valuecutoff: f.valuecutoff,
1947
- focalsizelimit: f.focalsizelimit
1948
- };
1949
- }
1950
- if (f.isvcf) {
1951
- return {
1952
- id: f.id,
1953
- isvcf: 1,
1954
- querykey: f.querykey,
1955
- chr: f.chr,
1956
- start: f.start,
1957
- stop: f.stop,
1958
- snvindel: {
1959
- excludeclasses: f.snvindel.excludeclasses
1960
- }
1961
- };
1962
- }
1963
- if (f.isitd) {
1964
- return {
1965
- id: f.id,
1966
- isitd: 1,
1967
- querykey: f.querykey,
1968
- chr: f.chr,
1969
- start: f.start,
1970
- stop: f.stop
1971
- };
1972
- }
1973
- if (f.issvfusion) {
1974
- return {
1975
- id: f.id,
1976
- issvfusion: 1,
1977
- querykey: f.querykey,
1978
- chr: f.chr,
1979
- start: f.start,
1980
- stop: f.stop
1981
- };
1982
- }
1983
- if (f.issvcnv || f.ismutation) {
1984
- const arg = {
1985
- id: f.id,
1986
- chr: f.chr,
1987
- start: f.start,
1988
- stop: f.stop,
1989
- cnv: {
1990
- hidden: f.cnv.hidden,
1991
- valuecutoff: f.cnv.valuecutoff,
1992
- focalsizelimit: f.cnv.focalsizelimit
1993
- },
1994
- loh: {
1995
- hidden: f.loh.hidden,
1996
- valuecutoff: f.loh.valuecutoff,
1997
- focalsizelimit: f.loh.focalsizelimit
1998
- },
1999
- itd: {
2000
- hidden: f.itd.hidden
2001
- },
2002
- sv: {
2003
- hidden: f.sv.hidden
2004
- },
2005
- fusion: {
2006
- hidden: f.fusion.hidden
2007
- },
2008
- snvindel: {
2009
- excludeclasses: f.snvindel.excludeclasses
2010
- }
2011
- };
2012
- if (f.issvcnv) {
2013
- arg.issvcnv = 1;
2014
- arg.querykey = f.querykey;
2015
- } else {
2016
- arg.ismutation = 1;
2017
- arg.querykeylst = f.querykeylst;
2018
- }
2019
- return arg;
2020
- }
2021
- if (f.issampleattribute) {
2022
- return {
2023
- id: f.id,
2024
- issampleattribute: 1,
2025
- key: f.key
2026
- };
2027
- }
2028
- throw "unknown feature type in making request parameter";
2029
- }
2030
- function getitemforsample_vcf(feature, sample) {
2031
- const mlst = [];
2032
- for (const m of feature.items) {
2033
- if (m.dt == dtsnvindel) {
2034
- if (m.sampledata.findIndex((i) => i.sampleobj.name == sample.name) != -1) {
2035
- mlst.push(m);
2036
- }
2037
- } else {
2038
- console.error("getitemforsample_vcf: unknown dt");
2039
- }
2040
- }
2041
- return mlst;
2042
- }
2043
- function getitemforsample_compound(feature, sample) {
2044
- const cnv = [], loh = [], itd = [], sv = [], fusion = [], snvindel = [];
2045
- for (const item of feature.items) {
2046
- if (item.dt == dtsnvindel) {
2047
- if (!item.sampledata) continue;
2048
- const m_sample = item.sampledata.find((s) => s.sampleobj.name == sample.name);
2049
- if (!m_sample) continue;
2050
- snvindel.push({
2051
- m: item,
2052
- m_sample
2053
- });
2054
- continue;
2055
- }
2056
- if (item.sample != sample.name) continue;
2057
- if (item.dt == dtcnv) {
2058
- cnv.push(item);
2059
- } else if (item.dt == dtloh) {
2060
- loh.push(item);
2061
- } else if (item.dt == dtitd) {
2062
- itd.push(item);
2063
- } else if (item.dt == dtsv) {
2064
- sv.push(item);
2065
- } else if (item.dt == dtfusionrna) {
2066
- fusion.push(item);
2067
- } else {
2068
- console.error("unknown dt: " + item.dt);
2069
- }
2070
- }
2071
- return [cnv, loh, itd, sv, fusion, snvindel];
2072
- }
2073
- function initfeature_polymutation(f) {
2074
- if (!f.width) f.width = 20;
2075
- if (!f.cnv) f.cnv = {};
2076
- if (!f.cnv.valuecutoff) f.cnv.valuecutoff = 0.2;
2077
- if (!Number.isInteger(f.cnv.focalsizelimit)) f.cnv.focalsizelimit = 2e6;
2078
- if (!f.cnv.colorgain) f.cnv.colorgain = default_cnvgaincolor;
2079
- if (!f.cnv.colorloss) f.cnv.colorloss = default_cnvlosscolor;
2080
- if (!f.loh) f.loh = {};
2081
- if (!f.loh.valuecutoff) f.loh.valuecutoff = 0.1;
2082
- if (!Number.isInteger(f.loh.focalsizelimit)) f.loh.focalsizelimit = 2e6;
2083
- if (!f.loh.color) f.loh.color = default_lohcolor;
2084
- if (!f.itd) f.itd = {};
2085
- if (!f.itd.color) f.itd.color = mclass[mclassitd].color;
2086
- if (!f.sv) f.sv = {};
2087
- if (!f.sv.color) f.sv.color = default_svcolor;
2088
- if (!f.fusion) f.fusion = {};
2089
- if (!f.fusion.color) f.fusion.color = default_svcolor;
2090
- if (!f.snvindel) f.snvindel = {};
2091
- if (!f.snvindel.excludeclasses) f.snvindel.excludeclasses = {};
2092
- }
2093
- function init_controlui(o) {
2094
- const buttonrow = o.holder.append("div").style("margin-bottom", "5px");
2095
- const folderdiv = o.holder.append("div").style("margin-bottom", "20px");
2096
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("LEGEND").attr("class", "sja_clbtext").on("click", () => {
2097
- if (o.legendtable.style("display") == "none") {
2098
- appear(o.legendtable);
2099
- } else {
2100
- disappear(o.legendtable);
2101
- }
2102
- });
2103
- o.legendtable = folderdiv.append("table").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("border-spacing", "10px").style("display", "none");
2104
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("CONFIG").attr("class", "sja_clbtext").on("click", () => {
2105
- if (generalconfig.style("display") == "none") {
2106
- appear(generalconfig);
2107
- } else {
2108
- disappear(generalconfig);
2109
- }
2110
- });
2111
- const generalconfig = folderdiv.append("div").style("border-top", "solid 1px #ededed").style("border-bottom", "solid 1px #ededed").style("display", "none");
2112
- const row = generalconfig.append("div").style("margin", "5px");
2113
- row.append("div").style("vertical-align", "top").style("display", "inline-block").html("Show features as &nbsp;&nbsp;");
2114
- const opts_div = row.append("div").style("display", "inline-block");
2115
- const mutation_opts = [
2116
- { value: "symbol", text: "CNV on genomic location, others as symbol" },
2117
- { value: "proportion", text: "All features as porportion" }
2118
- ];
2119
- mutation_opts.forEach((opt) => {
2120
- const opt_div = opts_div.append("div");
2121
- opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "mutaion_display").attr("value", opt.value).property(
2122
- "checked",
2123
- 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
2124
- ).on("change", function() {
2125
- if (opt.value == "symbol" && o.ismutation_allnotsymbolic) return;
2126
- else if (opt.value == "proportion" && o.ismutation_allsymbolic) return;
2127
- else if (opt.value == "symbol") {
2128
- delete o.ismutation_allsymbolic;
2129
- o.ismutation_allnotsymbolic = true;
2130
- } else if (opt.value == "proportion") {
2131
- o.ismutation_allsymbolic = true;
2132
- delete o.ismutation_allnotsymbolic;
2133
- } else {
2134
- return;
2135
- }
2136
- o.draw_matrix();
2137
- });
2138
- opt_div.append("label").attr("for", opt.value).text(opt.text);
2139
- });
2140
- const row2 = generalconfig.append("div").style("margin", "5px");
2141
- row2.append("div").style("vertical-align", "top").style("display", "inline-block").html("Layout of Matrix &nbsp;&nbsp;");
2142
- const opts_div2 = row2.append("div").style("display", "inline-block");
2143
- const layout_opts = [
2144
- { value: "gene_on_row", text: "Genes as Rows" },
2145
- { value: "sam_on_row", text: "Samples as Rows" }
2146
- ];
2147
- layout_opts.forEach((opt) => {
2148
- const opt_div = opts_div2.append("div");
2149
- opt_div.append("input").attr("type", "radio").attr("id", opt.value).attr("name", "layout").attr("value", opt.value).property(
2150
- "checked",
2151
- opt.value == "gene_on_row" && o.features_on_rows ? 1 : opt.value == "sam_on_row" && !o.features_on_rows ? 1 : 0
2152
- ).on("change", function() {
2153
- if (opt.value == "gene_on_row" && o.features_on_rows) return;
2154
- else if (opt.value == "sam_on_row" && !o.features_on_rows) return;
2155
- else if (opt.value == "gene_on_row") {
2156
- o.features_on_rows = true;
2157
- if (o.ori_feature_width) o.features.forEach((f) => f.height = o.ori_feature_width);
2158
- } else {
2159
- o.features_on_rows = false;
2160
- if (o.ori_feature_height) o.features.forEach((f) => f.width = o.ori_feature_height);
2161
- }
2162
- o.draw_matrix();
2163
- });
2164
- opt_div.append("label").attr("for", opt.value).text(opt.text);
2165
- });
2166
- buttonrow.append("span").style("margin-right", "20px").style("font-size", ".8em").text("DATA").attr("class", "sja_clbtext").on("click", () => {
2167
- printData(o);
2168
- });
2169
- may_add_kmplotbutton(o, buttonrow);
2170
- }
2171
- function printData(o) {
2172
- const lst = ["sample feature varianttype variant"];
2173
- for (const s of o.samples) {
2174
- for (const f of o.features) {
2175
- for (const i of f.items) {
2176
- if (i.sample && i.sample == s.name || i.sampledata && i.sampledata.findIndex((i2) => i2.sampleobj.name == s.name) != -1) {
2177
- lst.push(s.name + " " + f.label + " " + dt2label[i.dt] + " " + item2string(i));
2178
- }
2179
- }
2180
- }
2181
- }
2182
- export_data("Matrix data", [{ text: lst.join("\n") }]);
2183
- }
2184
- function item2string(i) {
2185
- if (i.dt == dtsnvindel)
2186
- return i.mname + " " + mclass[i.class].label + " " + i.chr + "." + i.pos + "." + i.ref + "." + i.alt;
2187
- if (i.dt == dtfusionrna || i.dt == dtsv)
2188
- return i.chrA + "." + i.posA + "." + (i.strandA || "") + " > " + i.chrB + "." + i.posB + "." + (i.strandB || "");
2189
- if (i.dt == dtcnv) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.value;
2190
- if (i.dt == dtloh) return i.chr + ":" + i.start + "-" + i.stop + ", log2(ratio): " + i.segmean;
2191
- if (i.dt == dtitd) return i.chr + ":" + i.start + "-" + i.stop;
2192
- return "";
2193
- }
2194
- export {
2195
- Samplematrix
2196
- };
2197
- //# sourceMappingURL=samplematrix-A5SZBKO6.js.map