@sjcrh/proteinpaint-client 2.83.0 → 2.85.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 (824) hide show
  1. package/dist/2dmaf-INIPPZFM.js +1404 -0
  2. package/dist/2dmaf-INIPPZFM.js.map +7 -0
  3. package/dist/AppHeader-C75X2TDR.js +850 -0
  4. package/dist/AppHeader-C75X2TDR.js.map +7 -0
  5. package/dist/DEanalysis-LU5YV4FN.js +610 -0
  6. package/dist/Disco-RCZXSOYC.js +2462 -0
  7. package/dist/Disco.UI-T7VPETRL.js +259 -0
  8. package/dist/HicApp-2S2ALURM.js +2276 -0
  9. package/dist/HicApp-2S2ALURM.js.map +7 -0
  10. package/dist/WSIViewer-HWBRERRX.js +23530 -0
  11. package/dist/WSIViewer-HWBRERRX.js.map +7 -0
  12. package/dist/adSandbox-FCTJEZBN.js +27 -0
  13. package/dist/app-IIWZ2UUG.js +44 -0
  14. package/dist/app-IK7GH7WR.js +72 -0
  15. package/dist/app.js +12 -12
  16. package/dist/bam-WW53XDRT.js +840 -0
  17. package/dist/barchart-6PEQYUCU.js +57 -0
  18. package/dist/barchart.data-3QGEYFDM.js +27 -0
  19. package/dist/barchart.events-SCZS5BY6.js +45 -0
  20. package/dist/bars.renderer-5S4CT3WP.js +21 -0
  21. package/dist/block-62RUXZ4B.js +6550 -0
  22. package/dist/block-62RUXZ4B.js.map +7 -0
  23. package/dist/block.init-QUP2GPOP.js +23 -0
  24. package/dist/block.mds.cnv-VQXMRGU5.js +494 -0
  25. package/dist/block.mds.cnv-VQXMRGU5.js.map +7 -0
  26. package/dist/block.mds.expressionrank-5NZNO6KC.js +364 -0
  27. package/dist/block.mds.expressionrank-5NZNO6KC.js.map +7 -0
  28. package/dist/block.mds.geneboxplot-Q3YXN64A.js +838 -0
  29. package/dist/block.mds.geneboxplot-Q3YXN64A.js.map +7 -0
  30. package/dist/block.mds.junction-2VULPLR2.js +1441 -0
  31. package/dist/block.mds.junction-2VULPLR2.js.map +7 -0
  32. package/dist/block.mds.svcnv-UOYAN72G.js +7061 -0
  33. package/dist/block.mds.svcnv-UOYAN72G.js.map +7 -0
  34. package/dist/block.mds2-KRZHTJRZ.js +3448 -0
  35. package/dist/block.svg-KT4RFJDR.js +152 -0
  36. package/dist/block.svg-KT4RFJDR.js.map +7 -0
  37. package/dist/block.tk.aicheck-RBFLO6VO.js +292 -0
  38. package/dist/block.tk.aicheck-RBFLO6VO.js.map +7 -0
  39. package/dist/block.tk.ase-DKMVZ73N.js +376 -0
  40. package/dist/block.tk.ase-DKMVZ73N.js.map +7 -0
  41. package/dist/block.tk.bam-EC6ZI24A.js +1959 -0
  42. package/dist/block.tk.bam-EC6ZI24A.js.map +7 -0
  43. package/dist/block.tk.bedgraphdot-EA4EYJU7.js +380 -0
  44. package/dist/block.tk.bedgraphdot-EA4EYJU7.js.map +7 -0
  45. package/dist/block.tk.bigwig.ui-3AKY22P7.js +204 -0
  46. package/dist/block.tk.bigwig.ui-3AKY22P7.js.map +7 -0
  47. package/dist/block.tk.hicstraw-LBKM72FC.js +867 -0
  48. package/dist/block.tk.hicstraw-LBKM72FC.js.map +7 -0
  49. package/dist/block.tk.junction-QV3IMIVG.js +2390 -0
  50. package/dist/block.tk.junction-QV3IMIVG.js.map +7 -0
  51. package/dist/block.tk.junction.textmatrixui-3GBAUFPV.js +197 -0
  52. package/dist/block.tk.junction.textmatrixui-3GBAUFPV.js.map +7 -0
  53. package/dist/block.tk.ld-TUZ3MPJF.js +100 -0
  54. package/dist/block.tk.ld-TUZ3MPJF.js.map +7 -0
  55. package/dist/block.tk.menu-QDWA25RG.js +1075 -0
  56. package/dist/block.tk.menu-QDWA25RG.js.map +7 -0
  57. package/dist/block.tk.pgv-TOHDUDUE.js +986 -0
  58. package/dist/block.tk.pgv-TOHDUDUE.js.map +7 -0
  59. package/dist/boxplot-HXEWPP23.js +47 -0
  60. package/dist/brainImaging-7LWSTCOE.js +358 -0
  61. package/dist/brainImaging-7LWSTCOE.js.map +7 -0
  62. package/dist/categorical-YLO3FFPP.js +43 -0
  63. package/dist/chunk-2CJ2LLB5.js +40 -0
  64. package/dist/chunk-2WYPCEE6.js +1846 -0
  65. package/dist/chunk-2WYPCEE6.js.map +7 -0
  66. package/dist/chunk-36SLYI43.js +3411 -0
  67. package/dist/chunk-3HFUJA7U.js +122 -0
  68. package/dist/chunk-3J5ZD37S.js +123 -0
  69. package/dist/chunk-3Q6VSIVR.js +232 -0
  70. package/dist/chunk-4EAV6BSO.js +272 -0
  71. package/dist/chunk-4EAV6BSO.js.map +7 -0
  72. package/dist/chunk-4FEVYEDL.js +456 -0
  73. package/dist/chunk-4GQUIOHL.js +239 -0
  74. package/dist/chunk-4NFU3KGQ.js +391 -0
  75. package/dist/chunk-5FY5NKDC.js +183 -0
  76. package/dist/chunk-5IZP2CSF.js +359 -0
  77. package/dist/chunk-5MIJCC3X.js +406 -0
  78. package/dist/chunk-5WAMLEQ4.js +232 -0
  79. package/dist/chunk-647ZNH5I.js +523 -0
  80. package/dist/chunk-647ZNH5I.js.map +7 -0
  81. package/dist/chunk-6RUSCXGH.js +303 -0
  82. package/dist/chunk-7BYHJTXX.js +2504 -0
  83. package/dist/chunk-7HS6FJS2.js +1409 -0
  84. package/dist/chunk-7HS6FJS2.js.map +7 -0
  85. package/dist/chunk-A5BE3QME.js +1111 -0
  86. package/dist/chunk-A7PSNEOB.js +469 -0
  87. package/dist/chunk-A7PSNEOB.js.map +7 -0
  88. package/dist/chunk-ACDH6CEH.js +1308 -0
  89. package/dist/chunk-BFUZX6P4.js +950 -0
  90. package/dist/chunk-BFUZX6P4.js.map +7 -0
  91. package/dist/chunk-BU73IBJJ.js +34 -0
  92. package/dist/chunk-BU73IBJJ.js.map +7 -0
  93. package/dist/chunk-C5OTWQXE.js +506 -0
  94. package/dist/chunk-C5OTWQXE.js.map +7 -0
  95. package/dist/chunk-CISAXHOD.js +2829 -0
  96. package/dist/chunk-CNRN4HZF.js +479 -0
  97. package/dist/chunk-DNTMUHCS.js +604 -0
  98. package/dist/chunk-DPSGGQFB.js +153 -0
  99. package/dist/chunk-F4WP577F.js +98 -0
  100. package/dist/chunk-F4WP577F.js.map +7 -0
  101. package/dist/chunk-FLMEDZ6Q.js +2646 -0
  102. package/dist/chunk-GEFYMVQM.js +79 -0
  103. package/dist/chunk-GEFYMVQM.js.map +7 -0
  104. package/dist/chunk-GNXCCFIB.js +2859 -0
  105. package/dist/chunk-H7ZEOS42.js +581 -0
  106. package/dist/chunk-HABKWPDZ.js +31 -0
  107. package/dist/chunk-HDOHVJI3.js +529 -0
  108. package/dist/chunk-HOZLIDMC.js +193 -0
  109. package/dist/chunk-HWETBYER.js +1274 -0
  110. package/dist/chunk-HWETBYER.js.map +7 -0
  111. package/dist/chunk-I2WVOGYN.js +328 -0
  112. package/dist/chunk-J3F5KPLT.js +369 -0
  113. package/dist/chunk-JLYMN7FE.js +1168 -0
  114. package/dist/chunk-JNPL7H6B.js +287 -0
  115. package/dist/chunk-L6RI6ON7.js +454 -0
  116. package/dist/chunk-LDH3JL6X.js +251 -0
  117. package/dist/chunk-LMJD3BA3.js +475 -0
  118. package/dist/chunk-LMJD3BA3.js.map +7 -0
  119. package/dist/chunk-LQIONFKB.js +133 -0
  120. package/dist/chunk-LSSLEAD5.js +119 -0
  121. package/dist/chunk-LSSLEAD5.js.map +7 -0
  122. package/dist/chunk-LUBGU7JN.js +295 -0
  123. package/dist/chunk-MVYDZGO6.js +310 -0
  124. package/dist/chunk-MVYDZGO6.js.map +7 -0
  125. package/dist/chunk-NHVAIOR2.js +420 -0
  126. package/dist/chunk-NVT722S7.js +96 -0
  127. package/dist/chunk-O2FUKWYU.js +273 -0
  128. package/dist/chunk-OWTLNAUY.js +782 -0
  129. package/dist/chunk-PBRR7PEY.js +174 -0
  130. package/dist/chunk-PBSITN3T.js +1835 -0
  131. package/dist/chunk-PVHDKIC3.js +134 -0
  132. package/dist/chunk-QHN5OUQZ.js +372 -0
  133. package/dist/chunk-QQESBFZD.js +1074 -0
  134. package/dist/chunk-QUVMOQGJ.js +55 -0
  135. package/dist/chunk-QVWIXSYE.js +1388 -0
  136. package/dist/chunk-QVWIXSYE.js.map +7 -0
  137. package/dist/chunk-SKBIX235.js +1035 -0
  138. package/dist/chunk-SNQJQNN3.js +364 -0
  139. package/dist/chunk-T5CFZJZJ.js +638 -0
  140. package/dist/chunk-TPQ72MSH.js +390 -0
  141. package/dist/chunk-TQBLB23W.js +228 -0
  142. package/dist/chunk-TVW3RTYO.js +14 -0
  143. package/dist/chunk-TX54RB7N.js +2047 -0
  144. package/dist/chunk-TX54RB7N.js.map +7 -0
  145. package/dist/chunk-TXO22NJD.js +339 -0
  146. package/dist/chunk-UI2AWQQY.js +94 -0
  147. package/dist/chunk-UKBOAHK4.js +4807 -0
  148. package/dist/chunk-UKBOAHK4.js.map +7 -0
  149. package/dist/chunk-UTKG3Y5Z.js +128 -0
  150. package/dist/chunk-V64JKUJY.js +2055 -0
  151. package/dist/chunk-VCIU7ATG.js +165 -0
  152. package/dist/chunk-VIVZALMJ.js +311 -0
  153. package/dist/chunk-VIVZALMJ.js.map +7 -0
  154. package/dist/chunk-VSI2D6T7.js +358 -0
  155. package/dist/chunk-VX3F7KVD.js +335 -0
  156. package/dist/chunk-VX3F7KVD.js.map +7 -0
  157. package/dist/chunk-WOXNPIZQ.js +6543 -0
  158. package/dist/chunk-X6QTN4GF.js +572 -0
  159. package/dist/chunk-XKVKF5SQ.js +366 -0
  160. package/dist/chunk-XKVKF5SQ.js.map +7 -0
  161. package/dist/chunk-YDVQVY4J.js +301 -0
  162. package/dist/chunk-YIIA5ZRB.js +219 -0
  163. package/dist/chunk-YRCCLKTM.js +56 -0
  164. package/dist/chunk-Z55ZIXYA.js +172 -0
  165. package/dist/chunk-ZDEFIDSW.js +160 -0
  166. package/dist/chunk-ZQHKS6ZI.js +177 -0
  167. package/dist/condition-XPFGZSPI.js +347 -0
  168. package/dist/controls-KV55G4YY.js +44 -0
  169. package/dist/controls.btns-LKKJDMJ6.js +10 -0
  170. package/dist/controls.config-IZGJHZJF.js +40 -0
  171. package/dist/cuminc-NV6TQIZH.js +1179 -0
  172. package/dist/customdata.inputui-TW37MA4E.js +294 -0
  173. package/dist/customdata.inputui-TW37MA4E.js.map +7 -0
  174. package/dist/dataDownload-AFHTMDRU.js +336 -0
  175. package/dist/databrowser.ui-ZZSVYN7V.js +467 -0
  176. package/dist/databrowser.ui-ZZSVYN7V.js.map +7 -0
  177. package/dist/density-K5VDO56W.js +17 -0
  178. package/dist/dictionary-2TVXCD7U.js +107 -0
  179. package/dist/e2pca-ISFATYBM.js +336 -0
  180. package/dist/e2pca-ISFATYBM.js.map +7 -0
  181. package/dist/ep-XGNTNSP3.js +1272 -0
  182. package/dist/ep-XGNTNSP3.js.map +7 -0
  183. package/dist/expclust.gdc.spec-VJ6DQRV3.js +298 -0
  184. package/dist/facet-ZJ7K3QFG.js +435 -0
  185. package/dist/geneExpClustering-M7T4SDQB.js +279 -0
  186. package/dist/geneExpression-DPLCXNCB.js +314 -0
  187. package/dist/geneExpression-DPLCXNCB.js.map +7 -0
  188. package/dist/geneExpression-DT37WZFH.js +57 -0
  189. package/dist/geneExpression-KDKKEDCT.js +59 -0
  190. package/dist/geneExpression-KDKKEDCT.js.map +7 -0
  191. package/dist/geneORA-PE4347W7.js +291 -0
  192. package/dist/geneVariant-5IEPUZE6.js +381 -0
  193. package/dist/geneVariant-IOKAJSXB.js +55 -0
  194. package/dist/geneVariant-IOKAJSXB.js.map +7 -0
  195. package/dist/genefusion.ui-I3UL5642.js +238 -0
  196. package/dist/genefusion.ui-I3UL5642.js.map +7 -0
  197. package/dist/geneset-SENUJPIK.js +207 -0
  198. package/dist/genomeBrowser-5AS4ULEV.js +406 -0
  199. package/dist/genomeBrowser.controls-TUWS34N6.js +47 -0
  200. package/dist/genomeBrowser.spec-MBMYVRWU.js +260 -0
  201. package/dist/groupsetting-KTDNYX7S.js +18 -0
  202. package/dist/gsea-ZZIXZREL.js +296 -0
  203. package/dist/hierCluster-56K5Y767.js +72 -0
  204. package/dist/hierCluster-I3JJTSLE.js +68 -0
  205. package/dist/hierCluster.config-UBZAYCEJ.js +40 -0
  206. package/dist/hierCluster.integration.spec-7UNZOQNW.js +313 -0
  207. package/dist/hierCluster.interactivity-XN6GTGIK.js +54 -0
  208. package/dist/hierCluster.renderers-B4EVVCVU.js +20 -0
  209. package/dist/imagePlot-5D2NUWMZ.js +145 -0
  210. package/dist/launch.adhoc-HTHDRUXU.js +54 -0
  211. package/dist/leftlabel.sample-EFMDU4AL.js +271 -0
  212. package/dist/leftlabel.sample-EFMDU4AL.js.map +7 -0
  213. package/dist/lollipop-P2E3MQD5.js +108 -0
  214. package/dist/lollipop-P2E3MQD5.js.map +7 -0
  215. package/dist/maf-ACHXRKHE.js +392 -0
  216. package/dist/maf-ACHXRKHE.js.map +7 -0
  217. package/dist/maftimeline-DUVYWB32.js +601 -0
  218. package/dist/maftimeline-DUVYWB32.js.map +7 -0
  219. package/dist/matrix-HWZ4EKKL.js +68 -0
  220. package/dist/matrix-ZIV47XEG.js +63 -0
  221. package/dist/matrix.cells-B2LFSNMS.js +25 -0
  222. package/dist/matrix.config-SDMZCIFC.js +41 -0
  223. package/dist/matrix.controls-RHLXKX5J.js +40 -0
  224. package/dist/matrix.data-EKPMQB74.js +29 -0
  225. package/dist/matrix.groups-6VUJF35M.js +26 -0
  226. package/dist/matrix.interactivity-4LO6XNXZ.js +42 -0
  227. package/dist/matrix.layout-GS5IENPE.js +22 -0
  228. package/dist/matrix.legend-VUZ3OR6E.js +19 -0
  229. package/dist/matrix.renderers-EHCCVJR4.js +38 -0
  230. package/dist/matrix.serieses-72FFQZTV.js +18 -0
  231. package/dist/matrix.sort-4FUNFFCS.js +26 -0
  232. package/dist/matrix.sort.unit.spec-VS3LKIIF.js +473 -0
  233. package/dist/matrix.sorterUi-VGYA4A7M.js +17 -0
  234. package/dist/matrix.sorterUi.unit.spec-C7TPUB6J.js +351 -0
  235. package/dist/mavb-7QP3YBPL.js +741 -0
  236. package/dist/mavb-7QP3YBPL.js.map +7 -0
  237. package/dist/mds.fimo-M5UPM5VU.js +532 -0
  238. package/dist/mds.fimo-M5UPM5VU.js.map +7 -0
  239. package/dist/mds.samplescatterplot-MM25V4PP.js +1676 -0
  240. package/dist/mds.survivalplot-E4GSYG7U.js +492 -0
  241. package/dist/mds.survivalplot-E4GSYG7U.js.map +7 -0
  242. package/dist/metaboliteIntensity-D57E6J2J.js +47 -0
  243. package/dist/numeric-AY6QAQ2W.js +43 -0
  244. package/dist/numeric.binary-O4ZLA7ID.js +256 -0
  245. package/dist/numeric.binary-O4ZLA7ID.js.map +7 -0
  246. package/dist/numeric.continuous-RHMXOGYA.js +138 -0
  247. package/dist/numeric.continuous-RHMXOGYA.js.map +7 -0
  248. package/dist/numeric.discrete-BKL7U7A2.js +46 -0
  249. package/dist/numeric.spline-QZTO5MHC.js +234 -0
  250. package/dist/numeric.spline-QZTO5MHC.js.map +7 -0
  251. package/dist/numeric.toggle-KMPWZNKQ.js +40 -0
  252. package/dist/oncomatrix-WNZLQJXO.js +321 -0
  253. package/dist/oncomatrix.spec-73GECFEX.js +442 -0
  254. package/dist/plot.2dvaf-AIAA6WUP.js +362 -0
  255. package/dist/plot.2dvaf-AIAA6WUP.js.map +7 -0
  256. package/dist/plot.app-CLQG22YP.js +53 -0
  257. package/dist/plot.barplot-Z6E2KNLC.js +85 -0
  258. package/dist/plot.barplot-Z6E2KNLC.js.map +7 -0
  259. package/dist/plot.boxplot-TBMI4WEK.js +148 -0
  260. package/dist/plot.boxplot-TBMI4WEK.js.map +7 -0
  261. package/dist/plot.brainImaging-BGF3P2OB.js +56 -0
  262. package/dist/plot.disco-FYTWZMQ2.js +100 -0
  263. package/dist/plot.disco-FYTWZMQ2.js.map +7 -0
  264. package/dist/plot.dzi-SRKOHRZI.js +33 -0
  265. package/dist/plot.ssgq-HDLRQ6JQ.js +132 -0
  266. package/dist/plot.ssgq-HDLRQ6JQ.js.map +7 -0
  267. package/dist/plot.vaf2cov-QOUPL3YV.js +244 -0
  268. package/dist/plot.vaf2cov-QOUPL3YV.js.map +7 -0
  269. package/dist/plot.wsi-QWCH4JOX.js +32 -0
  270. package/dist/profile.spec-DRV7VQGC.js +72 -0
  271. package/dist/profileBarchart-CZQCBU4H.js +285 -0
  272. package/dist/profilePlot-Z2VWLJF5.js +65 -0
  273. package/dist/profilePolar-HHC5NGJX.js +208 -0
  274. package/dist/profileRadar-6CSPKKQO.js +292 -0
  275. package/dist/profileRadarFacility-WZNMIBSS.js +280 -0
  276. package/dist/profileSummary-ZGNDNZPH.js +108 -0
  277. package/dist/regression-KQ2UUZ7M.js +69 -0
  278. package/dist/regression.inputs-D6XOYGBJ.js +61 -0
  279. package/dist/regression.inputs.term-FG3HGJ4G.js +61 -0
  280. package/dist/regression.inputs.values.table-TQBRPQKB.js +58 -0
  281. package/dist/regression.results-UOFCAXQ5.js +38 -0
  282. package/dist/sampleScatter-BX3NPXW2.js +78 -0
  283. package/dist/sampleScatter.interactivity-BWDOPMPM.js +53 -0
  284. package/dist/sampleScatter.renderer-3IN4GQHO.js +58 -0
  285. package/dist/sampleView-ITQLUZXK.js +56 -0
  286. package/dist/samplelst-QJEZSUG5.js +115 -0
  287. package/dist/samplematrix-BKGEF6U6.js +2326 -0
  288. package/dist/samplematrix-BKGEF6U6.js.map +7 -0
  289. package/dist/scatter-245B7SEN.js +370 -0
  290. package/dist/selectGenomeWithTklst-RHGJPLFL.js +125 -0
  291. package/dist/selectGenomeWithTklst-RHGJPLFL.js.map +7 -0
  292. package/dist/singleCellCellType-XF5FLDPS.js +72 -0
  293. package/dist/singleCellGeneExpression-E6TKIWUM.js +53 -0
  294. package/dist/singleCellPlot-E6NFOIC6.js +990 -0
  295. package/dist/singleCellPlot-E6NFOIC6.js.map +7 -0
  296. package/dist/singlecell-3BRSMYC6.js +854 -0
  297. package/dist/singlecell-3BRSMYC6.js.map +7 -0
  298. package/dist/singlecell-ADFURL77.js +216 -0
  299. package/dist/snp-6KEHGS7D.js +69 -0
  300. package/dist/snp-6KEHGS7D.js.map +7 -0
  301. package/dist/snp-TUCPS4GO.js +75 -0
  302. package/dist/snplocus-VQKZPYJS.js +233 -0
  303. package/dist/spliceevent.a53ss.diagram-HY2JXZOZ.js +138 -0
  304. package/dist/spliceevent.a53ss.diagram-HY2JXZOZ.js.map +7 -0
  305. package/dist/spliceevent.exonskip.diagram-QMNUUL3K.js +260 -0
  306. package/dist/spliceevent.exonskip.diagram-QMNUUL3K.js.map +7 -0
  307. package/dist/spliceevent.noeventdiagram-HIPEW72W.js +462 -0
  308. package/dist/spliceevent.noeventdiagram-HIPEW72W.js.map +7 -0
  309. package/dist/summary-WIP2JBEI.js +71 -0
  310. package/dist/sunburst-3MWHTHD7.js +272 -0
  311. package/dist/sunburst-3MWHTHD7.js.map +7 -0
  312. package/dist/survival-3KPDNHBV.js +62 -0
  313. package/dist/survival-I3VANU5K.js +1155 -0
  314. package/dist/svgraph-D32TBDXP.js +1424 -0
  315. package/dist/svgraph-D32TBDXP.js.map +7 -0
  316. package/dist/svmr-XF4VTKVK.js +3976 -0
  317. package/dist/svmr-XF4VTKVK.js.map +7 -0
  318. package/dist/table-IUIYPXSY.js +208 -0
  319. package/dist/tk-S3L2S3FL.js +48 -0
  320. package/dist/tp.ui-T43SL4LX.js +1500 -0
  321. package/dist/tp.ui-T43SL4LX.js.map +7 -0
  322. package/dist/tvs.geneVariant-IY3GV477.js +182 -0
  323. package/dist/tvs.numeric-JLFKUBC6.js +20 -0
  324. package/dist/violin-FXELWHWK.js +55 -0
  325. package/dist/violin.interactivity-IGEOL62O.js +43 -0
  326. package/dist/violin.renderer-ORWP2MNR.js +19 -0
  327. package/dist/vocabulary-WBZF6A2A.js +46 -0
  328. package/package.json +3 -3
  329. package/dist/2dmaf-DE6FMAZP.js +0 -1403
  330. package/dist/2dmaf-DE6FMAZP.js.map +0 -7
  331. package/dist/AppHeader-D53TWFVH.js +0 -849
  332. package/dist/AppHeader-D53TWFVH.js.map +0 -7
  333. package/dist/DEanalysis-4V2EESOG.js +0 -610
  334. package/dist/Disco-7HFN3HSV.js +0 -2462
  335. package/dist/Disco.UI-IEARFO4L.js +0 -259
  336. package/dist/HicApp-RWOIHEZL.js +0 -2274
  337. package/dist/HicApp-RWOIHEZL.js.map +0 -7
  338. package/dist/WSIViewer-S4BRXP4R.js +0 -23529
  339. package/dist/WSIViewer-S4BRXP4R.js.map +0 -7
  340. package/dist/adSandbox-VCT2SKSP.js +0 -26
  341. package/dist/app-AM7KYJNJ.js +0 -44
  342. package/dist/app-LCBSM2WA.js +0 -73
  343. package/dist/bam-O253N4SL.js +0 -840
  344. package/dist/barchart-CZWKWNQ5.js +0 -57
  345. package/dist/barchart.data-NUFQWURH.js +0 -27
  346. package/dist/barchart.events-RB2SHXNU.js +0 -45
  347. package/dist/bars.renderer-GTPQCS7F.js +0 -20
  348. package/dist/block-6ZWUTXVR.js +0 -6549
  349. package/dist/block-6ZWUTXVR.js.map +0 -7
  350. package/dist/block.init-4ZSVMQWB.js +0 -22
  351. package/dist/block.mds.cnv-UHTUJQ65.js +0 -493
  352. package/dist/block.mds.cnv-UHTUJQ65.js.map +0 -7
  353. package/dist/block.mds.expressionrank-VUFBVXYW.js +0 -363
  354. package/dist/block.mds.expressionrank-VUFBVXYW.js.map +0 -7
  355. package/dist/block.mds.geneboxplot-ANRIU2YQ.js +0 -837
  356. package/dist/block.mds.geneboxplot-ANRIU2YQ.js.map +0 -7
  357. package/dist/block.mds.junction-K6L3YB2K.js +0 -1440
  358. package/dist/block.mds.junction-K6L3YB2K.js.map +0 -7
  359. package/dist/block.mds.svcnv-VZIUGKVX.js +0 -7060
  360. package/dist/block.mds.svcnv-VZIUGKVX.js.map +0 -7
  361. package/dist/block.mds2-VNFYQDLR.js +0 -3448
  362. package/dist/block.svg-HS5NNTSR.js +0 -151
  363. package/dist/block.svg-HS5NNTSR.js.map +0 -7
  364. package/dist/block.tk.aicheck-PYV7O5X4.js +0 -290
  365. package/dist/block.tk.aicheck-PYV7O5X4.js.map +0 -7
  366. package/dist/block.tk.ase-YS2HB5QS.js +0 -375
  367. package/dist/block.tk.ase-YS2HB5QS.js.map +0 -7
  368. package/dist/block.tk.bam-FSUK75J4.js +0 -1958
  369. package/dist/block.tk.bam-FSUK75J4.js.map +0 -7
  370. package/dist/block.tk.bedgraphdot-BVBON7NH.js +0 -379
  371. package/dist/block.tk.bedgraphdot-BVBON7NH.js.map +0 -7
  372. package/dist/block.tk.bigwig.ui-6OLEOCZP.js +0 -203
  373. package/dist/block.tk.bigwig.ui-6OLEOCZP.js.map +0 -7
  374. package/dist/block.tk.hicstraw-FPVJY7ST.js +0 -865
  375. package/dist/block.tk.hicstraw-FPVJY7ST.js.map +0 -7
  376. package/dist/block.tk.junction-MQGNDZ62.js +0 -2389
  377. package/dist/block.tk.junction-MQGNDZ62.js.map +0 -7
  378. package/dist/block.tk.junction.textmatrixui-3QLOTFF7.js +0 -196
  379. package/dist/block.tk.junction.textmatrixui-3QLOTFF7.js.map +0 -7
  380. package/dist/block.tk.ld-BT52KF5Q.js +0 -98
  381. package/dist/block.tk.ld-BT52KF5Q.js.map +0 -7
  382. package/dist/block.tk.menu-MVBJINMO.js +0 -1074
  383. package/dist/block.tk.menu-MVBJINMO.js.map +0 -7
  384. package/dist/block.tk.pgv-MN5JSEID.js +0 -985
  385. package/dist/block.tk.pgv-MN5JSEID.js.map +0 -7
  386. package/dist/boxplot-7EWZYN7M.js +0 -47
  387. package/dist/brainImaging-5RPTYSOX.js +0 -258
  388. package/dist/brainImaging-5RPTYSOX.js.map +0 -7
  389. package/dist/categorical-KIQGKXN6.js +0 -43
  390. package/dist/chunk-2CQNJCHZ.js +0 -390
  391. package/dist/chunk-2EDNCKO6.js +0 -420
  392. package/dist/chunk-2J2ZQKG2.js +0 -56
  393. package/dist/chunk-3OM5JJ5X.js +0 -28
  394. package/dist/chunk-3OM5JJ5X.js.map +0 -7
  395. package/dist/chunk-3ZTB6K4H.js +0 -2859
  396. package/dist/chunk-46HIGPWD.js +0 -153
  397. package/dist/chunk-4NNW3YNI.js +0 -251
  398. package/dist/chunk-4QE77EW2.js +0 -328
  399. package/dist/chunk-4UTGWWG4.js +0 -2504
  400. package/dist/chunk-4WTSNJWO.js +0 -177
  401. package/dist/chunk-5H2ASKC5.js +0 -4801
  402. package/dist/chunk-5H2ASKC5.js.map +0 -7
  403. package/dist/chunk-5KIRLHH2.js +0 -2055
  404. package/dist/chunk-5VGE723P.js +0 -55
  405. package/dist/chunk-62XJJ3HX.js +0 -310
  406. package/dist/chunk-62XJJ3HX.js.map +0 -7
  407. package/dist/chunk-6BHKLDWV.js +0 -66
  408. package/dist/chunk-6BHKLDWV.js.map +0 -7
  409. package/dist/chunk-6DLCCCH2.js +0 -950
  410. package/dist/chunk-6DLCCCH2.js.map +0 -7
  411. package/dist/chunk-6RCKRFP3.js +0 -40
  412. package/dist/chunk-6ZS7OPU6.js +0 -133
  413. package/dist/chunk-77Z3DTLZ.js +0 -228
  414. package/dist/chunk-ABNCVMT5.js +0 -123
  415. package/dist/chunk-AJEQEARY.js +0 -369
  416. package/dist/chunk-AMKNC63Q.js +0 -2829
  417. package/dist/chunk-AOXMG6Q2.js +0 -91
  418. package/dist/chunk-AOXMG6Q2.js.map +0 -7
  419. package/dist/chunk-ASH22YHA.js +0 -454
  420. package/dist/chunk-AVDQKIGX.js +0 -232
  421. package/dist/chunk-BIAJAMGC.js +0 -2646
  422. package/dist/chunk-BSCHE23F.js +0 -128
  423. package/dist/chunk-CM26HVU2.js +0 -364
  424. package/dist/chunk-CPHXW5FK.js +0 -1074
  425. package/dist/chunk-CVJRZZWE.js +0 -604
  426. package/dist/chunk-D26QBG7N.js +0 -267
  427. package/dist/chunk-D26QBG7N.js.map +0 -7
  428. package/dist/chunk-EEZ4PHJ6.js +0 -471
  429. package/dist/chunk-EEZ4PHJ6.js.map +0 -7
  430. package/dist/chunk-EGZUP7XG.js +0 -232
  431. package/dist/chunk-EHM2BRQX.js +0 -1272
  432. package/dist/chunk-EHM2BRQX.js.map +0 -7
  433. package/dist/chunk-ENMMUVN2.js +0 -359
  434. package/dist/chunk-F235KU5A.js +0 -94
  435. package/dist/chunk-F3H2EEXF.js +0 -358
  436. package/dist/chunk-FHSW3MEM.js +0 -193
  437. package/dist/chunk-FJ5P7QMO.js +0 -581
  438. package/dist/chunk-FNGDMGM3.js +0 -433
  439. package/dist/chunk-FNGDMGM3.js.map +0 -7
  440. package/dist/chunk-FSSFUU44.js +0 -3411
  441. package/dist/chunk-FZK4F6JL.js +0 -96
  442. package/dist/chunk-GAJT7SGO.js +0 -160
  443. package/dist/chunk-GE5FUYB3.js +0 -165
  444. package/dist/chunk-GIAQREV2.js +0 -372
  445. package/dist/chunk-GMAKKWKW.js +0 -406
  446. package/dist/chunk-H5CVMLQA.js +0 -1035
  447. package/dist/chunk-HOHALDYC.js +0 -1846
  448. package/dist/chunk-HOHALDYC.js.map +0 -7
  449. package/dist/chunk-HQYUKF5O.js +0 -14
  450. package/dist/chunk-I4S5WBKV.js +0 -365
  451. package/dist/chunk-I4S5WBKV.js.map +0 -7
  452. package/dist/chunk-IPNHDLML.js +0 -479
  453. package/dist/chunk-IRC4CEFH.js +0 -1357
  454. package/dist/chunk-IRC4CEFH.js.map +0 -7
  455. package/dist/chunk-IUZJ33A6.js +0 -1111
  456. package/dist/chunk-IZXGIQHM.js +0 -1835
  457. package/dist/chunk-J274LGJH.js +0 -219
  458. package/dist/chunk-JFRRERO5.js +0 -31
  459. package/dist/chunk-M6GWX3QG.js +0 -638
  460. package/dist/chunk-MAL7C45R.js +0 -183
  461. package/dist/chunk-MBYJDFBP.js +0 -339
  462. package/dist/chunk-MEOBX7MP.js +0 -295
  463. package/dist/chunk-MMAFQUWV.js +0 -506
  464. package/dist/chunk-MMAFQUWV.js.map +0 -7
  465. package/dist/chunk-MUREKKMY.js +0 -134
  466. package/dist/chunk-NGFOZODG.js +0 -522
  467. package/dist/chunk-NGFOZODG.js.map +0 -7
  468. package/dist/chunk-NKLK5XYF.js +0 -1308
  469. package/dist/chunk-O3XO7CQT.js +0 -572
  470. package/dist/chunk-OCM62HFZ.js +0 -6543
  471. package/dist/chunk-PDXE3LPN.js +0 -174
  472. package/dist/chunk-PQYNEA33.js +0 -262
  473. package/dist/chunk-PQYNEA33.js.map +0 -7
  474. package/dist/chunk-QRS3A2BQ.js +0 -17
  475. package/dist/chunk-QRS3A2BQ.js.map +0 -7
  476. package/dist/chunk-RS7PA25F.js +0 -301
  477. package/dist/chunk-RWMLKXON.js +0 -335
  478. package/dist/chunk-RWMLKXON.js.map +0 -7
  479. package/dist/chunk-S3XCLQPV.js +0 -391
  480. package/dist/chunk-S4HRQ2CG.js +0 -529
  481. package/dist/chunk-SU2NREMO.js +0 -1168
  482. package/dist/chunk-TFFWV6CW.js +0 -273
  483. package/dist/chunk-TIBTRLGC.js +0 -782
  484. package/dist/chunk-TRFHL5IP.js +0 -172
  485. package/dist/chunk-U6ZCLI5S.js +0 -119
  486. package/dist/chunk-U6ZCLI5S.js.map +0 -7
  487. package/dist/chunk-VYBTGBX5.js +0 -122
  488. package/dist/chunk-WHT5UZ66.js +0 -239
  489. package/dist/chunk-XDRYKB5E.js +0 -456
  490. package/dist/chunk-XMXHRDC6.js +0 -2047
  491. package/dist/chunk-XMXHRDC6.js.map +0 -7
  492. package/dist/chunk-ZLGBPF6M.js +0 -1384
  493. package/dist/chunk-ZLGBPF6M.js.map +0 -7
  494. package/dist/chunk-ZYTJJPM3.js +0 -303
  495. package/dist/chunk-ZZYJQDAW.js +0 -287
  496. package/dist/condition-3EKFPIWK.js +0 -347
  497. package/dist/controls-2SWBZOKZ.js +0 -44
  498. package/dist/controls.btns-P4MFMRBS.js +0 -10
  499. package/dist/controls.config-A46FIWEC.js +0 -40
  500. package/dist/cuminc-3JDIWCPP.js +0 -1179
  501. package/dist/customdata.inputui-QBXK6YTZ.js +0 -293
  502. package/dist/customdata.inputui-QBXK6YTZ.js.map +0 -7
  503. package/dist/dataDownload-JIC4O3WV.js +0 -336
  504. package/dist/databrowser.ui-ILOTQG3H.js +0 -468
  505. package/dist/databrowser.ui-ILOTQG3H.js.map +0 -7
  506. package/dist/density-IAPDQKUV.js +0 -17
  507. package/dist/dictionary-KNAIGHHY.js +0 -107
  508. package/dist/e2pca-AYLHQEIF.js +0 -335
  509. package/dist/e2pca-AYLHQEIF.js.map +0 -7
  510. package/dist/ep-L34AGJN3.js +0 -1271
  511. package/dist/ep-L34AGJN3.js.map +0 -7
  512. package/dist/expclust.gdc.spec-GQPDJDEX.js +0 -298
  513. package/dist/facet-5ID6FAOF.js +0 -435
  514. package/dist/geneExpClustering-GBVW7LTX.js +0 -279
  515. package/dist/geneExpression-5X2N7QEV.js +0 -57
  516. package/dist/geneExpression-D67ML2QH.js +0 -313
  517. package/dist/geneExpression-D67ML2QH.js.map +0 -7
  518. package/dist/geneExpression-TPJ3XHWN.js +0 -57
  519. package/dist/geneExpression-TPJ3XHWN.js.map +0 -7
  520. package/dist/geneORA-FL5POGFX.js +0 -291
  521. package/dist/geneVariant-2P4M77EO.js +0 -381
  522. package/dist/geneVariant-MKPWFKZG.js +0 -54
  523. package/dist/geneVariant-MKPWFKZG.js.map +0 -7
  524. package/dist/genefusion.ui-XP4IWZBQ.js +0 -237
  525. package/dist/genefusion.ui-XP4IWZBQ.js.map +0 -7
  526. package/dist/geneset-JWPHB64B.js +0 -207
  527. package/dist/genomeBrowser-NSYD6XJZ.js +0 -406
  528. package/dist/genomeBrowser.controls-HMXWPTKK.js +0 -47
  529. package/dist/genomeBrowser.spec-SYQO6VRP.js +0 -260
  530. package/dist/groupsetting-VMK33QN3.js +0 -18
  531. package/dist/gsea-N62HZ2X5.js +0 -296
  532. package/dist/hierCluster-HKG3AC22.js +0 -72
  533. package/dist/hierCluster-TVWMIPA2.js +0 -68
  534. package/dist/hierCluster.config-5KSNVSZQ.js +0 -40
  535. package/dist/hierCluster.integration.spec-EGPVBGIJ.js +0 -313
  536. package/dist/hierCluster.interactivity-PHLDHGMY.js +0 -52
  537. package/dist/hierCluster.renderers-RI7MUQ5D.js +0 -20
  538. package/dist/imagePlot-SIR6DFNH.js +0 -145
  539. package/dist/launch.adhoc-PCQDRDZ4.js +0 -54
  540. package/dist/leftlabel.sample-VWR2QGEE.js +0 -272
  541. package/dist/leftlabel.sample-VWR2QGEE.js.map +0 -7
  542. package/dist/lollipop-2EZE54JA.js +0 -107
  543. package/dist/lollipop-2EZE54JA.js.map +0 -7
  544. package/dist/maf-IV2ORCHU.js +0 -390
  545. package/dist/maf-IV2ORCHU.js.map +0 -7
  546. package/dist/maftimeline-GUCUIN5H.js +0 -600
  547. package/dist/maftimeline-GUCUIN5H.js.map +0 -7
  548. package/dist/matrix-C6RO5RAH.js +0 -63
  549. package/dist/matrix-NU7TO7GQ.js +0 -68
  550. package/dist/matrix.cells-OBVIUF5T.js +0 -25
  551. package/dist/matrix.config-T45OAKTK.js +0 -41
  552. package/dist/matrix.controls-43U2VG7N.js +0 -40
  553. package/dist/matrix.data-3ZF46WDI.js +0 -28
  554. package/dist/matrix.groups-S3PU7ZTI.js +0 -26
  555. package/dist/matrix.interactivity-2TYFKPYF.js +0 -42
  556. package/dist/matrix.layout-E23ZOPZ3.js +0 -22
  557. package/dist/matrix.legend-SPZSNH5F.js +0 -19
  558. package/dist/matrix.renderers-BRHUMSB5.js +0 -38
  559. package/dist/matrix.serieses-QDPB6KOM.js +0 -18
  560. package/dist/matrix.sort-SNKFUJLJ.js +0 -26
  561. package/dist/matrix.sort.unit.spec-JLGT7LQR.js +0 -473
  562. package/dist/matrix.sorterUi-QXXZTD4A.js +0 -17
  563. package/dist/matrix.sorterUi.unit.spec-NU3EB4GR.js +0 -351
  564. package/dist/mavb-6UUIMBGD.js +0 -740
  565. package/dist/mavb-6UUIMBGD.js.map +0 -7
  566. package/dist/mds.fimo-E7R3T2QD.js +0 -531
  567. package/dist/mds.fimo-E7R3T2QD.js.map +0 -7
  568. package/dist/mds.samplescatterplot-CNZOJFFN.js +0 -1676
  569. package/dist/mds.survivalplot-TM6IEUNX.js +0 -491
  570. package/dist/mds.survivalplot-TM6IEUNX.js.map +0 -7
  571. package/dist/metaboliteIntensity-EBD54KF2.js +0 -47
  572. package/dist/numeric-CPMVHOFX.js +0 -43
  573. package/dist/numeric.binary-H2QZFQNS.js +0 -257
  574. package/dist/numeric.binary-H2QZFQNS.js.map +0 -7
  575. package/dist/numeric.continuous-DHLPCDWR.js +0 -139
  576. package/dist/numeric.continuous-DHLPCDWR.js.map +0 -7
  577. package/dist/numeric.discrete-MNHFBEI2.js +0 -47
  578. package/dist/numeric.spline-VQ2HZYVL.js +0 -235
  579. package/dist/numeric.spline-VQ2HZYVL.js.map +0 -7
  580. package/dist/numeric.toggle-CLSHWXNN.js +0 -40
  581. package/dist/oncomatrix-MXLSQB2L.js +0 -321
  582. package/dist/oncomatrix.spec-AAKDFJBY.js +0 -442
  583. package/dist/plot.2dvaf-VCQMH4WK.js +0 -361
  584. package/dist/plot.2dvaf-VCQMH4WK.js.map +0 -7
  585. package/dist/plot.app-IZSAYFXK.js +0 -53
  586. package/dist/plot.barplot-6BIJLCHK.js +0 -84
  587. package/dist/plot.barplot-6BIJLCHK.js.map +0 -7
  588. package/dist/plot.boxplot-NUGMUAF5.js +0 -147
  589. package/dist/plot.boxplot-NUGMUAF5.js.map +0 -7
  590. package/dist/plot.brainImaging-XZB7P3DC.js +0 -56
  591. package/dist/plot.disco-HVPNI37P.js +0 -99
  592. package/dist/plot.disco-HVPNI37P.js.map +0 -7
  593. package/dist/plot.dzi-NQOII77Z.js +0 -33
  594. package/dist/plot.ssgq-T223SIPK.js +0 -131
  595. package/dist/plot.ssgq-T223SIPK.js.map +0 -7
  596. package/dist/plot.vaf2cov-5MPASQ65.js +0 -243
  597. package/dist/plot.vaf2cov-5MPASQ65.js.map +0 -7
  598. package/dist/plot.wsi-UHTVKH6U.js +0 -32
  599. package/dist/profile.spec-TRNNWJCG.js +0 -72
  600. package/dist/profileBarchart-O5GKF6LW.js +0 -285
  601. package/dist/profilePlot-UKJQQXEL.js +0 -65
  602. package/dist/profilePolar-BGWN43ST.js +0 -208
  603. package/dist/profileRadar-4562XHZ5.js +0 -292
  604. package/dist/profileRadarFacility-QSH5BJXT.js +0 -280
  605. package/dist/profileSummary-CODSLPNY.js +0 -108
  606. package/dist/regression-VF76ZEKJ.js +0 -70
  607. package/dist/regression.inputs-BN5EDGOW.js +0 -62
  608. package/dist/regression.inputs.term-G2UC2NJU.js +0 -62
  609. package/dist/regression.inputs.values.table-2H24VT5V.js +0 -59
  610. package/dist/regression.results-6FV3UM5B.js +0 -36
  611. package/dist/sampleScatter-EBIVCOHX.js +0 -78
  612. package/dist/sampleScatter.interactivity-KIRI2UZ6.js +0 -53
  613. package/dist/sampleScatter.renderer-XB3PDCTI.js +0 -58
  614. package/dist/sampleView-I5HVYQ5G.js +0 -56
  615. package/dist/samplelst-KIHABC4K.js +0 -115
  616. package/dist/samplematrix-VF3IUKW5.js +0 -2325
  617. package/dist/samplematrix-VF3IUKW5.js.map +0 -7
  618. package/dist/scatter-EEESSSQ4.js +0 -370
  619. package/dist/selectGenomeWithTklst-LU3I76E4.js +0 -124
  620. package/dist/selectGenomeWithTklst-LU3I76E4.js.map +0 -7
  621. package/dist/singleCellCellType-4INKIKIS.js +0 -72
  622. package/dist/singleCellGeneExpression-M34LJCSC.js +0 -53
  623. package/dist/singleCellPlot-MRFV423E.js +0 -990
  624. package/dist/singleCellPlot-MRFV423E.js.map +0 -7
  625. package/dist/singlecell-7K2IIGA7.js +0 -853
  626. package/dist/singlecell-7K2IIGA7.js.map +0 -7
  627. package/dist/singlecell-QBYMNSWS.js +0 -216
  628. package/dist/snp-H5BUTPU5.js +0 -75
  629. package/dist/snp-MKR6QGUE.js +0 -68
  630. package/dist/snp-MKR6QGUE.js.map +0 -7
  631. package/dist/snplocus-Z3OX3NFZ.js +0 -233
  632. package/dist/spliceevent.a53ss.diagram-GRZUKB6D.js +0 -137
  633. package/dist/spliceevent.a53ss.diagram-GRZUKB6D.js.map +0 -7
  634. package/dist/spliceevent.exonskip.diagram-TXH5PBNQ.js +0 -259
  635. package/dist/spliceevent.exonskip.diagram-TXH5PBNQ.js.map +0 -7
  636. package/dist/spliceevent.noeventdiagram-FQFJZR6Y.js +0 -461
  637. package/dist/spliceevent.noeventdiagram-FQFJZR6Y.js.map +0 -7
  638. package/dist/summary-DGWLGMUZ.js +0 -72
  639. package/dist/sunburst-UUG463YH.js +0 -271
  640. package/dist/sunburst-UUG463YH.js.map +0 -7
  641. package/dist/survival-CHEJNQ2C.js +0 -62
  642. package/dist/survival-GP4G45CA.js +0 -1155
  643. package/dist/svgraph-UUFLKCLB.js +0 -1423
  644. package/dist/svgraph-UUFLKCLB.js.map +0 -7
  645. package/dist/svmr-6AMMOCTO.js +0 -3975
  646. package/dist/svmr-6AMMOCTO.js.map +0 -7
  647. package/dist/table-M6YOW6PR.js +0 -208
  648. package/dist/tk-WI6TVCEQ.js +0 -49
  649. package/dist/tp.ui-V3U23JN3.js +0 -1499
  650. package/dist/tp.ui-V3U23JN3.js.map +0 -7
  651. package/dist/tvs.geneVariant-CNUMGBXK.js +0 -182
  652. package/dist/tvs.numeric-ZSALQ4O3.js +0 -21
  653. package/dist/violin-33MF3B57.js +0 -56
  654. package/dist/violin.interactivity-53P7BTOU.js +0 -44
  655. package/dist/violin.renderer-UYLFS54H.js +0 -19
  656. package/dist/vocabulary-PLHVOGMU.js +0 -46
  657. /package/dist/{DEanalysis-4V2EESOG.js.map → DEanalysis-LU5YV4FN.js.map} +0 -0
  658. /package/dist/{Disco-7HFN3HSV.js.map → Disco-RCZXSOYC.js.map} +0 -0
  659. /package/dist/{Disco.UI-IEARFO4L.js.map → Disco.UI-T7VPETRL.js.map} +0 -0
  660. /package/dist/{adSandbox-VCT2SKSP.js.map → adSandbox-FCTJEZBN.js.map} +0 -0
  661. /package/dist/{app-AM7KYJNJ.js.map → app-IIWZ2UUG.js.map} +0 -0
  662. /package/dist/{app-LCBSM2WA.js.map → app-IK7GH7WR.js.map} +0 -0
  663. /package/dist/{bam-O253N4SL.js.map → bam-WW53XDRT.js.map} +0 -0
  664. /package/dist/{barchart-CZWKWNQ5.js.map → barchart-6PEQYUCU.js.map} +0 -0
  665. /package/dist/{barchart.data-NUFQWURH.js.map → barchart.data-3QGEYFDM.js.map} +0 -0
  666. /package/dist/{barchart.events-RB2SHXNU.js.map → barchart.events-SCZS5BY6.js.map} +0 -0
  667. /package/dist/{bars.renderer-GTPQCS7F.js.map → bars.renderer-5S4CT3WP.js.map} +0 -0
  668. /package/dist/{block.init-4ZSVMQWB.js.map → block.init-QUP2GPOP.js.map} +0 -0
  669. /package/dist/{block.mds2-VNFYQDLR.js.map → block.mds2-KRZHTJRZ.js.map} +0 -0
  670. /package/dist/{boxplot-7EWZYN7M.js.map → boxplot-HXEWPP23.js.map} +0 -0
  671. /package/dist/{categorical-KIQGKXN6.js.map → categorical-YLO3FFPP.js.map} +0 -0
  672. /package/dist/{chunk-6RCKRFP3.js.map → chunk-2CJ2LLB5.js.map} +0 -0
  673. /package/dist/{chunk-FSSFUU44.js.map → chunk-36SLYI43.js.map} +0 -0
  674. /package/dist/{chunk-VYBTGBX5.js.map → chunk-3HFUJA7U.js.map} +0 -0
  675. /package/dist/{chunk-ABNCVMT5.js.map → chunk-3J5ZD37S.js.map} +0 -0
  676. /package/dist/{chunk-AVDQKIGX.js.map → chunk-3Q6VSIVR.js.map} +0 -0
  677. /package/dist/{chunk-XDRYKB5E.js.map → chunk-4FEVYEDL.js.map} +0 -0
  678. /package/dist/{chunk-WHT5UZ66.js.map → chunk-4GQUIOHL.js.map} +0 -0
  679. /package/dist/{chunk-S3XCLQPV.js.map → chunk-4NFU3KGQ.js.map} +0 -0
  680. /package/dist/{chunk-MAL7C45R.js.map → chunk-5FY5NKDC.js.map} +0 -0
  681. /package/dist/{chunk-ENMMUVN2.js.map → chunk-5IZP2CSF.js.map} +0 -0
  682. /package/dist/{chunk-GMAKKWKW.js.map → chunk-5MIJCC3X.js.map} +0 -0
  683. /package/dist/{chunk-EGZUP7XG.js.map → chunk-5WAMLEQ4.js.map} +0 -0
  684. /package/dist/{chunk-ZYTJJPM3.js.map → chunk-6RUSCXGH.js.map} +0 -0
  685. /package/dist/{chunk-4UTGWWG4.js.map → chunk-7BYHJTXX.js.map} +0 -0
  686. /package/dist/{chunk-IUZJ33A6.js.map → chunk-A5BE3QME.js.map} +0 -0
  687. /package/dist/{chunk-NKLK5XYF.js.map → chunk-ACDH6CEH.js.map} +0 -0
  688. /package/dist/{chunk-AMKNC63Q.js.map → chunk-CISAXHOD.js.map} +0 -0
  689. /package/dist/{chunk-IPNHDLML.js.map → chunk-CNRN4HZF.js.map} +0 -0
  690. /package/dist/{chunk-CVJRZZWE.js.map → chunk-DNTMUHCS.js.map} +0 -0
  691. /package/dist/{chunk-46HIGPWD.js.map → chunk-DPSGGQFB.js.map} +0 -0
  692. /package/dist/{chunk-BIAJAMGC.js.map → chunk-FLMEDZ6Q.js.map} +0 -0
  693. /package/dist/{chunk-3ZTB6K4H.js.map → chunk-GNXCCFIB.js.map} +0 -0
  694. /package/dist/{chunk-FJ5P7QMO.js.map → chunk-H7ZEOS42.js.map} +0 -0
  695. /package/dist/{chunk-JFRRERO5.js.map → chunk-HABKWPDZ.js.map} +0 -0
  696. /package/dist/{chunk-S4HRQ2CG.js.map → chunk-HDOHVJI3.js.map} +0 -0
  697. /package/dist/{chunk-FHSW3MEM.js.map → chunk-HOZLIDMC.js.map} +0 -0
  698. /package/dist/{chunk-4QE77EW2.js.map → chunk-I2WVOGYN.js.map} +0 -0
  699. /package/dist/{chunk-AJEQEARY.js.map → chunk-J3F5KPLT.js.map} +0 -0
  700. /package/dist/{chunk-SU2NREMO.js.map → chunk-JLYMN7FE.js.map} +0 -0
  701. /package/dist/{chunk-ZZYJQDAW.js.map → chunk-JNPL7H6B.js.map} +0 -0
  702. /package/dist/{chunk-ASH22YHA.js.map → chunk-L6RI6ON7.js.map} +0 -0
  703. /package/dist/{chunk-4NNW3YNI.js.map → chunk-LDH3JL6X.js.map} +0 -0
  704. /package/dist/{chunk-6ZS7OPU6.js.map → chunk-LQIONFKB.js.map} +0 -0
  705. /package/dist/{chunk-MEOBX7MP.js.map → chunk-LUBGU7JN.js.map} +0 -0
  706. /package/dist/{chunk-2EDNCKO6.js.map → chunk-NHVAIOR2.js.map} +0 -0
  707. /package/dist/{chunk-FZK4F6JL.js.map → chunk-NVT722S7.js.map} +0 -0
  708. /package/dist/{chunk-TFFWV6CW.js.map → chunk-O2FUKWYU.js.map} +0 -0
  709. /package/dist/{chunk-TIBTRLGC.js.map → chunk-OWTLNAUY.js.map} +0 -0
  710. /package/dist/{chunk-PDXE3LPN.js.map → chunk-PBRR7PEY.js.map} +0 -0
  711. /package/dist/{chunk-IZXGIQHM.js.map → chunk-PBSITN3T.js.map} +0 -0
  712. /package/dist/{chunk-MUREKKMY.js.map → chunk-PVHDKIC3.js.map} +0 -0
  713. /package/dist/{chunk-GIAQREV2.js.map → chunk-QHN5OUQZ.js.map} +0 -0
  714. /package/dist/{chunk-CPHXW5FK.js.map → chunk-QQESBFZD.js.map} +0 -0
  715. /package/dist/{chunk-5VGE723P.js.map → chunk-QUVMOQGJ.js.map} +0 -0
  716. /package/dist/{chunk-H5CVMLQA.js.map → chunk-SKBIX235.js.map} +0 -0
  717. /package/dist/{chunk-CM26HVU2.js.map → chunk-SNQJQNN3.js.map} +0 -0
  718. /package/dist/{chunk-M6GWX3QG.js.map → chunk-T5CFZJZJ.js.map} +0 -0
  719. /package/dist/{chunk-2CQNJCHZ.js.map → chunk-TPQ72MSH.js.map} +0 -0
  720. /package/dist/{chunk-77Z3DTLZ.js.map → chunk-TQBLB23W.js.map} +0 -0
  721. /package/dist/{chunk-HQYUKF5O.js.map → chunk-TVW3RTYO.js.map} +0 -0
  722. /package/dist/{chunk-MBYJDFBP.js.map → chunk-TXO22NJD.js.map} +0 -0
  723. /package/dist/{chunk-F235KU5A.js.map → chunk-UI2AWQQY.js.map} +0 -0
  724. /package/dist/{chunk-BSCHE23F.js.map → chunk-UTKG3Y5Z.js.map} +0 -0
  725. /package/dist/{chunk-5KIRLHH2.js.map → chunk-V64JKUJY.js.map} +0 -0
  726. /package/dist/{chunk-GE5FUYB3.js.map → chunk-VCIU7ATG.js.map} +0 -0
  727. /package/dist/{chunk-F3H2EEXF.js.map → chunk-VSI2D6T7.js.map} +0 -0
  728. /package/dist/{chunk-OCM62HFZ.js.map → chunk-WOXNPIZQ.js.map} +0 -0
  729. /package/dist/{chunk-O3XO7CQT.js.map → chunk-X6QTN4GF.js.map} +0 -0
  730. /package/dist/{chunk-RS7PA25F.js.map → chunk-YDVQVY4J.js.map} +0 -0
  731. /package/dist/{chunk-J274LGJH.js.map → chunk-YIIA5ZRB.js.map} +0 -0
  732. /package/dist/{chunk-2J2ZQKG2.js.map → chunk-YRCCLKTM.js.map} +0 -0
  733. /package/dist/{chunk-TRFHL5IP.js.map → chunk-Z55ZIXYA.js.map} +0 -0
  734. /package/dist/{chunk-GAJT7SGO.js.map → chunk-ZDEFIDSW.js.map} +0 -0
  735. /package/dist/{chunk-4WTSNJWO.js.map → chunk-ZQHKS6ZI.js.map} +0 -0
  736. /package/dist/{condition-3EKFPIWK.js.map → condition-XPFGZSPI.js.map} +0 -0
  737. /package/dist/{controls-2SWBZOKZ.js.map → controls-KV55G4YY.js.map} +0 -0
  738. /package/dist/{controls.btns-P4MFMRBS.js.map → controls.btns-LKKJDMJ6.js.map} +0 -0
  739. /package/dist/{controls.config-A46FIWEC.js.map → controls.config-IZGJHZJF.js.map} +0 -0
  740. /package/dist/{cuminc-3JDIWCPP.js.map → cuminc-NV6TQIZH.js.map} +0 -0
  741. /package/dist/{dataDownload-JIC4O3WV.js.map → dataDownload-AFHTMDRU.js.map} +0 -0
  742. /package/dist/{density-IAPDQKUV.js.map → density-K5VDO56W.js.map} +0 -0
  743. /package/dist/{dictionary-KNAIGHHY.js.map → dictionary-2TVXCD7U.js.map} +0 -0
  744. /package/dist/{expclust.gdc.spec-GQPDJDEX.js.map → expclust.gdc.spec-VJ6DQRV3.js.map} +0 -0
  745. /package/dist/{facet-5ID6FAOF.js.map → facet-ZJ7K3QFG.js.map} +0 -0
  746. /package/dist/{geneExpClustering-GBVW7LTX.js.map → geneExpClustering-M7T4SDQB.js.map} +0 -0
  747. /package/dist/{geneExpression-5X2N7QEV.js.map → geneExpression-DT37WZFH.js.map} +0 -0
  748. /package/dist/{geneORA-FL5POGFX.js.map → geneORA-PE4347W7.js.map} +0 -0
  749. /package/dist/{geneVariant-2P4M77EO.js.map → geneVariant-5IEPUZE6.js.map} +0 -0
  750. /package/dist/{geneset-JWPHB64B.js.map → geneset-SENUJPIK.js.map} +0 -0
  751. /package/dist/{genomeBrowser-NSYD6XJZ.js.map → genomeBrowser-5AS4ULEV.js.map} +0 -0
  752. /package/dist/{genomeBrowser.controls-HMXWPTKK.js.map → genomeBrowser.controls-TUWS34N6.js.map} +0 -0
  753. /package/dist/{genomeBrowser.spec-SYQO6VRP.js.map → genomeBrowser.spec-MBMYVRWU.js.map} +0 -0
  754. /package/dist/{groupsetting-VMK33QN3.js.map → groupsetting-KTDNYX7S.js.map} +0 -0
  755. /package/dist/{gsea-N62HZ2X5.js.map → gsea-ZZIXZREL.js.map} +0 -0
  756. /package/dist/{hierCluster-HKG3AC22.js.map → hierCluster-56K5Y767.js.map} +0 -0
  757. /package/dist/{hierCluster-TVWMIPA2.js.map → hierCluster-I3JJTSLE.js.map} +0 -0
  758. /package/dist/{hierCluster.config-5KSNVSZQ.js.map → hierCluster.config-UBZAYCEJ.js.map} +0 -0
  759. /package/dist/{hierCluster.integration.spec-EGPVBGIJ.js.map → hierCluster.integration.spec-7UNZOQNW.js.map} +0 -0
  760. /package/dist/{hierCluster.interactivity-PHLDHGMY.js.map → hierCluster.interactivity-XN6GTGIK.js.map} +0 -0
  761. /package/dist/{hierCluster.renderers-RI7MUQ5D.js.map → hierCluster.renderers-B4EVVCVU.js.map} +0 -0
  762. /package/dist/{imagePlot-SIR6DFNH.js.map → imagePlot-5D2NUWMZ.js.map} +0 -0
  763. /package/dist/{launch.adhoc-PCQDRDZ4.js.map → launch.adhoc-HTHDRUXU.js.map} +0 -0
  764. /package/dist/{matrix-C6RO5RAH.js.map → matrix-HWZ4EKKL.js.map} +0 -0
  765. /package/dist/{matrix-NU7TO7GQ.js.map → matrix-ZIV47XEG.js.map} +0 -0
  766. /package/dist/{matrix.cells-OBVIUF5T.js.map → matrix.cells-B2LFSNMS.js.map} +0 -0
  767. /package/dist/{matrix.config-T45OAKTK.js.map → matrix.config-SDMZCIFC.js.map} +0 -0
  768. /package/dist/{matrix.controls-43U2VG7N.js.map → matrix.controls-RHLXKX5J.js.map} +0 -0
  769. /package/dist/{matrix.data-3ZF46WDI.js.map → matrix.data-EKPMQB74.js.map} +0 -0
  770. /package/dist/{matrix.groups-S3PU7ZTI.js.map → matrix.groups-6VUJF35M.js.map} +0 -0
  771. /package/dist/{matrix.interactivity-2TYFKPYF.js.map → matrix.interactivity-4LO6XNXZ.js.map} +0 -0
  772. /package/dist/{matrix.layout-E23ZOPZ3.js.map → matrix.layout-GS5IENPE.js.map} +0 -0
  773. /package/dist/{matrix.legend-SPZSNH5F.js.map → matrix.legend-VUZ3OR6E.js.map} +0 -0
  774. /package/dist/{matrix.renderers-BRHUMSB5.js.map → matrix.renderers-EHCCVJR4.js.map} +0 -0
  775. /package/dist/{matrix.serieses-QDPB6KOM.js.map → matrix.serieses-72FFQZTV.js.map} +0 -0
  776. /package/dist/{matrix.sort-SNKFUJLJ.js.map → matrix.sort-4FUNFFCS.js.map} +0 -0
  777. /package/dist/{matrix.sort.unit.spec-JLGT7LQR.js.map → matrix.sort.unit.spec-VS3LKIIF.js.map} +0 -0
  778. /package/dist/{matrix.sorterUi-QXXZTD4A.js.map → matrix.sorterUi-VGYA4A7M.js.map} +0 -0
  779. /package/dist/{matrix.sorterUi.unit.spec-NU3EB4GR.js.map → matrix.sorterUi.unit.spec-C7TPUB6J.js.map} +0 -0
  780. /package/dist/{mds.samplescatterplot-CNZOJFFN.js.map → mds.samplescatterplot-MM25V4PP.js.map} +0 -0
  781. /package/dist/{metaboliteIntensity-EBD54KF2.js.map → metaboliteIntensity-D57E6J2J.js.map} +0 -0
  782. /package/dist/{numeric-CPMVHOFX.js.map → numeric-AY6QAQ2W.js.map} +0 -0
  783. /package/dist/{numeric.discrete-MNHFBEI2.js.map → numeric.discrete-BKL7U7A2.js.map} +0 -0
  784. /package/dist/{numeric.toggle-CLSHWXNN.js.map → numeric.toggle-KMPWZNKQ.js.map} +0 -0
  785. /package/dist/{oncomatrix-MXLSQB2L.js.map → oncomatrix-WNZLQJXO.js.map} +0 -0
  786. /package/dist/{oncomatrix.spec-AAKDFJBY.js.map → oncomatrix.spec-73GECFEX.js.map} +0 -0
  787. /package/dist/{plot.app-IZSAYFXK.js.map → plot.app-CLQG22YP.js.map} +0 -0
  788. /package/dist/{plot.brainImaging-XZB7P3DC.js.map → plot.brainImaging-BGF3P2OB.js.map} +0 -0
  789. /package/dist/{plot.dzi-NQOII77Z.js.map → plot.dzi-SRKOHRZI.js.map} +0 -0
  790. /package/dist/{plot.wsi-UHTVKH6U.js.map → plot.wsi-QWCH4JOX.js.map} +0 -0
  791. /package/dist/{profile.spec-TRNNWJCG.js.map → profile.spec-DRV7VQGC.js.map} +0 -0
  792. /package/dist/{profileBarchart-O5GKF6LW.js.map → profileBarchart-CZQCBU4H.js.map} +0 -0
  793. /package/dist/{profilePlot-UKJQQXEL.js.map → profilePlot-Z2VWLJF5.js.map} +0 -0
  794. /package/dist/{profilePolar-BGWN43ST.js.map → profilePolar-HHC5NGJX.js.map} +0 -0
  795. /package/dist/{profileRadar-4562XHZ5.js.map → profileRadar-6CSPKKQO.js.map} +0 -0
  796. /package/dist/{profileRadarFacility-QSH5BJXT.js.map → profileRadarFacility-WZNMIBSS.js.map} +0 -0
  797. /package/dist/{profileSummary-CODSLPNY.js.map → profileSummary-ZGNDNZPH.js.map} +0 -0
  798. /package/dist/{regression-VF76ZEKJ.js.map → regression-KQ2UUZ7M.js.map} +0 -0
  799. /package/dist/{regression.inputs-BN5EDGOW.js.map → regression.inputs-D6XOYGBJ.js.map} +0 -0
  800. /package/dist/{regression.inputs.term-G2UC2NJU.js.map → regression.inputs.term-FG3HGJ4G.js.map} +0 -0
  801. /package/dist/{regression.inputs.values.table-2H24VT5V.js.map → regression.inputs.values.table-TQBRPQKB.js.map} +0 -0
  802. /package/dist/{regression.results-6FV3UM5B.js.map → regression.results-UOFCAXQ5.js.map} +0 -0
  803. /package/dist/{sampleScatter-EBIVCOHX.js.map → sampleScatter-BX3NPXW2.js.map} +0 -0
  804. /package/dist/{sampleScatter.interactivity-KIRI2UZ6.js.map → sampleScatter.interactivity-BWDOPMPM.js.map} +0 -0
  805. /package/dist/{sampleScatter.renderer-XB3PDCTI.js.map → sampleScatter.renderer-3IN4GQHO.js.map} +0 -0
  806. /package/dist/{sampleView-I5HVYQ5G.js.map → sampleView-ITQLUZXK.js.map} +0 -0
  807. /package/dist/{samplelst-KIHABC4K.js.map → samplelst-QJEZSUG5.js.map} +0 -0
  808. /package/dist/{scatter-EEESSSQ4.js.map → scatter-245B7SEN.js.map} +0 -0
  809. /package/dist/{singleCellCellType-4INKIKIS.js.map → singleCellCellType-XF5FLDPS.js.map} +0 -0
  810. /package/dist/{singleCellGeneExpression-M34LJCSC.js.map → singleCellGeneExpression-E6TKIWUM.js.map} +0 -0
  811. /package/dist/{singlecell-QBYMNSWS.js.map → singlecell-ADFURL77.js.map} +0 -0
  812. /package/dist/{snp-H5BUTPU5.js.map → snp-TUCPS4GO.js.map} +0 -0
  813. /package/dist/{snplocus-Z3OX3NFZ.js.map → snplocus-VQKZPYJS.js.map} +0 -0
  814. /package/dist/{summary-DGWLGMUZ.js.map → summary-WIP2JBEI.js.map} +0 -0
  815. /package/dist/{survival-CHEJNQ2C.js.map → survival-3KPDNHBV.js.map} +0 -0
  816. /package/dist/{survival-GP4G45CA.js.map → survival-I3VANU5K.js.map} +0 -0
  817. /package/dist/{table-M6YOW6PR.js.map → table-IUIYPXSY.js.map} +0 -0
  818. /package/dist/{tk-WI6TVCEQ.js.map → tk-S3L2S3FL.js.map} +0 -0
  819. /package/dist/{tvs.geneVariant-CNUMGBXK.js.map → tvs.geneVariant-IY3GV477.js.map} +0 -0
  820. /package/dist/{tvs.numeric-ZSALQ4O3.js.map → tvs.numeric-JLFKUBC6.js.map} +0 -0
  821. /package/dist/{violin-33MF3B57.js.map → violin-FXELWHWK.js.map} +0 -0
  822. /package/dist/{violin.interactivity-53P7BTOU.js.map → violin.interactivity-IGEOL62O.js.map} +0 -0
  823. /package/dist/{violin.renderer-UYLFS54H.js.map → violin.renderer-ORWP2MNR.js.map} +0 -0
  824. /package/dist/{vocabulary-PLHVOGMU.js.map → vocabulary-WBZF6A2A.js.map} +0 -0
