@sjcrh/proteinpaint-client 2.129.7-0 → 2.130.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 (833) hide show
  1. package/dist/2dmaf-YLHCHTD7.js +1365 -0
  2. package/dist/2dmaf-YLHCHTD7.js.map +7 -0
  3. package/dist/AppHeader-R3JCLESU.js +814 -0
  4. package/dist/AppHeader-R3JCLESU.js.map +7 -0
  5. package/dist/Disco-XS6FBBP4.js +2519 -0
  6. package/dist/Disco-XS6FBBP4.js.map +7 -0
  7. package/dist/Disco.UI-ND52LRCO.js +235 -0
  8. package/dist/Disco.UI-ND52LRCO.js.map +7 -0
  9. package/dist/HicApp-A3KKIDY2.js +2218 -0
  10. package/dist/HicApp-A3KKIDY2.js.map +7 -0
  11. package/dist/Volcano-XT5D3DIQ.js +43 -0
  12. package/dist/WSISamplesPlot-3D2MLPCU.js +151 -0
  13. package/dist/WSISamplesPlot-3D2MLPCU.js.map +7 -0
  14. package/dist/WSIViewer-EFIGGZDH.js +44454 -0
  15. package/dist/adSandbox-35BD5B4Q.js +29 -0
  16. package/dist/app-FSPS3HAE.js +52 -0
  17. package/dist/app-U37CGSCQ.js +28 -0
  18. package/dist/app.js +12 -22
  19. package/dist/bam-SISWZTKA.js +835 -0
  20. package/dist/bam-SISWZTKA.js.map +7 -0
  21. package/dist/barchart-R4EFLWM2.js +44 -0
  22. package/dist/barchart.data-7VQLSTJN.js +30 -0
  23. package/dist/barchart.events-SEIXK4WU.js +36 -0
  24. package/dist/block-OW2GRBAE.js +6283 -0
  25. package/dist/block-OW2GRBAE.js.map +7 -0
  26. package/dist/block.init-ARXERJHW.js +29 -0
  27. package/dist/block.mds.expressionrank-ATZEDIOI.js +351 -0
  28. package/dist/block.mds.expressionrank-ATZEDIOI.js.map +7 -0
  29. package/dist/block.mds.geneboxplot-5NWGCXRU.js +820 -0
  30. package/dist/block.mds.geneboxplot-5NWGCXRU.js.map +7 -0
  31. package/dist/block.mds.junction-HS6QRLYA.js +1538 -0
  32. package/dist/block.mds.junction-HS6QRLYA.js.map +7 -0
  33. package/dist/block.mds.svcnv-2UXXWAZH.js +6795 -0
  34. package/dist/block.mds.svcnv-2UXXWAZH.js.map +7 -0
  35. package/dist/block.svg-S4WSIDUR.js +149 -0
  36. package/dist/block.svg-S4WSIDUR.js.map +7 -0
  37. package/dist/block.tk.aicheck-62SRIUHL.js +274 -0
  38. package/dist/block.tk.aicheck-62SRIUHL.js.map +7 -0
  39. package/dist/block.tk.ase-7EMTJ2VH.js +357 -0
  40. package/dist/block.tk.ase-7EMTJ2VH.js.map +7 -0
  41. package/dist/block.tk.bam-BGKLHVSB.js +1898 -0
  42. package/dist/block.tk.bam-BGKLHVSB.js.map +7 -0
  43. package/dist/block.tk.bedgraphdot-XKREIFWP.js +375 -0
  44. package/dist/block.tk.bedgraphdot-XKREIFWP.js.map +7 -0
  45. package/dist/block.tk.bigwig.ui-ST4V3J5V.js +202 -0
  46. package/dist/block.tk.bigwig.ui-ST4V3J5V.js.map +7 -0
  47. package/dist/block.tk.hicstraw-EKK5UUVK.js +808 -0
  48. package/dist/block.tk.hicstraw-EKK5UUVK.js.map +7 -0
  49. package/dist/block.tk.junction-M4Y2QWIM.js +2357 -0
  50. package/dist/block.tk.junction-M4Y2QWIM.js.map +7 -0
  51. package/dist/block.tk.junction.textmatrixui-YQHIVY4W.js +190 -0
  52. package/dist/block.tk.junction.textmatrixui-YQHIVY4W.js.map +7 -0
  53. package/dist/block.tk.ld-NBNQ2MDZ.js +92 -0
  54. package/dist/block.tk.ld-NBNQ2MDZ.js.map +7 -0
  55. package/dist/block.tk.menu-7C7ZHOAI.js +1020 -0
  56. package/dist/block.tk.menu-7C7ZHOAI.js.map +7 -0
  57. package/dist/block.tk.pgv-5DKAS5A7.js +938 -0
  58. package/dist/block.tk.pgv-5DKAS5A7.js.map +7 -0
  59. package/dist/boxplot-WFUBUVMM.js +39 -0
  60. package/dist/brainImaging-PUT54P65.js +417 -0
  61. package/dist/brainImaging-PUT54P65.js.map +7 -0
  62. package/dist/categorical-GM7K5RMG.js +34 -0
  63. package/dist/chunk-24TE27VU.js +1074 -0
  64. package/dist/chunk-24TE27VU.js.map +7 -0
  65. package/dist/chunk-33V4RYNV.js +117 -0
  66. package/dist/chunk-35PPPR4S.js +161 -0
  67. package/dist/chunk-35PPPR4S.js.map +7 -0
  68. package/dist/chunk-3XR2AKEX.js +275 -0
  69. package/dist/chunk-3XR2AKEX.js.map +7 -0
  70. package/dist/chunk-5ULJUZD3.js +351 -0
  71. package/dist/chunk-5ULJUZD3.js.map +7 -0
  72. package/dist/chunk-62L5AJFP.js +89 -0
  73. package/dist/chunk-62L5AJFP.js.map +7 -0
  74. package/dist/chunk-6I6VXBMS.js +985 -0
  75. package/dist/chunk-6I6VXBMS.js.map +7 -0
  76. package/dist/chunk-7VEWRQAU.js +1275 -0
  77. package/dist/chunk-7VEWRQAU.js.map +7 -0
  78. package/dist/chunk-AXVIVHNU.js +519 -0
  79. package/dist/chunk-AXVIVHNU.js.map +7 -0
  80. package/dist/chunk-B6BHVPDD.js +162 -0
  81. package/dist/chunk-BLGJ4GR3.js +54 -0
  82. package/dist/chunk-BLGJ4GR3.js.map +7 -0
  83. package/dist/chunk-CC76C4WX.js +1106 -0
  84. package/dist/chunk-CC76C4WX.js.map +7 -0
  85. package/dist/chunk-DDOIDCE3.js +95 -0
  86. package/dist/chunk-DU4TQ45V.js +13827 -0
  87. package/dist/chunk-DU4TQ45V.js.map +7 -0
  88. package/dist/chunk-ESPY3ECK.js +517 -0
  89. package/dist/chunk-FQ5SFCQR.js +2852 -0
  90. package/dist/chunk-FQ5SFCQR.js.map +7 -0
  91. package/dist/chunk-FXJUDTZJ.js +737 -0
  92. package/dist/chunk-FXJUDTZJ.js.map +7 -0
  93. package/dist/chunk-G4UQG2AB.js +390 -0
  94. package/dist/chunk-GRKAYOVR.js +1010 -0
  95. package/dist/chunk-GRKAYOVR.js.map +7 -0
  96. package/dist/chunk-GYV72VXP.js +255 -0
  97. package/dist/chunk-H57VAOUW.js +1373 -0
  98. package/dist/chunk-H57VAOUW.js.map +7 -0
  99. package/dist/chunk-HIFEW4EG.js +363 -0
  100. package/dist/chunk-HIFEW4EG.js.map +7 -0
  101. package/dist/chunk-HIWM64DF.js +475 -0
  102. package/dist/chunk-HIWM64DF.js.map +7 -0
  103. package/dist/chunk-HLGHOYFH.js +377 -0
  104. package/dist/chunk-HW2YSOEA.js +6368 -0
  105. package/dist/chunk-IA32BIFN.js +274 -0
  106. package/dist/chunk-ICWQE726.js +524 -0
  107. package/dist/chunk-ICWQE726.js.map +7 -0
  108. package/dist/chunk-J4YTSZ4K.js +462 -0
  109. package/dist/chunk-JFOCYPP3.js +538 -0
  110. package/dist/chunk-JFOCYPP3.js.map +7 -0
  111. package/dist/chunk-K4A77J7V.js +729 -0
  112. package/dist/chunk-K4A77J7V.js.map +7 -0
  113. package/dist/chunk-KGATQPPL.js +4872 -0
  114. package/dist/chunk-KGATQPPL.js.map +7 -0
  115. package/dist/chunk-KW24V4W6.js +337 -0
  116. package/dist/chunk-LCNMETJW.js +229 -0
  117. package/dist/chunk-LJOWO65X.js +193 -0
  118. package/dist/chunk-LUQGX4DC.js +621 -0
  119. package/dist/chunk-LXCCYHKL.js +360 -0
  120. package/dist/chunk-MIID255B.js +297 -0
  121. package/dist/chunk-MIID255B.js.map +7 -0
  122. package/dist/chunk-MNBBGW6E.js +2713 -0
  123. package/dist/chunk-MNBBGW6E.js.map +7 -0
  124. package/dist/chunk-NC4BU2QT.js +55 -0
  125. package/dist/chunk-O6MQR4HX.js +129 -0
  126. package/dist/chunk-PGTDV5OY.js +2327 -0
  127. package/dist/chunk-PGTDV5OY.js.map +7 -0
  128. package/dist/chunk-PWZQLQBG.js +203 -0
  129. package/dist/chunk-QEW3SJ33.js +14 -0
  130. package/dist/chunk-QFNWFSDV.js +279 -0
  131. package/dist/chunk-SHFDKRXK.js +385 -0
  132. package/dist/chunk-SHFDKRXK.js.map +7 -0
  133. package/dist/chunk-T7ALKONN.js +5180 -0
  134. package/dist/chunk-T7ALKONN.js.map +7 -0
  135. package/dist/chunk-TCADCO7Z.js +2784 -0
  136. package/dist/chunk-TCADCO7Z.js.map +7 -0
  137. package/dist/chunk-UFGNICSX.js +222 -0
  138. package/dist/chunk-UFGNICSX.js.map +7 -0
  139. package/dist/chunk-VEW7P246.js +603 -0
  140. package/dist/chunk-W4JV4LYU.js +554 -0
  141. package/dist/chunk-WV6YMCAK.js +1568 -0
  142. package/dist/chunk-WV6YMCAK.js.map +7 -0
  143. package/dist/chunk-WYE7FP55.js +355 -0
  144. package/dist/chunk-WYE7FP55.js.map +7 -0
  145. package/dist/chunk-YA4HH6TR.js +156 -0
  146. package/dist/chunk-ZDNJAKVC.js +476 -0
  147. package/dist/chunk-ZDNJAKVC.js.map +7 -0
  148. package/dist/chunk-ZJFZDR2Y.js +85 -0
  149. package/dist/condition-Q3533J2E.js +318 -0
  150. package/dist/condition-Q3533J2E.js.map +7 -0
  151. package/dist/controls-NMP64Y3G.js +35 -0
  152. package/dist/controls.config-DE36KWMS.js +31 -0
  153. package/dist/correlationVolcano-HDK4JNUW.js +624 -0
  154. package/dist/correlationVolcano-HDK4JNUW.js.map +7 -0
  155. package/dist/cuminc-QVHSPWBH.js +1130 -0
  156. package/dist/cuminc-QVHSPWBH.js.map +7 -0
  157. package/dist/customdata.inputui-UWKX6RMG.js +278 -0
  158. package/dist/customdata.inputui-UWKX6RMG.js.map +7 -0
  159. package/dist/dataDownload-IPVOWNH5.js +320 -0
  160. package/dist/dataDownload-IPVOWNH5.js.map +7 -0
  161. package/dist/databrowser.ui-EVOPWGZA.js +424 -0
  162. package/dist/databrowser.ui-EVOPWGZA.js.map +7 -0
  163. package/dist/density-EFL5CPWQ.js +18 -0
  164. package/dist/dictionary-BUVJDP26.js +90 -0
  165. package/dist/dictionary-BUVJDP26.js.map +7 -0
  166. package/dist/differentialAnalysis-4ITGZWPV.js +219 -0
  167. package/dist/differentialAnalysis-4ITGZWPV.js.map +7 -0
  168. package/dist/e2pca-TG6MPYDH.js +342 -0
  169. package/dist/e2pca-TG6MPYDH.js.map +7 -0
  170. package/dist/ep-3GMDSCMC.js +1249 -0
  171. package/dist/ep-3GMDSCMC.js.map +7 -0
  172. package/dist/eventCount-QQTFSZWH.js +373 -0
  173. package/dist/eventCount-QQTFSZWH.js.map +7 -0
  174. package/dist/eventcount.integration.spec-TECGQBXI.js +298 -0
  175. package/dist/eventcount.integration.spec-TECGQBXI.js.map +7 -0
  176. package/dist/expclust.gdc.spec-YZFE3ZMA.js +297 -0
  177. package/dist/expclust.gdc.spec-YZFE3ZMA.js.map +7 -0
  178. package/dist/facet-AYHLVEF3.js +404 -0
  179. package/dist/facet-AYHLVEF3.js.map +7 -0
  180. package/dist/geneExpClustering-I6ROMAVZ.js +238 -0
  181. package/dist/geneExpClustering-I6ROMAVZ.js.map +7 -0
  182. package/dist/geneExpression-KRGU24P3.js +51 -0
  183. package/dist/geneExpression-KRGU24P3.js.map +7 -0
  184. package/dist/geneExpression-ZOZN66JM.js +49 -0
  185. package/dist/geneORA-RKNCRRGW.js +273 -0
  186. package/dist/geneORA-RKNCRRGW.js.map +7 -0
  187. package/dist/geneVariant-3AA3MTVW.js +122 -0
  188. package/dist/geneVariant-3AA3MTVW.js.map +7 -0
  189. package/dist/geneVariant-GFSZND2J.js +60 -0
  190. package/dist/geneVariant-GFSZND2J.js.map +7 -0
  191. package/dist/genefusion.ui-KELPO26C.js +242 -0
  192. package/dist/genefusion.ui-KELPO26C.js.map +7 -0
  193. package/dist/geneset-MCN5GSM6.js +186 -0
  194. package/dist/geneset-MCN5GSM6.js.map +7 -0
  195. package/dist/genomeBrowser-XHVJCBI2.js +501 -0
  196. package/dist/genomeBrowser-XHVJCBI2.js.map +7 -0
  197. package/dist/genomeBrowser.controls-4PANNRAP.js +31 -0
  198. package/dist/genomeBrowser.spec-6PDHNYGA.js +269 -0
  199. package/dist/genomeBrowser.spec-6PDHNYGA.js.map +7 -0
  200. package/dist/grin2-PR4I2BXM.js +991 -0
  201. package/dist/grin2-PR4I2BXM.js.map +7 -0
  202. package/dist/groupsetting-XAKZTZ6B.js +29 -0
  203. package/dist/gsea-M2WKMVCM.js +42 -0
  204. package/dist/hierCluster-DRXW2LRP.js +52 -0
  205. package/dist/hierCluster-PSA4XIMS.js +56 -0
  206. package/dist/hierCluster.config-KBRUAYLO.js +31 -0
  207. package/dist/hierCluster.integration.spec-SB3HAZ7S.js +298 -0
  208. package/dist/hierCluster.integration.spec-SB3HAZ7S.js.map +7 -0
  209. package/dist/hierCluster.interactivity-MV7EOB3K.js +47 -0
  210. package/dist/hierCluster.renderers-YPXFW4IN.js +22 -0
  211. package/dist/imagePlot-JABXFNQ6.js +134 -0
  212. package/dist/imagePlot-JABXFNQ6.js.map +7 -0
  213. package/dist/launch.adhoc-YCEQIA6A.js +33 -0
  214. package/dist/leftlabel.sample-AKAMORXZ.js +260 -0
  215. package/dist/leftlabel.sample-AKAMORXZ.js.map +7 -0
  216. package/dist/lollipop-FETBWDDF.js +159 -0
  217. package/dist/lollipop-FETBWDDF.js.map +7 -0
  218. package/dist/maf-RQZ6CVHO.js +451 -0
  219. package/dist/maf-RQZ6CVHO.js.map +7 -0
  220. package/dist/maftimeline-Q7T3XWKC.js +585 -0
  221. package/dist/maftimeline-Q7T3XWKC.js.map +7 -0
  222. package/dist/matrix-H35RZ3F4.js +51 -0
  223. package/dist/matrix-OGTXOX6L.js +56 -0
  224. package/dist/matrix.cells-ZUVN2K6X.js +29 -0
  225. package/dist/matrix.config-NSFMTHTX.js +32 -0
  226. package/dist/matrix.controls-TSTYH5CG.js +31 -0
  227. package/dist/matrix.data-DXJ37GIB.js +35 -0
  228. package/dist/matrix.groups-EW6WDR4R.js +27 -0
  229. package/dist/matrix.integration.spec-WXYSSMZG.js +3121 -0
  230. package/dist/matrix.integration.spec-WXYSSMZG.js.map +7 -0
  231. package/dist/matrix.interactivity-Y3QRHOVL.js +33 -0
  232. package/dist/matrix.layout-QTVOA45S.js +35 -0
  233. package/dist/matrix.legend-U6W7WHC2.js +23 -0
  234. package/dist/matrix.renderers-Q3W64W4F.js +29 -0
  235. package/dist/matrix.serieses-VXNPZJKK.js +22 -0
  236. package/dist/matrix.sort-FAB66HNB.js +28 -0
  237. package/dist/matrix.sort.unit.spec-PBQG3H57.js +463 -0
  238. package/dist/matrix.sort.unit.spec-PBQG3H57.js.map +7 -0
  239. package/dist/matrix.sorterUi-JHMXYVNS.js +18 -0
  240. package/dist/matrix.sorterUi.unit.spec-K3557DV4.js +334 -0
  241. package/dist/matrix.sorterUi.unit.spec-K3557DV4.js.map +7 -0
  242. package/dist/mavb-IEZSIXAK.js +724 -0
  243. package/dist/mavb-IEZSIXAK.js.map +7 -0
  244. package/dist/mds.fimo-GMRSP7TO.js +510 -0
  245. package/dist/mds.fimo-GMRSP7TO.js.map +7 -0
  246. package/dist/mds.samplescatterplot-XD6HFX7H.js +1542 -0
  247. package/dist/mds.samplescatterplot-XD6HFX7H.js.map +7 -0
  248. package/dist/mds.survivalplot-PQ2JJ4MA.js +474 -0
  249. package/dist/mds.survivalplot-PQ2JJ4MA.js.map +7 -0
  250. package/dist/metaboliteIntensity-NO5LUTIH.js +44 -0
  251. package/dist/numeric-KKMRX4N7.js +41 -0
  252. package/dist/numeric.binary-TDAY5LDB.js +240 -0
  253. package/dist/numeric.binary-TDAY5LDB.js.map +7 -0
  254. package/dist/numeric.continuous-TNA74BKB.js +125 -0
  255. package/dist/numeric.continuous-TNA74BKB.js.map +7 -0
  256. package/dist/numeric.discrete-JXXLATQ7.js +36 -0
  257. package/dist/numeric.spline-YBSPIW4W.js +219 -0
  258. package/dist/numeric.spline-YBSPIW4W.js.map +7 -0
  259. package/dist/numeric.toggle-4SQJJGYM.js +31 -0
  260. package/dist/numericDictTermCluster-U6OF2NNY.js +73 -0
  261. package/dist/oncomatrix-VO7CBJKZ.js +281 -0
  262. package/dist/oncomatrix-VO7CBJKZ.js.map +7 -0
  263. package/dist/oncomatrix.spec-PYGYJAFR.js +438 -0
  264. package/dist/oncomatrix.spec-PYGYJAFR.js.map +7 -0
  265. package/dist/plot.2dvaf-TY7PNR22.js +369 -0
  266. package/dist/plot.2dvaf-TY7PNR22.js.map +7 -0
  267. package/dist/plot.app-WXNZPOGP.js +32 -0
  268. package/dist/plot.barplot-7O6UMIQT.js +93 -0
  269. package/dist/plot.barplot-7O6UMIQT.js.map +7 -0
  270. package/dist/plot.boxplot-RKJPNLJV.js +143 -0
  271. package/dist/plot.boxplot-RKJPNLJV.js.map +7 -0
  272. package/dist/plot.brainImaging-PBQEGFJQ.js +51 -0
  273. package/dist/plot.disco-NEVQC7TS.js +94 -0
  274. package/dist/plot.dzi-JJH6VMIU.js +33 -0
  275. package/dist/plot.ssgq-7PUGAIZM.js +130 -0
  276. package/dist/plot.ssgq-7PUGAIZM.js.map +7 -0
  277. package/dist/plot.vaf2cov-CEXVWVKA.js +251 -0
  278. package/dist/plot.vaf2cov-CEXVWVKA.js.map +7 -0
  279. package/dist/plot.wsi-Z36PHQ6B.js +32 -0
  280. package/dist/profile.spec-Y3YAH7YC.js +71 -0
  281. package/dist/profile.spec-Y3YAH7YC.js.map +7 -0
  282. package/dist/profileBarchart-27CTRXGP.js +254 -0
  283. package/dist/profileBarchart-27CTRXGP.js.map +7 -0
  284. package/dist/profileForms-RWGNC4YB.js +385 -0
  285. package/dist/profileForms-RWGNC4YB.js.map +7 -0
  286. package/dist/profilePlot-DYC54JMA.js +49 -0
  287. package/dist/profilePolar-4OHWMTOA.js +183 -0
  288. package/dist/profilePolar-4OHWMTOA.js.map +7 -0
  289. package/dist/profileRadar-V5JEIC4H.js +260 -0
  290. package/dist/profileRadar-V5JEIC4H.js.map +7 -0
  291. package/dist/profileRadarFacility-SPCRDVIF.js +293 -0
  292. package/dist/profileRadarFacility-SPCRDVIF.js.map +7 -0
  293. package/dist/regression-OY6C5EWU.js +50 -0
  294. package/dist/regression.inputs-MICI54VT.js +42 -0
  295. package/dist/regression.inputs.term-7ZNPFIW7.js +42 -0
  296. package/dist/regression.inputs.values.table-PKIFQV6D.js +39 -0
  297. package/dist/regression.results-IUA7NGJP.js +31 -0
  298. package/dist/report-3KGIGIGO.js +279 -0
  299. package/dist/report-3KGIGIGO.js.map +7 -0
  300. package/dist/runChart-OB25GUHF.js +51 -0
  301. package/dist/runchart.integration.spec-XDKFAELQ.js +369 -0
  302. package/dist/runchart.integration.spec-XDKFAELQ.js.map +7 -0
  303. package/dist/sampleScatter-KEAEUY2I.js +53 -0
  304. package/dist/sampleView-FYW6DYCC.js +42 -0
  305. package/dist/samplelst-LPOYB24X.js +102 -0
  306. package/dist/samplelst-LPOYB24X.js.map +7 -0
  307. package/dist/samplematrix-6QHECWU3.js +2192 -0
  308. package/dist/samplematrix-6QHECWU3.js.map +7 -0
  309. package/dist/sc-SDGT6FF3.js +367 -0
  310. package/dist/sc-SDGT6FF3.js.map +7 -0
  311. package/dist/scatter.integration.spec-4F546SR6.js +923 -0
  312. package/dist/scatter.integration.spec-4F546SR6.js.map +7 -0
  313. package/dist/selectGenomeWithTklst-ZPWOOIII.js +125 -0
  314. package/dist/selectGenomeWithTklst-ZPWOOIII.js.map +7 -0
  315. package/dist/singleCellCellType-GAIRWUTJ.js +57 -0
  316. package/dist/singleCellCellType-GAIRWUTJ.js.map +7 -0
  317. package/dist/singleCellGeneExpression-FMICRXAH.js +48 -0
  318. package/dist/singleCellPlot-3XYAS4HN.js +47 -0
  319. package/dist/singlecell-J4MYAUFK.js +114 -0
  320. package/dist/singlecell-J4MYAUFK.js.map +7 -0
  321. package/dist/singlecell-UDJJUBJB.js +832 -0
  322. package/dist/singlecell-UDJJUBJB.js.map +7 -0
  323. package/dist/snp-2ZVMFWTQ.js +73 -0
  324. package/dist/snp-2ZVMFWTQ.js.map +7 -0
  325. package/dist/snp-NUJSUDOV.js +59 -0
  326. package/dist/snp-NUJSUDOV.js.map +7 -0
  327. package/dist/snplocus-CDIWEIU6.js +199 -0
  328. package/dist/snplocus-CDIWEIU6.js.map +7 -0
  329. package/dist/spliceevent.a53ss.diagram-CECGM5BH.js +142 -0
  330. package/dist/spliceevent.a53ss.diagram-CECGM5BH.js.map +7 -0
  331. package/dist/spliceevent.exonskip.diagram-ABCZU2WU.js +268 -0
  332. package/dist/spliceevent.exonskip.diagram-ABCZU2WU.js.map +7 -0
  333. package/dist/spliceevent.noeventdiagram-NYLODJN7.js +451 -0
  334. package/dist/spliceevent.noeventdiagram-NYLODJN7.js.map +7 -0
  335. package/dist/summary-IZV5JNDA.js +53 -0
  336. package/dist/sunburst-EPVNF7XM.js +275 -0
  337. package/dist/sunburst-EPVNF7XM.js.map +7 -0
  338. package/dist/survival-2XMZ3K3B.js +53 -0
  339. package/dist/survival-2XMZ3K3B.js.map +7 -0
  340. package/dist/survival-ZVCS6JAZ.js +1109 -0
  341. package/dist/survival-ZVCS6JAZ.js.map +7 -0
  342. package/dist/svgraph-CMFHWZGQ.js +1381 -0
  343. package/dist/svgraph-CMFHWZGQ.js.map +7 -0
  344. package/dist/svmr-K6FGJ27Z.js +3834 -0
  345. package/dist/svmr-K6FGJ27Z.js.map +7 -0
  346. package/dist/table-N3ZCRA6R.js +193 -0
  347. package/dist/table-N3ZCRA6R.js.map +7 -0
  348. package/dist/tk-SJCY2U2V.js +39 -0
  349. package/dist/tp.ui-ANT54Y35.js +1451 -0
  350. package/dist/tp.ui-ANT54Y35.js.map +7 -0
  351. package/dist/tvs.dtcnv-BTFOIIBW.js +128 -0
  352. package/dist/tvs.dtcnv-BTFOIIBW.js.map +7 -0
  353. package/dist/tvs.geneVariant-FBK3VL7C.js +79 -0
  354. package/dist/tvs.geneVariant-FBK3VL7C.js.map +7 -0
  355. package/dist/tvs.numeric-6Y7S54WV.js +1 -1
  356. package/dist/tvs.samplelst-V5KWPBSQ.js +103 -0
  357. package/dist/tvs.samplelst-V5KWPBSQ.js.map +7 -0
  358. package/dist/violin-BLWZBXBB.js +40 -0
  359. package/dist/violin.interactivity-YQGDRE3O.js +29 -0
  360. package/dist/violin.renderer-ABEHJX7N.js +31 -0
  361. package/dist/vocabulary-J3ZSAY7T.js +32 -0
  362. package/dist/volcano-ABJEDPNW.js +43 -0
  363. package/package.json +2 -2
  364. package/dist/2dmaf-FEYQZBOU.js +0 -1361
  365. package/dist/2dmaf-FEYQZBOU.js.map +0 -7
  366. package/dist/AppHeader-K7QCS4FB.js +0 -827
  367. package/dist/AppHeader-K7QCS4FB.js.map +0 -7
  368. package/dist/Disco-3CBZVFWU.js +0 -2529
  369. package/dist/Disco-3CBZVFWU.js.map +0 -7
  370. package/dist/Disco.UI-VGVBHLQA.js +0 -247
  371. package/dist/Disco.UI-VGVBHLQA.js.map +0 -7
  372. package/dist/HicApp-52KZAXV6.js +0 -2230
  373. package/dist/HicApp-52KZAXV6.js.map +0 -7
  374. package/dist/Volcano-FDG6ZLLV.js +0 -53
  375. package/dist/WSISamplesPlot-SLVPK6WK.js +0 -161
  376. package/dist/WSISamplesPlot-SLVPK6WK.js.map +0 -7
  377. package/dist/WSIViewer-T55EZBFX.js +0 -44454
  378. package/dist/adSandbox-63PMLW64.js +0 -28
  379. package/dist/app-ORN3334Z.js +0 -38
  380. package/dist/app-PI3TGH5J.js +0 -62
  381. package/dist/bam-ACWRKQLN.js +0 -849
  382. package/dist/bam-ACWRKQLN.js.map +0 -7
  383. package/dist/barchart-YBSB7XOQ.js +0 -54
  384. package/dist/barchart.data-LNNY5IVZ.js +0 -28
  385. package/dist/barchart.events-QQUZS3LG.js +0 -46
  386. package/dist/block-ULID3KKM.js +0 -6306
  387. package/dist/block-ULID3KKM.js.map +0 -7
  388. package/dist/block.init-T6EQDOEP.js +0 -24
  389. package/dist/block.mds.expressionrank-3LZTHB4R.js +0 -344
  390. package/dist/block.mds.expressionrank-3LZTHB4R.js.map +0 -7
  391. package/dist/block.mds.geneboxplot-HPNED5GQ.js +0 -813
  392. package/dist/block.mds.geneboxplot-HPNED5GQ.js.map +0 -7
  393. package/dist/block.mds.junction-QBOGCD5O.js +0 -1532
  394. package/dist/block.mds.junction-QBOGCD5O.js.map +0 -7
  395. package/dist/block.mds.svcnv-E5Y5BBHH.js +0 -6791
  396. package/dist/block.mds.svcnv-E5Y5BBHH.js.map +0 -7
  397. package/dist/block.svg-YWUSPDG3.js +0 -142
  398. package/dist/block.svg-YWUSPDG3.js.map +0 -7
  399. package/dist/block.tk.aicheck-DUKP5NYN.js +0 -285
  400. package/dist/block.tk.aicheck-DUKP5NYN.js.map +0 -7
  401. package/dist/block.tk.ase-IX6CH5L5.js +0 -350
  402. package/dist/block.tk.ase-IX6CH5L5.js.map +0 -7
  403. package/dist/block.tk.bam-FFUYIZJ2.js +0 -1909
  404. package/dist/block.tk.bam-FFUYIZJ2.js.map +0 -7
  405. package/dist/block.tk.bedgraphdot-JHNTSTZN.js +0 -368
  406. package/dist/block.tk.bedgraphdot-JHNTSTZN.js.map +0 -7
  407. package/dist/block.tk.bigwig.ui-FYW5XHYO.js +0 -199
  408. package/dist/block.tk.bigwig.ui-FYW5XHYO.js.map +0 -7
  409. package/dist/block.tk.hicstraw-PX5PA7CY.js +0 -818
  410. package/dist/block.tk.hicstraw-PX5PA7CY.js.map +0 -7
  411. package/dist/block.tk.junction-HLMBZGKZ.js +0 -2351
  412. package/dist/block.tk.junction-HLMBZGKZ.js.map +0 -7
  413. package/dist/block.tk.junction.textmatrixui-PHGA5RDF.js +0 -186
  414. package/dist/block.tk.junction.textmatrixui-PHGA5RDF.js.map +0 -7
  415. package/dist/block.tk.ld-RJEFTYAN.js +0 -102
  416. package/dist/block.tk.ld-RJEFTYAN.js.map +0 -7
  417. package/dist/block.tk.menu-KJWAP4XM.js +0 -1017
  418. package/dist/block.tk.menu-KJWAP4XM.js.map +0 -7
  419. package/dist/block.tk.pgv-T7MX24EC.js +0 -933
  420. package/dist/block.tk.pgv-T7MX24EC.js.map +0 -7
  421. package/dist/boxplot-NH3JS23R.js +0 -49
  422. package/dist/brainImaging-TL2YBHVT.js +0 -427
  423. package/dist/brainImaging-TL2YBHVT.js.map +0 -7
  424. package/dist/categorical-HRJOLLET.js +0 -44
  425. package/dist/chunk-2YRNVMJ6.js +0 -509
  426. package/dist/chunk-2YRNVMJ6.js.map +0 -7
  427. package/dist/chunk-3LATRZEN.js +0 -1104
  428. package/dist/chunk-3LATRZEN.js.map +0 -7
  429. package/dist/chunk-3UAZUDKB.js +0 -415
  430. package/dist/chunk-3UAZUDKB.js.map +0 -7
  431. package/dist/chunk-43HH2SAV.js +0 -162
  432. package/dist/chunk-4HZ5BSNZ.js +0 -2329
  433. package/dist/chunk-4HZ5BSNZ.js.map +0 -7
  434. package/dist/chunk-53ADBSHW.js +0 -477
  435. package/dist/chunk-53ADBSHW.js.map +0 -7
  436. package/dist/chunk-5A7MTD7L.js +0 -91
  437. package/dist/chunk-5A7MTD7L.js.map +0 -7
  438. package/dist/chunk-5TJ3DV56.js +0 -621
  439. package/dist/chunk-6D2TQRZT.js +0 -55
  440. package/dist/chunk-6RYW276J.js +0 -1076
  441. package/dist/chunk-6RYW276J.js.map +0 -7
  442. package/dist/chunk-7GMEH3KQ.js +0 -1279
  443. package/dist/chunk-7GMEH3KQ.js.map +0 -7
  444. package/dist/chunk-7SW6DLUK.js +0 -193
  445. package/dist/chunk-A3IZ4FQK.js +0 -2858
  446. package/dist/chunk-A3IZ4FQK.js.map +0 -7
  447. package/dist/chunk-ACT3S5BW.js +0 -54
  448. package/dist/chunk-ACT3S5BW.js.map +0 -7
  449. package/dist/chunk-AYGHDGZI.js +0 -128
  450. package/dist/chunk-AYGHDGZI.js.map +0 -7
  451. package/dist/chunk-CTOEKS7F.js +0 -1014
  452. package/dist/chunk-CTOEKS7F.js.map +0 -7
  453. package/dist/chunk-EDCSJ4GC.js +0 -229
  454. package/dist/chunk-EXZGYW5T.js +0 -480
  455. package/dist/chunk-EXZGYW5T.js.map +0 -7
  456. package/dist/chunk-EYLIP27T.js +0 -1037
  457. package/dist/chunk-EYLIP27T.js.map +0 -7
  458. package/dist/chunk-FLEUP4AE.js +0 -5187
  459. package/dist/chunk-FLEUP4AE.js.map +0 -7
  460. package/dist/chunk-FUYXS7Y4.js +0 -4874
  461. package/dist/chunk-FUYXS7Y4.js.map +0 -7
  462. package/dist/chunk-GC3OSZYT.js +0 -203
  463. package/dist/chunk-GX775GFJ.js +0 -1549
  464. package/dist/chunk-GX775GFJ.js.map +0 -7
  465. package/dist/chunk-HEDTHZE4.js +0 -277
  466. package/dist/chunk-HEDTHZE4.js.map +0 -7
  467. package/dist/chunk-HHH6IKZU.js +0 -279
  468. package/dist/chunk-HXFSDWMH.js +0 -224
  469. package/dist/chunk-HXFSDWMH.js.map +0 -7
  470. package/dist/chunk-J34V4RMI.js +0 -156
  471. package/dist/chunk-J4F2VRCR.js +0 -95
  472. package/dist/chunk-L6SJKDPO.js +0 -2717
  473. package/dist/chunk-L6SJKDPO.js.map +0 -7
  474. package/dist/chunk-LPMRCPPB.js +0 -6368
  475. package/dist/chunk-LRMLO6AB.js +0 -129
  476. package/dist/chunk-MKONKD5M.js +0 -2790
  477. package/dist/chunk-MKONKD5M.js.map +0 -7
  478. package/dist/chunk-MKUCJTG6.js +0 -85
  479. package/dist/chunk-MMLYVY3C.js +0 -603
  480. package/dist/chunk-N4F4LYRQ.js +0 -14
  481. package/dist/chunk-NUE4V7ZT.js +0 -739
  482. package/dist/chunk-NUE4V7ZT.js.map +0 -7
  483. package/dist/chunk-OEBOLGEQ.js +0 -462
  484. package/dist/chunk-OPYL3CW3.js +0 -111
  485. package/dist/chunk-OPYL3CW3.js.map +0 -7
  486. package/dist/chunk-P64DWRTC.js +0 -19
  487. package/dist/chunk-P64DWRTC.js.map +0 -7
  488. package/dist/chunk-PKPKEP5B.js +0 -815
  489. package/dist/chunk-PKPKEP5B.js.map +0 -7
  490. package/dist/chunk-PRXUNJUZ.js +0 -163
  491. package/dist/chunk-PRXUNJUZ.js.map +0 -7
  492. package/dist/chunk-QE66ZUIY.js +0 -11104
  493. package/dist/chunk-QE66ZUIY.js.map +0 -7
  494. package/dist/chunk-QF3GTFDS.js +0 -337
  495. package/dist/chunk-R6IPNJFW.js +0 -360
  496. package/dist/chunk-R7KKL2HM.js +0 -526
  497. package/dist/chunk-R7KKL2HM.js.map +0 -7
  498. package/dist/chunk-RBAYBCRJ.js +0 -353
  499. package/dist/chunk-RBAYBCRJ.js.map +0 -7
  500. package/dist/chunk-RBY55C3S.js +0 -517
  501. package/dist/chunk-RDX3TFDT.js +0 -537
  502. package/dist/chunk-RDX3TFDT.js.map +0 -7
  503. package/dist/chunk-SIFQAMCS.js +0 -377
  504. package/dist/chunk-SKWQBFO7.js +0 -389
  505. package/dist/chunk-SKWQBFO7.js.map +0 -7
  506. package/dist/chunk-T2IYLCS6.js +0 -60
  507. package/dist/chunk-T2IYLCS6.js.map +0 -7
  508. package/dist/chunk-TXYOQQFE.js +0 -116
  509. package/dist/chunk-TXYOQQFE.js.map +0 -7
  510. package/dist/chunk-UF2KMCUC.js +0 -390
  511. package/dist/chunk-UGDFUVUL.js +0 -117
  512. package/dist/chunk-UQYUWM25.js +0 -299
  513. package/dist/chunk-UQYUWM25.js.map +0 -7
  514. package/dist/chunk-VITP6PX2.js +0 -274
  515. package/dist/chunk-WLU3JZQN.js +0 -65
  516. package/dist/chunk-WLU3JZQN.js.map +0 -7
  517. package/dist/chunk-WW7QOIXO.js +0 -255
  518. package/dist/chunk-X7OTACW6.js +0 -363
  519. package/dist/chunk-X7OTACW6.js.map +0 -7
  520. package/dist/chunk-Y47RRS5H.js +0 -554
  521. package/dist/chunk-ZNFIEUXA.js +0 -987
  522. package/dist/chunk-ZNFIEUXA.js.map +0 -7
  523. package/dist/chunk-ZV7KEXIX.js +0 -731
  524. package/dist/chunk-ZV7KEXIX.js.map +0 -7
  525. package/dist/chunk-ZYAXRWJG.js +0 -358
  526. package/dist/chunk-ZYAXRWJG.js.map +0 -7
  527. package/dist/chunk-ZYN53AW6.js +0 -98
  528. package/dist/chunk-ZYN53AW6.js.map +0 -7
  529. package/dist/chunk-ZZYIGGXZ.js +0 -1375
  530. package/dist/chunk-ZZYIGGXZ.js.map +0 -7
  531. package/dist/condition-LK2C6VHL.js +0 -329
  532. package/dist/condition-LK2C6VHL.js.map +0 -7
  533. package/dist/controls-AYOF3KAI.js +0 -45
  534. package/dist/controls.config-SKKD3ZLR.js +0 -41
  535. package/dist/correlationVolcano-PWDXRUKY.js +0 -635
  536. package/dist/correlationVolcano-PWDXRUKY.js.map +0 -7
  537. package/dist/cuminc-4EUCHXT5.js +0 -1141
  538. package/dist/cuminc-4EUCHXT5.js.map +0 -7
  539. package/dist/customdata.inputui-XMRCPEF2.js +0 -272
  540. package/dist/customdata.inputui-XMRCPEF2.js.map +0 -7
  541. package/dist/dataDownload-EXWXZVDW.js +0 -331
  542. package/dist/dataDownload-EXWXZVDW.js.map +0 -7
  543. package/dist/databrowser.ui-2YCAIKCZ.js +0 -436
  544. package/dist/databrowser.ui-2YCAIKCZ.js.map +0 -7
  545. package/dist/density-5FASXB7K.js +0 -18
  546. package/dist/dictionary-2TEBJIAR.js +0 -100
  547. package/dist/dictionary-2TEBJIAR.js.map +0 -7
  548. package/dist/differentialAnalysis-WOOENYMS.js +0 -229
  549. package/dist/differentialAnalysis-WOOENYMS.js.map +0 -7
  550. package/dist/e2pca-AQIKWGS4.js +0 -335
  551. package/dist/e2pca-AQIKWGS4.js.map +0 -7
  552. package/dist/ep-6LO3GZ5M.js +0 -1242
  553. package/dist/ep-6LO3GZ5M.js.map +0 -7
  554. package/dist/eventCount-TBI5V3SG.js +0 -363
  555. package/dist/eventCount-TBI5V3SG.js.map +0 -7
  556. package/dist/eventcount.integration.spec-3NFNDLHU.js +0 -285
  557. package/dist/eventcount.integration.spec-3NFNDLHU.js.map +0 -7
  558. package/dist/expclust.gdc.spec-LG5IAG3E.js +0 -307
  559. package/dist/expclust.gdc.spec-LG5IAG3E.js.map +0 -7
  560. package/dist/facet-HRZRUOYA.js +0 -414
  561. package/dist/facet-HRZRUOYA.js.map +0 -7
  562. package/dist/geneExpClustering-PSPRXQQJ.js +0 -248
  563. package/dist/geneExpClustering-PSPRXQQJ.js.map +0 -7
  564. package/dist/geneExpression-53NKARYD.js +0 -49
  565. package/dist/geneExpression-OGYE65CC.js +0 -61
  566. package/dist/geneExpression-OGYE65CC.js.map +0 -7
  567. package/dist/geneORA-WQHZA4NY.js +0 -284
  568. package/dist/geneORA-WQHZA4NY.js.map +0 -7
  569. package/dist/geneVariant-LLLVUTX5.js +0 -132
  570. package/dist/geneVariant-LLLVUTX5.js.map +0 -7
  571. package/dist/geneVariant-YWXQLCTV.js +0 -56
  572. package/dist/geneVariant-YWXQLCTV.js.map +0 -7
  573. package/dist/genefusion.ui-MKLHCCFA.js +0 -239
  574. package/dist/genefusion.ui-MKLHCCFA.js.map +0 -7
  575. package/dist/geneset-NZUC4U3X.js +0 -196
  576. package/dist/geneset-NZUC4U3X.js.map +0 -7
  577. package/dist/genomeBrowser-24D3VAQQ.js +0 -514
  578. package/dist/genomeBrowser-24D3VAQQ.js.map +0 -7
  579. package/dist/genomeBrowser.controls-IKDBTAPP.js +0 -41
  580. package/dist/genomeBrowser.spec-XUVJA752.js +0 -279
  581. package/dist/genomeBrowser.spec-XUVJA752.js.map +0 -7
  582. package/dist/grin2-G3FNVIC6.js +0 -1053
  583. package/dist/grin2-G3FNVIC6.js.map +0 -7
  584. package/dist/groupsetting-PLCJ7SWN.js +0 -39
  585. package/dist/gsea-TQ5R4BMC.js +0 -52
  586. package/dist/hierCluster-TQBSCXLV.js +0 -62
  587. package/dist/hierCluster-URUJDUNF.js +0 -66
  588. package/dist/hierCluster.config-EHTOUPSU.js +0 -41
  589. package/dist/hierCluster.integration.spec-PDEOXHFM.js +0 -308
  590. package/dist/hierCluster.integration.spec-PDEOXHFM.js.map +0 -7
  591. package/dist/hierCluster.interactivity-UPMUFMXT.js +0 -57
  592. package/dist/hierCluster.renderers-3KWWOVIW.js +0 -22
  593. package/dist/imagePlot-FRI2RCIB.js +0 -144
  594. package/dist/imagePlot-FRI2RCIB.js.map +0 -7
  595. package/dist/launch.adhoc-7RLNPTPU.js +0 -43
  596. package/dist/leftlabel.sample-LSXYKTKA.js +0 -272
  597. package/dist/leftlabel.sample-LSXYKTKA.js.map +0 -7
  598. package/dist/lollipop-J35BCSEN.js +0 -170
  599. package/dist/lollipop-J35BCSEN.js.map +0 -7
  600. package/dist/maf-YZWVQ3QJ.js +0 -462
  601. package/dist/maf-YZWVQ3QJ.js.map +0 -7
  602. package/dist/maftimeline-Y4E6HHSC.js +0 -581
  603. package/dist/maftimeline-Y4E6HHSC.js.map +0 -7
  604. package/dist/matrix-VNTKUPKG.js +0 -66
  605. package/dist/matrix-YUOVLNXY.js +0 -61
  606. package/dist/matrix.cells-BFIWTERL.js +0 -29
  607. package/dist/matrix.config-7V2W7QIS.js +0 -42
  608. package/dist/matrix.controls-FEMLAH6D.js +0 -41
  609. package/dist/matrix.data-5B7IEXQN.js +0 -31
  610. package/dist/matrix.groups-KMVD24KG.js +0 -27
  611. package/dist/matrix.integration.spec-ZEMOC6ZX.js +0 -3131
  612. package/dist/matrix.integration.spec-ZEMOC6ZX.js.map +0 -7
  613. package/dist/matrix.interactivity-VTWA7LDT.js +0 -43
  614. package/dist/matrix.layout-DHSRRUGQ.js +0 -45
  615. package/dist/matrix.legend-6MMDPY66.js +0 -23
  616. package/dist/matrix.renderers-YYNKBZCF.js +0 -39
  617. package/dist/matrix.serieses-7T36ZDKC.js +0 -22
  618. package/dist/matrix.sort-BSYJAYEG.js +0 -28
  619. package/dist/matrix.sort.unit.spec-A225IBKF.js +0 -473
  620. package/dist/matrix.sort.unit.spec-A225IBKF.js.map +0 -7
  621. package/dist/matrix.sorterUi-BQU6PA5E.js +0 -18
  622. package/dist/matrix.sorterUi.unit.spec-IVYIQNAK.js +0 -344
  623. package/dist/matrix.sorterUi.unit.spec-IVYIQNAK.js.map +0 -7
  624. package/dist/mavb-FA5Q6B44.js +0 -720
  625. package/dist/mavb-FA5Q6B44.js.map +0 -7
  626. package/dist/mds.fimo-VYEUZVW6.js +0 -503
  627. package/dist/mds.fimo-VYEUZVW6.js.map +0 -7
  628. package/dist/mds.samplescatterplot-P2652MY3.js +0 -1553
  629. package/dist/mds.samplescatterplot-P2652MY3.js.map +0 -7
  630. package/dist/mds.survivalplot-LX5UVEEZ.js +0 -467
  631. package/dist/mds.survivalplot-LX5UVEEZ.js.map +0 -7
  632. package/dist/metaboliteIntensity-VKFCXRS4.js +0 -44
  633. package/dist/numeric-3YRC6OXA.js +0 -41
  634. package/dist/numeric.binary-6NRWFAH7.js +0 -250
  635. package/dist/numeric.binary-6NRWFAH7.js.map +0 -7
  636. package/dist/numeric.continuous-ZUV6SO5A.js +0 -135
  637. package/dist/numeric.continuous-ZUV6SO5A.js.map +0 -7
  638. package/dist/numeric.discrete-XHS55YQL.js +0 -46
  639. package/dist/numeric.spline-FTTQLVFR.js +0 -230
  640. package/dist/numeric.spline-FTTQLVFR.js.map +0 -7
  641. package/dist/numeric.toggle-WWQGF63Y.js +0 -41
  642. package/dist/numericDictTermCluster-QB4YYNJ5.js +0 -73
  643. package/dist/oncomatrix-NIETMEJ4.js +0 -291
  644. package/dist/oncomatrix-NIETMEJ4.js.map +0 -7
  645. package/dist/oncomatrix.spec-KG7U742D.js +0 -448
  646. package/dist/oncomatrix.spec-KG7U742D.js.map +0 -7
  647. package/dist/plot.2dvaf-LCBR3H76.js +0 -362
  648. package/dist/plot.2dvaf-LCBR3H76.js.map +0 -7
  649. package/dist/plot.app-IH7XJYOS.js +0 -42
  650. package/dist/plot.barplot-GXGFF44Z.js +0 -86
  651. package/dist/plot.barplot-GXGFF44Z.js.map +0 -7
  652. package/dist/plot.boxplot-UY3ISS2Y.js +0 -136
  653. package/dist/plot.boxplot-UY3ISS2Y.js.map +0 -7
  654. package/dist/plot.brainImaging-MAQGEV2L.js +0 -51
  655. package/dist/plot.disco-DTYOPX4V.js +0 -94
  656. package/dist/plot.dzi-3VTA3MFV.js +0 -33
  657. package/dist/plot.ssgq-BKQAH7O7.js +0 -123
  658. package/dist/plot.ssgq-BKQAH7O7.js.map +0 -7
  659. package/dist/plot.vaf2cov-XY33SLSB.js +0 -244
  660. package/dist/plot.vaf2cov-XY33SLSB.js.map +0 -7
  661. package/dist/plot.wsi-KH3M3QBQ.js +0 -32
  662. package/dist/profile.spec-3WMGBTBV.js +0 -81
  663. package/dist/profile.spec-3WMGBTBV.js.map +0 -7
  664. package/dist/profileBarchart-VXBSHZJN.js +0 -264
  665. package/dist/profileBarchart-VXBSHZJN.js.map +0 -7
  666. package/dist/profileForms-AOILFM4L.js +0 -396
  667. package/dist/profileForms-AOILFM4L.js.map +0 -7
  668. package/dist/profilePlot-XXZEGKFJ.js +0 -59
  669. package/dist/profilePolar-JVRD547J.js +0 -193
  670. package/dist/profilePolar-JVRD547J.js.map +0 -7
  671. package/dist/profileRadar-VKF3P72I.js +0 -270
  672. package/dist/profileRadar-VKF3P72I.js.map +0 -7
  673. package/dist/profileRadarFacility-TBPOH3IN.js +0 -303
  674. package/dist/profileRadarFacility-TBPOH3IN.js.map +0 -7
  675. package/dist/regression-CDL4INLW.js +0 -60
  676. package/dist/regression.inputs-TEHARSEK.js +0 -52
  677. package/dist/regression.inputs.term-J6MIP2V3.js +0 -52
  678. package/dist/regression.inputs.values.table-AAHYT5M6.js +0 -49
  679. package/dist/regression.results-IYPJD7RY.js +0 -41
  680. package/dist/runChart-WXJZSRX3.js +0 -61
  681. package/dist/runchart.integration.spec-JKTEKNEG.js +0 -379
  682. package/dist/runchart.integration.spec-JKTEKNEG.js.map +0 -7
  683. package/dist/sampleScatter-O7JSTBKB.js +0 -63
  684. package/dist/sampleView-CADOYLVB.js +0 -52
  685. package/dist/samplelst-WBWZM7IT.js +0 -112
  686. package/dist/samplelst-WBWZM7IT.js.map +0 -7
  687. package/dist/samplematrix-2HBKDJGL.js +0 -2186
  688. package/dist/samplematrix-2HBKDJGL.js.map +0 -7
  689. package/dist/sc-O73K3OBQ.js +0 -378
  690. package/dist/sc-O73K3OBQ.js.map +0 -7
  691. package/dist/scatter.integration.spec-JB5NSVGH.js +0 -933
  692. package/dist/scatter.integration.spec-JB5NSVGH.js.map +0 -7
  693. package/dist/selectGenomeWithTklst-ZNKKHO2Z.js +0 -122
  694. package/dist/selectGenomeWithTklst-ZNKKHO2Z.js.map +0 -7
  695. package/dist/singleCellCellType-Z4OVXGJP.js +0 -67
  696. package/dist/singleCellCellType-Z4OVXGJP.js.map +0 -7
  697. package/dist/singleCellGeneExpression-66HL3KMY.js +0 -48
  698. package/dist/singleCellPlot-KBLMOB44.js +0 -57
  699. package/dist/singlecell-BLAA5PH5.js +0 -124
  700. package/dist/singlecell-BLAA5PH5.js.map +0 -7
  701. package/dist/singlecell-UY2LEVWM.js +0 -827
  702. package/dist/singlecell-UY2LEVWM.js.map +0 -7
  703. package/dist/snp-7L3LWSIL.js +0 -69
  704. package/dist/snp-7L3LWSIL.js.map +0 -7
  705. package/dist/snp-DH5YZJH3.js +0 -69
  706. package/dist/snp-DH5YZJH3.js.map +0 -7
  707. package/dist/snplocus-TQSCPHTT.js +0 -210
  708. package/dist/snplocus-TQSCPHTT.js.map +0 -7
  709. package/dist/spliceevent.a53ss.diagram-BAV7M6MJ.js +0 -135
  710. package/dist/spliceevent.a53ss.diagram-BAV7M6MJ.js.map +0 -7
  711. package/dist/spliceevent.exonskip.diagram-ZKMA6PRW.js +0 -261
  712. package/dist/spliceevent.exonskip.diagram-ZKMA6PRW.js.map +0 -7
  713. package/dist/spliceevent.noeventdiagram-ZNZZ3UHZ.js +0 -444
  714. package/dist/spliceevent.noeventdiagram-ZNZZ3UHZ.js.map +0 -7
  715. package/dist/summary-DP5QK3HJ.js +0 -61
  716. package/dist/summaryReport-IGV5N6ZA.js +0 -57
  717. package/dist/summaryReport-IGV5N6ZA.js.map +0 -7
  718. package/dist/sunburst-W3J522WX.js +0 -268
  719. package/dist/sunburst-W3J522WX.js.map +0 -7
  720. package/dist/survival-6XE66LCE.js +0 -1121
  721. package/dist/survival-6XE66LCE.js.map +0 -7
  722. package/dist/survival-I2JH3MX7.js +0 -63
  723. package/dist/survival-I2JH3MX7.js.map +0 -7
  724. package/dist/svgraph-ZQP3GGIR.js +0 -1375
  725. package/dist/svgraph-ZQP3GGIR.js.map +0 -7
  726. package/dist/svmr-TILL5UDP.js +0 -3828
  727. package/dist/svmr-TILL5UDP.js.map +0 -7
  728. package/dist/table-NZJQOQXQ.js +0 -203
  729. package/dist/table-NZJQOQXQ.js.map +0 -7
  730. package/dist/tk-STLZJJYJ.js +0 -49
  731. package/dist/tp.ui-SZL4UIBD.js +0 -1449
  732. package/dist/tp.ui-SZL4UIBD.js.map +0 -7
  733. package/dist/tvs.dtcnv-5PLFN52R.js +0 -126
  734. package/dist/tvs.dtcnv-5PLFN52R.js.map +0 -7
  735. package/dist/tvs.geneVariant-T33UNQGD.js +0 -89
  736. package/dist/tvs.geneVariant-T33UNQGD.js.map +0 -7
  737. package/dist/tvs.samplelst-LZRZLUYO.js +0 -113
  738. package/dist/tvs.samplelst-LZRZLUYO.js.map +0 -7
  739. package/dist/violin-XVHKYCQI.js +0 -50
  740. package/dist/violin.interactivity-AC6PFCKS.js +0 -39
  741. package/dist/violin.renderer-UHKPVHAF.js +0 -41
  742. package/dist/vocabulary-KAZNYHAS.js +0 -42
  743. package/dist/volcano-I6TG3SVI.js +0 -53
  744. /package/dist/{Volcano-FDG6ZLLV.js.map → Volcano-XT5D3DIQ.js.map} +0 -0
  745. /package/dist/{WSIViewer-T55EZBFX.js.map → WSIViewer-EFIGGZDH.js.map} +0 -0
  746. /package/dist/{adSandbox-63PMLW64.js.map → adSandbox-35BD5B4Q.js.map} +0 -0
  747. /package/dist/{app-ORN3334Z.js.map → app-FSPS3HAE.js.map} +0 -0
  748. /package/dist/{app-PI3TGH5J.js.map → app-U37CGSCQ.js.map} +0 -0
  749. /package/dist/{barchart-YBSB7XOQ.js.map → barchart-R4EFLWM2.js.map} +0 -0
  750. /package/dist/{barchart.data-LNNY5IVZ.js.map → barchart.data-7VQLSTJN.js.map} +0 -0
  751. /package/dist/{barchart.events-QQUZS3LG.js.map → barchart.events-SEIXK4WU.js.map} +0 -0
  752. /package/dist/{block.init-T6EQDOEP.js.map → block.init-ARXERJHW.js.map} +0 -0
  753. /package/dist/{boxplot-NH3JS23R.js.map → boxplot-WFUBUVMM.js.map} +0 -0
  754. /package/dist/{categorical-HRJOLLET.js.map → categorical-GM7K5RMG.js.map} +0 -0
  755. /package/dist/{chunk-UGDFUVUL.js.map → chunk-33V4RYNV.js.map} +0 -0
  756. /package/dist/{chunk-43HH2SAV.js.map → chunk-B6BHVPDD.js.map} +0 -0
  757. /package/dist/{chunk-J4F2VRCR.js.map → chunk-DDOIDCE3.js.map} +0 -0
  758. /package/dist/{chunk-RBY55C3S.js.map → chunk-ESPY3ECK.js.map} +0 -0
  759. /package/dist/{chunk-UF2KMCUC.js.map → chunk-G4UQG2AB.js.map} +0 -0
  760. /package/dist/{chunk-WW7QOIXO.js.map → chunk-GYV72VXP.js.map} +0 -0
  761. /package/dist/{chunk-SIFQAMCS.js.map → chunk-HLGHOYFH.js.map} +0 -0
  762. /package/dist/{chunk-LPMRCPPB.js.map → chunk-HW2YSOEA.js.map} +0 -0
  763. /package/dist/{chunk-VITP6PX2.js.map → chunk-IA32BIFN.js.map} +0 -0
  764. /package/dist/{chunk-OEBOLGEQ.js.map → chunk-J4YTSZ4K.js.map} +0 -0
  765. /package/dist/{chunk-QF3GTFDS.js.map → chunk-KW24V4W6.js.map} +0 -0
  766. /package/dist/{chunk-EDCSJ4GC.js.map → chunk-LCNMETJW.js.map} +0 -0
  767. /package/dist/{chunk-7SW6DLUK.js.map → chunk-LJOWO65X.js.map} +0 -0
  768. /package/dist/{chunk-5TJ3DV56.js.map → chunk-LUQGX4DC.js.map} +0 -0
  769. /package/dist/{chunk-R6IPNJFW.js.map → chunk-LXCCYHKL.js.map} +0 -0
  770. /package/dist/{chunk-6D2TQRZT.js.map → chunk-NC4BU2QT.js.map} +0 -0
  771. /package/dist/{chunk-LRMLO6AB.js.map → chunk-O6MQR4HX.js.map} +0 -0
  772. /package/dist/{chunk-GC3OSZYT.js.map → chunk-PWZQLQBG.js.map} +0 -0
  773. /package/dist/{chunk-N4F4LYRQ.js.map → chunk-QEW3SJ33.js.map} +0 -0
  774. /package/dist/{chunk-HHH6IKZU.js.map → chunk-QFNWFSDV.js.map} +0 -0
  775. /package/dist/{chunk-MMLYVY3C.js.map → chunk-VEW7P246.js.map} +0 -0
  776. /package/dist/{chunk-Y47RRS5H.js.map → chunk-W4JV4LYU.js.map} +0 -0
  777. /package/dist/{chunk-J34V4RMI.js.map → chunk-YA4HH6TR.js.map} +0 -0
  778. /package/dist/{chunk-MKUCJTG6.js.map → chunk-ZJFZDR2Y.js.map} +0 -0
  779. /package/dist/{controls-AYOF3KAI.js.map → controls-NMP64Y3G.js.map} +0 -0
  780. /package/dist/{controls.config-SKKD3ZLR.js.map → controls.config-DE36KWMS.js.map} +0 -0
  781. /package/dist/{density-5FASXB7K.js.map → density-EFL5CPWQ.js.map} +0 -0
  782. /package/dist/{geneExpression-53NKARYD.js.map → geneExpression-ZOZN66JM.js.map} +0 -0
  783. /package/dist/{genomeBrowser.controls-IKDBTAPP.js.map → genomeBrowser.controls-4PANNRAP.js.map} +0 -0
  784. /package/dist/{groupsetting-PLCJ7SWN.js.map → groupsetting-XAKZTZ6B.js.map} +0 -0
  785. /package/dist/{gsea-TQ5R4BMC.js.map → gsea-M2WKMVCM.js.map} +0 -0
  786. /package/dist/{hierCluster-TQBSCXLV.js.map → hierCluster-DRXW2LRP.js.map} +0 -0
  787. /package/dist/{hierCluster-URUJDUNF.js.map → hierCluster-PSA4XIMS.js.map} +0 -0
  788. /package/dist/{hierCluster.config-EHTOUPSU.js.map → hierCluster.config-KBRUAYLO.js.map} +0 -0
  789. /package/dist/{hierCluster.interactivity-UPMUFMXT.js.map → hierCluster.interactivity-MV7EOB3K.js.map} +0 -0
  790. /package/dist/{hierCluster.renderers-3KWWOVIW.js.map → hierCluster.renderers-YPXFW4IN.js.map} +0 -0
  791. /package/dist/{launch.adhoc-7RLNPTPU.js.map → launch.adhoc-YCEQIA6A.js.map} +0 -0
  792. /package/dist/{matrix-VNTKUPKG.js.map → matrix-H35RZ3F4.js.map} +0 -0
  793. /package/dist/{matrix-YUOVLNXY.js.map → matrix-OGTXOX6L.js.map} +0 -0
  794. /package/dist/{matrix.cells-BFIWTERL.js.map → matrix.cells-ZUVN2K6X.js.map} +0 -0
  795. /package/dist/{matrix.config-7V2W7QIS.js.map → matrix.config-NSFMTHTX.js.map} +0 -0
  796. /package/dist/{matrix.controls-FEMLAH6D.js.map → matrix.controls-TSTYH5CG.js.map} +0 -0
  797. /package/dist/{matrix.data-5B7IEXQN.js.map → matrix.data-DXJ37GIB.js.map} +0 -0
  798. /package/dist/{matrix.groups-KMVD24KG.js.map → matrix.groups-EW6WDR4R.js.map} +0 -0
  799. /package/dist/{matrix.interactivity-VTWA7LDT.js.map → matrix.interactivity-Y3QRHOVL.js.map} +0 -0
  800. /package/dist/{matrix.layout-DHSRRUGQ.js.map → matrix.layout-QTVOA45S.js.map} +0 -0
  801. /package/dist/{matrix.legend-6MMDPY66.js.map → matrix.legend-U6W7WHC2.js.map} +0 -0
  802. /package/dist/{matrix.renderers-YYNKBZCF.js.map → matrix.renderers-Q3W64W4F.js.map} +0 -0
  803. /package/dist/{matrix.serieses-7T36ZDKC.js.map → matrix.serieses-VXNPZJKK.js.map} +0 -0
  804. /package/dist/{matrix.sort-BSYJAYEG.js.map → matrix.sort-FAB66HNB.js.map} +0 -0
  805. /package/dist/{matrix.sorterUi-BQU6PA5E.js.map → matrix.sorterUi-JHMXYVNS.js.map} +0 -0
  806. /package/dist/{metaboliteIntensity-VKFCXRS4.js.map → metaboliteIntensity-NO5LUTIH.js.map} +0 -0
  807. /package/dist/{numeric-3YRC6OXA.js.map → numeric-KKMRX4N7.js.map} +0 -0
  808. /package/dist/{numeric.discrete-XHS55YQL.js.map → numeric.discrete-JXXLATQ7.js.map} +0 -0
  809. /package/dist/{numeric.toggle-WWQGF63Y.js.map → numeric.toggle-4SQJJGYM.js.map} +0 -0
  810. /package/dist/{numericDictTermCluster-QB4YYNJ5.js.map → numericDictTermCluster-U6OF2NNY.js.map} +0 -0
  811. /package/dist/{plot.app-IH7XJYOS.js.map → plot.app-WXNZPOGP.js.map} +0 -0
  812. /package/dist/{plot.brainImaging-MAQGEV2L.js.map → plot.brainImaging-PBQEGFJQ.js.map} +0 -0
  813. /package/dist/{plot.disco-DTYOPX4V.js.map → plot.disco-NEVQC7TS.js.map} +0 -0
  814. /package/dist/{plot.dzi-3VTA3MFV.js.map → plot.dzi-JJH6VMIU.js.map} +0 -0
  815. /package/dist/{plot.wsi-KH3M3QBQ.js.map → plot.wsi-Z36PHQ6B.js.map} +0 -0
  816. /package/dist/{profilePlot-XXZEGKFJ.js.map → profilePlot-DYC54JMA.js.map} +0 -0
  817. /package/dist/{regression-CDL4INLW.js.map → regression-OY6C5EWU.js.map} +0 -0
  818. /package/dist/{regression.inputs-TEHARSEK.js.map → regression.inputs-MICI54VT.js.map} +0 -0
  819. /package/dist/{regression.inputs.term-J6MIP2V3.js.map → regression.inputs.term-7ZNPFIW7.js.map} +0 -0
  820. /package/dist/{regression.inputs.values.table-AAHYT5M6.js.map → regression.inputs.values.table-PKIFQV6D.js.map} +0 -0
  821. /package/dist/{regression.results-IYPJD7RY.js.map → regression.results-IUA7NGJP.js.map} +0 -0
  822. /package/dist/{runChart-WXJZSRX3.js.map → runChart-OB25GUHF.js.map} +0 -0
  823. /package/dist/{sampleScatter-O7JSTBKB.js.map → sampleScatter-KEAEUY2I.js.map} +0 -0
  824. /package/dist/{sampleView-CADOYLVB.js.map → sampleView-FYW6DYCC.js.map} +0 -0
  825. /package/dist/{singleCellGeneExpression-66HL3KMY.js.map → singleCellGeneExpression-FMICRXAH.js.map} +0 -0
  826. /package/dist/{singleCellPlot-KBLMOB44.js.map → singleCellPlot-3XYAS4HN.js.map} +0 -0
  827. /package/dist/{summary-DP5QK3HJ.js.map → summary-IZV5JNDA.js.map} +0 -0
  828. /package/dist/{tk-STLZJJYJ.js.map → tk-SJCY2U2V.js.map} +0 -0
  829. /package/dist/{violin-XVHKYCQI.js.map → violin-BLWZBXBB.js.map} +0 -0
  830. /package/dist/{violin.interactivity-AC6PFCKS.js.map → violin.interactivity-YQGDRE3O.js.map} +0 -0
  831. /package/dist/{violin.renderer-UHKPVHAF.js.map → violin.renderer-ABEHJX7N.js.map} +0 -0
  832. /package/dist/{vocabulary-KAZNYHAS.js.map → vocabulary-J3ZSAY7T.js.map} +0 -0
  833. /package/dist/{volcano-I6TG3SVI.js.map → volcano-ABJEDPNW.js.map} +0 -0