@@ -0,0 +1,1404 @@
1
+ import {
2
+ renderSandboxFormDiv
3
+ } from "./chunk-ZYRXVRSD.js";
4
+ import "./chunk-SJ4KZVLF.js";
5
+ import {
6
+ axisstyle,
7
+ bulk_badline,
8
+ font,
9
+ newpane,
10
+ newpane3,
11
+ sayerror,
12
+ to_svg
13
+ } from "./chunk-QQESBFZD.js";
14
+ import {
15
+ Menu
16
+ } from "./chunk-7YY2KB6H.js";
17
+ import {
18
+ make_table_2col
19
+ } from "./chunk-2BM5YZ6X.js";
20
+ import "./chunk-VX3F7KVD.js";
21
+ import {
22
+ mclass,
23
+ mclassnonstandard
24
+ } from "./chunk-HWETBYER.js";
25
+ import "./chunk-BU73IBJJ.js";
26
+ import {
27
+ Symbol,
28
+ axisBottom,
29
+ axisLeft,
30
+ axisTop,
31
+ circle_default,
32
+ cross_default,
33
+ diamond_default,
34
+ square_default,
35
+ star_default,
36
+ triangle_default,
37
+ wye_default
38
+ } from "./chunk-L3BEUWSG.js";
39
+ import "./chunk-JASS6SUY.js";
40
+ import {
41
+ select_default
42
+ } from "./chunk-NUYFQ7WK.js";
43
+ import "./chunk-BT2NCQ7T.js";
44
+ import {
45
+ format,
46
+ linear
47
+ } from "./chunk-K3MEWWGO.js";
48
+ import "./chunk-CKF26VJ7.js";
49
+ import "./chunk-Y6SKTI7D.js";
50
+ import "./chunk-F3OQE4AZ.js";
51
+
52
+ // src/2dmaf.anchors.js
53
+ var Anchors = class {
54
+ constructor(opts) {
55
+ this.opts = opts;
56
+ this.anchorType = opts.anchorType;
57
+ this.shareheight = opts.shareheight;
58
+ this.sharewidth = opts.sharewidth;
59
+ const x = "x" in opts ? opts.x : 0;
60
+ const y = "y" in opts ? opts.y : 0;
61
+ this.settings = {
62
+ visible: true,
63
+ opacity: 0.3,
64
+ x,
65
+ y,
66
+ xOffset: opts.axiswidth + opts.sp + opts.sample2height,
67
+ yOffset: opts.shareheight,
68
+ currX: opts.axiswidth + opts.sp + opts.sample2height + x,
69
+ currY: opts.shareheight - y,
70
+ strokeWidth: "strokeWidth" in opts ? opts.strokeWidth : 5,
71
+ stroke: "stroke" in opts ? opts.stroke : "red",
72
+ xarmlen: "xarmlen" in opts ? opts.xarmlen : 25
73
+ };
74
+ this.addControls(this.anchorType ? null : this.opts.headerdiv);
75
+ }
76
+ setWrapper(g) {
77
+ this.opts.wrapper = g;
78
+ }
79
+ addControls(headerdiv = null) {
80
+ if (headerdiv) {
81
+ const anchorbtn = headerdiv.append("button").text("Anchors").on("click", (event) => {
82
+ this.anchormenu.showunder(event.target);
83
+ this.xInput.property("value", (this.settings.x / this.sharewidth).toFixed(2));
84
+ this.yInput.property("value", (this.settings.y / this.sharewidth).toFixed(2));
85
+ });
86
+ }
87
+ this.anchormenu = new Menu({ border: "solid 1px black" });
88
+ this.anchormenu.d.style("text-align", "center");
89
+ this.addCoordInput();
90
+ this.addColorInput();
91
+ this.addOpacityInput();
92
+ if (!this.anchorType)
93
+ this.addSubmitBtns();
94
+ else
95
+ this.addDeleteBtn();
96
+ }
97
+ addColorInput() {
98
+ const div = this.anchormenu.d.append("div");
99
+ div.append("label").html("Color: ");
100
+ this.strokeInput = div.append("input");
101
+ this.strokeInput.attr("this.anchorType", "text").property("value", this.settings.stroke).style("width", "50px");
102
+ }
103
+ addOpacityInput() {
104
+ const div = this.anchormenu.d.append("div");
105
+ div.append("label").html("Opacity: ");
106
+ this.opacityInput = div.append("input");
107
+ this.opacityInput.attr("this.anchorType", "number").attr("min", 0).attr("max", 1).attr("step", 0.01).property("value", this.settings.opacity).style("width", "50px");
108
+ }
109
+ addSubmitBtns() {
110
+ if (this.anchorType)
111
+ return;
112
+ const div = this.anchormenu.d.append("div");
113
+ div.append("label").html("Add Anchor: ");
114
+ div.append("button").html("R").on("click", () => {
115
+ new SyncedAnchors(this.getSettings("r"));
116
+ this.anchormenu.hide();
117
+ });
118
+ div.append("button").html("D").on("click", () => {
119
+ new SyncedAnchors(this.getSettings("d"));
120
+ this.anchormenu.hide();
121
+ });
122
+ div.append("button").html("X").on("click", () => {
123
+ new SyncedAnchors(this.getSettings("x"));
124
+ this.anchormenu.hide();
125
+ });
126
+ div.append("button").html("synced").on("click", () => {
127
+ new SyncedAnchors(this.getSettings("synced"));
128
+ this.anchormenu.hide();
129
+ });
130
+ }
131
+ getSettings(anchorType) {
132
+ return Object.assign({}, this.opts, {
133
+ anchorType,
134
+ opacity: this.opacityInput.property("value"),
135
+ x: this.xInput.property("value") * this.sharewidth,
136
+ y: this.yInput.property("value") * this.shareheight,
137
+ stroke: this.strokeInput.property("value")
138
+ });
139
+ }
140
+ addCoordInput() {
141
+ const xdiv = this.anchormenu.d.append("div");
142
+ xdiv.append("label").html("X: ");
143
+ this.xInput = xdiv.append("input");
144
+ this.xInput.attr("this.anchorType", "number").attr("min", 0).attr("max", 1).attr("step", 0.01).property("value", 0).style("width", "80px");
145
+ const ydiv = this.anchormenu.d.append("div");
146
+ ydiv.append("label").html("Y: ");
147
+ this.yInput = ydiv.append("input");
148
+ this.yInput.attr("this.anchorType", "number").attr("min", 0).attr("max", 1).attr("step", 0.01).property("value", 0).style("width", "80px");
149
+ }
150
+ addDeleteBtn() {
151
+ if (!this.anchorType)
152
+ return;
153
+ const div = this.anchormenu.d.append("div");
154
+ div.append("button").html("Delete").on("click", () => {
155
+ this.g_anchor.remove();
156
+ this.anchormenu.hide();
157
+ });
158
+ }
159
+ };
160
+ var SyncedAnchors = class extends Anchors {
161
+ constructor(opts) {
162
+ super(opts);
163
+ this.render();
164
+ this.strokeInput.on("change", () => {
165
+ this.settings.stroke = this.strokeInput.property("value");
166
+ this.g_anchor.style("stroke", this.settings.stroke);
167
+ this.anchormenu.hide();
168
+ });
169
+ this.opacityInput.on("change", () => {
170
+ this.settings.opacity = input.property("value");
171
+ this.g_anchor.style("opacity", this.settings.opacity);
172
+ this.anchormenu.hide();
173
+ });
174
+ this.xInput.on("change", () => {
175
+ this.settings.x = +this.xInput.property("value") * this.sharewidth;
176
+ this.settings.currX = this.settings.x + this.settings.xOffset;
177
+ if (this.d_anchor) {
178
+ this.d_anchor.transition().duration(1e3).attr("x1", this.settings.currX).attr("x2", this.settings.currX);
179
+ }
180
+ if (this.x_anchor) {
181
+ this.x_anchor.transition().duration(1e3).attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
182
+ }
183
+ this.anchormenu.hide();
184
+ });
185
+ this.yInput.on("change", () => {
186
+ this.settings.y = +this.yInput.property("value") * this.shareheight;
187
+ this.settings.currY = -this.settings.y + this.settings.yOffset;
188
+ if (this.r_anchor) {
189
+ this.r_anchor.transition().duration(1e3).attr("y1", this.settings.currY).attr("y2", this.settings.currY);
190
+ }
191
+ if (this.x_anchor) {
192
+ this.x_anchor.transition().duration(1e3).attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
193
+ }
194
+ this.anchormenu.hide();
195
+ });
196
+ }
197
+ render() {
198
+ 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(
199
+ "click",
200
+ this.anchorType == "synced" ? null : (event) => {
201
+ this.anchormenu.showunder(event.target);
202
+ }
203
+ );
204
+ this.renderD();
205
+ this.renderR();
206
+ this.renderX();
207
+ }
208
+ renderD() {
209
+ if (!["synced", "d"].includes(this.anchorType))
210
+ return;
211
+ this.d_anchor = this.g_anchor.append("line");
212
+ const o = this.opts;
213
+ this.updateD(o.shareheight + o.sp2, o.shareheight + o.sample1height);
214
+ }
215
+ updateD(y1, y2) {
216
+ if (!["synced", "d"].includes(this.anchorType))
217
+ 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))
223
+ return;
224
+ this.r_anchor = this.g_anchor.append("line");
225
+ const o = this.opts;
226
+ this.updateR(o.axiswidth + o.sp, o.sample2height + o.sp);
227
+ }
228
+ updateR(x1, x2) {
229
+ if (!["synced", "r"].includes(this.anchorType))
230
+ return;
231
+ this.settings.R = { x1, x2 };
232
+ this.r_anchor.attr("x1", x1).attr("x2", x2).attr("y1", this.settings.currY).attr("y2", this.settings.currY);
233
+ }
234
+ renderX() {
235
+ if (!["synced", "x"].includes(this.anchorType))
236
+ return;
237
+ this.x_anchor = this.g_anchor.append("g").attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
238
+ this.bindXDrag();
239
+ this.x_anchor.append("circle").attr("cx", 0).attr("cy", 0).attr("r", this.settings.xarmlen).style("opacity", 0);
240
+ this.x_anchor.append("line").attr("x1", -this.settings.xarmlen).attr("x2", this.settings.xarmlen).attr("y1", 0).attr("y2", 0);
241
+ this.x_anchor.append("line").attr("x1", 0).attr("x2", 0).attr("y1", this.settings.xarmlen).attr("y2", -this.settings.xarmlen);
242
+ }
243
+ bindXDrag() {
244
+ if (!["synced"].includes(this.anchorType))
245
+ return;
246
+ this.x_anchor.on("mousedown", (event) => {
247
+ const x = event.clientX;
248
+ const y = event.clientY;
249
+ let _x = this.settings.currX, _y = this.settings.currY;
250
+ this.x_anchor.on("mousemove", (event2) => {
251
+ _x = this.settings.currX - x + event2.clientX;
252
+ _y = this.settings.currY - y + event2.clientY;
253
+ this.r_anchor.attr("y1", _y).attr("y2", _y);
254
+ this.d_anchor.attr("x1", _x).attr("x2", _x);
255
+ this.x_anchor.attr("transform", "translate(" + _x + "," + _y + ")");
256
+ }).on("mouseup", (event2) => {
257
+ this.x_anchor.on("mousemove", null);
258
+ _x = this.settings.currX - x + event2.clientX;
259
+ _y = this.settings.currY - y + event2.clientY;
260
+ if (_x == this.settings.currX && _y == this.settings.currY) {
261
+ this.g_anchor.remove();
262
+ return;
263
+ }
264
+ this.settings.x = _x < this.settings.xOffset ? 0 : _x - this.settings.xOffset;
265
+ this.settings.y = _y > this.settings.yOffset ? 0 : -(_y - this.settings.yOffset);
266
+ this.settings.currX = this.settings.x + this.settings.xOffset;
267
+ this.settings.currY = -this.settings.y + this.settings.yOffset;
268
+ this.r_anchor.transition().duration(100).attr("y1", this.settings.currY).attr("y2", this.settings.currY);
269
+ this.d_anchor.transition().duration(100).attr("x1", this.settings.currX).attr("x2", this.settings.currX);
270
+ this.x_anchor.transition().duration(100).attr("transform", "translate(" + this.settings.currX + "," + this.settings.currY + ")");
271
+ }).on("mouseleave", () => {
272
+ this.x_anchor.on("mousemove", null);
273
+ });
274
+ });
275
+ }
276
+ };
277
+
278
+ // src/2dmaf.js
279
+ var color1 = "#f9766c";
280
+ var color2 = "#609cff";
281
+ var colorshare = "#01b937";
282
+ var symbols = {
283
+ circle: circle_default,
284
+ cross: cross_default,
285
+ diamond: diamond_default,
286
+ square: square_default,
287
+ star: star_default,
288
+ triangle: triangle_default,
289
+ wye: wye_default
290
+ };
291
+ var symbolFilters = {
292
+ path: (d) => d.symbol,
293
+ circle: (d) => !d.symbol
294
+ };
295
+ var sharedFilters = {
296
+ path: (d) => d.symbol,
297
+ ellipse: (d) => !d.symbol
298
+ };
299
+ function d2mafui(genomes, holder) {
300
+ let pane, inputdiv, gselect, filediv, saydiv, visualdiv;
301
+ if (holder !== void 0)
302
+ [inputdiv, gselect, filediv, saydiv, visualdiv] = renderSandboxFormDiv(holder, genomes);
303
+ else {
304
+ ;
305
+ [pane, inputdiv, gselect, filediv, saydiv, visualdiv] = newpane3(100, 100, genomes);
306
+ pane.header.text("2DMAF: mutant allele fraction plot between a pair of samples");
307
+ pane.body.style("margin", "10px");
308
+ }
309
+ inputdiv.append("div").style("margin-top", "20px").html(
310
+ '<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>'
311
+ );
312
+ inputdiv.append("p").html("<a href=https://proteinpaint.stjude.org/ppdemo/hg19/2dmaf/2dmaf.txt target=_blank>Example file</a>");
313
+ function cmt(t, red) {
314
+ saydiv.style("color", red ? "red" : "black").html(t);
315
+ }
316
+ const fileui = () => {
317
+ filediv.selectAll("*").remove();
318
+ const input2 = filediv.append("input").attr("type", "file").on("change", (event) => {
319
+ const file = event.target.files[0];
320
+ if (!file) {
321
+ fileui();
322
+ return;
323
+ }
324
+ if (!file.size) {
325
+ cmt("Invalid file " + file.name);
326
+ fileui();
327
+ return;
328
+ }
329
+ const reader = new FileReader();
330
+ reader.onload = (event2) => {
331
+ const usegenome = gselect.options[gselect.selectedIndex].innerHTML;
332
+ const err = parseraw(event2.target.result.trim().split(/\r?\n/), genomes[usegenome], file.name, visualdiv);
333
+ if (err) {
334
+ cmt(err, 1);
335
+ fileui();
336
+ return;
337
+ }
338
+ inputdiv.remove();
339
+ filediv.remove();
340
+ saydiv.remove();
341
+ };
342
+ reader.onerror = function() {
343
+ cmt("Error reading file " + file.name, 1);
344
+ fileui();
345
+ return;
346
+ };
347
+ reader.readAsText(file, "utf8");
348
+ });
349
+ setTimeout(() => input2.node().focus(), 1100);
350
+ };
351
+ fileui();
352
+ }
353
+ function d2mafparseinput(obj, holder) {
354
+ if (!obj.genome) {
355
+ sayerror(holder, ".genome missing for 2dmaf");
356
+ return;
357
+ }
358
+ if (!obj.input) {
359
+ sayerror(holder, ".input missing for 2dmaf");
360
+ return;
361
+ }
362
+ const err = parseraw(obj.input.trim().split(/\r?\n/), obj.genome, obj.datasetname || "unnamed dataset", holder);
363
+ if (err) {
364
+ sayerror(holder, "2DMAF data error: " + err);
365
+ }
366
+ }
367
+ function parseraw(lines, genome, filename, holder) {
368
+ const [headererror, header, headerattrlst] = parseheader(lines[0].trim());
369
+ if (headererror) {
370
+ return headererror;
371
+ }
372
+ const pairs = {};
373
+ const g2mlst = {};
374
+ const peoplehash = {};
375
+ const genehash = {};
376
+ const flag = {
377
+ good: 0,
378
+ purity1set: false,
379
+ purity2set: false,
380
+ pairsetname: {}
381
+ };
382
+ const badlines = [];
383
+ const mclasslabel2key = {};
384
+ for (const k in mclass) {
385
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
386
+ }
387
+ for (let i = 1; i < lines.length; i++) {
388
+ if (lines[i] == "")
389
+ continue;
390
+ if (lines[i][0] == "#") {
391
+ if (lines[i].startsWith("##samplename")) {
392
+ const l = lines[i].trim().split(/[\s\t]+/);
393
+ if (l.length == 4) {
394
+ flag.pairsetname[l[1]] = { 1: l[2], 2: l[3] };
395
+ } else {
396
+ return "Line " + (i + 1) + ': invalid samplename line: must be "##samplename [patient] [sample1] [sample2]"';
397
+ }
398
+ }
399
+ continue;
400
+ }
401
+ const lst = lines[i].trim().split(" ");
402
+ const m = {};
403
+ for (let j = 0; j < header.length; j++) {
404
+ if (lst[j] != void 0 && lst[j] != "") {
405
+ m[header[j]] = lst[j];
406
+ }
407
+ }
408
+ if (!m.sample) {
409
+ return "Line " + (i + 1) + ": missing sample";
410
+ }
411
+ if (m.chr) {
412
+ if (m.chr.indexOf("chr") != 0) {
413
+ m.chr = "chr" + m.chr;
414
+ }
415
+ }
416
+ if (m.chrstart) {
417
+ m.chrstart = Number.parseInt(m.chrstart);
418
+ if (Number.isNaN(m.chrstart)) {
419
+ return "Line " + (i + 1) + ": invalid chromosome position";
420
+ }
421
+ }
422
+ if (m.Dcnvloh) {
423
+ m.Dcnvlohraw = m.Dcnvloh;
424
+ const s2 = m.Dcnvloh.toLowerCase();
425
+ if (s2 == "yes" || s2 != "diploid" && s2 != "haploid") {
426
+ m.Dcnvloh = true;
427
+ } else {
428
+ m.Dcnvloh = false;
429
+ }
430
+ }
431
+ if (m.Rcnvloh) {
432
+ m.Rcnvlohraw = m.Rcnvloh;
433
+ const s2 = m.Rcnvloh.toLowerCase();
434
+ if (s2 == "yes" || s2 != "diploid" && s2 != "haploid") {
435
+ m.Rcnvloh = true;
436
+ } else {
437
+ m.Rcnvloh = false;
438
+ }
439
+ }
440
+ if (!m.call_d) {
441
+ badlines.push([i, "missing call_d", lst]);
442
+ continue;
443
+ }
444
+ if (m.call_d != "somatic" && m.call_d != "wildtype") {
445
+ badlines.push([i, "call_d is neither somatic nor wildtype", lst]);
446
+ continue;
447
+ }
448
+ if (!m.call_r) {
449
+ badlines.push([i, "missing call_r", lst]);
450
+ continue;
451
+ }
452
+ if (m.call_r != "somatic" && m.call_r != "wildtype") {
453
+ badlines.push([i, "call_r is neither somatic nor wildtype", lst]);
454
+ continue;
455
+ }
456
+ if (m.call_d == "somatic") {
457
+ if (m.call_r == "somatic") {
458
+ m.set_share = true;
459
+ } else {
460
+ m.set_1 = true;
461
+ }
462
+ } else {
463
+ if (m.call_r == "somatic") {
464
+ m.set_2 = true;
465
+ }
466
+ }
467
+ if (!m.type) {
468
+ badlines.push([i, "missing type", lst]);
469
+ continue;
470
+ }
471
+ const s = m.type.toLowerCase();
472
+ if (s == "snv" || s == "snp" || s == "mnv" || s == "complex") {
473
+ m.issnv = true;
474
+ } else if (s == "indel" || s == "ins" || s == "del") {
475
+ m.isindel = true;
476
+ } else {
477
+ badlines.push([i, "type must be either SNV or INDEL", lst]);
478
+ continue;
479
+ }
480
+ let key = "MinD.D";
481
+ let a = Number.parseInt(m[key]);
482
+ if (Number.isNaN(a) || a < 0) {
483
+ badlines.push([i, "invalid " + key + " value", lst]);
484
+ continue;
485
+ }
486
+ m[key] = a;
487
+ key = "TinD.D";
488
+ a = Number.parseInt(m[key]);
489
+ if (Number.isNaN(a) || a < 0) {
490
+ badlines.push([i, "invalid " + key + " value", lst]);
491
+ continue;
492
+ }
493
+ m[key] = a;
494
+ if (m["TinD.D"] < m["MinD.D"]) {
495
+ badlines.push([i, "TinD.D value lower than MinD.D", lst]);
496
+ continue;
497
+ }
498
+ key = "MinN.D";
499
+ if (key in m) {
500
+ a = Number.parseInt(m[key]);
501
+ if (Number.isNaN(a) || a < 0) {
502
+ delete m[key];
503
+ } else {
504
+ m[key] = a;
505
+ }
506
+ }
507
+ key = "TinN.D";
508
+ if (key in m) {
509
+ a = Number.parseInt(m[key]);
510
+ if (Number.isNaN(a) || a < 0) {
511
+ delete m[key];
512
+ } else {
513
+ m[key] = a;
514
+ }
515
+ }
516
+ key = "MinD.R";
517
+ a = Number.parseInt(m[key]);
518
+ if (Number.isNaN(a) || a < 0) {
519
+ badlines.push([i, "invalid " + key + " value", lst]);
520
+ continue;
521
+ }
522
+ m[key] = a;
523
+ key = "TinD.R";
524
+ a = Number.parseInt(m[key]);
525
+ if (Number.isNaN(a) || a < 0) {
526
+ badlines.push([i, "invalid " + key + " value", lst]);
527
+ continue;
528
+ }
529
+ m[key] = a;
530
+ if (m["TinD.R"] < m["MinD.R"]) {
531
+ badlines.push([i, "TinD.R value lower than MinD.R", lst]);
532
+ continue;
533
+ }
534
+ key = "MinN.R";
535
+ if (key in m) {
536
+ a = Number.parseInt(m[key]);
537
+ if (Number.isNaN(a) || a < 0) {
538
+ delete m[key];
539
+ } else {
540
+ m[key] = a;
541
+ }
542
+ }
543
+ key = "TinN.R";
544
+ if (key in m) {
545
+ a = Number.parseInt(m[key]);
546
+ if (Number.isNaN(a) || a < 0) {
547
+ delete m[key];
548
+ } else {
549
+ m[key] = a;
550
+ }
551
+ }
552
+ if (m.symbol) {
553
+ if (!symbols[m.symbol]) {
554
+ badlines.push([i, "Invalid symbol value='" + m.symbol + "'", lst]);
555
+ continue;
556
+ }
557
+ }
558
+ if (m.class) {
559
+ const s2 = m.class.toUpperCase();
560
+ if (s2 in mclasslabel2key) {
561
+ m.class = mclasslabel2key[s2];
562
+ } else {
563
+ badlines.push([i, "invalid mutation class " + m.class, lst]);
564
+ continue;
565
+ }
566
+ }
567
+ m.style = {
568
+ fill: m.issnv ? "white" : "black",
569
+ fillhl: m.class ? mclass[m.class].color : "#ccc",
570
+ stroke: m.chr == "chrX" ? "black" : m.issnv ? "black" : "none",
571
+ strokehl: m.class ? mclass[m.class].color : "black",
572
+ fillopacity: m.issnv ? 0 : 0.2,
573
+ strokeopacity: 0.2
574
+ };
575
+ if (m["TinD.D"] > 0) {
576
+ m.maf1 = m["MinD.D"] / m["TinD.D"];
577
+ }
578
+ if (m["TinD.R"] > 0) {
579
+ m.maf2 = m["MinD.R"] / m["TinD.R"];
580
+ }
581
+ peoplehash[m.sample] = 1;
582
+ if (m.gene) {
583
+ genehash[m.gene] = 1;
584
+ }
585
+ if (!(m.sample in pairs)) {
586
+ pairs[m.sample] = {
587
+ name: m.sample,
588
+ shown: false,
589
+ header,
590
+ mlst: []
591
+ };
592
+ }
593
+ const v = pairs[m.sample];
594
+ v.mlst.push(m);
595
+ if (m.purity1) {
596
+ let p = Number.parseFloat(m.purity1);
597
+ if (Number.isNaN(p)) {
598
+ badlines.push([i, "diagnosis tumor purity should be a number"]);
599
+ p = 0;
600
+ } else {
601
+ if (p > 1) {
602
+ p /= 100;
603
+ }
604
+ }
605
+ if (p > 0) {
606
+ if (v.purity1 == void 0) {
607
+ v.purity1 = p;
608
+ flag.purity1set = true;
609
+ } else if (v.purity1 != p) {
610
+ badlines.push([
611
+ i,
612
+ "diagnosis tumor purity value " + p + " is different from existing value " + v.purity1 + " in " + m.sample,
613
+ lst
614
+ ]);
615
+ }
616
+ }
617
+ }
618
+ if (m.purity2) {
619
+ let p = Number.parseFloat(m.purity2);
620
+ if (Number.isNaN(p)) {
621
+ badlines.push([i, "relapse tumor purity should be a number"]);
622
+ p = 0;
623
+ } else {
624
+ if (p > 1) {
625
+ p /= 100;
626
+ }
627
+ }
628
+ if (p > 0) {
629
+ if (v.purity2 == void 0) {
630
+ v.purity2 = p;
631
+ flag.purity2set = true;
632
+ } else if (v.purity2 != p) {
633
+ badlines.push([
634
+ i,
635
+ "relapse tumor purity value " + p + " is different from existing value " + v.purity2 + " in " + m.sample,
636
+ lst
637
+ ]);
638
+ }
639
+ }
640
+ }
641
+ flag.good++;
642
+ }
643
+ if (badlines.length > 0) {
644
+ bulk_badline(header, badlines);
645
+ }
646
+ if (flag.good == 0) {
647
+ return "No valid data.";
648
+ }
649
+ holder.append("p").text("File: " + filename);
650
+ let peopletotal = 0;
651
+ for (const n in peoplehash)
652
+ peopletotal++;
653
+ let genetotal = 0;
654
+ for (const n in genehash)
655
+ genetotal++;
656
+ const boxh = 16;
657
+ const table = holder.append("table");
658
+ const tr = table.append("tr");
659
+ const td = tr.append("td").attr("valign", "top");
660
+ td.append("div").html(
661
+ '<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'
662
+ );
663
+ 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");
664
+ 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");
665
+ const showholder = tr.append("td").style("vertical-align", "top");
666
+ for (const n in pairs) {
667
+ const ss = flag.pairsetname[n];
668
+ if (ss) {
669
+ pairs[n].setname = ss;
670
+ } else {
671
+ pairs[n].setname = { 1: "Diagnosis", 2: "Relapse" };
672
+ }
673
+ }
674
+ const odata = {
675
+ genome,
676
+ //dsname:dsname,
677
+ pairs,
678
+ color1,
679
+ color2,
680
+ colorshare,
681
+ rowh: boxh,
682
+ peoplewidth: 150,
683
+ genewidth: 150,
684
+ showholder,
685
+ //peoplelimit:Math.min(20,peopletotal),
686
+ genelimit: Math.min(20, genetotal),
687
+ purity1set: flag.purity1set,
688
+ purity2set: flag.purity2set
689
+ };
690
+ d2maf_peopletable(odata, peopleholder);
691
+ }
692
+ function parseheader(line) {
693
+ const lower = line.toLowerCase().split(" ");
694
+ const header = line.split(" ");
695
+ if (header.length <= 1) {
696
+ return ["invalid file header"];
697
+ }
698
+ const htry = (...lst) => {
699
+ for (const i2 of lst) {
700
+ const j = lower.indexOf(i2);
701
+ if (j != -1)
702
+ return j;
703
+ }
704
+ return -1;
705
+ };
706
+ let i = htry("person", "sample", "samplename", "patient");
707
+ if (i == -1)
708
+ return ["sample missing from header"];
709
+ header[i] = "sample";
710
+ i = htry("type");
711
+ if (i == -1)
712
+ return ["type missing from header"];
713
+ header[i] = "type";
714
+ i = htry("mind.d1_g1", "mind.d", "mind");
715
+ if (i == -1)
716
+ return ["MinD.D missing from header"];
717
+ header[i] = "MinD.D";
718
+ i = htry("tind.d1_g1", "tind.d", "tind");
719
+ if (i == -1)
720
+ return ["TinD.D missing from header"];
721
+ header[i] = "TinD.D";
722
+ i = htry("mind.r1_g1", "mind.r", "minr");
723
+ if (i == -1)
724
+ return ["MinD.R missing from header"];
725
+ header[i] = "MinD.R";
726
+ i = htry("tind.r1_g1", "tind.r", "tinr");
727
+ if (i == -1)
728
+ return ["TinD.R missing from header"];
729
+ header[i] = "TinD.R";
730
+ i = htry("call_d1_g1", "call_d");
731
+ if (i == -1)
732
+ return ["call_d missing from header"];
733
+ header[i] = "call_d";
734
+ i = htry("call_r1_g1", "call_r");
735
+ if (i == -1)
736
+ return ["call_r missing from header"];
737
+ header[i] = "call_r";
738
+ i = htry("genename", "gene");
739
+ if (i == -1)
740
+ return ["gene missing from header"];
741
+ header[i] = "gene";
742
+ i = htry("amino_acid_change", "annovar_sj_aachange", "aachange", "protein_change");
743
+ if (i == -1)
744
+ return ["amino_acid_change missing from header"];
745
+ header[i] = "mname";
746
+ i = htry("class", "mclass", "variant_class", "variant_classification", "annovar_sj_class");
747
+ if (i == -1)
748
+ return ["variant_class missing from header"];
749
+ header[i] = "class";
750
+ i = htry("chromosome", "chr");
751
+ if (i == -1)
752
+ return ["chromosome missing from header"];
753
+ header[i] = "chr";
754
+ i = htry("start", "start_position", "wu_hg19_pos", "chr_position");
755
+ if (i == -1)
756
+ return ["start missing from header"];
757
+ header[i] = "chrstart";
758
+ i = htry("minn.d1_g1", "minn.d");
759
+ if (i != -1)
760
+ header[i] = "MinN.D";
761
+ i = htry("tinn.d1_g1", "tinn.d");
762
+ if (i != -1)
763
+ header[i] = "TinN.D";
764
+ i = htry("minn.r1_g1", "minn.r");
765
+ if (i != -1)
766
+ header[i] = "MinN.R";
767
+ i = htry("tinn.r1_g1", "tinn.r");
768
+ if (i != -1)
769
+ header[i] = "TinN.R";
770
+ i = htry("mrna_accession", "refseq_mrna_id", "annovar_sj_filter_isoform", "refseq");
771
+ if (i != -1)
772
+ header[i] = "isoform";
773
+ i = htry("primary_purity", "purity_d");
774
+ if (i != -1)
775
+ header[i] = "purity1";
776
+ i = htry("relapse_purity", "purity_r");
777
+ if (i != -1)
778
+ header[i] = "purity2";
779
+ i = htry("tag_d_cnvloh", "cnvloh_d");
780
+ if (i != -1)
781
+ header[i] = "Dcnvloh";
782
+ i = htry("tag_r_cnvloh", "cnvloh_r");
783
+ if (i != -1)
784
+ header[i] = "Rcnvloh";
785
+ const atlst = [];
786
+ for (const j of header) {
787
+ switch (j) {
788
+ case "Dcnvloh":
789
+ atlst.push({
790
+ label: "D. CNV/LOH",
791
+ get: (m) => m.Dcnvlohraw
792
+ });
793
+ break;
794
+ case "Rcnvloh":
795
+ atlst.push({
796
+ label: "R. CNV/LOH",
797
+ get: (m) => m.Rcnvlohraw
798
+ });
799
+ break;
800
+ case "type":
801
+ atlst.push({
802
+ label: "Type",
803
+ get: (m) => m.type
804
+ });
805
+ break;
806
+ case "chr":
807
+ break;
808
+ case "chrstart":
809
+ atlst.push({
810
+ label: "Genome Loc.",
811
+ get: (m) => m.chr + ":" + (m.chrstart + 1)
812
+ });
813
+ break;
814
+ case "class":
815
+ atlst.push({
816
+ label: "Class",
817
+ get: (m) => {
818
+ if (m.class == mclassnonstandard) {
819
+ return m.originalclasslabel ? m.originalclasslabel : mclass[m.class].label;
820
+ }
821
+ return mclass[m.class].label;
822
+ }
823
+ });
824
+ break;
825
+ case "mname":
826
+ atlst.push({
827
+ label: "Mutation",
828
+ get: (m) => {
829
+ let s = m.mname;
830
+ if (!s)
831
+ s = m.cdna_change;
832
+ return s;
833
+ }
834
+ });
835
+ break;
836
+ case "MinD.D":
837
+ atlst.push({
838
+ ismaf: true,
839
+ width: 60,
840
+ height: 14,
841
+ readcountcredible: 30,
842
+ get: (m) => m.maf_diagnosis,
843
+ label: "D. tumor MAF",
844
+ fill: "#F7483B",
845
+ fillbg: "#FCBAB6"
846
+ });
847
+ break;
848
+ case "TinD.D":
849
+ break;
850
+ case "MinD.R":
851
+ atlst.push({
852
+ ismaf: true,
853
+ width: 60,
854
+ height: 14,
855
+ readcountcredible: 30,
856
+ get: (m) => m.maf_relapse,
857
+ label: "R. tumor MAF",
858
+ fill: "#146EFF",
859
+ fillbg: "#B6D5FC"
860
+ });
861
+ break;
862
+ case "TinD.R":
863
+ break;
864
+ case "MinN.D":
865
+ atlst.push({
866
+ ismaf: true,
867
+ width: 60,
868
+ height: 14,
869
+ readcountcredible: 30,
870
+ get: (m) => m.maf_diagnosis_normal,
871
+ label: "D. normal MAF",
872
+ fill: "#F7483B",
873
+ fillbg: "#FCBAB6"
874
+ });
875
+ break;
876
+ case "TinN.D":
877
+ break;
878
+ case "MinN.R":
879
+ atlst.push({
880
+ ismaf: true,
881
+ width: 60,
882
+ height: 14,
883
+ readcountcredible: 30,
884
+ get: (m) => m.maf_relapse_normal,
885
+ label: "R. normal MAF",
886
+ fill: "#146EFF",
887
+ fillbg: "#B6D5FC"
888
+ });
889
+ break;
890
+ case "TinN.R":
891
+ break;
892
+ case "call_d":
893
+ atlst.push({
894
+ label: "D. call",
895
+ get: (m) => m.call_d
896
+ });
897
+ break;
898
+ case "call_r":
899
+ atlst.push({
900
+ label: "R. call",
901
+ get: (m) => m.call_r
902
+ });
903
+ break;
904
+ case "purity1":
905
+ atlst.push({
906
+ label: "D. purity",
907
+ get: (m) => m.purity1
908
+ });
909
+ break;
910
+ case "purity2":
911
+ atlst.push({
912
+ label: "R. purity",
913
+ get: (m) => m.purity2
914
+ });
915
+ break;
916
+ default:
917
+ atlst.push({
918
+ label: j,
919
+ get: (m) => m[j]
920
+ });
921
+ }
922
+ }
923
+ return [null, header, atlst];
924
+ }
925
+ function d2maf_render(showholder, pdata) {
926
+ const tooltip = new Menu({ border: "solid 1px black" });
927
+ const set_1 = [];
928
+ const set_2 = [];
929
+ const set_share = [];
930
+ const mlst = pdata.mlst;
931
+ const person = mlst[0].sample;
932
+ const symbolgen = Symbol();
933
+ let maxtotal = 0;
934
+ let bysymbol = {};
935
+ const mclasses = {};
936
+ for (const m of mlst) {
937
+ if (m["TinD.D"] > 0) {
938
+ maxtotal = Math.max(maxtotal, m["TinD.D"]);
939
+ }
940
+ if (m["TinD.R"] > 0) {
941
+ maxtotal = Math.max(maxtotal, m["TinD.R"]);
942
+ }
943
+ if (m.set_share) {
944
+ set_share.push(m);
945
+ } else if (m.set_1) {
946
+ set_1.push(m);
947
+ } else if (m.set_2) {
948
+ set_2.push(m);
949
+ }
950
+ if (!(m.class in mclasses)) {
951
+ mclasses[m.class] = 0;
952
+ }
953
+ if (m.symbol) {
954
+ if (!bysymbol[m.symbol]) {
955
+ bysymbol[m.symbol] = { numlines: 0, label: m.symbollabel, hidden: false };
956
+ }
957
+ bysymbol[m.symbol].numlines++;
958
+ }
959
+ mclasses[m.class]++;
960
+ }
961
+ const a = Math.min(window.innerWidth, window.innerHeight);
962
+ 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;
963
+ const radiusscale = linear().domain([0, maxtotal]).range([radius / 2, radius]);
964
+ const radiustoarea = (d) => Math.PI * Math.pow(radiusscale(d), 2);
965
+ for (const m of mlst) {
966
+ m.radius = Math.max(m["TinD.D"] ? radiusscale(m["TinD.D"]) : 0, m["TinD.R"] ? radiusscale(m["TinD.R"]) : 0);
967
+ }
968
+ const outtable = showholder.append("table");
969
+ const tr = outtable.append("tr");
970
+ const tdgraph = tr.append("td").style("vertical-align", "top");
971
+ const tdgenetable = tr.append("td").style("vertical-align", "top");
972
+ tdgenetable.append("div").style("margin", "10px").text("Name: " + person);
973
+ const headerdiv = tdgraph.append("div");
974
+ headerdiv.append("button").text("Hide").on("click", () => {
975
+ pdata.shown = false;
976
+ if (pdata.handle) {
977
+ pdata.handle.attr("font-weight", "normal");
978
+ }
979
+ outtable.remove();
980
+ });
981
+ const anchors = new Anchors({ axiswidth, sp, sp2, sample1height, sample2height, shareheight, sharewidth, headerdiv });
982
+ headerdiv.append("button").text("Screenshot").on("click", () => {
983
+ to_svg(svg.node(), "2dmaf_" + pdata.name);
984
+ });
985
+ {
986
+ const mcselect = headerdiv.append("select").on("change", (event) => {
987
+ const v = event.target.options[event.target.selectedIndex].value;
988
+ if (v == "all") {
989
+ select_share.transition().attr("transform", (d) => d.posstring + " scale(1)");
990
+ select_set1.transition().attr("transform", (d) => d.posstring + " scale(1)");
991
+ select_set2.transition().attr("transform", (d) => d.posstring + " scale(1)");
992
+ return;
993
+ }
994
+ select_share.transition().attr("transform", (d) => d.posstring + " scale(" + (d.class == v ? 1 : 0) + ")");
995
+ select_set1.transition().attr("transform", (d) => d.posstring + " scale(" + (d.class == v ? 1 : 0) + ")");
996
+ select_set2.transition().attr("transform", (d) => d.posstring + " scale(" + (d.class == v ? 1 : 0) + ")");
997
+ });
998
+ mcselect.append("option").text("Show all mutation classes").property("value", "all");
999
+ const lst = [];
1000
+ for (const c3 in mclasses) {
1001
+ lst.push([c3, mclasses[c3]]);
1002
+ }
1003
+ lst.sort((a2, b) => b[1] - a2[1]);
1004
+ for (const i of lst) {
1005
+ mcselect.append("option").text((i[0] in mclass ? mclass[i[0]].label : i[0]) + " (" + i[1] + ")").property("value", i[0]);
1006
+ }
1007
+ }
1008
+ const svg = tdgraph.append("svg").attr("width", axiswidth + sp + sample2height + sharewidth + sp * 2).attr("height", axiswidth + sp + sample1height + shareheight + sp * 2);
1009
+ const g = svg.append("g").attr("transform", "translate(" + sp + "," + sp + ")");
1010
+ anchors.setWrapper(g.append("g"));
1011
+ const scale1 = linear().domain([0, 1]).range([0, sharewidth]);
1012
+ const scalediv1 = g.append("g").attr("transform", "translate(" + (axiswidth + sp + sample2height) + "," + (shareheight + sample1height + sp) + ")").call(axisBottom().scale(scale1).tickSize(5));
1013
+ axisstyle({ axis: scalediv1, showline: true, fontsize: labelfontsize * 0.8 });
1014
+ const c = set_1.length + set_share.length;
1015
+ 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);
1016
+ const scale2 = linear().domain([0, 1]).range([shareheight, 0]);
1017
+ const scalediv2 = g.append("g").attr("transform", "translate(" + axiswidth + ",0)").call(axisLeft().scale(scale2).tickSize(5));
1018
+ axisstyle({ axis: scalediv2, showline: true, fontsize: labelfontsize * 0.8 });
1019
+ const c2 = set_2.length + set_share.length;
1020
+ 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);
1021
+ g.append("path").attr(
1022
+ "d",
1023
+ "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
1024
+ ).attr("fill", "none").attr("stroke", "black").attr("shape-rendering", "crispEdges").attr("stroke-dasharray", "5,5");
1025
+ const select_share = g.append("g").attr("transform", "translate(" + (axiswidth + sp + sample2height) + ",0)").selectAll().data(set_share).enter().append("g").attr("transform", (d) => {
1026
+ d.posstring = "translate(" + scale1(d.maf1) + "," + scale2(d.maf2) + ")";
1027
+ return d.posstring;
1028
+ });
1029
+ select_share.filter((d) => d.Dcnvloh).append("circle").attr("cy", (d) => {
1030
+ return d.issnv ? radiusscale(d["TinD.R"]) : indelboxw / 2;
1031
+ }).attr("fill", "#858585").attr("r", r_cnvloh);
1032
+ select_share.filter((d) => d.Rcnvloh).append("circle").attr("cx", (d) => {
1033
+ return d.issnv ? -radiusscale(d["TinD.D"]) : -indelboxw / 2;
1034
+ }).attr("fill", "#858585").attr("r", r_cnvloh);
1035
+ let snv = select_share;
1036
+ for (const tagName in sharedFilters) {
1037
+ 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(
1038
+ "d",
1039
+ (d) => !d.symbol ? null : symbolgen.type(symbols[d.symbol]).size(radiustoarea(d["TinD.D"]) + radiustoarea(d["TinD.R"]) / 2)()
1040
+ ).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));
1041
+ }
1042
+ 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);
1043
+ 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);
1044
+ const set1totalscale = linear().domain([0, maxtotal]).range([sample1height - sp2, 0]);
1045
+ const g_set1 = g.append("g").attr("transform", "translate(" + (axiswidth + sp + sample2height) + "," + (shareheight + sp2) + ")");
1046
+ const emaflinecolor = "#FFBEAD";
1047
+ const emafline_1 = g_set1.append("rect").attr("fill", emaflinecolor).attr("fill-opacity", 0).attr("x", 0).attr("width", 3).attr("height", sample1height - sp2);
1048
+ axisstyle({
1049
+ axis: g_set1.call(axisLeft().scale(set1totalscale).tickValues([0, maxtotal])),
1050
+ showline: true,
1051
+ fontsize: labelfontsize * 0.8
1052
+ });
1053
+ 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)");
1054
+ const select_set1 = g_set1.selectAll().data(set_1).enter().append("g").attr("transform", (d) => {
1055
+ d.posstring = "translate(" + scale1(d.maf1) + "," + set1totalscale(d["TinD.D"]) + ")";
1056
+ return d.posstring;
1057
+ });
1058
+ select_set1.filter((d) => d.Dcnvloh).append("circle").attr("cy", (d) => {
1059
+ return d.issnv ? radiusscale(d["TinD.R"]) : indelboxw / 2;
1060
+ }).attr("fill", "#858585").attr("r", r_cnvloh);
1061
+ 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);
1062
+ snv = select_set1;
1063
+ for (const tagName in symbolFilters) {
1064
+ 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));
1065
+ }
1066
+ 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);
1067
+ 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);
1068
+ const set2totalscale = linear().domain([0, maxtotal]).range([0, sample2height - sp2]);
1069
+ const g_set2 = g.append("g").attr("transform", "translate(" + (axiswidth + sp) + ",0)");
1070
+ const emafline_2 = g_set2.append("rect").attr("fill", emaflinecolor).attr("fill-opacity", 0).attr("y", shareheight).attr("width", sample2height - sp2).attr("height", 3);
1071
+ const g_set2_axis = g_set2.append("g").attr("transform", "translate(0," + shareheight + ")").call(axisBottom().scale(set2totalscale).tickValues([0, maxtotal]));
1072
+ axisstyle({
1073
+ axis: g_set2_axis,
1074
+ showline: true,
1075
+ fontsize: labelfontsize * 0.8
1076
+ });
1077
+ 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");
1078
+ const select_set2 = g_set2.selectAll().data(set_2).enter().append("g").attr("transform", (d) => {
1079
+ d.posstring = "translate(" + set2totalscale(d["TinD.R"]) + "," + scale2(d.maf2) + ")";
1080
+ return d.posstring;
1081
+ });
1082
+ 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);
1083
+ 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);
1084
+ snv = select_set2;
1085
+ for (const tagName in symbolFilters) {
1086
+ 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));
1087
+ }
1088
+ 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);
1089
+ 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);
1090
+ const leng = g.append("g").attr("transform", "translate(0," + (shareheight + sp2) + ")");
1091
+ let y = labelfontsize;
1092
+ leng.append("text").text(person).attr("font-size", labelfontsize).attr("y", y);
1093
+ const r1 = radiusscale(20), r2 = radiusscale(maxtotal);
1094
+ y += labelfontsize + r2;
1095
+ let x;
1096
+ leng.append("text").text("SNV coverage").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1097
+ x = this.getBBox().width;
1098
+ });
1099
+ x += r1 + 10;
1100
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", r1).attr("stroke", "black").attr("fill", "none");
1101
+ leng.append("text").text(20).attr("x", x).attr("y", y).attr("text-anchor", "middle").attr("dominant-baseline", "middle");
1102
+ x += r1 + r2 + 10;
1103
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", r2).attr("stroke", "black").attr("fill", "none");
1104
+ leng.append("text").text(maxtotal).attr("x", x).attr("y", y).attr("text-anchor", "middle").attr("dominant-baseline", "middle");
1105
+ y += r2 + 10;
1106
+ leng.append("text").text("Indel").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1107
+ x = this.getBBox().width;
1108
+ });
1109
+ leng.append("circle").attr("cx", x + 10 + indelboxw / 2).attr("cy", y).attr("r", indelboxw / 2).attr("fill", "black").attr("fill-opacity", 0.3);
1110
+ y += 30;
1111
+ leng.append("text").text("chrX").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1112
+ x = this.getBBox().width;
1113
+ });
1114
+ x += r1 + 10;
1115
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", 10).attr("stroke", "black").attr("stroke-dasharray", "5,5").attr("fill", "none");
1116
+ y += 30;
1117
+ leng.append("text").text("D. CNV/LOH").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1118
+ x = this.getBBox().width;
1119
+ });
1120
+ x += r1 + 10;
1121
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", 10).attr("stroke", "black").attr("fill", "none");
1122
+ leng.append("circle").attr("cx", x).attr("cy", y + 10).attr("r", r_cnvloh).attr("fill", "black");
1123
+ y += 30;
1124
+ leng.append("text").text("R. CNV/LOH").attr("y", y).attr("dominant-baseline", "central").each(function() {
1125
+ x = this.getBBox().width;
1126
+ });
1127
+ x += r1 + 10;
1128
+ leng.append("circle").attr("cx", x).attr("cy", y).attr("r", 10).attr("stroke", "black").attr("fill", "none");
1129
+ leng.append("circle").attr("cx", x - 10).attr("cy", y).attr("r", r_cnvloh).attr("fill", "black");
1130
+ y += 30;
1131
+ if (pdata.purity1 != void 0 || pdata.purity2 != void 0) {
1132
+ leng.append("text").text("Expected MAF").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1133
+ x = this.getBBox().width;
1134
+ });
1135
+ x += 10;
1136
+ leng.append("rect").attr("fill", emaflinecolor).attr("x", x).attr("y", y).attr("width", 40).attr("height", 3);
1137
+ y += 30;
1138
+ }
1139
+ const renderedsymbols = Object.keys(bysymbol);
1140
+ if (renderedsymbols.length) {
1141
+ leng.append("text").text("Symbols").attr("y", y).attr("dominant-baseline", "middle").each(function() {
1142
+ x = this.getBBox().width;
1143
+ });
1144
+ let x1;
1145
+ for (const symbolname in bysymbol) {
1146
+ const s = bysymbol[symbolname];
1147
+ const g3 = leng.append("g").on("click", () => {
1148
+ s.hidden = !s.hidden;
1149
+ svg.selectAll(".twodmaf-" + symbolname).style("display", s.hidden ? "none" : "");
1150
+ label.style("text-decoration", s.hidden ? "line-through" : "");
1151
+ });
1152
+ x1 = x + 20;
1153
+ g3.append("path").attr("transform", "translate(" + x1 + "," + y + ")").attr("d", symbolgen.type(symbols[symbolname]).size(100)()).attr("stroke", "black").attr("fill", "none").each(function() {
1154
+ x1 += this.getBBox().width;
1155
+ });
1156
+ 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" : "");
1157
+ y += 30;
1158
+ }
1159
+ y += 30;
1160
+ }
1161
+ const g2m = {}, g1 = {}, g2 = {}, gs = {};
1162
+ for (const m of mlst) {
1163
+ if (!m.gene)
1164
+ continue;
1165
+ if (!(m.gene in g2m)) {
1166
+ g2m[m.gene] = [];
1167
+ }
1168
+ g2m[m.gene].push(m);
1169
+ if (m.set_1) {
1170
+ g1[m.gene] = 1;
1171
+ } else if (m.set_2) {
1172
+ g2[m.gene] = 1;
1173
+ } else if (m.set_share) {
1174
+ gs[m.gene] = 1;
1175
+ }
1176
+ }
1177
+ const genelst = [];
1178
+ for (const n in g1) {
1179
+ genelst.push(n);
1180
+ }
1181
+ for (const n in g2) {
1182
+ if (!(n in g1)) {
1183
+ genelst.push(n);
1184
+ }
1185
+ }
1186
+ for (const n in gs) {
1187
+ if (!(n in g1) && !(n in g2)) {
1188
+ genelst.push(n);
1189
+ }
1190
+ }
1191
+ 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");
1192
+ {
1193
+ const tr2 = table.append("tr");
1194
+ tr2.append("td").text("Gene");
1195
+ tr2.append("td").text(pdata.setname[1] + " only");
1196
+ tr2.append("td").text(pdata.setname[2] + " only");
1197
+ tr2.append("td").text("Shared");
1198
+ }
1199
+ let bg = true;
1200
+ for (const name of genelst) {
1201
+ const tr2 = table.append("tr");
1202
+ if (bg) {
1203
+ tr2.style("background-color", "#f3f3f3");
1204
+ }
1205
+ bg = !bg;
1206
+ tr2.append("td").text(name);
1207
+ let mlst2 = [];
1208
+ if (name in g2m) {
1209
+ mlst2 = g2m[name];
1210
+ }
1211
+ const s1 = [], s2 = [], ss = [];
1212
+ for (const m of mlst2) {
1213
+ if (m.set_share)
1214
+ ss.push(m);
1215
+ else if (m.set_1)
1216
+ s1.push(m);
1217
+ else if (m.set_2)
1218
+ s2.push(m);
1219
+ }
1220
+ let td = tr2.append("td");
1221
+ if (s1.length) {
1222
+ for (const m of s1) {
1223
+ const div = td.append("div").attr("class", "sja_clbtext").style("color", m.style.fillhl).text(m.mname || "").on("click", (event) => {
1224
+ click(event.target, m, select_set1);
1225
+ });
1226
+ if (m.labelIsVisible) {
1227
+ click(div.node(), m, select_set1);
1228
+ }
1229
+ }
1230
+ }
1231
+ td = tr2.append("td");
1232
+ if (s2.length) {
1233
+ for (const m of s2) {
1234
+ const div = td.append("div").attr("class", "sja_clbtext").style("color", m.style.fillhl).text(m.mname || "").on("click", (event) => {
1235
+ click(event.target, m, select_set2);
1236
+ });
1237
+ if (m.labelIsVisible) {
1238
+ click(div.node(), m, select_set1);
1239
+ }
1240
+ }
1241
+ }
1242
+ td = tr2.append("td");
1243
+ if (ss.length) {
1244
+ for (const m of ss) {
1245
+ const div = td.append("div").attr("class", "sja_clbtext").style("color", m.style.fillhl).text(m.mname || "").on("click", (event) => {
1246
+ click(event.target, m, select_share);
1247
+ });
1248
+ if (m.labelIsVisible) {
1249
+ click(div.node(), m, select_set1);
1250
+ }
1251
+ }
1252
+ }
1253
+ }
1254
+ function click(butt, m, select) {
1255
+ if (m.selected) {
1256
+ butt.style.border = "";
1257
+ m.selected = false;
1258
+ } else {
1259
+ butt.style.border = "solid 1px black";
1260
+ m.selected = true;
1261
+ }
1262
+ const found = select.filter((d) => {
1263
+ return d.gene == m.gene && d.class == m.class && d.mname == m.mname;
1264
+ });
1265
+ found.selectAll("rect").attr("fill-opacity", m.selected ? 0.5 : m.style.fillopacity).attr("fill", m.selected ? m.style.fillhl : m.style.fill);
1266
+ 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);
1267
+ if (m.selected) {
1268
+ let x2 = Math.max(20, m.radius), y2 = 0;
1269
+ if ((m.set_1 || m.set_share) && m.maf1 >= 0.8) {
1270
+ x2 = -m.radius;
1271
+ y2 = m.radius * 2;
1272
+ }
1273
+ const g3 = found.append("g").attr("class", "sja_2dmaf_mlabel").attr("transform", "translate(" + x2 + "," + y2 + ")");
1274
+ let w;
1275
+ 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() {
1276
+ w = this.getBBox().width;
1277
+ });
1278
+ 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) => {
1279
+ const x0 = x2, y0 = y2, mx = event.clientX, my = event.clientY, body = select_default(document.body);
1280
+ body.on("mousemove", (event2) => {
1281
+ event2.preventDefault();
1282
+ x2 = x0 + event2.clientX - mx;
1283
+ y2 = y0 + event2.clientY - my;
1284
+ g3.attr("transform", "translate(" + x2 + "," + y2 + ")");
1285
+ });
1286
+ body.on("mouseup", () => {
1287
+ body.on("mousemove", null).on("mouseup", null);
1288
+ });
1289
+ });
1290
+ } else {
1291
+ found.select(".sja_2dmaf_mlabel").remove();
1292
+ }
1293
+ }
1294
+ return outtable;
1295
+ }
1296
+ function d2maf_dotmover(event, m, tooltip) {
1297
+ if (!m.selected) {
1298
+ select_default(event.target).attr("fill", m.style.fillhl).attr("fill-opacity", 0.2);
1299
+ }
1300
+ tooltip.clear();
1301
+ tooltip.show(event.clientX, event.clientY);
1302
+ tooltip.d.append("div").html(
1303
+ (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>" : "")
1304
+ );
1305
+ }
1306
+ function d2maf_dotmout(event, m, tooltip) {
1307
+ if (!m.selected) {
1308
+ select_default(event.ele).attr("fill", m.style.fill).attr("fill-opacity", m.style.fillopacity).attr("stroke", m.style.stroke);
1309
+ }
1310
+ tooltip.hide();
1311
+ }
1312
+ function d2maf_minfo(event, header, m) {
1313
+ const pane = newpane({ x: event.clientX + 30, y: event.clientY - 30 });
1314
+ pane.header.text((m.gene ? m.gene : "No gene") + " " + (m.mname ? m.mname : ""));
1315
+ var data = [];
1316
+ for (let i = 0; i < header.length; i++) {
1317
+ data.push({ k: header[i], v: m[header[i]] });
1318
+ }
1319
+ make_table_2col(pane.body, data);
1320
+ }
1321
+ function d2maf_click(data, person) {
1322
+ const v = data.pairs[person];
1323
+ if (v.shown) {
1324
+ v.shown = false;
1325
+ v.holder.remove();
1326
+ if (v.handle) {
1327
+ v.handle.attr("font-weight", "normal");
1328
+ }
1329
+ } else {
1330
+ v.shown = true;
1331
+ if (v.holder) {
1332
+ data.showholder.node().appendChild(v.holder.node());
1333
+ } else {
1334
+ v.holder = d2maf_render(data.showholder, v);
1335
+ }
1336
+ if (v.handle) {
1337
+ v.handle.attr("font-weight", "bold");
1338
+ }
1339
+ }
1340
+ }
1341
+ function d2maf_peopletable(data, holder) {
1342
+ const plst = [];
1343
+ for (const n in data.pairs) {
1344
+ plst.push([n, data.pairs[n].mlst.length]);
1345
+ }
1346
+ holder.selectAll("*").remove();
1347
+ const searchrow = holder.append("div").style("margin-bottom", "5px");
1348
+ searchrow.append("span").text(plst.length + " individual" + (plst.length > 1 ? "s" : ""));
1349
+ const svg = holder.append("svg");
1350
+ const space = 5, axish = 20, rowh = data.rowh;
1351
+ let maxlabelw = 0;
1352
+ for (const s of plst) {
1353
+ svg.append("text").text(s[0]).attr("font-size", rowh).attr("font-family", font).each(function() {
1354
+ maxlabelw = Math.max(maxlabelw, this.getBBox().width);
1355
+ }).remove();
1356
+ }
1357
+ svg.attr("width", maxlabelw + space + data.peoplewidth + 30).attr("height", axish + space + rowh * plst.length);
1358
+ plst.sort((a, b) => b[1] - a[1]);
1359
+ let maxmcount = 0;
1360
+ for (const k in data.pairs) {
1361
+ maxmcount = Math.max(maxmcount, data.pairs[k].mlst.length);
1362
+ }
1363
+ const ag = svg.append("g").attr("transform", "translate(" + (maxlabelw + space) + "," + axish + ")").call(
1364
+ axisTop().scale(linear().domain([0, maxmcount]).range([0, data.peoplewidth])).tickFormat(format("d")).ticks(3)
1365
+ );
1366
+ axisstyle({
1367
+ axis: ag,
1368
+ showline: true,
1369
+ color: "black"
1370
+ });
1371
+ const wsf = data.peoplewidth / maxmcount;
1372
+ let y = axish + space;
1373
+ for (const s of plst) {
1374
+ const person = s[0];
1375
+ 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", () => {
1376
+ d2maf_click(data, person);
1377
+ });
1378
+ let m1 = 0, m2 = 0, ms = 0;
1379
+ for (const m of data.pairs[person].mlst) {
1380
+ if (m.set_1)
1381
+ m1++;
1382
+ else if (m.set_2)
1383
+ m2++;
1384
+ else if (m.set_share)
1385
+ ms++;
1386
+ }
1387
+ const g = svg.append("g").attr("transform", "translate(" + (maxlabelw + space) + "," + y + ")");
1388
+ if (m1 > 0) {
1389
+ g.append("rect").attr("width", wsf * m1).attr("height", rowh - 1).attr("fill", data.color1);
1390
+ }
1391
+ if (ms > 0) {
1392
+ g.append("rect").attr("x", wsf * m1).attr("width", wsf * ms).attr("height", rowh - 1).attr("fill", data.colorshare);
1393
+ }
1394
+ if (m2 > 0) {
1395
+ g.append("rect").attr("x", wsf * (m1 + ms)).attr("width", wsf * m2).attr("height", rowh - 1).attr("fill", data.color2);
1396
+ }
1397
+ y += rowh;
1398
+ }
1399
+ }
1400
+ export {
1401
+ d2mafparseinput,
1402
+ d2mafui
1403
+ };
1404
+ //# sourceMappingURL=2dmaf-INIPPZFM.js.map