@@ -0,0 +1,1365 @@
1
+ import {
2
+ axisstyle,
3
+ bulk_badline,
4
+ font,
5
+ newpane,
6
+ newpane3,
7
+ renderSandboxFormDiv,
8
+ sayerror,
9
+ to_svg
10
+ } from "./chunk-DU4TQ45V.js";
11
+ import "./chunk-HJ6L54YS.js";
12
+ import "./chunk-MDOWHBSS.js";
13
+ import {
14
+ make_table_2col
15
+ } from "./chunk-BLGJ4GR3.js";
16
+ import "./chunk-LWMWA7K7.js";
17
+ import "./chunk-RY7CVONT.js";
18
+ import "./chunk-LLOFSEKN.js";
19
+ import "./chunk-3X4AWNST.js";
20
+ import "./chunk-NP3NLNYJ.js";
21
+ import {
22
+ mclass,
23
+ mclassnonstandard
24
+ } from "./chunk-KRUGYTG4.js";
25
+ import "./chunk-TT62OQQ7.js";
26
+ import {
27
+ Symbol,
28
+ circle_default,
29
+ cross_default,
30
+ diamond_default,
31
+ square_default,
32
+ star_default,
33
+ triangle_default,
34
+ wye_default
35
+ } from "./chunk-2TBIF5N7.js";
36
+ import "./chunk-TOU7EVFQ.js";
37
+ import "./chunk-RA5EXEHB.js";
38
+ import {
39
+ axisBottom,
40
+ axisLeft,
41
+ axisTop
42
+ } from "./chunk-LOZEKOES.js";
43
+ import {
44
+ format,
45
+ linear
46
+ } from "./chunk-6K4NXKW2.js";
47
+ import "./chunk-5OHXYXLD.js";
48
+ import "./chunk-4HXQR7R2.js";
49
+ import "./chunk-LH4ROHRD.js";
50
+ import {
51
+ Menu
52
+ } from "./chunk-ASTFYDAL.js";
53
+ import {
54
+ select_default
55
+ } from "./chunk-NDWTN4U5.js";
56
+ import "./chunk-HFNDKYVF.js";
57
+
58
+ // src/2dmaf.anchors.js
59
+ var Anchors = class {
60
+ constructor(opts) {
61
+ this.opts = opts;
62
+ this.anchorType = opts.anchorType;
63
+ this.shareheight = opts.shareheight;
64
+ this.sharewidth = opts.sharewidth;
65
+ const x = "x" in opts ? opts.x : 0;
66
+ const y = "y" in opts ? opts.y : 0;
67
+ this.settings = {
68
+ visible: true,
69
+ opacity: 0.3,
70
+ x,
71
+ y,
72
+ xOffset: opts.axiswidth + opts.sp + opts.sample2height,
73
+ yOffset: opts.shareheight,
74
+ currX: opts.axiswidth + opts.sp + opts.sample2height + x,
75
+ currY: opts.shareheight - y,
76
+ strokeWidth: "strokeWidth" in opts ? opts.strokeWidth : 5,
77
+ stroke: "stroke" in opts ? opts.stroke : "red",
78
+ xarmlen: "xarmlen" in opts ? opts.xarmlen : 25
79
+ };
80
+ this.addControls(this.anchorType ? null : this.opts.headerdiv);
81
+ }
82
+ setWrapper(g) {
83
+ this.opts.wrapper = g;
84
+ }
85
+ addControls(headerdiv = null) {
86
+ if (headerdiv) {
87
+ const anchorbtn = headerdiv.append("button").text("Anchors").on("click", (event) => {
88
+ this.anchormenu.showunder(event.target);
89
+ this.xInput.property("value", (this.settings.x / this.sharewidth).toFixed(2));
90
+ this.yInput.property("value", (this.settings.y / this.sharewidth).toFixed(2));
91
+ });
92
+ }
93
+ this.anchormenu = new Menu({ border: "solid 1px black" });
94
+ this.anchormenu.d.style("text-align", "center");
95
+ this.addCoordInput();
96
+ this.addColorInput();
97
+ this.addOpacityInput();
98
+ if (!this.anchorType) this.addSubmitBtns();
99
+ else this.addDeleteBtn();
100
+ }
101
+ addColorInput() {
102
+ const div = this.anchormenu.d.append("div");
103
+ div.append("label").html("Color: ");
104
+ this.strokeInput = div.append("input");
105
+ this.strokeInput.attr("this.anchorType", "text").property("value", this.settings.stroke).style("width", "50px");
106
+ }
107
+ addOpacityInput() {
108
+ const div = this.anchormenu.d.append("div");
109
+ div.append("label").html("Opacity: ");
110
+ this.opacityInput = div.append("input");
111
+ this.opacityInput.attr("this.anchorType", "number").attr("min", 0).attr("max", 1).attr("step", 0.01).property("value", this.settings.opacity).style("width", "50px");
112
+ }
113
+ addSubmitBtns() {
114
+ if (this.anchorType) return;
115
+ const div = this.anchormenu.d.append("div");
116
+ div.append("label").html("Add Anchor: ");
117
+ div.append("button").html("R").on("click", () => {
118
+ new SyncedAnchors(this.getSettings("r"));
119
+ this.anchormenu.hide();
120
+ });
121
+ div.append("button").html("D").on("click", () => {
122
+ new SyncedAnchors(this.getSettings("d"));
123
+ this.anchormenu.hide();
124
+ });
125
+ div.append("button").html("X").on("click", () => {
126
+ new SyncedAnchors(this.getSettings("x"));
127
+ this.anchormenu.hide();
128
+ });
129
+ div.append("button").html("synced").on("click", () => {
130
+ new SyncedAnchors(this.getSettings("synced"));
131
+ this.anchormenu.hide();
132
+ });
133
+ }
134
+ getSettings(anchorType) {
135
+ return Object.assign({}, this.opts, {
136
+ anchorType,
137
+ opacity: this.opacityInput.property("value"),
138
+ x: this.xInput.property("value") * this.sharewidth,
139
+ y: this.yInput.property("value") * this.shareheight,
140
+ stroke: this.strokeInput.property("value")
141
+ });
142
+ }
143
+ addCoordInput() {
144
+ const xdiv = this.anchormenu.d.append("div");
145
+ xdiv.append("label").html("X: ");
146
+ this.xInput = xdiv.append("input");
147
+ this.xInput.attr("this.anchorType", "number").attr("min", 0).attr("max", 1).attr("step", 0.01).property("value", 0).style("width", "80px");
148
+ const ydiv = this.anchormenu.d.append("div");
149
+ ydiv.append("label").html("Y: ");
150
+ this.yInput = ydiv.append("input");
151
+ this.yInput.attr("this.anchorType", "number").attr("min", 0).attr("max", 1).attr("step", 0.01).property("value", 0).style("width", "80px");
152
+ }
153
+ addDeleteBtn() {
154
+ if (!this.anchorType) return;
155
+ const div = this.anchormenu.d.append("div");
156
+ div.append("button").html("Delete").on("click", () => {
157
+ this.g_anchor.remove();
158
+ this.anchormenu.hide();
159
+ });
160
+ }
161
+ };
162
+ var SyncedAnchors = class extends Anchors {
163
+ constructor(opts) {
164
+ super(opts);
165
+ this.render();
166
+ this.strokeInput.on("change", () => {
167
+ this.settings.stroke = this.strokeInput.property("value");
168
+ this.g_anchor.style("stroke", this.settings.stroke);
169
+ this.anchormenu.hide();
170
+ });
171
+ this.opacityInput.on("change", () => {
172
+ this.settings.opacity = input.property("value");
173
+ this.g_anchor.style("opacity", this.settings.opacity);
174
+ this.anchormenu.hide();
175
+ });
176
+ this.xInput.on("change", () => {
177
+ this.settings.x = +this.xInput.property("value") * this.sharewidth;
178
+ this.settings.currX = this.settings.x + this.settings.xOffset;
179
+ if (this.d_anchor) {
180
+ this.d_anchor.transition().duration(1e3).attr("x1", this.settings.currX).attr("x2", this.settings.currX);
181
+ }
182
+ if (this.x_anchor) {
183
+ this.x_anchor.transition().duration(1e3).attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
184
+ }
185
+ this.anchormenu.hide();
186
+ });
187
+ this.yInput.on("change", () => {
188
+ this.settings.y = +this.yInput.property("value") * this.shareheight;
189
+ this.settings.currY = -this.settings.y + this.settings.yOffset;
190
+ if (this.r_anchor) {
191
+ this.r_anchor.transition().duration(1e3).attr("y1", this.settings.currY).attr("y2", this.settings.currY);
192
+ }
193
+ if (this.x_anchor) {
194
+ this.x_anchor.transition().duration(1e3).attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
195
+ }
196
+ this.anchormenu.hide();
197
+ });
198
+ }
199
+ render() {
200
+ this.g_anchor = this.opts.wrapper.append("g").style("stroke", this.settings.stroke).style("opacity", this.settings.opacity).style("display", this.settings.visible ? "" : "none").style("stroke-width", this.settings.strokeWidth).on(
201
+ "click",
202
+ this.anchorType == "synced" ? null : (event) => {
203
+ this.anchormenu.showunder(event.target);
204
+ }
205
+ );
206
+ this.renderD();
207
+ this.renderR();
208
+ this.renderX();
209
+ }
210
+ renderD() {
211
+ if (!["synced", "d"].includes(this.anchorType)) return;
212
+ this.d_anchor = this.g_anchor.append("line");
213
+ const o = this.opts;
214
+ this.updateD(o.shareheight + o.sp2, o.shareheight + o.sample1height);
215
+ }
216
+ updateD(y1, y2) {
217
+ if (!["synced", "d"].includes(this.anchorType)) return;
218
+ this.settings.D = { y1, y2 };
219
+ this.d_anchor.attr("x1", this.settings.currX).attr("x2", this.settings.currX).attr("y1", y1).attr("y2", y2);
220
+ }
221
+ renderR() {
222
+ if (!["synced", "r"].includes(this.anchorType)) return;
223
+ this.r_anchor = this.g_anchor.append("line");
224
+ const o = this.opts;
225
+ this.updateR(o.axiswidth + o.sp, o.sample2height + o.sp);
226
+ }
227
+ updateR(x1, x2) {
228
+ if (!["synced", "r"].includes(this.anchorType)) return;
229
+ this.settings.R = { x1, x2 };
230
+ this.r_anchor.attr("x1", x1).attr("x2", x2).attr("y1", this.settings.currY).attr("y2", this.settings.currY);
231
+ }
232
+ renderX() {
233
+ if (!["synced", "x"].includes(this.anchorType)) return;
234
+ this.x_anchor = this.g_anchor.append("g").attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
235
+ this.bindXDrag();
236
+ this.x_anchor.append("circle").attr("cx", 0).attr("cy", 0).attr("r", this.settings.xarmlen).style("opacity", 0);
237
+ this.x_anchor.append("line").attr("x1", -this.settings.xarmlen).attr("x2", this.settings.xarmlen).attr("y1", 0).attr("y2", 0);
238
+ this.x_anchor.append("line").attr("x1", 0).attr("x2", 0).attr("y1", this.settings.xarmlen).attr("y2", -this.settings.xarmlen);
239
+ }
240
+ bindXDrag() {
241
+ if (!["synced"].includes(this.anchorType)) return;
242
+ this.x_anchor.on("mousedown", (event) => {
243
+ const x = event.clientX;
244
+ const y = event.clientY;
245
+ let _x = this.settings.currX, _y = this.settings.currY;
246
+ this.x_anchor.on("mousemove", (event2) => {
247
+ _x = this.settings.currX - x + event2.clientX;
248
+ _y = this.settings.currY - y + event2.clientY;
249
+ this.r_anchor.attr("y1", _y).attr("y2", _y);
250
+ this.d_anchor.attr("x1", _x).attr("x2", _x);
251
+ this.x_anchor.attr("transform", "translate(" + _x + "," + _y + ")");
252
+ }).on("mouseup", (event2) => {
253
+ this.x_anchor.on("mousemove", null);
254
+ _x = this.settings.currX - x + event2.clientX;
255
+ _y = this.settings.currY - y + event2.clientY;
256
+ if (_x == this.settings.currX && _y == this.settings.currY) {
257
+ this.g_anchor.remove();
258
+ return;
259
+ }
260
+ this.settings.x = _x < this.settings.xOffset ? 0 : _x - this.settings.xOffset;
261
+ this.settings.y = _y > this.settings.yOffset ? 0 : -(_y - this.settings.yOffset);
262
+ this.settings.currX = this.settings.x + this.settings.xOffset;
263
+ this.settings.currY = -this.settings.y + this.settings.yOffset;
264
+ this.r_anchor.transition().duration(100).attr("y1", this.settings.currY).attr("y2", this.settings.currY);
265
+ this.d_anchor.transition().duration(100).attr("x1", this.settings.currX).attr("x2", this.settings.currX);
266
+ this.x_anchor.transition().duration(100).attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
267
+ }).on("mouseleave", () => {
268
+ this.x_anchor.on("mousemove", null);
269
+ });
270
+ });
271
+ }
272
+ };
273
+
274
+ // src/2dmaf.js
275
+ var color1 = "#f9766c";
276
+ var color2 = "#609cff";
277
+ var colorshare = "#01b937";
278
+ var symbols = {
279
+ circle: circle_default,
280
+ cross: cross_default,
281
+ diamond: diamond_default,
282
+ square: square_default,
283
+ star: star_default,
284
+ triangle: triangle_default,
285
+ wye: wye_default
286
+ };
287
+ var symbolFilters = {
288
+ path: (d) => d.symbol,
289
+ circle: (d) => !d.symbol
290
+ };
291
+ var sharedFilters = {
292
+ path: (d) => d.symbol,
293
+ ellipse: (d) => !d.symbol
294
+ };
295
+ function d2mafui(genomes, holder) {
296
+ let pane, inputdiv, gselect, filediv, saydiv, visualdiv;
297
+ if (holder !== void 0) [inputdiv, gselect, filediv, saydiv, visualdiv] = renderSandboxFormDiv(holder, genomes);
298
+ else {
299
+ ;
300
+ [pane, inputdiv, gselect, filediv, saydiv, visualdiv] = newpane3(100, 100, genomes);
301
+ pane.header.text("2DMAF: mutant allele fraction plot between a pair of samples");
302
+ pane.body.style("margin", "10px");
303
+ }
304
+ inputdiv.append("div").style("margin-top", "20px").html(
305
+ '<ul><li><a href="https://docs.google.com/document/d/1anyEDMcW1lTSf8399Li2G9r57V-Fqp2591WvoODY7n4/edit#heading=h.mne2ecmp9m13" target=_blank>File format</a></li><li>To define samples differently than "Diagnosis/Relapse", <a href=https://plus.google.com/+XinZhou_s/posts/WqBVvmd3wYR target=_blank>see how</a>.</li></ul>'
306
+ );
307
+ inputdiv.append("p").html("<a href=https://proteinpaint.stjude.org/ppdemo/hg19/2dmaf/2dmaf.txt target=_blank>Example file</a>");
308
+ function cmt(t, red) {
309
+ saydiv.style("color", red ? "red" : "black").html(t);
310
+ }
311
+ const fileui = () => {
312
+ filediv.selectAll("*").remove();
313
+ const input2 = filediv.append("input").attr("type", "file").on("change", (event) => {
314
+ const file = event.target.files[0];
315
+ if (!file) {
316
+ fileui();
317
+ return;
318
+ }
319
+ if (!file.size) {
320
+ cmt("Invalid file " + file.name);
321
+ fileui();
322
+ return;
323
+ }
324
+ const reader = new FileReader();
325
+ reader.onload = (event2) => {
326
+ const usegenome = gselect.options[gselect.selectedIndex].innerHTML;
327
+ const err = parseraw(event2.target.result.trim().split(/\r?\n/), genomes[usegenome], file.name, visualdiv);
328
+ if (err) {
329
+ cmt(err, 1);
330
+ fileui();
331
+ return;
332
+ }
333
+ inputdiv.remove();
334
+ filediv.remove();
335
+ saydiv.remove();
336
+ };
337
+ reader.onerror = function() {
338
+ cmt("Error reading file " + file.name, 1);
339
+ fileui();
340
+ return;
341
+ };
342
+ reader.readAsText(file, "utf8");
343
+ });
344
+ setTimeout(() => input2.node().focus(), 1100);
345
+ };
346
+ fileui();
347
+ }
348
+ function d2mafparseinput(obj, holder) {
349
+ if (!obj.genome) {
350
+ sayerror(holder, ".genome missing for 2dmaf");
351
+ return;
352
+ }
353
+ if (!obj.input) {
354
+ sayerror(holder, ".input missing for 2dmaf");
355
+ return;
356
+ }
357
+ const err = parseraw(obj.input.trim().split(/\r?\n/), obj.genome, obj.datasetname || "unnamed dataset", holder);
358
+ if (err) {
359
+ sayerror(holder, "2DMAF data error: " + err);
360
+ }
361
+ }
362
+ function parseraw(lines, genome, filename, holder) {
363
+ const [headererror, header, headerattrlst] = parseheader(lines[0].trim());
364
+ if (headererror) {
365
+ return headererror;
366
+ }
367
+ const pairs = {};
368
+ const g2mlst = {};
369
+ const peoplehash = {};
370
+ const genehash = {};
371
+ const flag = {
372
+ good: 0,
373
+ purity1set: false,
374
+ purity2set: false,
375
+ pairsetname: {}
376
+ };
377
+ const badlines = [];
378
+ const mclasslabel2key = {};
379
+ for (const k in mclass) {
380
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
381
+ }
382
+ for (let i = 1; i < lines.length; i++) {
383
+ if (lines[i] == "") continue;
384
+ if (lines[i][0] == "#") {
385
+ if (lines[i].startsWith("##samplename")) {
386
+ const l = lines[i].trim().split(/[\s\t]+/);
387
+ if (l.length == 4) {
388
+ flag.pairsetname[l[1]] = { 1: l[2], 2: l[3] };
389
+ } else {
390
+ return "Line " + (i + 1) + ': invalid samplename line: must be "##samplename [patient] [sample1] [sample2]"';
391
+ }
392
+ }
393
+ continue;
394
+ }
395
+ const lst = lines[i].trim().split(" ");
396
+ const m = {};
397
+ for (let j = 0; j < header.length; j++) {
398
+ if (lst[j] != void 0 && lst[j] != "") {
399
+ m[header[j]] = lst[j];
400
+ }
401
+ }
402
+ if (!m.sample) {
403
+ return "Line " + (i + 1) + ": missing sample";
404
+ }
405
+ if (m.chr) {
406
+ if (m.chr.indexOf("chr") != 0) {
407
+ m.chr = "chr" + m.chr;
408
+ }
409
+ }
410
+ if (m.chrstart) {
411
+ m.chrstart = Number.parseInt(m.chrstart);
412
+ if (Number.isNaN(m.chrstart)) {
413
+ return "Line " + (i + 1) + ": invalid chromosome position";
414
+ }
415
+ }
416
+ if (m.Dcnvloh) {
417
+ m.Dcnvlohraw = m.Dcnvloh;
418
+ const s2 = m.Dcnvloh.toLowerCase();
419
+ if (s2 == "yes" || s2 != "diploid" && s2 != "haploid") {
420
+ m.Dcnvloh = true;
421
+ } else {
422
+ m.Dcnvloh = false;
423
+ }
424
+ }
425
+ if (m.Rcnvloh) {
426
+ m.Rcnvlohraw = m.Rcnvloh;
427
+ const s2 = m.Rcnvloh.toLowerCase();
428
+ if (s2 == "yes" || s2 != "diploid" && s2 != "haploid") {
429
+ m.Rcnvloh = true;
430
+ } else {
431
+ m.Rcnvloh = false;
432
+ }
433
+ }
434
+ if (!m.call_d) {
435
+ badlines.push([i, "missing call_d", lst]);
436
+ continue;
437
+ }
438
+ if (m.call_d != "somatic" && m.call_d != "wildtype") {
439
+ badlines.push([i, "call_d is neither somatic nor wildtype", lst]);
440
+ continue;
441
+ }
442
+ if (!m.call_r) {
443
+ badlines.push([i, "missing call_r", lst]);
444
+ continue;
445
+ }
446
+ if (m.call_r != "somatic" && m.call_r != "wildtype") {
447
+ badlines.push([i, "call_r is neither somatic nor wildtype", lst]);
448
+ continue;
449
+ }
450
+ if (m.call_d == "somatic") {
451
+ if (m.call_r == "somatic") {
452
+ m.set_share = true;
453
+ } else {
454
+ m.set_1 = true;
455
+ }
456
+ } else {
457
+ if (m.call_r == "somatic") {
458
+ m.set_2 = true;
459
+ }
460
+ }
461
+ if (!m.type) {
462
+ badlines.push([i, "missing type", lst]);
463
+ continue;
464
+ }
465
+ const s = m.type.toLowerCase();
466
+ if (s == "snv" || s == "snp" || s == "mnv" || s == "complex") {
467
+ m.issnv = true;
468
+ } else if (s == "indel" || s == "ins" || s == "del") {
469
+ m.isindel = true;
470
+ } else {
471
+ badlines.push([i, "type must be either SNV or INDEL", lst]);
472
+ continue;
473
+ }
474
+ let key = "MinD.D";
475
+ let a = Number.parseInt(m[key]);
476
+ if (Number.isNaN(a) || a < 0) {
477
+ badlines.push([i, "invalid " + key + " value", lst]);
478
+ continue;
479
+ }
480
+ m[key] = a;
481
+ key = "TinD.D";
482
+ a = Number.parseInt(m[key]);
483
+ if (Number.isNaN(a) || a < 0) {
484
+ badlines.push([i, "invalid " + key + " value", lst]);
485
+ continue;
486
+ }
487
+ m[key] = a;
488
+ if (m["TinD.D"] < m["MinD.D"]) {
489
+ badlines.push([i, "TinD.D value lower than MinD.D", lst]);
490
+ continue;
491
+ }
492
+ key = "MinN.D";
493
+ if (key in m) {
494
+ a = Number.parseInt(m[key]);
495
+ if (Number.isNaN(a) || a < 0) {
496
+ delete m[key];
497
+ } else {
498
+ m[key] = a;
499
+ }
500
+ }
501
+ key = "TinN.D";
502
+ if (key in m) {
503
+ a = Number.parseInt(m[key]);
504
+ if (Number.isNaN(a) || a < 0) {
505
+ delete m[key];
506
+ } else {
507
+ m[key] = a;
508
+ }
509
+ }
510
+ key = "MinD.R";
511
+ a = Number.parseInt(m[key]);
512
+ if (Number.isNaN(a) || a < 0) {
513
+ badlines.push([i, "invalid " + key + " value", lst]);
514
+ continue;
515
+ }
516
+ m[key] = a;
517
+ key = "TinD.R";
518
+ a = Number.parseInt(m[key]);
519
+ if (Number.isNaN(a) || a < 0) {
520
+ badlines.push([i, "invalid " + key + " value", lst]);
521
+ continue;
522
+ }
523
+ m[key] = a;
524
+ if (m["TinD.R"] < m["MinD.R"]) {
525
+ badlines.push([i, "TinD.R value lower than MinD.R", lst]);
526
+ continue;
527
+ }
528
+ key = "MinN.R";
529
+ if (key in m) {
530
+ a = Number.parseInt(m[key]);
531
+ if (Number.isNaN(a) || a < 0) {
532
+ delete m[key];
533
+ } else {
534
+ m[key] = a;
535
+ }
536
+ }
537
+ key = "TinN.R";
538
+ if (key in m) {
539
+ a = Number.parseInt(m[key]);
540
+ if (Number.isNaN(a) || a < 0) {
541
+ delete m[key];
542
+ } else {
543
+ m[key] = a;
544
+ }
545
+ }
546
+ if (m.symbol) {
547
+ if (!symbols[m.symbol]) {
548
+ badlines.push([i, "Invalid symbol value='" + m.symbol + "'", lst]);
549
+ continue;
550
+ }
551
+ }
552
+ if (m.class) {
553
+ const s2 = m.class.toUpperCase();
554
+ if (s2 in mclasslabel2key) {
555
+ m.class = mclasslabel2key[s2];
556
+ } else {
557
+ badlines.push([i, "invalid mutation class " + m.class, lst]);
558
+ continue;
559
+ }
560
+ }
561
+ m.style = {
562
+ fill: m.issnv ? "white" : "black",
563
+ fillhl: m.class ? mclass[m.class].color : "#ccc",
564
+ stroke: m.chr == "chrX" ? "black" : m.issnv ? "black" : "none",
565
+ strokehl: m.class ? mclass[m.class].color : "black",
566
+ fillopacity: m.issnv ? 0 : 0.2,
567
+ strokeopacity: 0.2
568
+ };
569
+ if (m["TinD.D"] > 0) {
570
+ m.maf1 = m["MinD.D"] / m["TinD.D"];
571
+ }
572
+ if (m["TinD.R"] > 0) {
573
+ m.maf2 = m["MinD.R"] / m["TinD.R"];
574
+ }
575
+ peoplehash[m.sample] = 1;
576
+ if (m.gene) {
577
+ genehash[m.gene] = 1;
578
+ }
579
+ if (!(m.sample in pairs)) {
580
+ pairs[m.sample] = {
581
+ name: m.sample,
582
+ shown: false,
583
+ header,
584
+ mlst: []
585
+ };
586
+ }
587
+ const v = pairs[m.sample];
588
+ v.mlst.push(m);
589
+ if (m.purity1) {
590
+ let p = Number.parseFloat(m.purity1);
591
+ if (Number.isNaN(p)) {
592
+ badlines.push([i, "diagnosis tumor purity should be a number"]);
593
+ p = 0;
594
+ } else {
595
+ if (p > 1) {
596
+ p /= 100;
597
+ }
598
+ }
599
+ if (p > 0) {
600
+ if (v.purity1 == void 0) {
601
+ v.purity1 = p;
602
+ flag.purity1set = true;
603
+ } else if (v.purity1 != p) {
604
+ badlines.push([
605
+ i,
606
+ "diagnosis tumor purity value " + p + " is different from existing value " + v.purity1 + " in " + m.sample,
607
+ lst
608
+ ]);
609
+ }
610
+ }
611
+ }
612
+ if (m.purity2) {
613
+ let p = Number.parseFloat(m.purity2);
614
+ if (Number.isNaN(p)) {
615
+ badlines.push([i, "relapse tumor purity should be a number"]);
616
+ p = 0;
617
+ } else {
618
+ if (p > 1) {
619
+ p /= 100;
620
+ }
621
+ }
622
+ if (p > 0) {
623
+ if (v.purity2 == void 0) {
624
+ v.purity2 = p;
625
+ flag.purity2set = true;
626
+ } else if (v.purity2 != p) {
627
+ badlines.push([
628
+ i,
629
+ "relapse tumor purity value " + p + " is different from existing value " + v.purity2 + " in " + m.sample,
630
+ lst
631
+ ]);
632
+ }
633
+ }
634
+ }
635
+ flag.good++;
636
+ }
637
+ if (badlines.length > 0) {
638
+ bulk_badline(header, badlines);
639
+ }
640
+ if (flag.good == 0) {
641
+ return "No valid data.";
642
+ }
643
+ holder.append("p").text("File: " + filename);
644
+ let peopletotal = 0;
645
+ for (const n in peoplehash) peopletotal++;
646
+ let genetotal = 0;
647
+ for (const n in genehash) genetotal++;
648
+ const boxh = 16;
649
+ const table = holder.append("table");
650
+ const tr = table.append("tr");
651
+ const td = tr.append("td").attr("valign", "top");
652
+ td.append("div").html(
653
+ '<div style="display:inline-block;width:' + boxh + "px;height:" + boxh + "px;background-color:" + color1 + '"></div> Diagnosis only <div style="display:inline-block;width:' + boxh + "px;height:" + boxh + "px;background-color:" + colorshare + '"></div> Shared <div style="display:inline-block;width:' + boxh + "px;height:" + boxh + "px;background-color:" + color2 + '"></div> Relapse only'
654
+ );
655
+ const peopleholder = td.append("div").style("margin-top", "10px").style("height", "200px").style("width", "300px").style("padding", "5px").style("overflow-y", "scroll").style("resize", "both").style("border", "solid 1px #ccc");
656
+ const geneholder = td.append("div").style("margin-top", "10px").style("height", "200px").style("width", "300px").style("padding", "5px").style("overflow-y", "scroll").style("resize", "both").style("border", "solid 1px #ccc");
657
+ const showholder = tr.append("td").style("vertical-align", "top");
658
+ for (const n in pairs) {
659
+ const ss = flag.pairsetname[n];
660
+ if (ss) {
661
+ pairs[n].setname = ss;
662
+ } else {
663
+ pairs[n].setname = { 1: "Diagnosis", 2: "Relapse" };
664
+ }
665
+ }
666
+ const odata = {
667
+ genome,
668
+ //dsname:dsname,
669
+ pairs,
670
+ color1,
671
+ color2,
672
+ colorshare,
673
+ rowh: boxh,
674
+ peoplewidth: 150,
675
+ genewidth: 150,
676
+ showholder,
677
+ //peoplelimit:Math.min(20,peopletotal),
678
+ genelimit: Math.min(20, genetotal),
679
+ purity1set: flag.purity1set,
680
+ purity2set: flag.purity2set
681
+ };
682
+ d2maf_peopletable(odata, peopleholder);
683
+ }
684
+ function parseheader(line) {
685
+ const lower = line.toLowerCase().split(" ");
686
+ const header = line.split(" ");
687
+ if (header.length <= 1) {
688
+ return ["invalid file header"];
689
+ }
690
+ const htry = (...lst) => {
691
+ for (const i2 of lst) {
692
+ const j = lower.indexOf(i2);
693
+ if (j != -1) return j;
694
+ }
695
+ return -1;
696
+ };
697
+ let i = htry("person", "sample", "samplename", "patient");
698
+ if (i == -1) return ["sample missing from header"];
699
+ header[i] = "sample";
700
+ i = htry("type");
701
+ if (i == -1) return ["type missing from header"];
702
+ header[i] = "type";
703
+ i = htry("mind.d1_g1", "mind.d", "mind");
704
+ if (i == -1) return ["MinD.D missing from header"];
705
+ header[i] = "MinD.D";
706
+ i = htry("tind.d1_g1", "tind.d", "tind");
707
+ if (i == -1) return ["TinD.D missing from header"];
708
+ header[i] = "TinD.D";
709
+ i = htry("mind.r1_g1", "mind.r", "minr");
710
+ if (i == -1) return ["MinD.R missing from header"];
711
+ header[i] = "MinD.R";
712
+ i = htry("tind.r1_g1", "tind.r", "tinr");
713
+ if (i == -1) return ["TinD.R missing from header"];
714
+ header[i] = "TinD.R";
715
+ i = htry("call_d1_g1", "call_d");
716
+ if (i == -1) return ["call_d missing from header"];
717
+ header[i] = "call_d";
718
+ i = htry("call_r1_g1", "call_r");
719
+ if (i == -1) return ["call_r missing from header"];
720
+ header[i] = "call_r";
721
+ i = htry("genename", "gene");
722
+ if (i == -1) return ["gene missing from header"];
723
+ header[i] = "gene";
724
+ i = htry("amino_acid_change", "annovar_sj_aachange", "aachange", "protein_change");
725
+ if (i == -1) return ["amino_acid_change missing from header"];
726
+ header[i] = "mname";
727
+ i = htry("class", "mclass", "variant_class", "variant_classification", "annovar_sj_class");
728
+ if (i == -1) return ["variant_class missing from header"];
729
+ header[i] = "class";
730
+ i = htry("chromosome", "chr");
731
+ if (i == -1) return ["chromosome missing from header"];
732
+ header[i] = "chr";
733
+ i = htry("start", "start_position", "wu_hg19_pos", "chr_position");
734
+ if (i == -1) return ["start missing from header"];
735
+ header[i] = "chrstart";
736
+ i = htry("minn.d1_g1", "minn.d");
737
+ if (i != -1) header[i] = "MinN.D";
738
+ i = htry("tinn.d1_g1", "tinn.d");
739
+ if (i != -1) header[i] = "TinN.D";
740
+ i = htry("minn.r1_g1", "minn.r");
741
+ if (i != -1) header[i] = "MinN.R";
742
+ i = htry("tinn.r1_g1", "tinn.r");
743
+ if (i != -1) header[i] = "TinN.R";
744
+ i = htry("mrna_accession", "refseq_mrna_id", "annovar_sj_filter_isoform", "refseq");
745
+ if (i != -1) header[i] = "isoform";
746
+ i = htry("primary_purity", "purity_d");
747
+ if (i != -1) header[i] = "purity1";
748
+ i = htry("relapse_purity", "purity_r");
749
+ if (i != -1) header[i] = "purity2";
750
+ i = htry("tag_d_cnvloh", "cnvloh_d");
751
+ if (i != -1) header[i] = "Dcnvloh";
752
+ i = htry("tag_r_cnvloh", "cnvloh_r");
753
+ if (i != -1) header[i] = "Rcnvloh";
754
+ const atlst = [];
755
+ for (const j of header) {
756
+ switch (j) {
757
+ case "Dcnvloh":
758
+ atlst.push({
759
+ label: "D. CNV/LOH",
760
+ get: (m) => m.Dcnvlohraw
761
+ });
762
+ break;
763
+ case "Rcnvloh":
764
+ atlst.push({
765
+ label: "R. CNV/LOH",
766
+ get: (m) => m.Rcnvlohraw
767
+ });
768
+ break;
769
+ case "type":
770
+ atlst.push({
771
+ label: "Type",
772
+ get: (m) => m.type
773
+ });
774
+ break;
775
+ case "chr":
776
+ break;
777
+ case "chrstart":
778
+ atlst.push({
779
+ label: "Genome Loc.",
780
+ get: (m) => m.chr + ":" + (m.chrstart + 1)
781
+ });
782
+ break;
783
+ case "class":
784
+ atlst.push({
785
+ label: "Class",
786
+ get: (m) => {
787
+ if (m.class == mclassnonstandard) {
788
+ return m.originalclasslabel ? m.originalclasslabel : mclass[m.class].label;
789
+ }
790
+ return mclass[m.class].label;
791
+ }
792
+ });
793
+ break;
794
+ case "mname":
795
+ atlst.push({
796
+ label: "Mutation",
797
+ get: (m) => {
798
+ let s = m.mname;
799
+ if (!s) s = m.cdna_change;
800
+ return s;
801
+ }
802
+ });
803
+ break;
804
+ case "MinD.D":
805
+ atlst.push({
806
+ ismaf: true,
807
+ width: 60,
808
+ height: 14,
809
+ readcountcredible: 30,
810
+ get: (m) => m.maf_diagnosis,
811
+ label: "D. tumor MAF",
812
+ fill: "#F7483B",
813
+ fillbg: "#FCBAB6"
814
+ });
815
+ break;
816
+ case "TinD.D":
817
+ break;
818
+ case "MinD.R":
819
+ atlst.push({
820
+ ismaf: true,
821
+ width: 60,
822
+ height: 14,
823
+ readcountcredible: 30,
824
+ get: (m) => m.maf_relapse,
825
+ label: "R. tumor MAF",
826
+ fill: "#146EFF",
827
+ fillbg: "#B6D5FC"
828
+ });
829
+ break;
830
+ case "TinD.R":
831
+ break;
832
+ case "MinN.D":
833
+ atlst.push({
834
+ ismaf: true,
835
+ width: 60,
836
+ height: 14,
837
+ readcountcredible: 30,
838
+ get: (m) => m.maf_diagnosis_normal,
839
+ label: "D. normal MAF",
840
+ fill: "#F7483B",
841
+ fillbg: "#FCBAB6"
842
+ });
843
+ break;
844
+ case "TinN.D":
845
+ break;
846
+ case "MinN.R":
847
+ atlst.push({
848
+ ismaf: true,
849
+ width: 60,
850
+ height: 14,
851
+ readcountcredible: 30,
852
+ get: (m) => m.maf_relapse_normal,
853
+ label: "R. normal MAF",
854
+ fill: "#146EFF",
855
+ fillbg: "#B6D5FC"
856
+ });
857
+ break;
858
+ case "TinN.R":
859
+ break;
860
+ case "call_d":
861
+ atlst.push({
862
+ label: "D. call",
863
+ get: (m) => m.call_d
864
+ });
865
+ break;
866
+ case "call_r":
867
+ atlst.push({
868
+ label: "R. call",
869
+ get: (m) => m.call_r
870
+ });
871
+ break;
872
+ case "purity1":
873
+ atlst.push({
874
+ label: "D. purity",
875
+ get: (m) => m.purity1
876
+ });
877
+ break;
878
+ case "purity2":
879
+ atlst.push({
880
+ label: "R. purity",
881
+ get: (m) => m.purity2
882
+ });
883
+ break;
884
+ default:
885
+ atlst.push({
886
+ label: j,
887
+ get: (m) => m[j]
888
+ });
889
+ }
890
+ }
891
+ return [null, header, atlst];
892
+ }
893
+ function d2maf_render(showholder, pdata) {
894
+ const tooltip = new Menu({ border: "solid 1px black" });
895
+ const set_1 = [];
896
+ const set_2 = [];
897
+ const set_share = [];
898
+ const mlst = pdata.mlst;
899
+ const person = mlst[0].sample;
900
+ const symbolgen = Symbol();
901
+ let maxtotal = 0;
902
+ let bysymbol = {};
903
+ const mclasses = {};
904
+ for (const m of mlst) {
905
+ if (m["TinD.D"] > 0) {
906
+ maxtotal = Math.max(maxtotal, m["TinD.D"]);
907
+ }
908
+ if (m["TinD.R"] > 0) {
909
+ maxtotal = Math.max(maxtotal, m["TinD.R"]);
910
+ }
911
+ if (m.set_share) {
912
+ set_share.push(m);
913
+ } else if (m.set_1) {
914
+ set_1.push(m);
915
+ } else if (m.set_2) {
916
+ set_2.push(m);
917
+ }
918
+ if (!(m.class in mclasses)) {
919
+ mclasses[m.class] = 0;
920
+ }
921
+ if (m.symbol) {
922
+ if (!bysymbol[m.symbol]) {
923
+ bysymbol[m.symbol] = { numlines: 0, label: m.symbollabel, hidden: false };
924
+ }
925
+ bysymbol[m.symbol].numlines++;
926
+ }
927
+ mclasses[m.class]++;
928
+ }
929
+ const a = Math.min(window.innerWidth, window.innerHeight);
930
+ const axiswidth = 50, sharewidth = a * 0.5, shareheight = a * 0.5, sample1height = shareheight / 2, sample2height = sharewidth / 2, sp = axiswidth / 3, sp2 = sample1height / 5, labelfontsize = Math.min(20, 12 * a / 500), radius = a / 40, indelboxw = radius * 0.7, r_cnvloh = 3;
931
+ const radiusscale = linear().domain([0, maxtotal]).range([radius / 2, radius]);
932
+ const radiustoarea = (d) => Math.PI * Math.pow(radiusscale(d), 2);
933
+ for (const m of mlst) {
934
+ m.radius = Math.max(m["TinD.D"] ? radiusscale(m["TinD.D"]) : 0, m["TinD.R"] ? radiusscale(m["TinD.R"]) : 0);
935
+ }
936
+ const outtable = showholder.append("table");
937
+ const tr = outtable.append("tr");
938
+ const tdgraph = tr.append("td").style("vertical-align", "top");
939
+ const tdgenetable = tr.append("td").style("vertical-align", "top");
940
+ tdgenetable.append("div").style("margin", "10px").text("Name: " + person);
941
+ const headerdiv = tdgraph.append("div");
942
+ headerdiv.append("button").text("Hide").on("click", () => {
943
+ pdata.shown = false;
944
+ if (pdata.handle) {
945
+ pdata.handle.attr("font-weight", "normal");
946
+ }
947
+ outtable.remove();
948
+ });
949
+ const anchors = new Anchors({ axiswidth, sp, sp2, sample1height, sample2height, shareheight, sharewidth, headerdiv });
950
+ headerdiv.append("button").text("Screenshot").on("click", () => {
951
+ to_svg(svg.node(), "2dmaf_" + pdata.name);
952
+ });
953
+ {
954
+ const mcselect = headerdiv.append("select").on("change", (event) => {
955
+ const v = event.target.options[event.target.selectedIndex].value;
956
+ if (v == "all") {
957
+ select_share.transition().attr("transform", (d) => d.posstring + " scale(1)");
958
+ select_set1.transition().attr("transform", (d) => d.posstring + " scale(1)");
959
+ select_set2.transition().attr("transform", (d) => d.posstring + " scale(1)");
960
+ return;
961
+ }
962
+ select_share.transition().attr("transform", (d) => d.posstring + " scale(" + (d.class == v ? 1 : 0) + ")");
963
+ select_set1.transition().attr("transform", (d) => d.posstring + " scale(" + (d.class == v ? 1 : 0) + ")");
964
+ select_set2.transition().attr("transform", (d) => d.posstring + " scale(" + (d.class == v ? 1 : 0) + ")");
965
+ });
966
+ mcselect.append("option").text("Show all mutation classes").property("value", "all");
967
+ const lst = [];
968
+ for (const c3 in mclasses) {
969
+ lst.push([c3, mclasses[c3]]);
970
+ }
971
+ lst.sort((a2, b) => b[1] - a2[1]);
972
+ for (const i of lst) {
973
+ mcselect.append("option").text((i[0] in mclass ? mclass[i[0]].label : i[0]) + " (" + i[1] + ")").property("value", i[0]);
974
+ }
975
+ }
976
+ const svg = tdgraph.append("svg").attr("width", axiswidth + sp + sample2height + sharewidth + sp * 2).attr("height", axiswidth + sp + sample1height + shareheight + sp * 2);
977
+ const g = svg.append("g").attr("transform", "translate(" + sp + "," + sp + ")");
978
+ anchors.setWrapper(g.append("g"));
979
+ const scale1 = linear().domain([0, 1]).range([0, sharewidth]);
980
+ const scalediv1 = g.append("g").attr("transform", "translate(" + (axiswidth + sp + sample2height) + "," + (shareheight + sample1height + sp) + ")").call(axisBottom().scale(scale1).tickSize(5));
981
+ axisstyle({ axis: scalediv1, showline: true, fontsize: labelfontsize * 0.8 });
982
+ const c = set_1.length + set_share.length;
983
+ scalediv1.append("text").text(pdata.setname[1] + ", n=" + c + (pdata.purity1 ? ", purity=" + pdata.purity1 : "")).attr("x", sharewidth / 2).attr("y", axiswidth - 4).attr("text-anchor", "middle").attr("font-size", labelfontsize);
984
+ const scale2 = linear().domain([0, 1]).range([shareheight, 0]);
985
+ const scalediv2 = g.append("g").attr("transform", "translate(" + axiswidth + ",0)").call(axisLeft().scale(scale2).tickSize(5));
986
+ axisstyle({ axis: scalediv2, showline: true, fontsize: labelfontsize * 0.8 });
987
+ const c2 = set_2.length + set_share.length;
988
+ scalediv2.append("text").text(pdata.setname[2] + ", n=" + c2 + (pdata.purity2 ? ", purity=" + pdata.purity2 : "")).attr("transform", "translate(" + (labelfontsize - axiswidth - 10) + "," + shareheight / 2 + ") rotate(-90)").attr("text-anchor", "middle").attr("font-size", labelfontsize);
989
+ g.append("path").attr(
990
+ "d",
991
+ "M" + (axiswidth + sp) + ",0h" + (sample2height + sharewidth) + "v" + (shareheight + sample1height) + "h-" + sharewidth + "v-" + (sample1height + shareheight) + "M" + (axiswidth + sp) + ",0v" + shareheight + "h" + (sample2height + sharewidth) + "M" + (axiswidth + sp + sample2height) + "," + shareheight + "l" + sharewidth + ",-" + shareheight
992
+ ).attr("fill", "none").attr("stroke", "black").attr("shape-rendering", "crispEdges").attr("stroke-dasharray", "5,5");
993
+ const select_share = g.append("g").attr("transform", "translate(" + (axiswidth + sp + sample2height) + ",0)").selectAll().data(set_share).enter().append("g").attr("transform", (d) => {
994
+ d.posstring = "translate(" + scale1(d.maf1) + "," + scale2(d.maf2) + ")";
995
+ return d.posstring;
996
+ });
997
+ select_share.filter((d) => d.Dcnvloh).append("circle").attr("cy", (d) => {
998
+ return d.issnv ? radiusscale(d["TinD.R"]) : indelboxw / 2;
999
+ }).attr("fill", "#858585").attr("r", r_cnvloh);
1000
+ select_share.filter((d) => d.Rcnvloh).append("circle").attr("cx", (d) => {
1001
+ return d.issnv ? -radiusscale(d["TinD.D"]) : -indelboxw / 2;
1002
+ }).attr("fill", "#858585").attr("r", r_cnvloh);
1003
+ let snv = select_share;
1004
+ for (const tagName in sharedFilters) {
1005
+ snv.filter(sharedFilters[tagName]).append(tagName).attr("rx", (d) => d.symbol ? null : radiusscale(d["TinD.D"])).attr("ry", (d) => d.symbol ? null : radiusscale(d["TinD.R"])).attr(
1006
+ "d",
1007
+ (d) => !d.symbol ? null : symbolgen.type(symbols[d.symbol]).size(radiustoarea(d["TinD.D"]) + radiustoarea(d["TinD.R"]) / 2)()
1008
+ ).attr("fill", (d) => d.style.fill).attr("fill-opacity", (d) => d.style.fillopacity).attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("stroke-dasharray", (d) => d.chr == "chrX" ? "5,5" : "none").on("mouseover", (event, d) => d2maf_dotmover(event, d, tooltip)).on("mouseout", (event, d) => d2maf_dotmout(event, d, tooltip)).on("click", (event, d) => d2maf_minfo(event, pdata.header, d));
1009
+ }
1010
+ snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", -3).attr("x2", 3).attr("y2", 3);
1011
+ snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", 3).attr("x2", 3).attr("y2", -3);
1012
+ const set1totalscale = linear().domain([0, maxtotal]).range([sample1height - sp2, 0]);
1013
+ const g_set1 = g.append("g").attr("transform", "translate(" + (axiswidth + sp + sample2height) + "," + (shareheight + sp2) + ")");
1014
+ const emaflinecolor = "#FFBEAD";
1015
+ const emafline_1 = g_set1.append("rect").attr("fill", emaflinecolor).attr("fill-opacity", 0).attr("x", 0).attr("width", 3).attr("height", sample1height - sp2);
1016
+ axisstyle({
1017
+ axis: g_set1.call(axisLeft().scale(set1totalscale).tickValues([0, maxtotal])),
1018
+ showline: true,
1019
+ fontsize: labelfontsize * 0.8
1020
+ });
1021
+ g_set1.append("g").attr("transform", "translate(-" + labelfontsize / 2 + "," + (sample1height - sp2) / 2 + ")").append("text").text("D total").attr("font-size", labelfontsize * 0.8).attr("font-family", font).attr("fill", "black").attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("transform", "rotate(-90)");
1022
+ const select_set1 = g_set1.selectAll().data(set_1).enter().append("g").attr("transform", (d) => {
1023
+ d.posstring = "translate(" + scale1(d.maf1) + "," + set1totalscale(d["TinD.D"]) + ")";
1024
+ return d.posstring;
1025
+ });
1026
+ select_set1.filter((d) => d.Dcnvloh).append("circle").attr("cy", (d) => {
1027
+ return d.issnv ? radiusscale(d["TinD.R"]) : indelboxw / 2;
1028
+ }).attr("fill", "#858585").attr("r", r_cnvloh);
1029
+ select_set1.filter((d) => d.Rcnvloh).append("circle").attr("cx", (d) => d.issnv ? -radiusscale(d["TinD.D"]) : -indelboxw / 2).attr("fill", "#858585").attr("r", r_cnvloh);
1030
+ snv = select_set1;
1031
+ for (const tagName in symbolFilters) {
1032
+ snv.filter(symbolFilters[tagName]).append(tagName).attr("class", (d) => d.symbol ? "twodmaf-" + d.symbol : null).attr("r", (d) => d.symbol ? null : radiusscale(d["TinD.R"])).attr("d", (d) => !d.symbol ? null : symbolgen.type(symbols[d.symbol]).size(radiustoarea(d["TinD.R"]))()).attr("fill", (d) => d.style.fill).attr("fill-opacity", (d) => d.style.fillopacity).attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("stroke-dasharray", (d) => d.chr == "chrX" ? "5,5" : "none").on("mouseover", (event, d) => d2maf_dotmover(event, d, tooltip)).on("mouseout", (event, d) => d2maf_dotmout(event, d, tooltip)).on("click", (event, d) => d2maf_minfo(event, pdata.header, d));
1033
+ }
1034
+ snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", -3).attr("x2", 3).attr("y2", 3);
1035
+ snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", 3).attr("x2", 3).attr("y2", -3);
1036
+ const set2totalscale = linear().domain([0, maxtotal]).range([0, sample2height - sp2]);
1037
+ const g_set2 = g.append("g").attr("transform", "translate(" + (axiswidth + sp) + ",0)");
1038
+ const emafline_2 = g_set2.append("rect").attr("fill", emaflinecolor).attr("fill-opacity", 0).attr("y", shareheight).attr("width", sample2height - sp2).attr("height", 3);
1039
+ const g_set2_axis = g_set2.append("g").attr("transform", "translate(0," + shareheight + ")").call(axisBottom().scale(set2totalscale).tickValues([0, maxtotal]));
1040
+ axisstyle({
1041
+ axis: g_set2_axis,
1042
+ showline: true,
1043
+ fontsize: labelfontsize * 0.8
1044
+ });
1045
+ g_set2.append("text").text("R total").attr("font-size", labelfontsize * 0.8).attr("font-family", font).attr("fill", "black").attr("x", (sample2height - sp2) / 2).attr("y", shareheight + labelfontsize).attr("text-anchor", "middle");
1046
+ const select_set2 = g_set2.selectAll().data(set_2).enter().append("g").attr("transform", (d) => {
1047
+ d.posstring = "translate(" + set2totalscale(d["TinD.R"]) + "," + scale2(d.maf2) + ")";
1048
+ return d.posstring;
1049
+ });
1050
+ select_set2.filter((d) => d.Dcnvloh).append("circle").attr("cy", (d) => d.issnv ? radiusscale(d["TinD.R"]) : indelboxw / 2).attr("fill", "#858585").attr("r", r_cnvloh);
1051
+ select_set2.filter((d) => d.Rcnvloh).append("circle").attr("cx", (d) => d.issnv ? -radiusscale(d["TinD.D"]) : -indelboxw / 2).attr("fill", "#858585").attr("r", r_cnvloh);
1052
+ snv = select_set2;
1053
+ for (const tagName in symbolFilters) {
1054
+ snv.filter(symbolFilters[tagName]).append(tagName).attr("class", (d) => d.symbol ? "twodmaf-" + d.symbol : null).attr("r", (d) => d.symbol ? null : radiusscale(d["TinD.D"])).attr("d", (d) => !d.symbol ? null : symbolgen.type(symbols[d.symbol]).size(radiustoarea(d["TinD.R"]))()).attr("fill", (d) => d.style.fill).attr("fill-opacity", (d) => d.style.fillopacity).attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("stroke-dasharray", (d) => d.chr == "chrX" ? "5,5" : "none").on("mouseover", (event, d) => d2maf_dotmover(event, d, tooltip)).on("mouseout", (event, d) => d2maf_dotmout(event, d, tooltip)).on("click", (event, d) => d2maf_minfo(event, pdata.header, d));
1055
+ }
1056
+ snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", -3).attr("x2", 3).attr("y2", 3);
1057
+ snv.append("line").attr("stroke", (d) => d.style.stroke).attr("stroke-opacity", (d) => d.style.strokeopacity).attr("x1", -3).attr("y1", 3).attr("x2", 3).attr("y2", -3);
1058
+ const leng = g.append("g").attr("transform", "translate(0," + (shareheight + sp2) + ")");
1059
+ let y = labelfontsize;
1060
+ leng.append("text").text(person).attr("font-size", labelfontsize).attr("y", y);
1061
+ const r1 = radiusscale(20), r2 = radiusscale(maxtotal);
1062
+ y += labelfontsize + r2;
1063
+ let x;
1064
+ leng.append("text").text("SNV coverage").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1065
+ x = this.getBBox().width;
1066
+ });
1067
+ x += r1 + 10;
1068
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", r1).attr("stroke", "black").attr("fill", "none");
1069
+ leng.append("text").text(20).attr("x", x).attr("y", y).attr("text-anchor", "middle").attr("dominant-baseline", "middle");
1070
+ x += r1 + r2 + 10;
1071
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", r2).attr("stroke", "black").attr("fill", "none");
1072
+ leng.append("text").text(maxtotal).attr("x", x).attr("y", y).attr("text-anchor", "middle").attr("dominant-baseline", "middle");
1073
+ y += r2 + 10;
1074
+ leng.append("text").text("Indel").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1075
+ x = this.getBBox().width;
1076
+ });
1077
+ leng.append("circle").attr("cx", x + 10 + indelboxw / 2).attr("cy", y).attr("r", indelboxw / 2).attr("fill", "black").attr("fill-opacity", 0.3);
1078
+ y += 30;
1079
+ leng.append("text").text("chrX").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1080
+ x = this.getBBox().width;
1081
+ });
1082
+ x += r1 + 10;
1083
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", 10).attr("stroke", "black").attr("stroke-dasharray", "5,5").attr("fill", "none");
1084
+ y += 30;
1085
+ leng.append("text").text("D. CNV/LOH").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1086
+ x = this.getBBox().width;
1087
+ });
1088
+ x += r1 + 10;
1089
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", 10).attr("stroke", "black").attr("fill", "none");
1090
+ leng.append("circle").attr("cx", x).attr("cy", y + 10).attr("r", r_cnvloh).attr("fill", "black");
1091
+ y += 30;
1092
+ leng.append("text").text("R. CNV/LOH").attr("y", y).attr("dominant-baseline", "central").each(function() {
1093
+ x = this.getBBox().width;
1094
+ });
1095
+ x += r1 + 10;
1096
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", 10).attr("stroke", "black").attr("fill", "none");
1097
+ leng.append("circle").attr("cx", x - 10).attr("cy", y).attr("r", r_cnvloh).attr("fill", "black");
1098
+ y += 30;
1099
+ if (pdata.purity1 != void 0 || pdata.purity2 != void 0) {
1100
+ leng.append("text").text("Expected MAF").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1101
+ x = this.getBBox().width;
1102
+ });
1103
+ x += 10;
1104
+ leng.append("rect").attr("fill", emaflinecolor).attr("x", x).attr("y", y).attr("width", 40).attr("height", 3);
1105
+ y += 30;
1106
+ }
1107
+ const renderedsymbols = Object.keys(bysymbol);
1108
+ if (renderedsymbols.length) {
1109
+ leng.append("text").text("Symbols").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1110
+ x = this.getBBox().width;
1111
+ });
1112
+ let x1;
1113
+ for (const symbolname in bysymbol) {
1114
+ const s = bysymbol[symbolname];
1115
+ const g3 = leng.append("g").on("click", () => {
1116
+ s.hidden = !s.hidden;
1117
+ svg.selectAll(".twodmaf-" + symbolname).style("display", s.hidden ? "none" : "");
1118
+ label.style("text-decoration", s.hidden ? "line-through" : "");
1119
+ });
1120
+ x1 = x + 20;
1121
+ g3.append("path").attr("transform", "translate(" + x1 + "," + y + ")").attr("d", symbolgen.type(symbols[symbolname]).size(100)()).attr("stroke", "black").attr("fill", "none").each(function() {
1122
+ x1 += this.getBBox().width;
1123
+ });
1124
+ const label = g3.append("text").text(s.label ? s.label + " (" + s.numlines + ")" : "").attr("y", y + 2).attr("x", x1).attr("dominant-baseline", "middle").style("text-decoration", s.hidden ? "line-through" : "");
1125
+ y += 30;
1126
+ }
1127
+ y += 30;
1128
+ }
1129
+ const g2m = {}, g1 = {}, g2 = {}, gs = {};
1130
+ for (const m of mlst) {
1131
+ if (!m.gene) continue;
1132
+ if (!(m.gene in g2m)) {
1133
+ g2m[m.gene] = [];
1134
+ }
1135
+ g2m[m.gene].push(m);
1136
+ if (m.set_1) {
1137
+ g1[m.gene] = 1;
1138
+ } else if (m.set_2) {
1139
+ g2[m.gene] = 1;
1140
+ } else if (m.set_share) {
1141
+ gs[m.gene] = 1;
1142
+ }
1143
+ }
1144
+ const genelst = [];
1145
+ for (const n in g1) {
1146
+ genelst.push(n);
1147
+ }
1148
+ for (const n in g2) {
1149
+ if (!(n in g1)) {
1150
+ genelst.push(n);
1151
+ }
1152
+ }
1153
+ for (const n in gs) {
1154
+ if (!(n in g1) && !(n in g2)) {
1155
+ genelst.push(n);
1156
+ }
1157
+ }
1158
+ const table = tdgenetable.append("div").style("height", shareheight + sample1height + "px").style("margin", "10px").style("padding", "10px").style("border", "solid 1px #ccc").style("overflow-y", "scroll").style("resize", "both").append("table");
1159
+ {
1160
+ const tr2 = table.append("tr");
1161
+ tr2.append("td").text("Gene");
1162
+ tr2.append("td").text(pdata.setname[1] + " only");
1163
+ tr2.append("td").text(pdata.setname[2] + " only");
1164
+ tr2.append("td").text("Shared");
1165
+ }
1166
+ let bg = true;
1167
+ for (const name of genelst) {
1168
+ const tr2 = table.append("tr");
1169
+ if (bg) {
1170
+ tr2.style("background-color", "#f3f3f3");
1171
+ }
1172
+ bg = !bg;
1173
+ tr2.append("td").text(name);
1174
+ let mlst2 = [];
1175
+ if (name in g2m) {
1176
+ mlst2 = g2m[name];
1177
+ }
1178
+ const s1 = [], s2 = [], ss = [];
1179
+ for (const m of mlst2) {
1180
+ if (m.set_share) ss.push(m);
1181
+ else if (m.set_1) s1.push(m);
1182
+ else if (m.set_2) s2.push(m);
1183
+ }
1184
+ let td = tr2.append("td");
1185
+ if (s1.length) {
1186
+ for (const m of s1) {
1187
+ const div = td.append("div").attr("class", "sja_clbtext").style("color", m.style.fillhl).text(m.mname || "").on("click", (event) => {
1188
+ click(event.target, m, select_set1);
1189
+ });
1190
+ if (m.labelIsVisible) {
1191
+ click(div.node(), m, select_set1);
1192
+ }
1193
+ }
1194
+ }
1195
+ td = tr2.append("td");
1196
+ if (s2.length) {
1197
+ for (const m of s2) {
1198
+ const div = td.append("div").attr("class", "sja_clbtext").style("color", m.style.fillhl).text(m.mname || "").on("click", (event) => {
1199
+ click(event.target, m, select_set2);
1200
+ });
1201
+ if (m.labelIsVisible) {
1202
+ click(div.node(), m, select_set1);
1203
+ }
1204
+ }
1205
+ }
1206
+ td = tr2.append("td");
1207
+ if (ss.length) {
1208
+ for (const m of ss) {
1209
+ const div = td.append("div").attr("class", "sja_clbtext").style("color", m.style.fillhl).text(m.mname || "").on("click", (event) => {
1210
+ click(event.target, m, select_share);
1211
+ });
1212
+ if (m.labelIsVisible) {
1213
+ click(div.node(), m, select_set1);
1214
+ }
1215
+ }
1216
+ }
1217
+ }
1218
+ function click(butt, m, select) {
1219
+ if (m.selected) {
1220
+ butt.style.border = "";
1221
+ m.selected = false;
1222
+ } else {
1223
+ butt.style.border = "solid 1px black";
1224
+ m.selected = true;
1225
+ }
1226
+ const found = select.filter((d) => {
1227
+ return d.gene == m.gene && d.class == m.class && d.mname == m.mname;
1228
+ });
1229
+ found.selectAll("rect").attr("fill-opacity", m.selected ? 0.5 : m.style.fillopacity).attr("fill", m.selected ? m.style.fillhl : m.style.fill);
1230
+ found.selectAll("circle,ellipse,line").attr("stroke-opacity", m.selected ? 1 : m.style.strokeopacity).attr("stroke", m.selected ? m.style.strokehl : m.style.stroke).attr("stroke-width", m.selected ? 2 : 1);
1231
+ if (m.selected) {
1232
+ let x2 = Math.max(20, m.radius), y2 = 0;
1233
+ if ((m.set_1 || m.set_share) && m.maf1 >= 0.8) {
1234
+ x2 = -m.radius;
1235
+ y2 = m.radius * 2;
1236
+ }
1237
+ const g3 = found.append("g").attr("class", "sja_2dmaf_mlabel").attr("transform", "translate(" + x2 + "," + y2 + ")");
1238
+ let w;
1239
+ g3.append("text").text(m.labelAs ? m.labelAs : m.gene + " " + m.mname).attr("fill", m.style.fillhl).attr("dominant-baseline", "middle").attr("text-anchor", "start").attr("font-size", m.radius).each(function() {
1240
+ w = this.getBBox().width;
1241
+ });
1242
+ g3.append("rect").attr("y", -m.radius / 2).attr("width", w).attr("height", m.radius).attr("fill", "black").attr("fill-opacity", 0).on("mouseover", (event) => select_default(event.target).attr("fill-opacity", 0.2)).on("mouseout", (event) => select_default(event.target).attr("fill-opacity", 0)).on("mousedown", (event) => {
1243
+ const x0 = x2, y0 = y2, mx = event.clientX, my = event.clientY, body = select_default(document.body);
1244
+ body.on("mousemove", (event2) => {
1245
+ event2.preventDefault();
1246
+ x2 = x0 + event2.clientX - mx;
1247
+ y2 = y0 + event2.clientY - my;
1248
+ g3.attr("transform", "translate(" + x2 + "," + y2 + ")");
1249
+ });
1250
+ body.on("mouseup", () => {
1251
+ body.on("mousemove", null).on("mouseup", null);
1252
+ });
1253
+ });
1254
+ } else {
1255
+ found.select(".sja_2dmaf_mlabel").remove();
1256
+ }
1257
+ }
1258
+ return outtable;
1259
+ }
1260
+ function d2maf_dotmover(event, m, tooltip) {
1261
+ if (!m.selected) {
1262
+ select_default(event.target).attr("fill", m.style.fillhl).attr("fill-opacity", 0.2);
1263
+ }
1264
+ tooltip.clear();
1265
+ tooltip.show(event.clientX, event.clientY);
1266
+ tooltip.d.append("div").html(
1267
+ (m.gene || "no gene") + ' <span style="color:' + m.style.fillhl + '">' + (m.mname || "") + "</span>" + (m.class ? ' <span style="font-size:70%">' + mclass[m.class].label + "</span>" : "")
1268
+ );
1269
+ }
1270
+ function d2maf_dotmout(event, m, tooltip) {
1271
+ if (!m.selected) {
1272
+ select_default(event.ele).attr("fill", m.style.fill).attr("fill-opacity", m.style.fillopacity).attr("stroke", m.style.stroke);
1273
+ }
1274
+ tooltip.hide();
1275
+ }
1276
+ function d2maf_minfo(event, header, m) {
1277
+ const pane = newpane({ x: event.clientX + 30, y: event.clientY - 30 });
1278
+ pane.header.text((m.gene ? m.gene : "No gene") + " " + (m.mname ? m.mname : ""));
1279
+ var data = [];
1280
+ for (let i = 0; i < header.length; i++) {
1281
+ data.push({ k: header[i], v: m[header[i]] });
1282
+ }
1283
+ make_table_2col(pane.body, data);
1284
+ }
1285
+ function d2maf_click(data, person) {
1286
+ const v = data.pairs[person];
1287
+ if (v.shown) {
1288
+ v.shown = false;
1289
+ v.holder.remove();
1290
+ if (v.handle) {
1291
+ v.handle.attr("font-weight", "normal");
1292
+ }
1293
+ } else {
1294
+ v.shown = true;
1295
+ if (v.holder) {
1296
+ data.showholder.node().appendChild(v.holder.node());
1297
+ } else {
1298
+ v.holder = d2maf_render(data.showholder, v);
1299
+ }
1300
+ if (v.handle) {
1301
+ v.handle.attr("font-weight", "bold");
1302
+ }
1303
+ }
1304
+ }
1305
+ function d2maf_peopletable(data, holder) {
1306
+ const plst = [];
1307
+ for (const n in data.pairs) {
1308
+ plst.push([n, data.pairs[n].mlst.length]);
1309
+ }
1310
+ holder.selectAll("*").remove();
1311
+ const searchrow = holder.append("div").style("margin-bottom", "5px");
1312
+ searchrow.append("span").text(plst.length + " individual" + (plst.length > 1 ? "s" : ""));
1313
+ const svg = holder.append("svg");
1314
+ const space = 5, axish = 20, rowh = data.rowh;
1315
+ let maxlabelw = 0;
1316
+ for (const s of plst) {
1317
+ svg.append("text").text(s[0]).attr("font-size", rowh).attr("font-family", font).each(function() {
1318
+ maxlabelw = Math.max(maxlabelw, this.getBBox().width);
1319
+ }).remove();
1320
+ }
1321
+ svg.attr("width", maxlabelw + space + data.peoplewidth + 30).attr("height", axish + space + rowh * plst.length);
1322
+ plst.sort((a, b) => b[1] - a[1]);
1323
+ let maxmcount = 0;
1324
+ for (const k in data.pairs) {
1325
+ maxmcount = Math.max(maxmcount, data.pairs[k].mlst.length);
1326
+ }
1327
+ const ag = svg.append("g").attr("transform", "translate(" + (maxlabelw + space) + "," + axish + ")").call(
1328
+ axisTop().scale(linear().domain([0, maxmcount]).range([0, data.peoplewidth])).tickFormat(format("d")).ticks(3)
1329
+ );
1330
+ axisstyle({
1331
+ axis: ag,
1332
+ showline: true,
1333
+ color: "black"
1334
+ });
1335
+ const wsf = data.peoplewidth / maxmcount;
1336
+ let y = axish + space;
1337
+ for (const s of plst) {
1338
+ const person = s[0];
1339
+ data.pairs[person].handle = svg.append("text").text(person).attr("class", "sja_svgtext2").attr("font-size", rowh - 2).attr("font-family", font).attr("x", maxlabelw).attr("y", y + space + rowh / 2).attr("text-anchor", "end").on("click", () => {
1340
+ d2maf_click(data, person);
1341
+ });
1342
+ let m1 = 0, m2 = 0, ms = 0;
1343
+ for (const m of data.pairs[person].mlst) {
1344
+ if (m.set_1) m1++;
1345
+ else if (m.set_2) m2++;
1346
+ else if (m.set_share) ms++;
1347
+ }
1348
+ const g = svg.append("g").attr("transform", "translate(" + (maxlabelw + space) + "," + y + ")");
1349
+ if (m1 > 0) {
1350
+ g.append("rect").attr("width", wsf * m1).attr("height", rowh - 1).attr("fill", data.color1);
1351
+ }
1352
+ if (ms > 0) {
1353
+ g.append("rect").attr("x", wsf * m1).attr("width", wsf * ms).attr("height", rowh - 1).attr("fill", data.colorshare);
1354
+ }
1355
+ if (m2 > 0) {
1356
+ g.append("rect").attr("x", wsf * (m1 + ms)).attr("width", wsf * m2).attr("height", rowh - 1).attr("fill", data.color2);
1357
+ }
1358
+ y += rowh;
1359
+ }
1360
+ }
1361
+ export {
1362
+ d2mafparseinput,
1363
+ d2mafui
1364
+ };
1365
+ //# sourceMappingURL=2dmaf-YLHCHTD7.js.map