@sjcrh/proteinpaint-client 2.219.1 → 2.221.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 (983) hide show
  1. package/dist/2dmaf-7YU3SNKL.js +1362 -0
  2. package/dist/AggMatrixInput-73CDR5FS.js +402 -0
  3. package/dist/AggregateMatrix-NNULVFBM.js +37 -0
  4. package/dist/AppHeader-EZDDLLXU.js +826 -0
  5. package/dist/BoxPlot-463E7CRY.js +1229 -0
  6. package/dist/CorrelationVolcano-LHIIMBPP.js +613 -0
  7. package/dist/Cuminc-UL2TCIKV.js +1217 -0
  8. package/dist/DE-VRFSKFDW.js +85 -0
  9. package/dist/DEinput-FZTQRWVC.js +479 -0
  10. package/dist/DM-PO7CQZNT.js +86 -0
  11. package/dist/DifferentialAnalysis-WK6HE3YH.js +236 -0
  12. package/dist/Disco-YBNQJQFG.js +3384 -0
  13. package/dist/Disco.UI-HC5XYBFV.js +239 -0
  14. package/dist/DmrPlot-7VJ5C66D.js +361 -0
  15. package/dist/GB-VPFQRDRO.js +1388 -0
  16. package/dist/GSEA-ZEJB3QZQ.js +870 -0
  17. package/dist/GeneExpInput-SBDDIY6G.js +38 -0
  18. package/dist/Geomap-23AHGP2V.js +80 -0
  19. package/dist/HicApp-7AQQE4CM.js +2240 -0
  20. package/dist/IDCViewer-NO5Q6VOB.js +10808 -0
  21. package/dist/NumBinaryEditor-DSRP4OOU.js +274 -0
  22. package/dist/NumBinaryEditor.unit.spec-TT666YL4.js +308 -0
  23. package/dist/NumContEditor-6CURFOCH.js +100 -0
  24. package/dist/NumContEditor.unit.spec-MNVCFCMP.js +160 -0
  25. package/dist/NumCustomBinEditor-SQRR5EFL.js +29 -0
  26. package/dist/NumCustomBinEditor.unit.spec-F7BZWGGT.js +393 -0
  27. package/dist/NumDiscreteEditor-U7Z2QNYP.js +165 -0
  28. package/dist/NumDiscreteEditor.unit.spec-EIEBUZCX.js +229 -0
  29. package/dist/NumRegularBinEditor-CVZSWN6Y.js +29 -0
  30. package/dist/NumRegularBinEditor.unit.spec-ZMAJOIHL.js +274 -0
  31. package/dist/NumSplineEditor-U43D5NBJ.js +205 -0
  32. package/dist/NumSplineEditor.unit.spec-C52AADTS.js +220 -0
  33. package/dist/NumericDensity-PUKDZOVI.js +29 -0
  34. package/dist/NumericDensity.unit.spec-2347S76D.js +414 -0
  35. package/dist/NumericHandler-3RT32PTR.js +30 -0
  36. package/dist/NumericHandler.unit.spec-4PADL4KZ.js +225 -0
  37. package/dist/ProteomeInput-NFV4FW4U.js +610 -0
  38. package/dist/Regression-N7M7N6G4.js +1412 -0
  39. package/dist/RunChart2-UPQ7C6QE.js +744 -0
  40. package/dist/SC-KBW2NHUV.js +1290 -0
  41. package/dist/Violin-GWCOP3ZF.js +1092 -0
  42. package/dist/Volcano-X3HT32GQ.js +2661 -0
  43. package/dist/Volcano-X3HT32GQ.js.map +7 -0
  44. package/dist/Wsi-NXAEOYIS.js +636 -0
  45. package/dist/aboutSunburst-5EKXZV2A.js +86 -0
  46. package/dist/aboutSunburst-5EKXZV2A.js.map +7 -0
  47. package/dist/adSandbox-RPEWEEW7.js +29 -0
  48. package/dist/animatedBubbleChart-ILDMZRBX.js +542 -0
  49. package/dist/app-LOUC4J47.js +28 -0
  50. package/dist/app-MRKXZ6AZ.js +38 -0
  51. package/dist/app.js +15 -15
  52. package/dist/bam-SQWPHCZZ.js +872 -0
  53. package/dist/bam-SQWPHCZZ.js.map +7 -0
  54. package/dist/barchart-CJR37234.js +38 -0
  55. package/dist/barchart2-QQYLTHWR.js +305 -0
  56. package/dist/block-GLF6QNKY.js +6203 -0
  57. package/dist/block-GLF6QNKY.js.map +7 -0
  58. package/dist/block.init-YJQTJIDO.js +29 -0
  59. package/dist/block.mds.expressionrank-GBMEI5KQ.js +350 -0
  60. package/dist/block.mds.geneboxplot-XWE3E5IW.js +819 -0
  61. package/dist/block.mds.junction-QLEHFVPE.js +1534 -0
  62. package/dist/block.mds.svcnv-53DTOPBC.js +6413 -0
  63. package/dist/block.svg-57T37ABS.js +155 -0
  64. package/dist/block.tk.aicheck-6DXJTS3H.js +274 -0
  65. package/dist/block.tk.bam-CJFFQDNX.js +1906 -0
  66. package/dist/block.tk.bam-CJFFQDNX.js.map +7 -0
  67. package/dist/block.tk.bigwig.ui-OYIVXE2L.js +202 -0
  68. package/dist/block.tk.hicstraw-UKTGEBWT.js +814 -0
  69. package/dist/block.tk.junction-ZU5KPFQ3.js +2353 -0
  70. package/dist/block.tk.junction.textmatrixui-P4WXTAZR.js +190 -0
  71. package/dist/block.tk.ld-3PQ4O2AE.js +90 -0
  72. package/dist/block.tk.menu-LLITB6UA.js +1050 -0
  73. package/dist/block.tk.pgv-Y3FBXUO3.js +934 -0
  74. package/dist/brainImaging-4B3WXLNP.js +550 -0
  75. package/dist/brainRegions-7VLONUWN.js +213 -0
  76. package/dist/bubbleHeatmap-DI6GJRR6.js +374 -0
  77. package/dist/cellTypeBubbleHeatmap-HJY53DB2.js +274 -0
  78. package/dist/chunk-226MNBZ2.js +240 -0
  79. package/dist/chunk-2CDFU4MQ.js +536 -0
  80. package/dist/chunk-2CDFU4MQ.js.map +7 -0
  81. package/dist/chunk-2CNFGVHU.js +257 -0
  82. package/dist/chunk-2MC3RNKA.js +2685 -0
  83. package/dist/chunk-2OMX5AYB.js +195 -0
  84. package/dist/chunk-2SL4QWUS.js +50 -0
  85. package/dist/chunk-3KGBC5MK.js +692 -0
  86. package/dist/chunk-3PCRAPUV.js +56 -0
  87. package/dist/chunk-4DBOMSKP.js +102 -0
  88. package/dist/chunk-4TJO2DGU.js +2297 -0
  89. package/dist/chunk-4TJO2DGU.js.map +7 -0
  90. package/dist/chunk-57BS6KNI.js +466 -0
  91. package/dist/chunk-5AXS5G4A.js +2334 -0
  92. package/dist/chunk-5DI4UNH5.js +562 -0
  93. package/dist/chunk-5HJG6ECV.js +237 -0
  94. package/dist/chunk-5ZYANHGX.js +550 -0
  95. package/dist/chunk-6T4MN7LV.js +397 -0
  96. package/dist/chunk-75MRUW2K.js +103 -0
  97. package/dist/chunk-7J3W3KCN.js +255 -0
  98. package/dist/chunk-7SFK32JP.js +398 -0
  99. package/dist/chunk-7SFK32JP.js.map +7 -0
  100. package/dist/chunk-AIZYAKIE.js +182 -0
  101. package/dist/chunk-AJNFI6GA.js +2008 -0
  102. package/dist/chunk-BJAWDZBL.js +2799 -0
  103. package/dist/chunk-C6PVZVIH.js +379 -0
  104. package/dist/chunk-C77X5ZUV.js +176 -0
  105. package/dist/chunk-C7KUMZQM.js +59 -0
  106. package/dist/chunk-C7ROKWV2.js +140 -0
  107. package/dist/chunk-CAH6LJ5Z.js +31 -0
  108. package/dist/chunk-CUCP2GMT.js +102 -0
  109. package/dist/chunk-DTGAMBRJ.js +134 -0
  110. package/dist/chunk-DXT7GDHY.js +55 -0
  111. package/dist/chunk-ENPMWVWG.js +5214 -0
  112. package/dist/chunk-EYKJQJ7R.js +382 -0
  113. package/dist/chunk-FE5TCBIT.js +30 -0
  114. package/dist/chunk-FJ2JV2VK.js +217 -0
  115. package/dist/chunk-FPMJJBLV.js +4389 -0
  116. package/dist/chunk-FPMJJBLV.js.map +7 -0
  117. package/dist/chunk-FZYVPRVQ.js +38 -0
  118. package/dist/chunk-GBKQHVKJ.js +274 -0
  119. package/dist/chunk-GUW7VTUL.js +281 -0
  120. package/dist/chunk-H7F6DMJA.js +70 -0
  121. package/dist/chunk-HH3NUAR2.js +96 -0
  122. package/dist/chunk-HRTPGNOG.js +159 -0
  123. package/dist/chunk-IFPRYTS7.js +848 -0
  124. package/dist/chunk-IJSFSUI4.js +302 -0
  125. package/dist/chunk-IRQKX6DL.js +263 -0
  126. package/dist/chunk-JHLF2ZC2.js +472 -0
  127. package/dist/chunk-JNZL7HKB.js +1219 -0
  128. package/dist/chunk-K2ARLT2A.js +26 -0
  129. package/dist/chunk-K3G56J5R.js +299 -0
  130. package/dist/chunk-KKUCG2QE.js +516 -0
  131. package/dist/chunk-KPXCXBNU.js +626 -0
  132. package/dist/chunk-LF5WBI27.js +418 -0
  133. package/dist/chunk-LF5WBI27.js.map +7 -0
  134. package/dist/chunk-MANAUI7R.js +54 -0
  135. package/dist/chunk-MEUSRAOE.js +170 -0
  136. package/dist/chunk-MHWYRNGA.js +348 -0
  137. package/dist/chunk-MSTYU3QO.js +14 -0
  138. package/dist/chunk-MWARRQT4.js +141 -0
  139. package/dist/chunk-MXKYPTZ7.js +203 -0
  140. package/dist/chunk-NX5IB4IY.js +37 -0
  141. package/dist/chunk-OZUF7O2S.js +133 -0
  142. package/dist/chunk-PRTLCJYF.js +2941 -0
  143. package/dist/chunk-PRTLCJYF.js.map +7 -0
  144. package/dist/chunk-PWYMHUXY.js +116 -0
  145. package/dist/chunk-PWYMHUXY.js.map +7 -0
  146. package/dist/chunk-QNCE6EOK.js +82 -0
  147. package/dist/chunk-RIHO7ZD5.js +119 -0
  148. package/dist/chunk-RV335DF2.js +266 -0
  149. package/dist/chunk-SFPZUBPM.js +2102 -0
  150. package/dist/chunk-SFPZUBPM.js.map +7 -0
  151. package/dist/chunk-THAUD62Q.js +1253 -0
  152. package/dist/chunk-VBTBUXXX.js +6375 -0
  153. package/dist/chunk-VHWJK2MP.js +56 -0
  154. package/dist/chunk-VLIOMJDR.js +276 -0
  155. package/dist/chunk-VMK4RHV5.js +54 -0
  156. package/dist/chunk-WD7FZ5EE.js +26536 -0
  157. package/dist/chunk-WD7FZ5EE.js.map +7 -0
  158. package/dist/chunk-WJLRU5OF.js +5786 -0
  159. package/dist/chunk-WJLRU5OF.js.map +7 -0
  160. package/dist/chunk-WKT7RF3C.js +468 -0
  161. package/dist/chunk-WXSMUSU7.js +184 -0
  162. package/dist/chunk-WXSX5OQJ.js +296 -0
  163. package/dist/chunk-WY3IORKG.js +194 -0
  164. package/dist/chunk-WYSOOKFJ.js +480 -0
  165. package/dist/chunk-XBBFFOLS.js +123 -0
  166. package/dist/chunk-XSRQGX5H.js +340 -0
  167. package/dist/chunk-YLL6CTBL.js +54 -0
  168. package/dist/chunk-YPBY37KD.js +1339 -0
  169. package/dist/chunk-YUNJBIK4.js +243 -0
  170. package/dist/chunk-Z5ECCUNG.js +444 -0
  171. package/dist/chunk-ZAC34BZQ.js +35 -0
  172. package/dist/chunk-ZAC34BZQ.js.map +7 -0
  173. package/dist/cohort-5WL6UJOS.js +66 -0
  174. package/dist/cohortSunburst-R3Z5KJQL.js +402 -0
  175. package/dist/condition-2IILUMVB.js +323 -0
  176. package/dist/controls-G3JITZF5.js +30 -0
  177. package/dist/controls.config-BO7KPPET.js +30 -0
  178. package/dist/correlation-CZILLVEM.js +91 -0
  179. package/dist/customdata.inputui-BXFQAMTR.js +280 -0
  180. package/dist/dataDownload-QTWR4IW7.js +326 -0
  181. package/dist/dataDownload-QTWR4IW7.js.map +7 -0
  182. package/dist/databrowser.ui-V2NJQF3U.js +421 -0
  183. package/dist/dictionary-OVAQX6R3.js +109 -0
  184. package/dist/dnaMethylation-DHPFRXB2.js +29 -0
  185. package/dist/dnaMethylation.integration.spec-PJLIRGN5.js +194 -0
  186. package/dist/dofetch-KBTN6OW4.js +49 -0
  187. package/dist/e2pca-O7SNMJGB.js +340 -0
  188. package/dist/ep-NIVLKG4S.js +1247 -0
  189. package/dist/expclust.gdc.spec-LVCD6C43.js +298 -0
  190. package/dist/facet-LB4SCXE4.js +556 -0
  191. package/dist/gb-3IJ4NCPO.js +77 -0
  192. package/dist/geneExpClustering-SIAC7CMA.js +240 -0
  193. package/dist/geneExpression-KPUOZ4PT.js +309 -0
  194. package/dist/geneExpression-P2TTZXN2.js +29 -0
  195. package/dist/geneExpression.unit.spec-Q5D6XHUF.js +151 -0
  196. package/dist/geneORA-PKUIJKTL.js +269 -0
  197. package/dist/geneRanking-ZGT5MHBV.js +544 -0
  198. package/dist/geneVariant-24YNANTT.js +289 -0
  199. package/dist/geneVariant-CDGENHWQ.js +32 -0
  200. package/dist/geneVariant.integration.spec-7QW4C2WO.js +672 -0
  201. package/dist/genefusion.ui-NVXGSBXD.js +299 -0
  202. package/dist/geneset-7STL6UDD.js +199 -0
  203. package/dist/genomeBrowser.spec-OE2CIP7I.js +272 -0
  204. package/dist/grin2-2HXUIY5O.js +66 -0
  205. package/dist/grin2-32IIJR5E.js +945 -0
  206. package/dist/hierCluster-MDZEI2KB.js +51 -0
  207. package/dist/hierCluster-T3PZUGBI.js +55 -0
  208. package/dist/hierCluster.config-7UN6AYGB.js +32 -0
  209. package/dist/hierCluster.integration.spec-DWOYVK6T.js +479 -0
  210. package/dist/hierCluster.interactivity-5OM6XNFG.js +45 -0
  211. package/dist/hierCluster.renderers-YGX6MZZW.js +18 -0
  212. package/dist/imagePlot-KBRXDV5G.js +152 -0
  213. package/dist/importPlot-DJMIC22L.js +8 -0
  214. package/dist/isoformExpression-SWDWADRC.js +31 -0
  215. package/dist/isoformExpression.unit.spec-2U5KCYBP.js +233 -0
  216. package/dist/junction-NMXVVGRG.js +32 -0
  217. package/dist/junction.customTerm-3R2GNE3A.js +15 -0
  218. package/dist/junction.unit.spec-JTGBPPN7.js +178 -0
  219. package/dist/launch.adhoc-YB5SKMNY.js +33 -0
  220. package/dist/leftlabel.sample-QKXIODCS.js +253 -0
  221. package/dist/lollipop-TSZ62PBH.js +162 -0
  222. package/dist/maf-4L5YN4CG.js +451 -0
  223. package/dist/maftimeline-VOYB3NY3.js +583 -0
  224. package/dist/matrix-IWJECVTF.js +55 -0
  225. package/dist/matrix-MMJAJZA7.js +50 -0
  226. package/dist/matrix.cells-5RTZUJVN.js +25 -0
  227. package/dist/matrix.config-DZGOZWJS.js +33 -0
  228. package/dist/matrix.data-Y5TPRGMW.js +22 -0
  229. package/dist/matrix.groups-6DXCAY4P.js +25 -0
  230. package/dist/matrix.integration.spec-2N237E7T.js +3156 -0
  231. package/dist/matrix.interactivity-FL33UUKR.js +33 -0
  232. package/dist/matrix.layout-7SYHV3KJ.js +35 -0
  233. package/dist/matrix.legend-S3E76TVO.js +19 -0
  234. package/dist/matrix.renderers-3SIBT2RP.js +30 -0
  235. package/dist/matrix.serieses-3UGLZW25.js +18 -0
  236. package/dist/matrix.sort-A7CNLDUJ.js +25 -0
  237. package/dist/matrix.sort.unit.spec-L3H44T6I.js +464 -0
  238. package/dist/matrix.sorterUi-6PZR3YOD.js +15 -0
  239. package/dist/matrix.sorterUi.unit.spec-2NRU5UFH.js +334 -0
  240. package/dist/matrix.unit.spec-HRZIJB6T.js +146 -0
  241. package/dist/mavb-ZVRQSDPS.js +726 -0
  242. package/dist/mds.fimo-ZKETTET7.js +509 -0
  243. package/dist/mds.samplescatterplot-ZV3UNRLP.js +1545 -0
  244. package/dist/mds.survivalplot-OVXZRTU4.js +472 -0
  245. package/dist/multivalue-6BE5IA4F.js +79 -0
  246. package/dist/numericDictTermCluster-6XDVVWLE.js +62 -0
  247. package/dist/oncomatrix-XK62NEOO.js +286 -0
  248. package/dist/oncomatrix.spec-YVTCHOPS.js +439 -0
  249. package/dist/plot.2dvaf-NUOBWMNX.js +368 -0
  250. package/dist/plot.app-G6IQWXTV.js +32 -0
  251. package/dist/plot.barplot-6QJ6HEJR.js +93 -0
  252. package/dist/plot.boxplot-XKQJSW2O.js +142 -0
  253. package/dist/plot.brainImaging-UTHFJFXU.js +51 -0
  254. package/dist/plot.disco-3MSCX7TM.js +98 -0
  255. package/dist/plot.ssgq-4KBVHF42.js +130 -0
  256. package/dist/plot.vaf2cov-OGUQSSDS.js +249 -0
  257. package/dist/polar2-V7M56GTZ.js +228 -0
  258. package/dist/profileForms-TS3BJLHH.js +937 -0
  259. package/dist/profilePlot-DP5272HR.js +45 -0
  260. package/dist/proteinView-K4K4SP3L.js +1346 -0
  261. package/dist/proteomeCohortCompare-SFWVGLFK.js +866 -0
  262. package/dist/pseudbulk.unit.spec-NFOA7J2C.js +82 -0
  263. package/dist/pseudobulk-XKZQEZ4I.js +31 -0
  264. package/dist/qualitative-7OSFNVI5.js +241 -0
  265. package/dist/qualitative-OIIN6E4Y.js +34 -0
  266. package/dist/radar2-AHZJKX7S.js +323 -0
  267. package/dist/radarFacility2-OUW6D5E7.js +331 -0
  268. package/dist/rememberedGvQ.unit.spec-SHTMMZGG.js +210 -0
  269. package/dist/render-7UZSGX3Q.js +29 -0
  270. package/dist/report-J7HKTXZ2.js +213 -0
  271. package/dist/sampleView-6547OUIM.js +39 -0
  272. package/dist/samplelst-UHF23UEB.js +114 -0
  273. package/dist/samplematrix-OOKS3TMR.js +2188 -0
  274. package/dist/sc-WF2BLGNG.js +77 -0
  275. package/dist/scatter-ABCVFGRV.js +84 -0
  276. package/dist/scatter-WF7XM3IA.js +919 -0
  277. package/dist/selectGenomeWithTklst-67HU5KRB.js +125 -0
  278. package/dist/singleCellCellType-3FZPJ25V.js +29 -0
  279. package/dist/singleCellCellType.unit.spec-TOMREHWK.js +150 -0
  280. package/dist/singleCellGeneExpression-NQTJ5KJQ.js +29 -0
  281. package/dist/singleCellGeneExpression.unit.spec-ZWUQTU2N.js +144 -0
  282. package/dist/singleCellNumericValue-VI7H722L.js +29 -0
  283. package/dist/singleCellNumericValue.unit.spec-QGLHES7H.js +412 -0
  284. package/dist/singleCellPlot-RU5T6SJK.js +44 -0
  285. package/dist/singlecell-C3CJVNXP.js +1562 -0
  286. package/dist/singlecell-NRQZ7KC6.js +77 -0
  287. package/dist/snp-X6XY65VS.js +29 -0
  288. package/dist/snp.unit.spec-6EENK7GQ.js +167 -0
  289. package/dist/snplocus-R4JA6TFT.js +200 -0
  290. package/dist/snplst-SOWVHSXH.js +36 -0
  291. package/dist/spliceevent.a53ss.diagram-IRLCCVQZ.js +142 -0
  292. package/dist/spliceevent.exonskip.diagram-4KG7LE5D.js +274 -0
  293. package/dist/spliceevent.noeventdiagram-OWXAJJX7.js +451 -0
  294. package/dist/ssGSEA-EMOKPLMP.js +29 -0
  295. package/dist/ssGSEA.unit.spec-KXQ7R5WH.js +79 -0
  296. package/dist/stattable-H2G7MOZG.js +112 -0
  297. package/dist/studyCatalog-3ITQXWFL.js +457 -0
  298. package/dist/summarizeCnvGeneexp-ZIPU6YDY.js +154 -0
  299. package/dist/summarizeGeneexpSurvival-3RYU226R.js +101 -0
  300. package/dist/summarizeMutationCnv-RGDBUB22.js +155 -0
  301. package/dist/summarizeMutationDiagnosis-Z4MZE6Y4.js +31 -0
  302. package/dist/summarizeMutationSurvival-Z5CNRH7E.js +95 -0
  303. package/dist/summary-6QQCNX3B.js +40 -0
  304. package/dist/summary.integration.spec-3ULXTZUP.js +405 -0
  305. package/dist/summaryInput-4QKR34QB.js +238 -0
  306. package/dist/sunburst-KB3BWC72.js +34 -0
  307. package/dist/sunburst-XTFBHZNH.js +274 -0
  308. package/dist/survival-7O6ZK63E.js +49 -0
  309. package/dist/survival-NNCY4K6C.js +1248 -0
  310. package/dist/survival.integration.spec-ZYZHZAXA.js +609 -0
  311. package/dist/svgraph-ZLSFFEAC.js +1377 -0
  312. package/dist/svmr-REBBDEYM.js +3834 -0
  313. package/dist/swimmer-NUBRIWLI.js +993 -0
  314. package/dist/swimmer-NUBRIWLI.js.map +7 -0
  315. package/dist/table-CWIQQESJ.js +192 -0
  316. package/dist/termCollection-7TYJSQ45.js +29 -0
  317. package/dist/termCollection-7Z55QNL7.js +247 -0
  318. package/dist/termCollection.unit.spec-LQ5MIBDH.js +295 -0
  319. package/dist/termCollectionFractionSelection-24DZYVDU.js +38 -0
  320. package/dist/termCollectionFractionSelection.unit.spec-DCV2CFS5.js +184 -0
  321. package/dist/tk-2WZFPRCP.js +37 -0
  322. package/dist/tk-QTLEYIP7.js +1193 -0
  323. package/dist/tk-QTLEYIP7.js.map +7 -0
  324. package/dist/tp.ui-HXQX2UH4.js +1453 -0
  325. package/dist/tvs.categorical-4D3JI2ER.js +28 -0
  326. package/dist/tvs.condition-62FXFHZ5.js +160 -0
  327. package/dist/tvs.density-IGO4I4T2.js +19 -0
  328. package/dist/tvs.dt-FZSVMJOO.js +34 -0
  329. package/dist/tvs.dtcnv.categorical-PPFQIC42.js +31 -0
  330. package/dist/tvs.dtcnv.continuous-TV2IGHY4.js +72 -0
  331. package/dist/tvs.dtfusion-ON4BA4XJ.js +31 -0
  332. package/dist/tvs.dtitd-VFNROOWQ.js +31 -0
  333. package/dist/tvs.dtsnvindel-ZXOP37T5.js +31 -0
  334. package/dist/tvs.dtsv-EUHPTW7J.js +31 -0
  335. package/dist/tvs.multivalue-NHVXZNDI.js +84 -0
  336. package/dist/tvs.numeric-FPWDPO3J.js +32 -0
  337. package/dist/tvs.samplelst-ZZHRNUP4.js +95 -0
  338. package/dist/tvs.survival-F3KSG3U6.js +110 -0
  339. package/dist/tvs.termCollection-B37DZLDY.js +118 -0
  340. package/dist/vocabulary-XNE5FFDK.js +32 -0
  341. package/dist/vocabulary-XNE5FFDK.js.map +7 -0
  342. package/dist/wsi.direct-3YH3QGQD.js +11514 -0
  343. package/package.json +4 -4
  344. package/dist/2dmaf-O2SQ5RGD.js +0 -1362
  345. package/dist/AggMatrixInput-LUCTWXHU.js +0 -402
  346. package/dist/AggregateMatrix-JVMF27YL.js +0 -37
  347. package/dist/AppHeader-DJU6HRKO.js +0 -826
  348. package/dist/BoxPlot-22RXMPRL.js +0 -1229
  349. package/dist/CorrelationVolcano-PBZWPFSN.js +0 -613
  350. package/dist/Cuminc-EL74X5GY.js +0 -1217
  351. package/dist/DE-W5SAMMRW.js +0 -85
  352. package/dist/DEinput-ZKEFJZQU.js +0 -479
  353. package/dist/DM-ABKDXMDG.js +0 -86
  354. package/dist/DifferentialAnalysis-3JTZ5WCQ.js +0 -236
  355. package/dist/Disco-ME53U25C.js +0 -3384
  356. package/dist/Disco.UI-F7XKJMKR.js +0 -239
  357. package/dist/DmrPlot-OWBXUTON.js +0 -361
  358. package/dist/GB-7X6DBWKS.js +0 -1388
  359. package/dist/GSEA-GAZIEGD7.js +0 -870
  360. package/dist/GeneExpInput-BAOC6ICV.js +0 -38
  361. package/dist/Geomap-OZERLL7V.js +0 -80
  362. package/dist/HicApp-WDH5LVTD.js +0 -2240
  363. package/dist/IDCViewer-XBZFU3BU.js +0 -10808
  364. package/dist/NumBinaryEditor-5R4EUQOZ.js +0 -274
  365. package/dist/NumBinaryEditor.unit.spec-ULBXMOYY.js +0 -308
  366. package/dist/NumContEditor-EN6V4FLQ.js +0 -100
  367. package/dist/NumContEditor.unit.spec-VDWKNIFN.js +0 -160
  368. package/dist/NumCustomBinEditor-UB34ALNZ.js +0 -29
  369. package/dist/NumCustomBinEditor.unit.spec-WZXJ7GEC.js +0 -393
  370. package/dist/NumDiscreteEditor-H6J67YEL.js +0 -165
  371. package/dist/NumDiscreteEditor.unit.spec-KJ7YU22W.js +0 -229
  372. package/dist/NumRegularBinEditor-R5JVUG7J.js +0 -29
  373. package/dist/NumRegularBinEditor.unit.spec-RZ73FMNO.js +0 -274
  374. package/dist/NumSplineEditor-AOR6OAJA.js +0 -205
  375. package/dist/NumSplineEditor.unit.spec-Z6ZEI3UO.js +0 -220
  376. package/dist/NumericDensity-SRTFTDQA.js +0 -29
  377. package/dist/NumericDensity.unit.spec-MRREBAYU.js +0 -414
  378. package/dist/NumericHandler-7RALUACA.js +0 -30
  379. package/dist/NumericHandler.unit.spec-MDO23WRB.js +0 -225
  380. package/dist/ProteomeInput-MOBXHRD5.js +0 -610
  381. package/dist/Regression-XWT4NNTG.js +0 -1412
  382. package/dist/RunChart2-Q7W5MWJS.js +0 -744
  383. package/dist/SC-MM3JTEVL.js +0 -1290
  384. package/dist/Violin-XNTBDUPG.js +0 -1092
  385. package/dist/Volcano-GRKXU3WL.js +0 -2619
  386. package/dist/Volcano-GRKXU3WL.js.map +0 -7
  387. package/dist/Wsi-22KJSFVH.js +0 -636
  388. package/dist/adSandbox-TLYWQOOA.js +0 -29
  389. package/dist/animatedBubbleChart-67SY5JGP.js +0 -542
  390. package/dist/app-FG3KPE4R.js +0 -28
  391. package/dist/app-VK5LYO6B.js +0 -38
  392. package/dist/bam-TNLNISLV.js +0 -872
  393. package/dist/bam-TNLNISLV.js.map +0 -7
  394. package/dist/barchart-IGWRVB6W.js +0 -38
  395. package/dist/barchart2-TT6OBJJP.js +0 -305
  396. package/dist/block-5PV2TYWJ.js +0 -6232
  397. package/dist/block-5PV2TYWJ.js.map +0 -7
  398. package/dist/block.init-2Y6CNK7H.js +0 -29
  399. package/dist/block.mds.expressionrank-VZ4JVPTG.js +0 -350
  400. package/dist/block.mds.geneboxplot-NYMS32JP.js +0 -819
  401. package/dist/block.mds.junction-3R6C3B5W.js +0 -1534
  402. package/dist/block.mds.svcnv-SO5CYYIQ.js +0 -6413
  403. package/dist/block.svg-R4ASXXNW.js +0 -155
  404. package/dist/block.tk.aicheck-LYRTDZRA.js +0 -274
  405. package/dist/block.tk.bam-GR7CHGGQ.js +0 -1897
  406. package/dist/block.tk.bam-GR7CHGGQ.js.map +0 -7
  407. package/dist/block.tk.bedgraphdot-GERXK2O6.js +0 -375
  408. package/dist/block.tk.bedgraphdot-GERXK2O6.js.map +0 -7
  409. package/dist/block.tk.bigwig.ui-3KMMZX2M.js +0 -202
  410. package/dist/block.tk.hicstraw-7HH4PGFY.js +0 -814
  411. package/dist/block.tk.junction-BPEKLYS2.js +0 -2353
  412. package/dist/block.tk.junction.textmatrixui-2QU5DL2X.js +0 -190
  413. package/dist/block.tk.ld-TJREYPNY.js +0 -90
  414. package/dist/block.tk.menu-HDBZK4YP.js +0 -1050
  415. package/dist/block.tk.pgv-G5GCYBK2.js +0 -934
  416. package/dist/brainImaging-ODWHF7WZ.js +0 -550
  417. package/dist/brainRegions-DC7DEA7N.js +0 -213
  418. package/dist/bubbleHeatmap-T5ACULRL.js +0 -374
  419. package/dist/cellTypeBubbleHeatmap-RQINXXTK.js +0 -274
  420. package/dist/chunk-24ZS2XWC.js +0 -176
  421. package/dist/chunk-2EPEWVKQ.js +0 -4378
  422. package/dist/chunk-2EPEWVKQ.js.map +0 -7
  423. package/dist/chunk-2PHFY3VP.js +0 -195
  424. package/dist/chunk-2QFMKWNS.js +0 -281
  425. package/dist/chunk-2UB6JZ3I.js +0 -466
  426. package/dist/chunk-3GQ54XTJ.js +0 -70
  427. package/dist/chunk-3IE6FDVA.js +0 -1253
  428. package/dist/chunk-4ENIOXIT.js +0 -133
  429. package/dist/chunk-4OOQ52ET.js +0 -182
  430. package/dist/chunk-5NI77Z3O.js +0 -119
  431. package/dist/chunk-5TPWMYBG.js +0 -274
  432. package/dist/chunk-64JHE3GV.js +0 -50
  433. package/dist/chunk-6MUJGVOH.js +0 -140
  434. package/dist/chunk-6XKAOSQE.js +0 -116
  435. package/dist/chunk-6XKAOSQE.js.map +0 -7
  436. package/dist/chunk-6YGSVJJD.js +0 -54
  437. package/dist/chunk-7PQVNQFR.js +0 -255
  438. package/dist/chunk-7XW4JWMJ.js +0 -170
  439. package/dist/chunk-7ZEJKFGW.js +0 -55
  440. package/dist/chunk-A6ZUYQHO.js +0 -159
  441. package/dist/chunk-ALIMVUHR.js +0 -1219
  442. package/dist/chunk-ANBGNYNP.js +0 -1339
  443. package/dist/chunk-ATZNXW5F.js +0 -237
  444. package/dist/chunk-AUPTEHV7.js +0 -257
  445. package/dist/chunk-B2KYLEYM.js +0 -30
  446. package/dist/chunk-BJCET6RU.js +0 -263
  447. package/dist/chunk-BKW35Z4U.js +0 -26619
  448. package/dist/chunk-BKW35Z4U.js.map +0 -7
  449. package/dist/chunk-CJHNPYFQ.js +0 -2292
  450. package/dist/chunk-CJHNPYFQ.js.map +0 -7
  451. package/dist/chunk-CTVPW77S.js +0 -194
  452. package/dist/chunk-D6U65W7Q.js +0 -626
  453. package/dist/chunk-DJMDETVU.js +0 -2685
  454. package/dist/chunk-DKPAOVJH.js +0 -243
  455. package/dist/chunk-DRESQF33.js +0 -38
  456. package/dist/chunk-DXM5MQCZ.js +0 -382
  457. package/dist/chunk-ETXOEP4N.js +0 -184
  458. package/dist/chunk-FOUMNTII.js +0 -134
  459. package/dist/chunk-FTGLS763.js +0 -56
  460. package/dist/chunk-GN2A5NL5.js +0 -472
  461. package/dist/chunk-GWNCQ5YI.js +0 -468
  462. package/dist/chunk-GX6G2SSW.js +0 -26
  463. package/dist/chunk-H3YF55ZI.js +0 -848
  464. package/dist/chunk-IANE75G3.js +0 -444
  465. package/dist/chunk-IKZQST6E.js +0 -5213
  466. package/dist/chunk-IPRYYK26.js +0 -96
  467. package/dist/chunk-JL3PYV5F.js +0 -6375
  468. package/dist/chunk-K6VYSDB5.js +0 -276
  469. package/dist/chunk-KSS26PXB.js +0 -54
  470. package/dist/chunk-LO2QBHP6.js +0 -418
  471. package/dist/chunk-LO2QBHP6.js.map +0 -7
  472. package/dist/chunk-LSRFRZNP.js +0 -59
  473. package/dist/chunk-LYX4S6WA.js +0 -266
  474. package/dist/chunk-ME3HB3V6.js +0 -5787
  475. package/dist/chunk-ME3HB3V6.js.map +0 -7
  476. package/dist/chunk-MP7BA3GK.js +0 -14
  477. package/dist/chunk-MVSUESEV.js +0 -141
  478. package/dist/chunk-NQMS7WV3.js +0 -2799
  479. package/dist/chunk-NR6WFCPF.js +0 -348
  480. package/dist/chunk-NS2MZN3C.js +0 -562
  481. package/dist/chunk-NUA66GW7.js +0 -37
  482. package/dist/chunk-NYEFSOKD.js +0 -550
  483. package/dist/chunk-OVHQFZAE.js +0 -34
  484. package/dist/chunk-OVHQFZAE.js.map +0 -7
  485. package/dist/chunk-QM724EG2.js +0 -103
  486. package/dist/chunk-RIL33JCW.js +0 -102
  487. package/dist/chunk-RJAJG5KN.js +0 -2954
  488. package/dist/chunk-RJAJG5KN.js.map +0 -7
  489. package/dist/chunk-SLHXR4BZ.js +0 -82
  490. package/dist/chunk-SO76DLSZ.js +0 -299
  491. package/dist/chunk-T7CKGRGP.js +0 -398
  492. package/dist/chunk-T7CKGRGP.js.map +0 -7
  493. package/dist/chunk-TUO5I6LP.js +0 -123
  494. package/dist/chunk-TWTPWEYL.js +0 -240
  495. package/dist/chunk-U2GHNZ4N.js +0 -54
  496. package/dist/chunk-UAB5PGOP.js +0 -56
  497. package/dist/chunk-UCB3W3OT.js +0 -217
  498. package/dist/chunk-UJIB7QM3.js +0 -2334
  499. package/dist/chunk-UYQGTW7I.js +0 -1857
  500. package/dist/chunk-UYQGTW7I.js.map +0 -7
  501. package/dist/chunk-VBDJG6GZ.js +0 -2008
  502. package/dist/chunk-VOXUMZMG.js +0 -379
  503. package/dist/chunk-WCNMP54T.js +0 -516
  504. package/dist/chunk-WETOH7YW.js +0 -692
  505. package/dist/chunk-WKGKKM6F.js +0 -480
  506. package/dist/chunk-WV44DGEJ.js +0 -397
  507. package/dist/chunk-XVEEMQAT.js +0 -31
  508. package/dist/chunk-YBOHXANC.js +0 -302
  509. package/dist/chunk-YNQFOPS6.js +0 -203
  510. package/dist/chunk-YVQ4USPP.js +0 -340
  511. package/dist/chunk-ZWLT5QS3.js +0 -102
  512. package/dist/chunk-ZYAZHJPZ.js +0 -296
  513. package/dist/cohort-QSLKB4ZO.js +0 -66
  514. package/dist/cohortSunburst-AQFSNJ5K.js +0 -402
  515. package/dist/condition-MLS6TJHV.js +0 -323
  516. package/dist/controls-ZT3GZ667.js +0 -30
  517. package/dist/controls.config-F7NIPLKB.js +0 -30
  518. package/dist/correlation-ZEIQJGSQ.js +0 -91
  519. package/dist/customdata.inputui-6PJSAJK2.js +0 -280
  520. package/dist/dataDownload-CHMPXHBY.js +0 -325
  521. package/dist/dataDownload-CHMPXHBY.js.map +0 -7
  522. package/dist/databrowser.ui-EMZ5L2Y7.js +0 -421
  523. package/dist/dictionary-U2BWGY6B.js +0 -109
  524. package/dist/dnaMethylation-R34E2XNC.js +0 -29
  525. package/dist/dnaMethylation.integration.spec-4Z2AJHWY.js +0 -194
  526. package/dist/dofetch-JY4A7BYI.js +0 -47
  527. package/dist/e2pca-WSSCXX6A.js +0 -340
  528. package/dist/ep-ATUWEHDJ.js +0 -1247
  529. package/dist/expclust.gdc.spec-QRIRRPO7.js +0 -298
  530. package/dist/facet-5VDCSP3S.js +0 -556
  531. package/dist/gb-Y4UG6LFA.js +0 -77
  532. package/dist/geneExpClustering-OO67JNJ2.js +0 -240
  533. package/dist/geneExpression-5KGV3MAA.js +0 -29
  534. package/dist/geneExpression-KPRFXKU7.js +0 -309
  535. package/dist/geneExpression.unit.spec-YV45EZ5O.js +0 -151
  536. package/dist/geneORA-R74JPUTC.js +0 -269
  537. package/dist/geneRanking-IJTXNMHV.js +0 -544
  538. package/dist/geneVariant-HBAHT6LU.js +0 -32
  539. package/dist/geneVariant-JT3EGAIH.js +0 -289
  540. package/dist/geneVariant.integration.spec-TFQYPUAS.js +0 -672
  541. package/dist/genefusion.ui-MMTQMTHC.js +0 -299
  542. package/dist/geneset-VMBICNCZ.js +0 -199
  543. package/dist/genomeBrowser.spec-2XLLIYGA.js +0 -272
  544. package/dist/grin2-2RYPEUWV.js +0 -66
  545. package/dist/grin2-Y6KAFVV2.js +0 -945
  546. package/dist/hierCluster-EKGFBQT4.js +0 -51
  547. package/dist/hierCluster-Z4PVNMGS.js +0 -55
  548. package/dist/hierCluster.config-Q6WUNK2K.js +0 -32
  549. package/dist/hierCluster.integration.spec-2LHSHNFC.js +0 -479
  550. package/dist/hierCluster.interactivity-OGQ3KUY6.js +0 -45
  551. package/dist/hierCluster.renderers-3GJZXG75.js +0 -18
  552. package/dist/imagePlot-ZJEZPBX7.js +0 -152
  553. package/dist/importPlot-GFEFYEHZ.js +0 -8
  554. package/dist/isoformExpression-A2X3DSR6.js +0 -31
  555. package/dist/isoformExpression.unit.spec-VKMEGCL4.js +0 -233
  556. package/dist/junction-HWIHLQU2.js +0 -32
  557. package/dist/junction.customTerm-C3VWXEYH.js +0 -15
  558. package/dist/junction.unit.spec-ZYJGDOXJ.js +0 -178
  559. package/dist/launch.adhoc-HW5AZM4T.js +0 -33
  560. package/dist/leftlabel.sample-MTW2HRRQ.js +0 -253
  561. package/dist/lollipop-VWW5H6CR.js +0 -162
  562. package/dist/maf-KEJYO3H4.js +0 -451
  563. package/dist/maftimeline-MJZDSGSR.js +0 -583
  564. package/dist/matrix-3UJW6LOA.js +0 -50
  565. package/dist/matrix-W4AX5OBM.js +0 -55
  566. package/dist/matrix.cells-5DAIZ3E5.js +0 -25
  567. package/dist/matrix.config-PK26VPQT.js +0 -33
  568. package/dist/matrix.data-UK5DGKBK.js +0 -22
  569. package/dist/matrix.groups-NM4Q5YDN.js +0 -25
  570. package/dist/matrix.integration.spec-FGWNBCRR.js +0 -3156
  571. package/dist/matrix.interactivity-4C37PII5.js +0 -33
  572. package/dist/matrix.layout-ODV7WXUP.js +0 -35
  573. package/dist/matrix.legend-5MY7OXWN.js +0 -19
  574. package/dist/matrix.renderers-QA7W7ZUL.js +0 -30
  575. package/dist/matrix.serieses-4FSFJPCK.js +0 -18
  576. package/dist/matrix.sort-3QLFMBJ5.js +0 -25
  577. package/dist/matrix.sort.unit.spec-HVOC6IYT.js +0 -464
  578. package/dist/matrix.sorterUi-EY3SA6CG.js +0 -15
  579. package/dist/matrix.sorterUi.unit.spec-OAXWPZZI.js +0 -334
  580. package/dist/matrix.unit.spec-RAL7AU22.js +0 -146
  581. package/dist/mavb-KIM63AC4.js +0 -726
  582. package/dist/mds.fimo-DMAVM56P.js +0 -509
  583. package/dist/mds.samplescatterplot-KILTR2C7.js +0 -1545
  584. package/dist/mds.survivalplot-PV76ANBP.js +0 -472
  585. package/dist/multivalue-2V5LMQY7.js +0 -79
  586. package/dist/numericDictTermCluster-TGL4X6UC.js +0 -62
  587. package/dist/oncomatrix-2O7SLXHX.js +0 -286
  588. package/dist/oncomatrix.spec-HZJKOF5G.js +0 -439
  589. package/dist/plot.2dvaf-424NNMMA.js +0 -368
  590. package/dist/plot.app-YBZDNST2.js +0 -32
  591. package/dist/plot.barplot-YZQBYJUY.js +0 -93
  592. package/dist/plot.boxplot-5OW6IBQL.js +0 -142
  593. package/dist/plot.brainImaging-H3ABPPD3.js +0 -51
  594. package/dist/plot.disco-X7KCDWGX.js +0 -98
  595. package/dist/plot.ssgq-GYRVHTC7.js +0 -130
  596. package/dist/plot.vaf2cov-B2TELPHL.js +0 -249
  597. package/dist/polar2-5KNZRLXY.js +0 -228
  598. package/dist/profileForms-FY34KXCL.js +0 -937
  599. package/dist/profilePlot-3FX2TPYC.js +0 -45
  600. package/dist/proteinView-WSEO3LD3.js +0 -1346
  601. package/dist/proteomeCohortCompare-KA2DF3EE.js +0 -866
  602. package/dist/pseudbulk.unit.spec-AT3TFCOW.js +0 -82
  603. package/dist/pseudobulk-4ZRHUC7W.js +0 -31
  604. package/dist/qualitative-3OBGJRP6.js +0 -241
  605. package/dist/qualitative-FHJD44OA.js +0 -34
  606. package/dist/radar2-X757WR6V.js +0 -323
  607. package/dist/radarFacility2-GUBAK4Y3.js +0 -331
  608. package/dist/rememberedGvQ.unit.spec-ADO4Y2OE.js +0 -210
  609. package/dist/render-MZEPNEMU.js +0 -29
  610. package/dist/report-TUAFDGAE.js +0 -213
  611. package/dist/sampleView-X6YKCBE7.js +0 -39
  612. package/dist/samplelst-UPNRALBH.js +0 -114
  613. package/dist/samplematrix-W3HZK3IS.js +0 -2188
  614. package/dist/sc-UL7233UR.js +0 -77
  615. package/dist/scatter-FTJ77NUM.js +0 -919
  616. package/dist/scatter-VQQRIW6N.js +0 -84
  617. package/dist/selectGenomeWithTklst-HPYPSPFI.js +0 -125
  618. package/dist/singleCellCellType-XTKGOH6H.js +0 -29
  619. package/dist/singleCellCellType.unit.spec-A62GT72A.js +0 -150
  620. package/dist/singleCellGeneExpression-X7H5GTU3.js +0 -29
  621. package/dist/singleCellGeneExpression.unit.spec-2KQBHG7O.js +0 -144
  622. package/dist/singleCellNumericValue-6YS42PZ2.js +0 -29
  623. package/dist/singleCellNumericValue.unit.spec-DNVXQFKI.js +0 -412
  624. package/dist/singleCellPlot-MGOQ7EQV.js +0 -44
  625. package/dist/singlecell-CIOB5XON.js +0 -77
  626. package/dist/singlecell-QW3SLQD6.js +0 -1562
  627. package/dist/snp-6B4MIPKL.js +0 -29
  628. package/dist/snp.unit.spec-HNILS56E.js +0 -167
  629. package/dist/snplocus-DDFLYZ2Y.js +0 -200
  630. package/dist/snplst-JYKOV73J.js +0 -36
  631. package/dist/spliceevent.a53ss.diagram-IBD5ITXR.js +0 -142
  632. package/dist/spliceevent.exonskip.diagram-ZJGEVUYW.js +0 -274
  633. package/dist/spliceevent.noeventdiagram-RNLNTFOW.js +0 -451
  634. package/dist/ssGSEA-42VQLAXL.js +0 -29
  635. package/dist/ssGSEA.unit.spec-FBJANIKG.js +0 -79
  636. package/dist/stattable-FROSNTJY.js +0 -112
  637. package/dist/studyCatalog-XIYNJ24U.js +0 -457
  638. package/dist/summarizeCnvGeneexp-N3OFI24L.js +0 -154
  639. package/dist/summarizeGeneexpSurvival-J4DO2AL4.js +0 -101
  640. package/dist/summarizeMutationCnv-Y43BBSI4.js +0 -155
  641. package/dist/summarizeMutationDiagnosis-JAEAUFCA.js +0 -31
  642. package/dist/summarizeMutationSurvival-4QZDDXDV.js +0 -95
  643. package/dist/summary-DTJZ7NNA.js +0 -40
  644. package/dist/summary.integration.spec-HRRE3J45.js +0 -405
  645. package/dist/summaryInput-WCADUZBK.js +0 -238
  646. package/dist/sunburst-BGXSCB63.js +0 -274
  647. package/dist/sunburst-DSFFFP33.js +0 -504
  648. package/dist/sunburst-DSFFFP33.js.map +0 -7
  649. package/dist/survival-LFXQIWRT.js +0 -49
  650. package/dist/survival-ONWZ5RFM.js +0 -1248
  651. package/dist/survival.integration.spec-ZP7XWHQH.js +0 -609
  652. package/dist/svgraph-2SL2SJVU.js +0 -1377
  653. package/dist/svmr-ONIPMLC2.js +0 -3834
  654. package/dist/swimmer-2EJZH5PP.js +0 -785
  655. package/dist/swimmer-2EJZH5PP.js.map +0 -7
  656. package/dist/table-LLCFO4KK.js +0 -192
  657. package/dist/termCollection-DAHJGR5P.js +0 -247
  658. package/dist/termCollection-QIN53TIL.js +0 -29
  659. package/dist/termCollection.unit.spec-FQOX2IVP.js +0 -295
  660. package/dist/termCollectionFractionSelection-UKEVVZXL.js +0 -38
  661. package/dist/termCollectionFractionSelection.unit.spec-URGEYBU2.js +0 -184
  662. package/dist/tk-4PYQ6WJQ.js +0 -1116
  663. package/dist/tk-4PYQ6WJQ.js.map +0 -7
  664. package/dist/tk-GM7CJ2LU.js +0 -37
  665. package/dist/tp.ui-TRUHW6GP.js +0 -1453
  666. package/dist/tvs.categorical-IY6YSFVN.js +0 -28
  667. package/dist/tvs.condition-YTD7GOPW.js +0 -160
  668. package/dist/tvs.density-CB24PXDE.js +0 -19
  669. package/dist/tvs.dt-AQQIZD5Z.js +0 -34
  670. package/dist/tvs.dtcnv.categorical-WOAOGJSW.js +0 -31
  671. package/dist/tvs.dtcnv.continuous-TJBEPJGO.js +0 -72
  672. package/dist/tvs.dtfusion-SFMZQKKU.js +0 -31
  673. package/dist/tvs.dtitd-Q5RQTCLD.js +0 -31
  674. package/dist/tvs.dtsnvindel-UEK4O6WI.js +0 -31
  675. package/dist/tvs.dtsv-ECS4KEYG.js +0 -31
  676. package/dist/tvs.multivalue-CJIZ3I54.js +0 -84
  677. package/dist/tvs.numeric-UFAOJR2B.js +0 -32
  678. package/dist/tvs.samplelst-BVFY2P7Q.js +0 -95
  679. package/dist/tvs.survival-L56B3I55.js +0 -110
  680. package/dist/tvs.termCollection-BFIBVBSA.js +0 -118
  681. package/dist/vocabulary-MTKDDDGB.js +0 -32
  682. package/dist/wsi.direct-OSHY7VL4.js +0 -11514
  683. /package/dist/{2dmaf-O2SQ5RGD.js.map → 2dmaf-7YU3SNKL.js.map} +0 -0
  684. /package/dist/{AggMatrixInput-LUCTWXHU.js.map → AggMatrixInput-73CDR5FS.js.map} +0 -0
  685. /package/dist/{AggregateMatrix-JVMF27YL.js.map → AggregateMatrix-NNULVFBM.js.map} +0 -0
  686. /package/dist/{AppHeader-DJU6HRKO.js.map → AppHeader-EZDDLLXU.js.map} +0 -0
  687. /package/dist/{BoxPlot-22RXMPRL.js.map → BoxPlot-463E7CRY.js.map} +0 -0
  688. /package/dist/{CorrelationVolcano-PBZWPFSN.js.map → CorrelationVolcano-LHIIMBPP.js.map} +0 -0
  689. /package/dist/{Cuminc-EL74X5GY.js.map → Cuminc-UL2TCIKV.js.map} +0 -0
  690. /package/dist/{DE-W5SAMMRW.js.map → DE-VRFSKFDW.js.map} +0 -0
  691. /package/dist/{DEinput-ZKEFJZQU.js.map → DEinput-FZTQRWVC.js.map} +0 -0
  692. /package/dist/{DM-ABKDXMDG.js.map → DM-PO7CQZNT.js.map} +0 -0
  693. /package/dist/{DifferentialAnalysis-3JTZ5WCQ.js.map → DifferentialAnalysis-WK6HE3YH.js.map} +0 -0
  694. /package/dist/{Disco-ME53U25C.js.map → Disco-YBNQJQFG.js.map} +0 -0
  695. /package/dist/{Disco.UI-F7XKJMKR.js.map → Disco.UI-HC5XYBFV.js.map} +0 -0
  696. /package/dist/{DmrPlot-OWBXUTON.js.map → DmrPlot-7VJ5C66D.js.map} +0 -0
  697. /package/dist/{GB-7X6DBWKS.js.map → GB-VPFQRDRO.js.map} +0 -0
  698. /package/dist/{GSEA-GAZIEGD7.js.map → GSEA-ZEJB3QZQ.js.map} +0 -0
  699. /package/dist/{GeneExpInput-BAOC6ICV.js.map → GeneExpInput-SBDDIY6G.js.map} +0 -0
  700. /package/dist/{Geomap-OZERLL7V.js.map → Geomap-23AHGP2V.js.map} +0 -0
  701. /package/dist/{HicApp-WDH5LVTD.js.map → HicApp-7AQQE4CM.js.map} +0 -0
  702. /package/dist/{IDCViewer-XBZFU3BU.js.map → IDCViewer-NO5Q6VOB.js.map} +0 -0
  703. /package/dist/{NumBinaryEditor-5R4EUQOZ.js.map → NumBinaryEditor-DSRP4OOU.js.map} +0 -0
  704. /package/dist/{NumBinaryEditor.unit.spec-ULBXMOYY.js.map → NumBinaryEditor.unit.spec-TT666YL4.js.map} +0 -0
  705. /package/dist/{NumContEditor-EN6V4FLQ.js.map → NumContEditor-6CURFOCH.js.map} +0 -0
  706. /package/dist/{NumContEditor.unit.spec-VDWKNIFN.js.map → NumContEditor.unit.spec-MNVCFCMP.js.map} +0 -0
  707. /package/dist/{NumCustomBinEditor-UB34ALNZ.js.map → NumCustomBinEditor-SQRR5EFL.js.map} +0 -0
  708. /package/dist/{NumCustomBinEditor.unit.spec-WZXJ7GEC.js.map → NumCustomBinEditor.unit.spec-F7BZWGGT.js.map} +0 -0
  709. /package/dist/{NumDiscreteEditor-H6J67YEL.js.map → NumDiscreteEditor-U7Z2QNYP.js.map} +0 -0
  710. /package/dist/{NumDiscreteEditor.unit.spec-KJ7YU22W.js.map → NumDiscreteEditor.unit.spec-EIEBUZCX.js.map} +0 -0
  711. /package/dist/{NumRegularBinEditor-R5JVUG7J.js.map → NumRegularBinEditor-CVZSWN6Y.js.map} +0 -0
  712. /package/dist/{NumRegularBinEditor.unit.spec-RZ73FMNO.js.map → NumRegularBinEditor.unit.spec-ZMAJOIHL.js.map} +0 -0
  713. /package/dist/{NumSplineEditor-AOR6OAJA.js.map → NumSplineEditor-U43D5NBJ.js.map} +0 -0
  714. /package/dist/{NumSplineEditor.unit.spec-Z6ZEI3UO.js.map → NumSplineEditor.unit.spec-C52AADTS.js.map} +0 -0
  715. /package/dist/{NumericDensity-SRTFTDQA.js.map → NumericDensity-PUKDZOVI.js.map} +0 -0
  716. /package/dist/{NumericDensity.unit.spec-MRREBAYU.js.map → NumericDensity.unit.spec-2347S76D.js.map} +0 -0
  717. /package/dist/{NumericHandler-7RALUACA.js.map → NumericHandler-3RT32PTR.js.map} +0 -0
  718. /package/dist/{NumericHandler.unit.spec-MDO23WRB.js.map → NumericHandler.unit.spec-4PADL4KZ.js.map} +0 -0
  719. /package/dist/{ProteomeInput-MOBXHRD5.js.map → ProteomeInput-NFV4FW4U.js.map} +0 -0
  720. /package/dist/{Regression-XWT4NNTG.js.map → Regression-N7M7N6G4.js.map} +0 -0
  721. /package/dist/{RunChart2-Q7W5MWJS.js.map → RunChart2-UPQ7C6QE.js.map} +0 -0
  722. /package/dist/{SC-MM3JTEVL.js.map → SC-KBW2NHUV.js.map} +0 -0
  723. /package/dist/{Violin-XNTBDUPG.js.map → Violin-GWCOP3ZF.js.map} +0 -0
  724. /package/dist/{Wsi-22KJSFVH.js.map → Wsi-NXAEOYIS.js.map} +0 -0
  725. /package/dist/{adSandbox-TLYWQOOA.js.map → adSandbox-RPEWEEW7.js.map} +0 -0
  726. /package/dist/{animatedBubbleChart-67SY5JGP.js.map → animatedBubbleChart-ILDMZRBX.js.map} +0 -0
  727. /package/dist/{app-FG3KPE4R.js.map → app-LOUC4J47.js.map} +0 -0
  728. /package/dist/{app-VK5LYO6B.js.map → app-MRKXZ6AZ.js.map} +0 -0
  729. /package/dist/{barchart-IGWRVB6W.js.map → barchart-CJR37234.js.map} +0 -0
  730. /package/dist/{barchart2-TT6OBJJP.js.map → barchart2-QQYLTHWR.js.map} +0 -0
  731. /package/dist/{block.init-2Y6CNK7H.js.map → block.init-YJQTJIDO.js.map} +0 -0
  732. /package/dist/{block.mds.expressionrank-VZ4JVPTG.js.map → block.mds.expressionrank-GBMEI5KQ.js.map} +0 -0
  733. /package/dist/{block.mds.geneboxplot-NYMS32JP.js.map → block.mds.geneboxplot-XWE3E5IW.js.map} +0 -0
  734. /package/dist/{block.mds.junction-3R6C3B5W.js.map → block.mds.junction-QLEHFVPE.js.map} +0 -0
  735. /package/dist/{block.mds.svcnv-SO5CYYIQ.js.map → block.mds.svcnv-53DTOPBC.js.map} +0 -0
  736. /package/dist/{block.svg-R4ASXXNW.js.map → block.svg-57T37ABS.js.map} +0 -0
  737. /package/dist/{block.tk.aicheck-LYRTDZRA.js.map → block.tk.aicheck-6DXJTS3H.js.map} +0 -0
  738. /package/dist/{block.tk.bigwig.ui-3KMMZX2M.js.map → block.tk.bigwig.ui-OYIVXE2L.js.map} +0 -0
  739. /package/dist/{block.tk.hicstraw-7HH4PGFY.js.map → block.tk.hicstraw-UKTGEBWT.js.map} +0 -0
  740. /package/dist/{block.tk.junction-BPEKLYS2.js.map → block.tk.junction-ZU5KPFQ3.js.map} +0 -0
  741. /package/dist/{block.tk.junction.textmatrixui-2QU5DL2X.js.map → block.tk.junction.textmatrixui-P4WXTAZR.js.map} +0 -0
  742. /package/dist/{block.tk.ld-TJREYPNY.js.map → block.tk.ld-3PQ4O2AE.js.map} +0 -0
  743. /package/dist/{block.tk.menu-HDBZK4YP.js.map → block.tk.menu-LLITB6UA.js.map} +0 -0
  744. /package/dist/{block.tk.pgv-G5GCYBK2.js.map → block.tk.pgv-Y3FBXUO3.js.map} +0 -0
  745. /package/dist/{brainImaging-ODWHF7WZ.js.map → brainImaging-4B3WXLNP.js.map} +0 -0
  746. /package/dist/{brainRegions-DC7DEA7N.js.map → brainRegions-7VLONUWN.js.map} +0 -0
  747. /package/dist/{bubbleHeatmap-T5ACULRL.js.map → bubbleHeatmap-DI6GJRR6.js.map} +0 -0
  748. /package/dist/{cellTypeBubbleHeatmap-RQINXXTK.js.map → cellTypeBubbleHeatmap-HJY53DB2.js.map} +0 -0
  749. /package/dist/{chunk-TWTPWEYL.js.map → chunk-226MNBZ2.js.map} +0 -0
  750. /package/dist/{chunk-AUPTEHV7.js.map → chunk-2CNFGVHU.js.map} +0 -0
  751. /package/dist/{chunk-DJMDETVU.js.map → chunk-2MC3RNKA.js.map} +0 -0
  752. /package/dist/{chunk-2PHFY3VP.js.map → chunk-2OMX5AYB.js.map} +0 -0
  753. /package/dist/{chunk-64JHE3GV.js.map → chunk-2SL4QWUS.js.map} +0 -0
  754. /package/dist/{chunk-WETOH7YW.js.map → chunk-3KGBC5MK.js.map} +0 -0
  755. /package/dist/{chunk-UAB5PGOP.js.map → chunk-3PCRAPUV.js.map} +0 -0
  756. /package/dist/{chunk-ZWLT5QS3.js.map → chunk-4DBOMSKP.js.map} +0 -0
  757. /package/dist/{chunk-2UB6JZ3I.js.map → chunk-57BS6KNI.js.map} +0 -0
  758. /package/dist/{chunk-UJIB7QM3.js.map → chunk-5AXS5G4A.js.map} +0 -0
  759. /package/dist/{chunk-NS2MZN3C.js.map → chunk-5DI4UNH5.js.map} +0 -0
  760. /package/dist/{chunk-ATZNXW5F.js.map → chunk-5HJG6ECV.js.map} +0 -0
  761. /package/dist/{chunk-NYEFSOKD.js.map → chunk-5ZYANHGX.js.map} +0 -0
  762. /package/dist/{chunk-WV44DGEJ.js.map → chunk-6T4MN7LV.js.map} +0 -0
  763. /package/dist/{chunk-QM724EG2.js.map → chunk-75MRUW2K.js.map} +0 -0
  764. /package/dist/{chunk-7PQVNQFR.js.map → chunk-7J3W3KCN.js.map} +0 -0
  765. /package/dist/{chunk-4OOQ52ET.js.map → chunk-AIZYAKIE.js.map} +0 -0
  766. /package/dist/{chunk-VBDJG6GZ.js.map → chunk-AJNFI6GA.js.map} +0 -0
  767. /package/dist/{chunk-NQMS7WV3.js.map → chunk-BJAWDZBL.js.map} +0 -0
  768. /package/dist/{chunk-VOXUMZMG.js.map → chunk-C6PVZVIH.js.map} +0 -0
  769. /package/dist/{chunk-24ZS2XWC.js.map → chunk-C77X5ZUV.js.map} +0 -0
  770. /package/dist/{chunk-LSRFRZNP.js.map → chunk-C7KUMZQM.js.map} +0 -0
  771. /package/dist/{chunk-6MUJGVOH.js.map → chunk-C7ROKWV2.js.map} +0 -0
  772. /package/dist/{chunk-XVEEMQAT.js.map → chunk-CAH6LJ5Z.js.map} +0 -0
  773. /package/dist/{chunk-RIL33JCW.js.map → chunk-CUCP2GMT.js.map} +0 -0
  774. /package/dist/{chunk-FOUMNTII.js.map → chunk-DTGAMBRJ.js.map} +0 -0
  775. /package/dist/{chunk-7ZEJKFGW.js.map → chunk-DXT7GDHY.js.map} +0 -0
  776. /package/dist/{chunk-IKZQST6E.js.map → chunk-ENPMWVWG.js.map} +0 -0
  777. /package/dist/{chunk-DXM5MQCZ.js.map → chunk-EYKJQJ7R.js.map} +0 -0
  778. /package/dist/{chunk-B2KYLEYM.js.map → chunk-FE5TCBIT.js.map} +0 -0
  779. /package/dist/{chunk-UCB3W3OT.js.map → chunk-FJ2JV2VK.js.map} +0 -0
  780. /package/dist/{chunk-DRESQF33.js.map → chunk-FZYVPRVQ.js.map} +0 -0
  781. /package/dist/{chunk-5TPWMYBG.js.map → chunk-GBKQHVKJ.js.map} +0 -0
  782. /package/dist/{chunk-2QFMKWNS.js.map → chunk-GUW7VTUL.js.map} +0 -0
  783. /package/dist/{chunk-3GQ54XTJ.js.map → chunk-H7F6DMJA.js.map} +0 -0
  784. /package/dist/{chunk-IPRYYK26.js.map → chunk-HH3NUAR2.js.map} +0 -0
  785. /package/dist/{chunk-A6ZUYQHO.js.map → chunk-HRTPGNOG.js.map} +0 -0
  786. /package/dist/{chunk-H3YF55ZI.js.map → chunk-IFPRYTS7.js.map} +0 -0
  787. /package/dist/{chunk-YBOHXANC.js.map → chunk-IJSFSUI4.js.map} +0 -0
  788. /package/dist/{chunk-BJCET6RU.js.map → chunk-IRQKX6DL.js.map} +0 -0
  789. /package/dist/{chunk-GN2A5NL5.js.map → chunk-JHLF2ZC2.js.map} +0 -0
  790. /package/dist/{chunk-ALIMVUHR.js.map → chunk-JNZL7HKB.js.map} +0 -0
  791. /package/dist/{chunk-GX6G2SSW.js.map → chunk-K2ARLT2A.js.map} +0 -0
  792. /package/dist/{chunk-SO76DLSZ.js.map → chunk-K3G56J5R.js.map} +0 -0
  793. /package/dist/{chunk-WCNMP54T.js.map → chunk-KKUCG2QE.js.map} +0 -0
  794. /package/dist/{chunk-D6U65W7Q.js.map → chunk-KPXCXBNU.js.map} +0 -0
  795. /package/dist/{chunk-6YGSVJJD.js.map → chunk-MANAUI7R.js.map} +0 -0
  796. /package/dist/{chunk-7XW4JWMJ.js.map → chunk-MEUSRAOE.js.map} +0 -0
  797. /package/dist/{chunk-NR6WFCPF.js.map → chunk-MHWYRNGA.js.map} +0 -0
  798. /package/dist/{chunk-MP7BA3GK.js.map → chunk-MSTYU3QO.js.map} +0 -0
  799. /package/dist/{chunk-MVSUESEV.js.map → chunk-MWARRQT4.js.map} +0 -0
  800. /package/dist/{chunk-YNQFOPS6.js.map → chunk-MXKYPTZ7.js.map} +0 -0
  801. /package/dist/{chunk-NUA66GW7.js.map → chunk-NX5IB4IY.js.map} +0 -0
  802. /package/dist/{chunk-4ENIOXIT.js.map → chunk-OZUF7O2S.js.map} +0 -0
  803. /package/dist/{chunk-SLHXR4BZ.js.map → chunk-QNCE6EOK.js.map} +0 -0
  804. /package/dist/{chunk-5NI77Z3O.js.map → chunk-RIHO7ZD5.js.map} +0 -0
  805. /package/dist/{chunk-LYX4S6WA.js.map → chunk-RV335DF2.js.map} +0 -0
  806. /package/dist/{chunk-3IE6FDVA.js.map → chunk-THAUD62Q.js.map} +0 -0
  807. /package/dist/{chunk-JL3PYV5F.js.map → chunk-VBTBUXXX.js.map} +0 -0
  808. /package/dist/{chunk-FTGLS763.js.map → chunk-VHWJK2MP.js.map} +0 -0
  809. /package/dist/{chunk-K6VYSDB5.js.map → chunk-VLIOMJDR.js.map} +0 -0
  810. /package/dist/{chunk-U2GHNZ4N.js.map → chunk-VMK4RHV5.js.map} +0 -0
  811. /package/dist/{chunk-GWNCQ5YI.js.map → chunk-WKT7RF3C.js.map} +0 -0
  812. /package/dist/{chunk-ETXOEP4N.js.map → chunk-WXSMUSU7.js.map} +0 -0
  813. /package/dist/{chunk-ZYAZHJPZ.js.map → chunk-WXSX5OQJ.js.map} +0 -0
  814. /package/dist/{chunk-CTVPW77S.js.map → chunk-WY3IORKG.js.map} +0 -0
  815. /package/dist/{chunk-WKGKKM6F.js.map → chunk-WYSOOKFJ.js.map} +0 -0
  816. /package/dist/{chunk-TUO5I6LP.js.map → chunk-XBBFFOLS.js.map} +0 -0
  817. /package/dist/{chunk-YVQ4USPP.js.map → chunk-XSRQGX5H.js.map} +0 -0
  818. /package/dist/{chunk-KSS26PXB.js.map → chunk-YLL6CTBL.js.map} +0 -0
  819. /package/dist/{chunk-ANBGNYNP.js.map → chunk-YPBY37KD.js.map} +0 -0
  820. /package/dist/{chunk-DKPAOVJH.js.map → chunk-YUNJBIK4.js.map} +0 -0
  821. /package/dist/{chunk-IANE75G3.js.map → chunk-Z5ECCUNG.js.map} +0 -0
  822. /package/dist/{cohort-QSLKB4ZO.js.map → cohort-5WL6UJOS.js.map} +0 -0
  823. /package/dist/{cohortSunburst-AQFSNJ5K.js.map → cohortSunburst-R3Z5KJQL.js.map} +0 -0
  824. /package/dist/{condition-MLS6TJHV.js.map → condition-2IILUMVB.js.map} +0 -0
  825. /package/dist/{controls-ZT3GZ667.js.map → controls-G3JITZF5.js.map} +0 -0
  826. /package/dist/{controls.config-F7NIPLKB.js.map → controls.config-BO7KPPET.js.map} +0 -0
  827. /package/dist/{correlation-ZEIQJGSQ.js.map → correlation-CZILLVEM.js.map} +0 -0
  828. /package/dist/{customdata.inputui-6PJSAJK2.js.map → customdata.inputui-BXFQAMTR.js.map} +0 -0
  829. /package/dist/{databrowser.ui-EMZ5L2Y7.js.map → databrowser.ui-V2NJQF3U.js.map} +0 -0
  830. /package/dist/{dictionary-U2BWGY6B.js.map → dictionary-OVAQX6R3.js.map} +0 -0
  831. /package/dist/{dnaMethylation-R34E2XNC.js.map → dnaMethylation-DHPFRXB2.js.map} +0 -0
  832. /package/dist/{dnaMethylation.integration.spec-4Z2AJHWY.js.map → dnaMethylation.integration.spec-PJLIRGN5.js.map} +0 -0
  833. /package/dist/{dofetch-JY4A7BYI.js.map → dofetch-KBTN6OW4.js.map} +0 -0
  834. /package/dist/{e2pca-WSSCXX6A.js.map → e2pca-O7SNMJGB.js.map} +0 -0
  835. /package/dist/{ep-ATUWEHDJ.js.map → ep-NIVLKG4S.js.map} +0 -0
  836. /package/dist/{expclust.gdc.spec-QRIRRPO7.js.map → expclust.gdc.spec-LVCD6C43.js.map} +0 -0
  837. /package/dist/{facet-5VDCSP3S.js.map → facet-LB4SCXE4.js.map} +0 -0
  838. /package/dist/{gb-Y4UG6LFA.js.map → gb-3IJ4NCPO.js.map} +0 -0
  839. /package/dist/{geneExpClustering-OO67JNJ2.js.map → geneExpClustering-SIAC7CMA.js.map} +0 -0
  840. /package/dist/{geneExpression-KPRFXKU7.js.map → geneExpression-KPUOZ4PT.js.map} +0 -0
  841. /package/dist/{geneExpression-5KGV3MAA.js.map → geneExpression-P2TTZXN2.js.map} +0 -0
  842. /package/dist/{geneExpression.unit.spec-YV45EZ5O.js.map → geneExpression.unit.spec-Q5D6XHUF.js.map} +0 -0
  843. /package/dist/{geneORA-R74JPUTC.js.map → geneORA-PKUIJKTL.js.map} +0 -0
  844. /package/dist/{geneRanking-IJTXNMHV.js.map → geneRanking-ZGT5MHBV.js.map} +0 -0
  845. /package/dist/{geneVariant-JT3EGAIH.js.map → geneVariant-24YNANTT.js.map} +0 -0
  846. /package/dist/{geneVariant-HBAHT6LU.js.map → geneVariant-CDGENHWQ.js.map} +0 -0
  847. /package/dist/{geneVariant.integration.spec-TFQYPUAS.js.map → geneVariant.integration.spec-7QW4C2WO.js.map} +0 -0
  848. /package/dist/{genefusion.ui-MMTQMTHC.js.map → genefusion.ui-NVXGSBXD.js.map} +0 -0
  849. /package/dist/{geneset-VMBICNCZ.js.map → geneset-7STL6UDD.js.map} +0 -0
  850. /package/dist/{genomeBrowser.spec-2XLLIYGA.js.map → genomeBrowser.spec-OE2CIP7I.js.map} +0 -0
  851. /package/dist/{grin2-2RYPEUWV.js.map → grin2-2HXUIY5O.js.map} +0 -0
  852. /package/dist/{grin2-Y6KAFVV2.js.map → grin2-32IIJR5E.js.map} +0 -0
  853. /package/dist/{hierCluster-EKGFBQT4.js.map → hierCluster-MDZEI2KB.js.map} +0 -0
  854. /package/dist/{hierCluster-Z4PVNMGS.js.map → hierCluster-T3PZUGBI.js.map} +0 -0
  855. /package/dist/{hierCluster.config-Q6WUNK2K.js.map → hierCluster.config-7UN6AYGB.js.map} +0 -0
  856. /package/dist/{hierCluster.integration.spec-2LHSHNFC.js.map → hierCluster.integration.spec-DWOYVK6T.js.map} +0 -0
  857. /package/dist/{hierCluster.interactivity-OGQ3KUY6.js.map → hierCluster.interactivity-5OM6XNFG.js.map} +0 -0
  858. /package/dist/{hierCluster.renderers-3GJZXG75.js.map → hierCluster.renderers-YGX6MZZW.js.map} +0 -0
  859. /package/dist/{imagePlot-ZJEZPBX7.js.map → imagePlot-KBRXDV5G.js.map} +0 -0
  860. /package/dist/{importPlot-GFEFYEHZ.js.map → importPlot-DJMIC22L.js.map} +0 -0
  861. /package/dist/{isoformExpression-A2X3DSR6.js.map → isoformExpression-SWDWADRC.js.map} +0 -0
  862. /package/dist/{isoformExpression.unit.spec-VKMEGCL4.js.map → isoformExpression.unit.spec-2U5KCYBP.js.map} +0 -0
  863. /package/dist/{junction-HWIHLQU2.js.map → junction-NMXVVGRG.js.map} +0 -0
  864. /package/dist/{junction.customTerm-C3VWXEYH.js.map → junction.customTerm-3R2GNE3A.js.map} +0 -0
  865. /package/dist/{junction.unit.spec-ZYJGDOXJ.js.map → junction.unit.spec-JTGBPPN7.js.map} +0 -0
  866. /package/dist/{launch.adhoc-HW5AZM4T.js.map → launch.adhoc-YB5SKMNY.js.map} +0 -0
  867. /package/dist/{leftlabel.sample-MTW2HRRQ.js.map → leftlabel.sample-QKXIODCS.js.map} +0 -0
  868. /package/dist/{lollipop-VWW5H6CR.js.map → lollipop-TSZ62PBH.js.map} +0 -0
  869. /package/dist/{maf-KEJYO3H4.js.map → maf-4L5YN4CG.js.map} +0 -0
  870. /package/dist/{maftimeline-MJZDSGSR.js.map → maftimeline-VOYB3NY3.js.map} +0 -0
  871. /package/dist/{matrix-3UJW6LOA.js.map → matrix-IWJECVTF.js.map} +0 -0
  872. /package/dist/{matrix-W4AX5OBM.js.map → matrix-MMJAJZA7.js.map} +0 -0
  873. /package/dist/{matrix.cells-5DAIZ3E5.js.map → matrix.cells-5RTZUJVN.js.map} +0 -0
  874. /package/dist/{matrix.config-PK26VPQT.js.map → matrix.config-DZGOZWJS.js.map} +0 -0
  875. /package/dist/{matrix.data-UK5DGKBK.js.map → matrix.data-Y5TPRGMW.js.map} +0 -0
  876. /package/dist/{matrix.groups-NM4Q5YDN.js.map → matrix.groups-6DXCAY4P.js.map} +0 -0
  877. /package/dist/{matrix.integration.spec-FGWNBCRR.js.map → matrix.integration.spec-2N237E7T.js.map} +0 -0
  878. /package/dist/{matrix.interactivity-4C37PII5.js.map → matrix.interactivity-FL33UUKR.js.map} +0 -0
  879. /package/dist/{matrix.layout-ODV7WXUP.js.map → matrix.layout-7SYHV3KJ.js.map} +0 -0
  880. /package/dist/{matrix.legend-5MY7OXWN.js.map → matrix.legend-S3E76TVO.js.map} +0 -0
  881. /package/dist/{matrix.renderers-QA7W7ZUL.js.map → matrix.renderers-3SIBT2RP.js.map} +0 -0
  882. /package/dist/{matrix.serieses-4FSFJPCK.js.map → matrix.serieses-3UGLZW25.js.map} +0 -0
  883. /package/dist/{matrix.sort-3QLFMBJ5.js.map → matrix.sort-A7CNLDUJ.js.map} +0 -0
  884. /package/dist/{matrix.sort.unit.spec-HVOC6IYT.js.map → matrix.sort.unit.spec-L3H44T6I.js.map} +0 -0
  885. /package/dist/{matrix.sorterUi-EY3SA6CG.js.map → matrix.sorterUi-6PZR3YOD.js.map} +0 -0
  886. /package/dist/{matrix.sorterUi.unit.spec-OAXWPZZI.js.map → matrix.sorterUi.unit.spec-2NRU5UFH.js.map} +0 -0
  887. /package/dist/{matrix.unit.spec-RAL7AU22.js.map → matrix.unit.spec-HRZIJB6T.js.map} +0 -0
  888. /package/dist/{mavb-KIM63AC4.js.map → mavb-ZVRQSDPS.js.map} +0 -0
  889. /package/dist/{mds.fimo-DMAVM56P.js.map → mds.fimo-ZKETTET7.js.map} +0 -0
  890. /package/dist/{mds.samplescatterplot-KILTR2C7.js.map → mds.samplescatterplot-ZV3UNRLP.js.map} +0 -0
  891. /package/dist/{mds.survivalplot-PV76ANBP.js.map → mds.survivalplot-OVXZRTU4.js.map} +0 -0
  892. /package/dist/{multivalue-2V5LMQY7.js.map → multivalue-6BE5IA4F.js.map} +0 -0
  893. /package/dist/{numericDictTermCluster-TGL4X6UC.js.map → numericDictTermCluster-6XDVVWLE.js.map} +0 -0
  894. /package/dist/{oncomatrix-2O7SLXHX.js.map → oncomatrix-XK62NEOO.js.map} +0 -0
  895. /package/dist/{oncomatrix.spec-HZJKOF5G.js.map → oncomatrix.spec-YVTCHOPS.js.map} +0 -0
  896. /package/dist/{plot.2dvaf-424NNMMA.js.map → plot.2dvaf-NUOBWMNX.js.map} +0 -0
  897. /package/dist/{plot.app-YBZDNST2.js.map → plot.app-G6IQWXTV.js.map} +0 -0
  898. /package/dist/{plot.barplot-YZQBYJUY.js.map → plot.barplot-6QJ6HEJR.js.map} +0 -0
  899. /package/dist/{plot.boxplot-5OW6IBQL.js.map → plot.boxplot-XKQJSW2O.js.map} +0 -0
  900. /package/dist/{plot.brainImaging-H3ABPPD3.js.map → plot.brainImaging-UTHFJFXU.js.map} +0 -0
  901. /package/dist/{plot.disco-X7KCDWGX.js.map → plot.disco-3MSCX7TM.js.map} +0 -0
  902. /package/dist/{plot.ssgq-GYRVHTC7.js.map → plot.ssgq-4KBVHF42.js.map} +0 -0
  903. /package/dist/{plot.vaf2cov-B2TELPHL.js.map → plot.vaf2cov-OGUQSSDS.js.map} +0 -0
  904. /package/dist/{polar2-5KNZRLXY.js.map → polar2-V7M56GTZ.js.map} +0 -0
  905. /package/dist/{profileForms-FY34KXCL.js.map → profileForms-TS3BJLHH.js.map} +0 -0
  906. /package/dist/{profilePlot-3FX2TPYC.js.map → profilePlot-DP5272HR.js.map} +0 -0
  907. /package/dist/{proteinView-WSEO3LD3.js.map → proteinView-K4K4SP3L.js.map} +0 -0
  908. /package/dist/{proteomeCohortCompare-KA2DF3EE.js.map → proteomeCohortCompare-SFWVGLFK.js.map} +0 -0
  909. /package/dist/{pseudbulk.unit.spec-AT3TFCOW.js.map → pseudbulk.unit.spec-NFOA7J2C.js.map} +0 -0
  910. /package/dist/{pseudobulk-4ZRHUC7W.js.map → pseudobulk-XKZQEZ4I.js.map} +0 -0
  911. /package/dist/{qualitative-3OBGJRP6.js.map → qualitative-7OSFNVI5.js.map} +0 -0
  912. /package/dist/{qualitative-FHJD44OA.js.map → qualitative-OIIN6E4Y.js.map} +0 -0
  913. /package/dist/{radar2-X757WR6V.js.map → radar2-AHZJKX7S.js.map} +0 -0
  914. /package/dist/{radarFacility2-GUBAK4Y3.js.map → radarFacility2-OUW6D5E7.js.map} +0 -0
  915. /package/dist/{rememberedGvQ.unit.spec-ADO4Y2OE.js.map → rememberedGvQ.unit.spec-SHTMMZGG.js.map} +0 -0
  916. /package/dist/{render-MZEPNEMU.js.map → render-7UZSGX3Q.js.map} +0 -0
  917. /package/dist/{report-TUAFDGAE.js.map → report-J7HKTXZ2.js.map} +0 -0
  918. /package/dist/{sampleView-X6YKCBE7.js.map → sampleView-6547OUIM.js.map} +0 -0
  919. /package/dist/{samplelst-UPNRALBH.js.map → samplelst-UHF23UEB.js.map} +0 -0
  920. /package/dist/{samplematrix-W3HZK3IS.js.map → samplematrix-OOKS3TMR.js.map} +0 -0
  921. /package/dist/{sc-UL7233UR.js.map → sc-WF2BLGNG.js.map} +0 -0
  922. /package/dist/{scatter-VQQRIW6N.js.map → scatter-ABCVFGRV.js.map} +0 -0
  923. /package/dist/{scatter-FTJ77NUM.js.map → scatter-WF7XM3IA.js.map} +0 -0
  924. /package/dist/{selectGenomeWithTklst-HPYPSPFI.js.map → selectGenomeWithTklst-67HU5KRB.js.map} +0 -0
  925. /package/dist/{singleCellCellType-XTKGOH6H.js.map → singleCellCellType-3FZPJ25V.js.map} +0 -0
  926. /package/dist/{singleCellCellType.unit.spec-A62GT72A.js.map → singleCellCellType.unit.spec-TOMREHWK.js.map} +0 -0
  927. /package/dist/{singleCellGeneExpression-X7H5GTU3.js.map → singleCellGeneExpression-NQTJ5KJQ.js.map} +0 -0
  928. /package/dist/{singleCellGeneExpression.unit.spec-2KQBHG7O.js.map → singleCellGeneExpression.unit.spec-ZWUQTU2N.js.map} +0 -0
  929. /package/dist/{singleCellNumericValue-6YS42PZ2.js.map → singleCellNumericValue-VI7H722L.js.map} +0 -0
  930. /package/dist/{singleCellNumericValue.unit.spec-DNVXQFKI.js.map → singleCellNumericValue.unit.spec-QGLHES7H.js.map} +0 -0
  931. /package/dist/{singleCellPlot-MGOQ7EQV.js.map → singleCellPlot-RU5T6SJK.js.map} +0 -0
  932. /package/dist/{singlecell-QW3SLQD6.js.map → singlecell-C3CJVNXP.js.map} +0 -0
  933. /package/dist/{singlecell-CIOB5XON.js.map → singlecell-NRQZ7KC6.js.map} +0 -0
  934. /package/dist/{snp-6B4MIPKL.js.map → snp-X6XY65VS.js.map} +0 -0
  935. /package/dist/{snp.unit.spec-HNILS56E.js.map → snp.unit.spec-6EENK7GQ.js.map} +0 -0
  936. /package/dist/{snplocus-DDFLYZ2Y.js.map → snplocus-R4JA6TFT.js.map} +0 -0
  937. /package/dist/{snplst-JYKOV73J.js.map → snplst-SOWVHSXH.js.map} +0 -0
  938. /package/dist/{spliceevent.a53ss.diagram-IBD5ITXR.js.map → spliceevent.a53ss.diagram-IRLCCVQZ.js.map} +0 -0
  939. /package/dist/{spliceevent.exonskip.diagram-ZJGEVUYW.js.map → spliceevent.exonskip.diagram-4KG7LE5D.js.map} +0 -0
  940. /package/dist/{spliceevent.noeventdiagram-RNLNTFOW.js.map → spliceevent.noeventdiagram-OWXAJJX7.js.map} +0 -0
  941. /package/dist/{ssGSEA-42VQLAXL.js.map → ssGSEA-EMOKPLMP.js.map} +0 -0
  942. /package/dist/{ssGSEA.unit.spec-FBJANIKG.js.map → ssGSEA.unit.spec-KXQ7R5WH.js.map} +0 -0
  943. /package/dist/{stattable-FROSNTJY.js.map → stattable-H2G7MOZG.js.map} +0 -0
  944. /package/dist/{studyCatalog-XIYNJ24U.js.map → studyCatalog-3ITQXWFL.js.map} +0 -0
  945. /package/dist/{summarizeCnvGeneexp-N3OFI24L.js.map → summarizeCnvGeneexp-ZIPU6YDY.js.map} +0 -0
  946. /package/dist/{summarizeGeneexpSurvival-J4DO2AL4.js.map → summarizeGeneexpSurvival-3RYU226R.js.map} +0 -0
  947. /package/dist/{summarizeMutationCnv-Y43BBSI4.js.map → summarizeMutationCnv-RGDBUB22.js.map} +0 -0
  948. /package/dist/{summarizeMutationDiagnosis-JAEAUFCA.js.map → summarizeMutationDiagnosis-Z4MZE6Y4.js.map} +0 -0
  949. /package/dist/{summarizeMutationSurvival-4QZDDXDV.js.map → summarizeMutationSurvival-Z5CNRH7E.js.map} +0 -0
  950. /package/dist/{summary-DTJZ7NNA.js.map → summary-6QQCNX3B.js.map} +0 -0
  951. /package/dist/{summary.integration.spec-HRRE3J45.js.map → summary.integration.spec-3ULXTZUP.js.map} +0 -0
  952. /package/dist/{summaryInput-WCADUZBK.js.map → summaryInput-4QKR34QB.js.map} +0 -0
  953. /package/dist/{termCollection-QIN53TIL.js.map → sunburst-KB3BWC72.js.map} +0 -0
  954. /package/dist/{sunburst-BGXSCB63.js.map → sunburst-XTFBHZNH.js.map} +0 -0
  955. /package/dist/{survival-LFXQIWRT.js.map → survival-7O6ZK63E.js.map} +0 -0
  956. /package/dist/{survival-ONWZ5RFM.js.map → survival-NNCY4K6C.js.map} +0 -0
  957. /package/dist/{survival.integration.spec-ZP7XWHQH.js.map → survival.integration.spec-ZYZHZAXA.js.map} +0 -0
  958. /package/dist/{svgraph-2SL2SJVU.js.map → svgraph-ZLSFFEAC.js.map} +0 -0
  959. /package/dist/{svmr-ONIPMLC2.js.map → svmr-REBBDEYM.js.map} +0 -0
  960. /package/dist/{table-LLCFO4KK.js.map → table-CWIQQESJ.js.map} +0 -0
  961. /package/dist/{termCollectionFractionSelection-UKEVVZXL.js.map → termCollection-7TYJSQ45.js.map} +0 -0
  962. /package/dist/{termCollection-DAHJGR5P.js.map → termCollection-7Z55QNL7.js.map} +0 -0
  963. /package/dist/{termCollection.unit.spec-FQOX2IVP.js.map → termCollection.unit.spec-LQ5MIBDH.js.map} +0 -0
  964. /package/dist/{tk-GM7CJ2LU.js.map → termCollectionFractionSelection-24DZYVDU.js.map} +0 -0
  965. /package/dist/{termCollectionFractionSelection.unit.spec-URGEYBU2.js.map → termCollectionFractionSelection.unit.spec-DCV2CFS5.js.map} +0 -0
  966. /package/dist/{tvs.categorical-IY6YSFVN.js.map → tk-2WZFPRCP.js.map} +0 -0
  967. /package/dist/{tp.ui-TRUHW6GP.js.map → tp.ui-HXQX2UH4.js.map} +0 -0
  968. /package/dist/{tvs.density-CB24PXDE.js.map → tvs.categorical-4D3JI2ER.js.map} +0 -0
  969. /package/dist/{tvs.condition-YTD7GOPW.js.map → tvs.condition-62FXFHZ5.js.map} +0 -0
  970. /package/dist/{tvs.dt-AQQIZD5Z.js.map → tvs.density-IGO4I4T2.js.map} +0 -0
  971. /package/dist/{tvs.numeric-UFAOJR2B.js.map → tvs.dt-FZSVMJOO.js.map} +0 -0
  972. /package/dist/{tvs.dtcnv.categorical-WOAOGJSW.js.map → tvs.dtcnv.categorical-PPFQIC42.js.map} +0 -0
  973. /package/dist/{tvs.dtcnv.continuous-TJBEPJGO.js.map → tvs.dtcnv.continuous-TV2IGHY4.js.map} +0 -0
  974. /package/dist/{tvs.dtfusion-SFMZQKKU.js.map → tvs.dtfusion-ON4BA4XJ.js.map} +0 -0
  975. /package/dist/{tvs.dtitd-Q5RQTCLD.js.map → tvs.dtitd-VFNROOWQ.js.map} +0 -0
  976. /package/dist/{tvs.dtsnvindel-UEK4O6WI.js.map → tvs.dtsnvindel-ZXOP37T5.js.map} +0 -0
  977. /package/dist/{tvs.dtsv-ECS4KEYG.js.map → tvs.dtsv-EUHPTW7J.js.map} +0 -0
  978. /package/dist/{tvs.multivalue-CJIZ3I54.js.map → tvs.multivalue-NHVXZNDI.js.map} +0 -0
  979. /package/dist/{vocabulary-MTKDDDGB.js.map → tvs.numeric-FPWDPO3J.js.map} +0 -0
  980. /package/dist/{tvs.samplelst-BVFY2P7Q.js.map → tvs.samplelst-ZZHRNUP4.js.map} +0 -0
  981. /package/dist/{tvs.survival-L56B3I55.js.map → tvs.survival-F3KSG3U6.js.map} +0 -0
  982. /package/dist/{tvs.termCollection-BFIBVBSA.js.map → tvs.termCollection-B37DZLDY.js.map} +0 -0
  983. /package/dist/{wsi.direct-OSHY7VL4.js.map → wsi.direct-3YH3QGQD.js.map} +0 -0
@@ -0,0 +1,1377 @@
1
+ import {
2
+ appear2 as appear,
3
+ colorantisense,
4
+ disappear2 as disappear,
5
+ font,
6
+ getdomaintypes,
7
+ keyupEnter,
8
+ sayerror,
9
+ to_svg
10
+ } from "./chunk-WD7FZ5EE.js";
11
+ import {
12
+ genomic2gm,
13
+ rna2gmcoord
14
+ } from "./chunk-HJ6L54YS.js";
15
+ import "./chunk-WXSMUSU7.js";
16
+ import {
17
+ Menu
18
+ } from "./chunk-CNFTQSNE.js";
19
+ import "./chunk-RIHO7ZD5.js";
20
+ import "./chunk-TVJOSRCH.js";
21
+ import "./chunk-3CIL7KH7.js";
22
+ import "./chunk-T4XPCSLP.js";
23
+ import {
24
+ dofetch3
25
+ } from "./chunk-4TJO2DGU.js";
26
+ import "./chunk-W5J3LTYS.js";
27
+ import "./chunk-MHWYRNGA.js";
28
+ import "./chunk-JHLF2ZC2.js";
29
+ import {
30
+ link_default,
31
+ proteinDomainColorScale,
32
+ simulation_default,
33
+ x_default,
34
+ y_default
35
+ } from "./chunk-WJLRU5OF.js";
36
+ import "./chunk-HBNB5TRH.js";
37
+ import "./chunk-PF4DSFDR.js";
38
+ import {
39
+ linear
40
+ } from "./chunk-4OLM3KSB.js";
41
+ import "./chunk-PWYMHUXY.js";
42
+ import "./chunk-TLT4YIG3.js";
43
+ import "./chunk-5R63Q5KH.js";
44
+ import {
45
+ pointer_default,
46
+ select_default
47
+ } from "./chunk-I6Y4O3RR.js";
48
+ import {
49
+ rgb
50
+ } from "./chunk-Q5RDQNIT.js";
51
+ import "./chunk-HS5PO5ZQ.js";
52
+
53
+ // src/hm2.legend.js
54
+ function hm2legend(hm, rectFillFxn, textFxn, iconStroke, itemOpacity) {
55
+ let currlinex = 0;
56
+ let currliney = 0;
57
+ let defaults;
58
+ let currG;
59
+ init();
60
+ function main(g) {
61
+ currG = g;
62
+ currlinex = hm.legendpadleft;
63
+ currliney = 0;
64
+ g.selectAll("g").remove();
65
+ g.attr("transform", hm.legendontop ? null : "translate(0," + hm.svgh + ")").on(
66
+ "mouseover.tphm2",
67
+ hm.handlers.legend.mouseover
68
+ );
69
+ const l = g.selectAll("g").data(hm.h.legend);
70
+ l.exit().remove();
71
+ l.enter().append("g").each(addGroup);
72
+ return currliney + hm.legendlineh + hm.legendpadbtm;
73
+ }
74
+ function init() {
75
+ defaults = {
76
+ legendontop: true,
77
+ legendh: 0,
78
+ legendlineh: 25,
79
+ legendpadx: 5,
80
+ legendpadleft: 150,
81
+ legendpadright: 20,
82
+ legendpadbtm: 30,
83
+ legendfontsize: 12,
84
+ legendiconh: 10,
85
+ legendiconw: 10,
86
+ samplecount4legend: true,
87
+ legendhangleft: 1,
88
+ legendlinesep: false,
89
+ legendmutationorder: [
90
+ "M",
91
+ "E",
92
+ "F",
93
+ "N",
94
+ "S",
95
+ "D",
96
+ "I",
97
+ "P",
98
+ "L",
99
+ "Intron",
100
+ "ITD",
101
+ "DEL",
102
+ "NLOSS",
103
+ "CLOSS",
104
+ "Utr3",
105
+ "Utr5",
106
+ "X",
107
+ "noncoding",
108
+ "Fuserna",
109
+ "SV",
110
+ "CNV_amp",
111
+ "CNV_loss",
112
+ "snv",
113
+ "mnv"
114
+ ]
115
+ };
116
+ for (let key in defaults) {
117
+ if (!(key in hm)) hm[key] = defaults[key];
118
+ }
119
+ }
120
+ function addGroup(d, i) {
121
+ if (!d.items || !d.items.length) return;
122
+ currlinex = 0;
123
+ currliney += hm.legendlineh;
124
+ let g = select_default(this);
125
+ const leftdist = hm.legendhangleft ? hm.legendpadleft + hm.legendhangleft - hm.legendpadx : hm.legendpadleft;
126
+ const grplabel = g.append("text").attr("transform", "translate(" + leftdist + "," + (currliney + hm.legendiconh / 2) + ")").attr("text-anchor", hm.legendhangleft ? "end" : "start").attr("font-weight", 700).attr("font-size", hm.legendfontsize).attr("dominant-baseline", "central").text(d.text + (hm.samplecount4legend ? " (sample count)" : ""));
127
+ if (hm.linesep) {
128
+ currlinex = hm.legendpadleft;
129
+ currliney += hm.legendlineh;
130
+ } else if (hm.legendhangleft) {
131
+ currlinex = leftdist + 2 * hm.legendpadx;
132
+ } else {
133
+ currlinex += hm.legendpadleft + grplabel.node().getBBox().width + 2 * hm.legendpadx;
134
+ }
135
+ if (d.sorter) d.items.sort(d.sorter);
136
+ g.selectAll("g").data(d.items).enter().append("g").each(addItem);
137
+ }
138
+ function addItem(d, i) {
139
+ let g = select_default(this).attr("transform", "translate(" + currlinex + "," + currliney + ")").style("opacity", itemOpacity);
140
+ const itemlabel = g.append("text").attr("transform", "translate(" + (hm.legendiconw + hm.legendpadx / 2) + "," + hm.legendiconh / 2 + ")").attr("font-size", hm.legendfontsize).attr("dominant-baseline", "central").each(function(d2) {
141
+ const t = select_default(this);
142
+ if (typeof d2.text == "string") {
143
+ t.text(textFxn(d2));
144
+ } else if (Array.isArray(d2.text)) {
145
+ t.selectAll("tspan").data(d2.text).enter().append("tspan").text((d3) => d3).attr("dominant-baseline", "central").attr("x", function(dd, i2) {
146
+ if (i2 == 0) {
147
+ select_default(this).attr("font-weight", 700);
148
+ d2.lastx = select_default(this).node().getComputedTextLength() + 10;
149
+ return 0;
150
+ } else if (d2.lastx) {
151
+ return d2.lastx;
152
+ }
153
+ });
154
+ }
155
+ });
156
+ const bbox = itemlabel.node().getBBox();
157
+ currlinex += hm.legendiconw + bbox.width + 2.5 * hm.legendpadx;
158
+ if (hm.legendlinesep || currlinex > hm.svgw - hm.legendpadright) {
159
+ currliney += hm.legendlineh;
160
+ const leftdist = !hm.legendhangleft ? hm.legendpadleft : hm.legendpadleft + hm.legendhangleft + hm.legendpadx;
161
+ g.attr("transform", "translate(" + leftdist + "," + currliney + ")");
162
+ currlinex = hm.legendiconw + bbox.width + 2.5 * hm.legendpadx + hm.legendpadleft;
163
+ if (hm.legendhangleft) currlinex = hm.legendiconw + bbox.width + 2.5 * hm.legendpadx + leftdist;
164
+ else currlinex = hm.legendiconw + bbox.width + 2.5 * hm.legendpadx + hm.legendpadleft;
165
+ }
166
+ g.append("rect").attr("height", hm.legendiconh).attr("width", hm.legendiconw).attr("y", hm.legendfontsize - bbox.height + (bbox.height - hm.legendiconh) / 2).attr("fill", rectFillFxn).attr("stroke", iconStroke).attr("shape-rendering", "crispEdges");
167
+ }
168
+ main.defaults = defaults;
169
+ main.finalizePos = function(h) {
170
+ currG.transition().duration(hm.duration).attr("transform", hm.legendontop ? null : "translate(0," + (hm.svgh + h) + ")");
171
+ };
172
+ return main;
173
+ }
174
+
175
+ // src/svgraph.js
176
+ function svgraph_default(arg) {
177
+ const outborder = "#ddd";
178
+ const pairlst = arg.pairlst;
179
+ const genome = arg.genome;
180
+ const errdiv = arg.holder.append("div");
181
+ const waitdiv = arg.holder.append("div");
182
+ const tmp = arg.holder.append("div").style("display", "inline-block").style("border", "solid 1px " + outborder);
183
+ const svgdiv = tmp.append("div").style("margin", "10px");
184
+ const buttdiv = tmp.append("div").style("margin-top", "5px").style("padding", "10px 20px").style("background-color", "#ededed");
185
+ const domaindiv = tmp.append("div").style("margin", "10px").style("display", "none");
186
+ const colormenu = new Menu({ padding: "10px" });
187
+ function err(m) {
188
+ sayerror(errdiv, m);
189
+ }
190
+ const noset = /* @__PURE__ */ new Set();
191
+ const nolst = [];
192
+ for (const point of pairlst) {
193
+ if (point.a.gm) {
194
+ const n = point.a.gm.isoform;
195
+ if (genome.isoformcache.has(n)) {
196
+ point.a.gm = genome.isoformmatch(n, point.a.chr, point.a.position);
197
+ } else {
198
+ noset.add(n);
199
+ nolst.push(point.a);
200
+ }
201
+ }
202
+ if (point.b.gm) {
203
+ const n = point.b.gm.isoform;
204
+ if (genome.isoformcache.has(n)) {
205
+ point.b.gm = genome.isoformmatch(n, point.b.chr, point.b.position);
206
+ } else {
207
+ noset.add(n);
208
+ nolst.push(point.b);
209
+ }
210
+ }
211
+ }
212
+ if (noset.size == 0) {
213
+ validate();
214
+ return;
215
+ }
216
+ const loadlst = [];
217
+ for (const n of noset) {
218
+ loadlst.push(n);
219
+ }
220
+ dofetch3("isoformlst", { method: "POST", body: JSON.stringify({ genome: genome.name, lst: loadlst }) }).then((data) => {
221
+ if (data.error) throw { message: data.error };
222
+ for (const ilst of data.lst) {
223
+ if (ilst[0]) {
224
+ genome.isoformcache.set(ilst[0].isoform.toUpperCase(), ilst);
225
+ }
226
+ }
227
+ const errlst = [];
228
+ for (const node of nolst) {
229
+ const gm = genome.isoformmatch(node.gm.isoform, node.chr, node.position);
230
+ if (!gm) {
231
+ errlst.push(node.gm.isoform);
232
+ delete node.gm;
233
+ } else {
234
+ node.gm = gm;
235
+ }
236
+ }
237
+ if (errlst.length) {
238
+ err("invalid isoform: " + errlst.join(","));
239
+ }
240
+ validate();
241
+ }).catch((e) => {
242
+ err(e.message);
243
+ if (e.stack) console.log(e.stack);
244
+ });
245
+ async function validate() {
246
+ for (const point of pairlst) {
247
+ if (point.a.strand == void 0) {
248
+ point.a.strand = point.a.gm.strand;
249
+ }
250
+ if (point.b.strand == void 0) {
251
+ point.b.strand = point.b.gm.strand;
252
+ }
253
+ }
254
+ for (const p of pairlst) {
255
+ let e = nodecheck(p.a);
256
+ if (e) {
257
+ return err(e);
258
+ }
259
+ e = nodecheck(p.b);
260
+ if (e) {
261
+ return err(e);
262
+ }
263
+ }
264
+ for (let i = 1; i < pairlst.length; i++) {
265
+ const curr = pairlst[i].a;
266
+ const prev = pairlst[i - 1].b;
267
+ if (curr.chr != prev.chr)
268
+ return err("Error: mismatched chromosome at multi-seg breakpoint " + i + ": " + curr.chr + " != " + prev.chr);
269
+ if (curr.strand != prev.strand) return err("Error: mismatched strand at multi-seg breakpoint " + i);
270
+ if (curr.gm) {
271
+ if (prev.gm) {
272
+ if (curr.gm.isoform != prev.gm.isoform) {
273
+ return err(
274
+ "Error: mismatched gene in two breakpoints: " + prev.gm.symbol + " " + prev.gm.isoform + ", " + curr.gm.symbol + " " + curr.gm.isoform
275
+ );
276
+ }
277
+ } else {
278
+ prev.gm = curr.gm;
279
+ err("In multi-segment at " + i + ", 5' breakpoint is joined to the same gene model of 3'");
280
+ const t = genomic2gm(prev.position, curr.gm, 5);
281
+ prev.exonbp = t.rnapos;
282
+ prev.codon = t.aapos;
283
+ prev.atintron = t.atintron;
284
+ prev.exon = t.atexon;
285
+ prev.atutr3 = t.atutr3;
286
+ prev.atutr5 = t.atutr5;
287
+ prev.atupstream = t.atupstream;
288
+ prev.atdownstream = t.atdownstream;
289
+ }
290
+ } else {
291
+ if (prev.gm) {
292
+ curr.gm = prev.gm;
293
+ err("In multi-segment at " + i + ", 3' breakpoint is joined to the same gene model of 5'");
294
+ const t = genomic2gm(curr.position, prev.gm, 5);
295
+ curr.exonbp = t.rnapos;
296
+ curr.codon = t.aapos;
297
+ curr.atintron = t.atintron;
298
+ curr.exon = t.atexon;
299
+ curr.atutr3 = t.atutr3;
300
+ curr.atutr5 = t.atutr5;
301
+ curr.atupstream = t.atupstream;
302
+ curr.atdownstream = t.atdownstream;
303
+ }
304
+ }
305
+ }
306
+ const noset2 = /* @__PURE__ */ new Set();
307
+ for (const point of pairlst) {
308
+ if (point.a.gm && !point.a.gm.pdomains) {
309
+ noset2.add(point.a.gm.isoform);
310
+ }
311
+ if (point.b.gm && !point.b.gm.pdomains) {
312
+ noset2.add(point.b.gm.isoform);
313
+ }
314
+ }
315
+ if (noset2.size == 0) {
316
+ new draw();
317
+ return;
318
+ }
319
+ const loadlst2 = [];
320
+ for (const n of noset2) {
321
+ loadlst2.push(n);
322
+ }
323
+ waitdiv.style("margin", "5px").text("Loading protein domains ...");
324
+ const datalst = await getPdomains(loadlst2);
325
+ for (const i of datalst) {
326
+ const s = proteinDomainColorScale();
327
+ for (const d of i.pdomains) {
328
+ if (!d.color) {
329
+ d.color = s(d.name + d.description);
330
+ }
331
+ }
332
+ const n = i.name.toUpperCase();
333
+ if (genome.isoformcache.has(n)) {
334
+ for (const ii of genome.isoformcache.get(n)) {
335
+ ii.pdomains = i.pdomains;
336
+ ii.domain_hidden = {};
337
+ }
338
+ }
339
+ }
340
+ new draw();
341
+ }
342
+ async function getPdomains(loadlst2) {
343
+ const data = await dofetch3("pdomain", {
344
+ method: "POST",
345
+ body: JSON.stringify({ genome: genome.name, isoforms: loadlst2 })
346
+ });
347
+ if (data.error) throw data.error;
348
+ else waitdiv.remove();
349
+ return data.lst;
350
+ }
351
+ function draw() {
352
+ const scaffold = [];
353
+ let scfid = 0;
354
+ for (let i = 0; i < pairlst.length; i++) {
355
+ const point = pairlst[i];
356
+ let scf;
357
+ if (i > 0) {
358
+ scf = scaffold[scaffold.length - 1];
359
+ }
360
+ if (point.a.gm) {
361
+ if (!scf) {
362
+ scf = {
363
+ gm: point.a.gm,
364
+ strand: point.a.gm.strand,
365
+ id: scfid++,
366
+ name: point.a.name ? point.a.name : point.a.gm.name
367
+ };
368
+ if (point.a.gm.coding) {
369
+ scf.aalen = point.a.gm.cdslen / 3;
370
+ } else {
371
+ if (!point.a.gm.rnalen) {
372
+ err("no aacount or rnalen for " + point.a.gm.symbol + " " + point.a.gm.isoform);
373
+ return;
374
+ }
375
+ scf.bplen = point.a.gm.rnalen;
376
+ }
377
+ }
378
+ if (point.a.atutr3) {
379
+ scf.utr3bp = point.a.atutr3.total;
380
+ }
381
+ if (point.a.atutr5) {
382
+ scf.utr5bp = point.a.atutr5.total;
383
+ }
384
+ if (point.a.atupstream) {
385
+ scf.upstream = Math.max(scf.upstream ? scf.upstream : 0, point.a.atupstream.off);
386
+ }
387
+ if (point.a.atdownstream) {
388
+ scf.downstream = Math.max(scf.downstream ? scf.downstream : 0, point.a.atdownstream.off);
389
+ }
390
+ } else {
391
+ if (!scf) {
392
+ scf = {
393
+ chr: point.a.chr,
394
+ id: scfid++,
395
+ start: point.a.position,
396
+ stop: point.a.position,
397
+ name: point.a.name ? point.a.name : point.a.chr
398
+ };
399
+ }
400
+ scf.start = Math.min(scf.start, point.a.position);
401
+ scf.stop = Math.max(scf.stop, point.a.position);
402
+ }
403
+ point.a.scfid = scf.id;
404
+ if (i == 0) {
405
+ scaffold.push(scf);
406
+ }
407
+ if (point.interstitial) {
408
+ scf = {
409
+ nontemplate: true,
410
+ id: scfid++
411
+ };
412
+ if (point.interstitial.aalen) {
413
+ scf.aalen = point.interstitial.aalen;
414
+ scf.name = scf.aalen + " AA insertion";
415
+ } else if (point.interstitial.bplen) {
416
+ scf.aalen = point.interstitial.bplen / 3;
417
+ scf.name = scf.bplen + " bp insertion";
418
+ }
419
+ scaffold.push(scf);
420
+ point.interstitial.scfid = scf.id;
421
+ }
422
+ if (point.b.gm) {
423
+ scf = {
424
+ gm: point.b.gm,
425
+ strand: point.b.gm.strand,
426
+ id: scfid++,
427
+ name: point.b.name ? point.b.name : point.b.gm.symbol
428
+ };
429
+ if (point.b.gm.coding) {
430
+ scf.aalen = point.b.gm.cdslen / 3;
431
+ } else {
432
+ if (!point.b.gm.rnalen) {
433
+ err("no aacount or rnalen for " + point.b.gm.symbol + " " + point.b.gm.isoform);
434
+ return;
435
+ }
436
+ scf.bplen = point.b.gm.rnalen;
437
+ }
438
+ if (point.b.atutr3) {
439
+ scf.utr3bp = point.b.atutr3.total;
440
+ }
441
+ if (point.b.atutr5) {
442
+ scf.utr5bp = point.b.atutr5.total;
443
+ }
444
+ if (point.b.atupstream) {
445
+ scf.upstream = Math.max(scf.upstream ? scf.upstream : 0, point.b.atupstream.off);
446
+ }
447
+ if (point.b.atdownstream) {
448
+ scf.downstream = Math.max(scf.downstream ? scf.downstream : 0, point.b.atdownstream.off);
449
+ }
450
+ } else {
451
+ scf = {
452
+ chr: point.b.chr,
453
+ id: scfid++,
454
+ start: point.b.position,
455
+ stop: point.b.position,
456
+ name: point.b.name ? point.b.name : point.b.chr
457
+ };
458
+ scf.start = Math.min(scf.start, point.b.position);
459
+ scf.stop = Math.max(scf.stop, point.b.position);
460
+ }
461
+ point.b.scfid = scf.id;
462
+ scaffold.push(scf);
463
+ }
464
+ for (const s of scaffold) {
465
+ s.nodes = [];
466
+ s.clipid0 = Math.ceil(Math.random() * 1e5);
467
+ s.clipid = "url(#" + s.clipid0 + ")";
468
+ }
469
+ for (const s of scaffold) {
470
+ if (!s.gm) continue;
471
+ const g = {
472
+ name: s.gm.name,
473
+ isoform: s.gm.isoform,
474
+ codingstart: s.gm.codingstart,
475
+ codingstop: s.gm.codingstop,
476
+ strand: s.gm.strand,
477
+ aaseq: s.gm.aaseq,
478
+ exon: s.gm.exon,
479
+ utr3: s.gm.utr3,
480
+ utr5: s.gm.utr5,
481
+ cdslen: s.gm.cdslen,
482
+ pdomains: [],
483
+ domain_hidden: s.gm.domain_hidden
484
+ };
485
+ if (s.gm.pdomains) {
486
+ for (const a of s.gm.pdomains) {
487
+ const b = {};
488
+ for (const k in a) {
489
+ b[k] = a[k];
490
+ }
491
+ g.pdomains.push(b);
492
+ }
493
+ }
494
+ s.gm = g;
495
+ }
496
+ const connheight = 90, pad4 = 5, regionthick = 3;
497
+ for (const s of scaffold) {
498
+ s.idealy = connheight * s.id + (pad4 + regionthick) * 2 * s.id;
499
+ }
500
+ this.width = this.width0 = 400;
501
+ const dragwidth = 20, dragheight = 20, toppad = 70, bottompad = 70, proteinheight = 26, pad2 = 5, pad3 = 5, scffontsize = 15, nodefontsize = 13, descfontsize = 12, pad5 = 5, pad6 = 3, pad7 = 10;
502
+ let height = toppad + bottompad + proteinheight * scaffold.length + (pad4 * 2 + regionthick * 2 + connheight) * (scaffold.length - 1);
503
+ let leftpad = 40, rightpad = 40;
504
+ const data = { nodes: [], links: [] };
505
+ for (let i = 0; i < pairlst.length; i++) {
506
+ const point = pairlst[i];
507
+ const left = copynode(point.a, scaffold, data);
508
+ left.x = this.width / 2;
509
+ left.y = height / 2;
510
+ let midleft = null, midright = null;
511
+ if (point.interstitial) {
512
+ const _scf = scaffold[point.interstitial.scfid];
513
+ midleft = {
514
+ nontemplate: true,
515
+ scfid: point.interstitial.scfid,
516
+ softlink3: left,
517
+ x: arg.quiet ? this.width / 2 : 0,
518
+ y: arg.quiet ? _scf.idealy : height / 2
519
+ };
520
+ left.softlink5 = midleft;
521
+ data.nodes.push(midleft);
522
+ _scf.nodes.push(midleft);
523
+ midright = {
524
+ nontemplate: true,
525
+ scfid: point.interstitial.scfid,
526
+ x: arg.quiet ? this.width / 2 : 0,
527
+ y: arg.quiet ? _scf.idealy : height / 2
528
+ };
529
+ data.nodes.push(midright);
530
+ _scf.nodes.push(midright);
531
+ midleft.hardlink = midright;
532
+ midright.hardlink = midleft;
533
+ }
534
+ const right = copynode(point.b, scaffold, data);
535
+ right.x = this.width / 2;
536
+ right.y = height / 2;
537
+ if (midright) {
538
+ midright.softlink5 = right;
539
+ right.softlink3 = midright;
540
+ data.links.push({
541
+ source: data.nodes.length - 4,
542
+ target: data.nodes.length - 3
543
+ });
544
+ data.links.push({
545
+ source: data.nodes.length - 2,
546
+ target: data.nodes.length - 1
547
+ });
548
+ } else {
549
+ left.softlink5 = right;
550
+ right.softlink3 = left;
551
+ data.links.push({
552
+ source: data.nodes.length - 2,
553
+ target: data.nodes.length - 1
554
+ });
555
+ }
556
+ if (i > 0) {
557
+ const prev = data.nodes[data.nodes.length - 3 - (point.interstitial ? 2 : 0)];
558
+ left.hardlink = prev;
559
+ prev.hardlink = left;
560
+ }
561
+ }
562
+ let gmmaxaa = 0, chrmaxspan = 0;
563
+ for (const scf of scaffold) {
564
+ if (scf.gm) {
565
+ scf.aatotal = (scf.aalen ? scf.aalen : scf.bplen / 3) + ((scf.utr3bp ? scf.utr3bp : 0) + (scf.utr5bp ? scf.utr5bp : 0) + (scf.upstream ? scf.upstream : 0) + (scf.downstream ? scf.downstream : 0)) / 3;
566
+ gmmaxaa = Math.max(gmmaxaa, scf.aatotal);
567
+ } else if (scf.nontemplate) {
568
+ gmmaxaa = Math.max(gmmaxaa, scf.aalen);
569
+ } else {
570
+ chrmaxspan = Math.max(chrmaxspan, scf.stop - scf.start);
571
+ }
572
+ }
573
+ if (chrmaxspan == 0) {
574
+ chrmaxspan = 1e3;
575
+ }
576
+ let chrsegml = 0;
577
+ for (const s of scaffold) {
578
+ if (!s.gm && !s.nontemplate) {
579
+ s.start -= chrmaxspan;
580
+ s.stop += chrmaxspan;
581
+ chrsegml = Math.max(chrsegml, s.stop - s.start);
582
+ }
583
+ }
584
+ let maxgmpxwidth = this.width;
585
+ let maxchrpxwidth = this.width * 0.7;
586
+ for (const scf of scaffold) {
587
+ if (scf.gm) {
588
+ scf.pxwidth = maxgmpxwidth * scf.aatotal / gmmaxaa;
589
+ scf.scale = linear().domain([0, scf.aatotal]).range([0, scf.pxwidth]);
590
+ } else if (scf.nontemplate) {
591
+ scf.pxwidth = maxgmpxwidth * scf.aalen / gmmaxaa;
592
+ scf.scale = linear().domain([0, scf.aalen]).range([0, scf.pxwidth]);
593
+ } else {
594
+ scf.pxwidth = maxchrpxwidth * (scf.stop - scf.start) / chrsegml;
595
+ scf.scale = linear().domain([scf.start, scf.stop]).range([0, scf.pxwidth]);
596
+ }
597
+ if (scf.nontemplate) {
598
+ scf.nodes[0].xoff = 0;
599
+ scf.nodes[1].xoff = scf.pxwidth;
600
+ continue;
601
+ }
602
+ for (const n of scf.nodes) {
603
+ if (!scf.gm) {
604
+ n.xoff = scf.scale(n.position);
605
+ continue;
606
+ }
607
+ if (n.atupstream) {
608
+ n.aaoff = (scf.upstream - n.atupstream.off) / 3;
609
+ } else if (n.atutr5) {
610
+ n.aaoff = (scf.upstream ? scf.upstream / 3 : 0) + n.atutr5.off / 3;
611
+ } else if (n.atutr3) {
612
+ n.aaoff = (scf.upstream ? scf.upstream / 3 : 0) + (scf.utr5bp ? scf.utr5bp / 3 : 0) + (scf.aalen ? scf.aalen : scf.bplen / 3) + n.atutr3.off / 3;
613
+ } else if (n.atdownstream) {
614
+ n.aaoff = (scf.upstream ? scf.upstream / 3 : 0) + (scf.utr5bp ? scf.utr5bp / 3 : 0) + (scf.aalen ? scf.aalen : scf.bplen / 3) + (scf.utr3bp ? scf.utr3bp / 3 : 0) + n.atdownstream.off / 3;
615
+ } else {
616
+ n.aaoff = (scf.upstream ? scf.upstream / 3 : 0) + (scf.utr5bp ? scf.utr5bp / 3 : 0) + (n.codon ? n.codon : n.exonbp / 3);
617
+ }
618
+ n.xoff = scf.scale(n.aaoff);
619
+ }
620
+ scf.nodes.sort((a, b) => {
621
+ if (!scf.gm) return a.position - b.position;
622
+ if (a.atupstream) {
623
+ if (b.atupstream) return a.atupstream.off - b.atupstream.off;
624
+ return -1;
625
+ }
626
+ if (a.atutr5) {
627
+ if (b.atupstream) return 1;
628
+ if (b.atutr5) return a.atutr5.off - b.atutr5.off;
629
+ return -1;
630
+ }
631
+ if (a.atutr3) {
632
+ if (b.atupstream || b.atutr5) return 1;
633
+ if (b.atutr3) return a.atutr3.off - b.atutr3.off;
634
+ if (b.atdownstream) return -1;
635
+ return 1;
636
+ }
637
+ if (a.atdownstream) {
638
+ if (b.atdownstream) return a.atdownstream.off - b.atdownstream.off;
639
+ return 1;
640
+ }
641
+ if (b.atupstream || b.atutr5) return 1;
642
+ if (b.atdownstream || b.atutr3) return -1;
643
+ if (a.exonbp) return a.exonbp - b.exonbp;
644
+ return a.codon - b.codon;
645
+ });
646
+ }
647
+ for (const s of scaffold) {
648
+ if (s.gm && s.gm.pdomains) {
649
+ s.gm.pdomains.forEach(function(i) {
650
+ i.__scf = s;
651
+ });
652
+ }
653
+ }
654
+ data.nodes[0].hardlink = {};
655
+ data.nodes[data.nodes.length - 1].hardlink = {};
656
+ const setheadtail = () => {
657
+ let n = data.nodes[0];
658
+ let scf = scaffold[n.scfid];
659
+ if (scf.gm) {
660
+ if (n.strand != scf.gm.strand) {
661
+ n.hardlink.xoff = scf.pxwidth;
662
+ } else {
663
+ n.hardlink.xoff = 0;
664
+ }
665
+ } else {
666
+ if (n.strand == "+") {
667
+ n.hardlink.xoff = 0;
668
+ } else {
669
+ n.hardlink.xoff = scf.pxwidth;
670
+ }
671
+ }
672
+ n = data.nodes[data.nodes.length - 1];
673
+ scf = scaffold[n.scfid];
674
+ if (scf.gm) {
675
+ if (n.strand != scf.gm.strand) {
676
+ n.hardlink.xoff = 0;
677
+ } else {
678
+ n.hardlink.xoff = scf.pxwidth;
679
+ }
680
+ } else {
681
+ if (n.strand == "+") {
682
+ n.hardlink.xoff = scf.pxwidth;
683
+ } else {
684
+ n.hardlink.xoff = 0;
685
+ }
686
+ }
687
+ };
688
+ setheadtail();
689
+ const svg = svgdiv.append("svg");
690
+ const g0 = svg.append("g");
691
+ const simulation = simulation_default(data.nodes).force("link", link_default().links(data.links));
692
+ const scfg = g0.selectAll().data(scaffold).enter().append("g");
693
+ const link = g0.selectAll().data(data.links).enter().append("line").attr("stroke", "black").attr("stroke-dasharray", "3,2");
694
+ const node = g0.selectAll().data(data.nodes).enter().append("g");
695
+ const nodelabel = node.filter((d) => d.label).append("text").text((d) => d.label).attr("font-family", font).attr("font-size", nodefontsize).attr("fill", "black").each(function(d) {
696
+ d.labelwidth = this.getBBox().width;
697
+ });
698
+ const nodelabel2 = node.filter((d) => d.antisense).append("text").text("antisense").attr("font-family", font).attr("font-size", nodefontsize).attr("fill", colorantisense).each(function(d) {
699
+ d.labelwidth = Math.max(this.getBBox().width, d.labelwidth);
700
+ });
701
+ for (const d of data.nodes) {
702
+ if (!d.labelwidth) {
703
+ continue;
704
+ }
705
+ leftpad = Math.max(leftpad, d.labelwidth - d.xoff);
706
+ rightpad = Math.max(rightpad, d.labelwidth - scaffold[d.scfid].pxwidth + d.xoff);
707
+ }
708
+ const nodebar = node.append("rect").attr("height", regionthick).attr("fill", (d) => d.antisense ? colorantisense : "black");
709
+ const scftick = scfg.append("line").attr("y1", (d, i) => i % 2 == 0 ? -pad6 : proteinheight).attr("stroke", "black").attr("stroke-opacity", 0).attr("shape-rendering", "crispEdges");
710
+ const nontmp = scfg.filter((d) => d.nontemplate);
711
+ nontmp.append("rect").attr("clip-path", (d) => d.clipid).attr("fill", "black");
712
+ const chrbar = scfg.filter((d) => !d.gm && !d.nontemplate);
713
+ chrbar.append("rect").attr("fill", "white").attr("clip-path", (d) => d.clipid);
714
+ const chrbarline1 = chrbar.append("line").attr("clip-path", (d) => d.clipid).attr("stroke", "black");
715
+ const chrbarline2 = chrbar.append("line").attr("clip-path", (d) => d.clipid).attr("stroke", "black");
716
+ const protein = scfg.filter((d) => d.gm);
717
+ const pupstream = protein.filter((d) => d.upstream).append("line").attr("clip-path", (d) => d.clipid).attr("stroke", "#545454").attr("stroke-dasharray", "2,1");
718
+ const p5utr = protein.filter((d) => d.utr5bp).append("line").attr("clip-path", (d) => d.clipid).attr("stroke", "#858585");
719
+ const p3utr = protein.filter((d) => d.utr3bp).append("line").attr("clip-path", (d) => d.clipid).attr("stroke", "#858585");
720
+ const pdownstream = protein.filter((d) => d.downstream).append("line").attr("clip-path", (d) => d.clipid).attr("stroke", "#545454").attr("stroke-dasharray", "2,1");
721
+ const pbg = protein.append("rect").attr("clip-path", (d) => d.clipid).attr("fill", "white");
722
+ const allpdomain = protein.filter((d) => d.gm.pdomains).selectAll().data((d) => d.gm.pdomains).enter().append("rect").attr("clip-path", (d) => d.__scf.clipid).attr("fill", (d) => d.color);
723
+ const exonboundary = protein.filter((d) => d.gm.exon.length > 1).selectAll().data((d) => {
724
+ let cum = 0;
725
+ const lst = [];
726
+ let utr5len = 0;
727
+ if (d.gm.utr5) {
728
+ for (const e of d.gm.utr5) {
729
+ utr5len += e[1] - e[0];
730
+ }
731
+ }
732
+ const cdslen = d.gm.cdslen || 0;
733
+ for (let i = 0; i < d.gm.exon.length - 1; i++) {
734
+ const e = d.gm.exon[i];
735
+ cum += e[1] - e[0];
736
+ const boundary = {
737
+ rnabp: cum,
738
+ scf: d
739
+ };
740
+ if (cum < utr5len) {
741
+ if (d.utr5bp) {
742
+ boundary.utr5 = true;
743
+ } else {
744
+ continue;
745
+ }
746
+ } else if (cum > utr5len + cdslen) {
747
+ if (d.utr3bp) {
748
+ boundary.utr3 = true;
749
+ } else {
750
+ continue;
751
+ }
752
+ }
753
+ if (!d.utr5bp) {
754
+ boundary.rnabp = cum - utr5len;
755
+ }
756
+ lst.push(boundary);
757
+ }
758
+ return lst;
759
+ }).enter().append("line").attr("clip-path", (boundary) => boundary.scf.clipid).attr("stroke", "black").attr("stroke-dasharray", "3,2").attr("shape-rendering", "crispEdges").attr("y1", (boundary) => {
760
+ return boundary.utr5 || boundary.utr3 ? proteinheight / 4 : 0;
761
+ }).attr("y2", (boundary) => {
762
+ return boundary.utr5 || boundary.utr3 ? proteinheight * 3 / 4 : proteinheight;
763
+ });
764
+ const pbox = protein.append("rect").attr("clip-path", (d) => d.clipid).attr("stroke-dasharray", (d) => d.bplen ? "4,2" : "none").attr("fill", "none").attr("stroke", "black");
765
+ const scflabel = scfg.append("text").text((d) => d.name).attr("font-family", font).attr("fill", "black").attr("font-size", scffontsize).attr("dominant-baseline", "central").each(function(d) {
766
+ d.chimericlabelw = d.labelwidth = this.getBBox().width;
767
+ });
768
+ for (const s of scaffold) {
769
+ rightpad = Math.max(rightpad, pad3 + s.labelwidth);
770
+ }
771
+ const scflabel2 = scfg.filter((d) => !d.nontemplate).append("text").attr("fill", "#858585").attr("fill-opacity", 0).attr("font-size", nodefontsize).attr("font-family", font).attr("text-anchor", "middle").attr("dominant-baseline", (d) => d.id % 2 == 0 ? "auto" : "hanging").text((d) => {
772
+ if (d.gm) {
773
+ if (d.nodes.length == 1) {
774
+ const n2 = d.nodes[0];
775
+ let what;
776
+ if (n2.atupstream) what = n2.atupstream.off + " bp upstream";
777
+ else if (n2.atdownstream) what = n2.atdownstream.off + " bp downstream";
778
+ else if (n2.atutr3) what = n2.atutr3.off + " bp in 3' UTR";
779
+ else if (n2.atutr5) what = n2.atutr5.off + " bp in 5' UTR";
780
+ else {
781
+ what = n2.codon ? n2.codon + " AA" : n2.exonbp + " bp";
782
+ }
783
+ if (n2.softlink5) return "ends at " + what;
784
+ return "starts at " + what;
785
+ }
786
+ let n = d.nodes[0];
787
+ let what1;
788
+ if (n.atupstream) what1 = n.atupstream.off + " bp upstream";
789
+ else if (n.atdownstream) what1 = n.atdownstream.off + " bp downstream";
790
+ else if (n.atutr3) what1 = n.atutr3.off + " bp in 3' UTR";
791
+ else if (n.atutr5) what1 = n.atutr5.off + " bp in 5' UTR";
792
+ else {
793
+ if (n.betweencodon) {
794
+ what1 = (n.codonsideN ? n.codon + 1 : n.codon) + " AA";
795
+ } else {
796
+ what1 = n.exonbp ? n.exonbp + " bp " : n.codon + " AA";
797
+ }
798
+ }
799
+ n = d.nodes[1];
800
+ let what2;
801
+ if (n.atupstream) what2 = n.atupstream.off + " bp upstream";
802
+ else if (n.atdownstream) what2 = n.atdownstream.off + " bp downstream";
803
+ else if (n.atutr3) what2 = n.atutr3.off + " bp in 3' UTR";
804
+ else if (n.atutr5) what2 = n.atutr5.off + " bp in 5' UTR";
805
+ else what2 = n.codon ? n.codon + " AA" : n.exonbp + " bp";
806
+ return "from " + what1 + " to " + what2;
807
+ }
808
+ if (d.nodes.length == 1) {
809
+ const n = d.nodes[0];
810
+ if (n.softlink5) return "ends at " + n.position + " bp";
811
+ return "starts at " + n.position + " bp";
812
+ }
813
+ return "from " + d.nodes[0].position + " bp to " + d.nodes[1].position + " bp";
814
+ }).each(function(d) {
815
+ d.chimericlabelw = Math.max(this.getBBox().width, d.chimericlabelw);
816
+ });
817
+ const scflabel3 = scfg.filter((d) => d.nodes[0].antisense).append("text").text("antisense").attr("fill", colorantisense).attr("fill-opacity", 0).attr("font-size", nodefontsize).attr("font-family", font).attr("text-anchor", "middle").attr("dominant-baseline", (d) => d.id % 2 == 0 ? "auto" : "hanging").each(function(d) {
818
+ d.chimericlabelw = Math.max(this.getBBox().width, d.chimericlabelw);
819
+ });
820
+ const scfcliprect = scfg.append("defs").append("clipPath").attr("id", (d) => d.clipid0).append("rect").attr("x", 0).attr("y", 0);
821
+ const scfkick = scfg.append("rect").attr("clip-path", (d) => d.clipid).attr("fill", "white").attr("fill-opacity", 0).on("mousemove", (event, d) => {
822
+ if (!d.gm) {
823
+ return;
824
+ }
825
+ let aa = d.scale.invert(pointer_default(event)[0]);
826
+ let pstr = null;
827
+ const domainlst = [];
828
+ if (d.upstream) {
829
+ if (aa * 3 < d.upstream) {
830
+ pstr = Math.floor(aa * 3) + " bp upstream of " + d.name;
831
+ } else {
832
+ aa -= d.upstream / 3;
833
+ }
834
+ }
835
+ if (!pstr) {
836
+ if (d.utr5bp) {
837
+ if (aa * 3 < d.utr5bp) {
838
+ pstr = Math.floor(aa * 3) + " bp in 5' UTR of " + d.name;
839
+ } else {
840
+ aa -= d.utr5bp / 3;
841
+ }
842
+ }
843
+ }
844
+ if (!pstr) {
845
+ if (d.aalen) {
846
+ if (aa <= d.aalen) {
847
+ const i = Math.floor(aa);
848
+ pstr = (d.gm.aaseq ? d.gm.aaseq[i] : "amino acid ") + i + " of " + d.name;
849
+ if (d.gm.pdomains) {
850
+ for (const dm of d.gm.pdomains) {
851
+ if (dm.start <= aa && dm.stop >= aa && !(dm.name + dm.description in d.gm.domain_hidden)) {
852
+ domainlst.push(dm);
853
+ }
854
+ }
855
+ }
856
+ } else {
857
+ aa -= d.aalen;
858
+ }
859
+ } else {
860
+ if (aa * 3 < d.bplen) {
861
+ pstr = Math.floor(aa * 3) + " bp in " + d.name;
862
+ }
863
+ aa -= d.bplen / 3;
864
+ }
865
+ }
866
+ if (!pstr) {
867
+ if (d.utr3bp) {
868
+ if (aa * 3 < d.utr3bp) {
869
+ pstr = Math.floor(aa * 3) + " bp in 3' UTR of " + d.name;
870
+ } else {
871
+ aa -= d.utr3bp / 3;
872
+ }
873
+ }
874
+ }
875
+ if (!pstr) {
876
+ pstr = Math.floor(aa * 3) + " bp downstream of " + d.name;
877
+ }
878
+ gsays.selectAll("*").remove();
879
+ gsays.append("text").text(pstr).attr("dominant-baseline", "hanging").attr("font-family", font).attr("font-size", descfontsize);
880
+ let vsp = 5;
881
+ for (let i = 0; i < domainlst.length; i++) {
882
+ const dg = gsays.append("g").attr("transform", "translate(0," + (descfontsize + vsp) * (i + 1) + ")");
883
+ const dm = domainlst[i];
884
+ const col = dm.color;
885
+ dg.append("rect").attr("width", descfontsize).attr("height", descfontsize).attr("fill", col).attr("stroke", rgb(col).darker(2).toString());
886
+ let w;
887
+ dg.append("text").text(dm.name).attr("x", descfontsize + 5).attr("dominant-baseline", "hanging").attr("font-family", font).attr("font-size", descfontsize).attr("fill", "black").each(function() {
888
+ w = this.getBBox().width;
889
+ });
890
+ dg.append("text").text(dm.description).attr("x", descfontsize + 5 + w + 5).attr("dominant-baseline", "hanging").attr("font-family", font).attr("font-size", descfontsize).attr("fill", "#858585");
891
+ }
892
+ svg.attr(
893
+ "height",
894
+ height - bottompad + Math.max(bottompad, pad7 + (descfontsize + vsp) * (domainlst.length + 1))
895
+ );
896
+ }).on("mouseout", () => {
897
+ gsays.selectAll("*").remove();
898
+ svg.attr("height", height);
899
+ });
900
+ const gsays = svg.append("g");
901
+ const drag = svg.append("text").text("drag to resize").attr("class", "sja_svgtext").attr("fill", "black").attr("font-size", 12).attr("text-anchor", "end").on("mousedown", (event) => {
902
+ const b = select_default(document.body);
903
+ const x0 = event.clientX, y0 = event.clientY;
904
+ b.on("mousemove", (event2) => {
905
+ event2.preventDefault();
906
+ this.width = this.width0 + event2.clientX - x0;
907
+ setpxsize();
908
+ if (chimeric) {
909
+ tochimeric(false);
910
+ } else {
911
+ simulation.restart();
912
+ }
913
+ });
914
+ b.on("mouseup", () => {
915
+ this.width0 = this.width;
916
+ b.on("mousemove", null).on("mouseup", null);
917
+ });
918
+ });
919
+ const setpxsize = () => {
920
+ for (const s of scaffold) {
921
+ s.idealy = connheight * s.id + (pad4 + regionthick) * 2 * s.id;
922
+ }
923
+ height = toppad + bottompad + proteinheight * scaffold.length + (pad4 * 2 + regionthick * 2 + connheight) * (scaffold.length - 1);
924
+ simulation.force("x", x_default(this.width / 2)).force("y", y_default(height / 2));
925
+ maxgmpxwidth = this.width;
926
+ maxchrpxwidth = this.width * 0.7;
927
+ for (const scf of scaffold) {
928
+ if (scf.gm) {
929
+ scf.pxwidth = maxgmpxwidth * scf.aatotal / gmmaxaa;
930
+ } else if (scf.nontemplate) {
931
+ scf.pxwidth = maxgmpxwidth * scf.aalen / gmmaxaa;
932
+ } else {
933
+ scf.pxwidth = maxchrpxwidth * (scf.stop - scf.start) / chrsegml;
934
+ }
935
+ scf.scale.range([0, scf.pxwidth]);
936
+ if (scf.nontemplate) {
937
+ scf.nodes[1].xoff = scf.pxwidth;
938
+ continue;
939
+ }
940
+ for (const n of scf.nodes) {
941
+ if (!scf.gm) {
942
+ n.xoff = scf.scale(n.position);
943
+ continue;
944
+ }
945
+ n.xoff = scf.scale(n.aaoff);
946
+ }
947
+ }
948
+ setheadtail();
949
+ nodebar.attr("x", (d) => Math.min(d.xoff, d.hardlink.xoff) - d.xoff).attr("width", (d) => Math.abs(d.xoff - d.hardlink.xoff)).attr("y", (d) => {
950
+ if (d.softlink5) return proteinheight + pad4;
951
+ return -pad4 - regionthick;
952
+ });
953
+ scftick.attr("y2", (d, i) => i % 2 == 0 ? 0 : proteinheight + pad6);
954
+ nontmp.select("rect").attr("width", (d) => d.pxwidth).attr("height", proteinheight);
955
+ chrbar.select("rect").attr("width", (d) => d.pxwidth).attr("height", proteinheight);
956
+ chrbarline1.attr("x2", (d) => d.pxwidth);
957
+ chrbarline2.attr("x2", (d) => d.pxwidth).attr("y1", proteinheight).attr("y2", proteinheight);
958
+ pupstream.attr("x2", (d) => d.scale(d.upstream / 3)).attr("y1", proteinheight / 2).attr("y2", proteinheight / 2).attr("stroke-width", proteinheight / 5);
959
+ pdownstream.attr("x1", (d) => {
960
+ return d.scale(
961
+ (d.upstream ? d.upstream / 3 : 0) + (d.utr5bp ? d.utr5bp / 3 : 0) + (d.aalen ? d.aalen : d.bplen / 3) + (d.utr3bp ? d.utr3bp / 3 : 0)
962
+ );
963
+ }).attr("x2", (d) => {
964
+ return d.scale(
965
+ (d.upstream ? d.upstream / 3 : 0) + (d.utr5bp ? d.utr5bp / 3 : 0) + (d.aalen ? d.aalen : d.bplen / 3) + (d.utr3bp ? d.utr3bp / 3 : 0) + d.downstream / 3
966
+ );
967
+ }).attr("y1", proteinheight / 2).attr("y2", proteinheight / 2).attr("stroke-width", proteinheight / 5);
968
+ p5utr.attr("x1", (d) => d.upstream ? d.scale(d.upstream / 3) : 0).attr("x2", (d) => d.scale(((d.upstream ? d.upstream : 0) + d.utr5bp) / 3)).attr("y1", proteinheight / 2).attr("y2", proteinheight / 2).attr("stroke-width", Math.floor(proteinheight / 2) + 0.5);
969
+ p3utr.attr("x1", (d) => {
970
+ return d.scale(
971
+ (d.upstream ? d.upstream / 3 : 0) + (d.utr5bp ? d.utr5bp / 3 : 0) + (d.aalen ? d.aalen : d.bplen / 3)
972
+ );
973
+ }).attr("x2", (d) => {
974
+ return d.scale(
975
+ (d.upstream ? d.upstream / 3 : 0) + (d.utr5bp ? d.utr5bp / 3 : 0) + (d.aalen ? d.aalen : d.bplen / 3) + (d.utr3bp ? d.utr3bp / 3 : 0)
976
+ );
977
+ }).attr("y1", proteinheight / 2).attr("y2", proteinheight / 2).attr("stroke-width", Math.floor(proteinheight / 2) + 0.5);
978
+ pbg.attr("x", (d) => {
979
+ return d.scale((d.upstream ? d.upstream / 3 : 0) + (d.utr5bp ? d.utr5bp / 3 : 0));
980
+ }).attr("width", (d) => d.scale(d.aalen ? d.aalen : d.bplen / 3) - d.scale(0)).attr("height", proteinheight);
981
+ allpdomain.attr("x", (d) => {
982
+ const scf = d.__scf;
983
+ return scf.scale((scf.upstream ? scf.upstream / 3 : 0) + (scf.utr5bp ? scf.utr5bp / 3 : 0) + d.start);
984
+ }).attr("width", (d) => {
985
+ const scf = d.__scf;
986
+ return scf.scale(d.stop) - scf.scale(d.start);
987
+ }).attr("height", proteinheight);
988
+ exonboundary.attr("x1", (boundary) => {
989
+ const scf = boundary.scf;
990
+ boundary.x = scf.scale((scf.upstream ? scf.upstream / 3 : 0) + boundary.rnabp / 3);
991
+ return boundary.x;
992
+ }).attr("x2", (boundary) => {
993
+ return boundary.x;
994
+ });
995
+ pbox.attr("x", (d) => {
996
+ return d.scale((d.upstream ? d.upstream / 3 : 0) + (d.utr5bp ? d.utr5bp / 3 : 0));
997
+ }).attr("width", (d) => d.scale(d.aalen ? d.aalen : d.bplen / 3) - d.scale(0)).attr("height", proteinheight);
998
+ scflabel.attr("x", (d) => d.pxwidth + pad3).attr("y", proteinheight / 2);
999
+ scflabel2.attr(
1000
+ "y",
1001
+ (d) => d.id % 2 == 0 ? -pad6 * 2 - scffontsize - pad6 : proteinheight + pad6 * 2 + scffontsize + pad6
1002
+ );
1003
+ scflabel3.attr(
1004
+ "y",
1005
+ (d) => d.id % 2 == 0 ? -pad6 * 2 - scffontsize - pad6 - nodefontsize - pad6 : proteinheight + pad6 * 2 + scffontsize + pad6 + nodefontsize + pad6
1006
+ );
1007
+ scfcliprect.attr("height", proteinheight).attr("width", (d) => d.pxwidth + pad3 + d.labelwidth);
1008
+ scfkick.attr("width", (d) => d.pxwidth).attr("height", proteinheight);
1009
+ svg.attr("width", this.width + leftpad + rightpad).attr("height", height);
1010
+ g0.attr("transform", "translate(" + leftpad + "," + toppad + ")");
1011
+ gsays.attr("transform", "translate(" + leftpad + "," + (height - bottompad + pad7) + ")");
1012
+ drag.attr("x", leftpad + this.width + rightpad - 5).attr("y", height - 7);
1013
+ };
1014
+ setpxsize();
1015
+ simulation.on("tick", () => {
1016
+ const scf2ymean = [];
1017
+ for (const s of scaffold) {
1018
+ let sum = 0;
1019
+ for (const d of s.nodes) {
1020
+ sum += d.y;
1021
+ }
1022
+ scf2ymean[s.id] = sum / s.nodes.length;
1023
+ }
1024
+ for (const scf of scaffold) {
1025
+ let y = scf2ymean[scf.id];
1026
+ let changed = false;
1027
+ if (y > scf.idealy) {
1028
+ y -= Math.min(15, y - scf.idealy);
1029
+ changed = true;
1030
+ } else if (y < scf.idealy) {
1031
+ y += Math.min(15, scf.idealy - y);
1032
+ changed = true;
1033
+ }
1034
+ if (changed) {
1035
+ scf2ymean[scf.id] = y;
1036
+ for (const n of scf.nodes) {
1037
+ n.y = y;
1038
+ }
1039
+ }
1040
+ }
1041
+ for (const scf of scaffold) {
1042
+ const n0 = scf.nodes[0];
1043
+ if (n0.x < n0.xoff) {
1044
+ n0.x += Math.min(10, n0.xoff - n0.x);
1045
+ } else if (n0.x > this.width - scf.pxwidth + n0.xoff) {
1046
+ n0.x -= Math.min(10, n0.x - (this.width - scf.pxwidth + n0.xoff));
1047
+ }
1048
+ for (let i = 1; i < scf.nodes.length; i++) {
1049
+ scf.nodes[i].x = n0.x + (scf.nodes[i].xoff - n0.xoff);
1050
+ }
1051
+ }
1052
+ scfg.attr("transform", (scf) => "translate(" + (scf.nodes[0].x - scf.nodes[0].xoff) + "," + scf.nodes[0].y + ")");
1053
+ node.attr("transform", (d) => "translate(" + d.x + "," + d.y + ")");
1054
+ nodelabel.attr("text-anchor", (d) => {
1055
+ if (d.softlink3) {
1056
+ return d.softlink3.x < d.x ? "start" : "end";
1057
+ }
1058
+ return d.softlink5.x < d.x ? "start" : "end";
1059
+ }).attr("y", (d) => {
1060
+ if (d.softlink3) return -pad4 - regionthick - pad2;
1061
+ if (d.softlink5) return proteinheight + pad4 + regionthick + pad2;
1062
+ }).attr("dominant-baseline", (d) => {
1063
+ if (d.softlink3) return "auto";
1064
+ if (d.softlink5) return "hanging";
1065
+ });
1066
+ nodelabel2.attr("text-anchor", (d) => {
1067
+ if (d.softlink3) return d.softlink3.x < d.x ? "start" : "end";
1068
+ return d.softlink5.x < d.x ? "start" : "end";
1069
+ }).attr("y", (d) => {
1070
+ if (d.softlink3) return -pad4 - regionthick - pad2 - nodefontsize - pad2 / 2;
1071
+ if (d.softlink5) return proteinheight + pad4 + regionthick + pad2 + nodefontsize + pad2 / 2;
1072
+ }).attr("dominant-baseline", (d) => {
1073
+ if (d.softlink3) return "auto";
1074
+ if (d.softlink5) return "hanging";
1075
+ });
1076
+ link.attr("x1", (d) => d.source.x).attr("y1", (d) => d.source.y + proteinheight + pad4 + regionthick).attr("x2", (d) => d.target.x).attr("y2", (d) => {
1077
+ if (d.target.scfid == d.source.scfid) {
1078
+ return d.source.y + proteinheight + pad4 + regionthick;
1079
+ }
1080
+ return d.target.y - pad4 - regionthick;
1081
+ });
1082
+ }).restart();
1083
+ const dur = 500;
1084
+ const tochimeric = (slow) => {
1085
+ for (const scf of scaffold) {
1086
+ const n0 = scf.nodes[0];
1087
+ if (scf.nodes.length == 1) {
1088
+ scf.chimericwidth = Math.abs(n0.xoff - n0.hardlink.xoff);
1089
+ } else {
1090
+ let min = n0.xoff, max = n0.xoff;
1091
+ for (const n of scf.nodes) {
1092
+ min = Math.min(min, n.xoff);
1093
+ max = Math.max(max, n.xoff);
1094
+ }
1095
+ scf.chimericwidth = max - min;
1096
+ }
1097
+ let x = n0.xoff;
1098
+ if (scf.nodes.length == 1) {
1099
+ x = Math.min(x, n0.hardlink.xoff);
1100
+ }
1101
+ scf.chimericmidx = x + scf.chimericwidth / 2;
1102
+ }
1103
+ let topx = 0, midx = 0, botx = 0;
1104
+ const labelspacing = pad5 * 2;
1105
+ for (let i = 0; i < scaffold.length; i++) {
1106
+ const scf = scaffold[i];
1107
+ let thiscenterx = midx + pad5 * 2 + scf.chimericwidth / 2;
1108
+ if (i % 2 == 0) {
1109
+ thiscenterx = Math.max(thiscenterx, topx + labelspacing + scf.chimericlabelw / 2);
1110
+ topx = thiscenterx + scf.chimericlabelw / 2;
1111
+ } else {
1112
+ thiscenterx = Math.max(thiscenterx, botx + labelspacing + scf.chimericlabelw / 2);
1113
+ botx = thiscenterx + scf.chimericlabelw / 2;
1114
+ }
1115
+ scf.chimericcenterx = thiscenterx;
1116
+ midx = thiscenterx + scf.chimericwidth / 2;
1117
+ const n0 = scf.nodes[0];
1118
+ let xshear = n0.xoff;
1119
+ if (scf.nodes.length == 1) {
1120
+ xshear = Math.min(n0.xoff, n0.hardlink.xoff);
1121
+ }
1122
+ scf.chimericx = thiscenterx - scf.chimericwidth / 2 - xshear;
1123
+ }
1124
+ scfcliprect.transition().duration(slow ? dur : 0).attr("x", (d) => {
1125
+ const n0 = d.nodes[0];
1126
+ if (d.nodes.length == 1) {
1127
+ return Math.min(n0.xoff, n0.hardlink.xoff);
1128
+ }
1129
+ let min = n0.xoff;
1130
+ for (const n of d.nodes) {
1131
+ min = Math.min(min, n.xoff);
1132
+ }
1133
+ return min;
1134
+ }).attr("width", (d) => d.chimericwidth);
1135
+ scflabel.attr("text-anchor", "middle").attr("x", (d) => d.chimericmidx).attr("y", (d, i) => i % 2 == 0 ? -pad6 * 2 : proteinheight + pad6 * 2).attr("dominant-baseline", (d, i) => i % 2 == 0 ? "auto" : "hanging");
1136
+ nodelabel.attr("fill-opacity", 0);
1137
+ nodelabel2.attr("fill-opacity", 0);
1138
+ nodebar.attr("fill-opacity", 0);
1139
+ scftick.attr("stroke-opacity", 1).attr("x1", (d) => d.chimericmidx).attr("x2", (d) => d.chimericmidx);
1140
+ scflabel2.attr("fill-opacity", 1).attr("x", (d) => d.chimericmidx);
1141
+ scflabel3.attr("fill-opacity", 1).attr("x", (d) => d.chimericmidx);
1142
+ const yset = (height - toppad * 2) / 2 - proteinheight / 2;
1143
+ scfg.transition().duration(slow ? dur : 0).attr("transform", (d) => {
1144
+ for (const n of d.nodes) {
1145
+ n.x = d.chimericx + n.xoff;
1146
+ n.y = yset;
1147
+ }
1148
+ return "translate(" + d.chimericx + "," + yset + ")";
1149
+ });
1150
+ node.transition().duration(slow ? dur : 0).attr("transform", (d) => "translate(" + d.x + "," + d.y + ")");
1151
+ link.transition().duration(slow ? dur : 0).attr("x1", (d) => {
1152
+ const s1 = scaffold[d.source.scfid];
1153
+ const s2 = scaffold[d.target.scfid];
1154
+ d.chimericx = (s1.chimericcenterx + s1.chimericwidth / 2 + s2.chimericcenterx - s2.chimericwidth / 2) / 2;
1155
+ return d.chimericx;
1156
+ }).attr("x2", (d) => d.chimericx).attr("y1", yset).attr("y2", yset + proteinheight);
1157
+ const s = scaffold[scaffold.length - 1];
1158
+ const w2 = s.chimericcenterx + Math.max(s.chimericlabelw / 2, s.chimericwidth / 2);
1159
+ svg.transition().duration(slow ? dur : 0).attr("width", leftpad + w2 + rightpad);
1160
+ drag.transition().duration(slow ? dur : 0).attr("x", leftpad + w2 + rightpad - dragwidth);
1161
+ };
1162
+ let chimeric = false;
1163
+ buttdiv.append("button").text("Toggle chimeric view").on("click", () => {
1164
+ chimeric = !chimeric;
1165
+ if (chimeric) {
1166
+ simulation.stop();
1167
+ tochimeric(true);
1168
+ return;
1169
+ }
1170
+ scfcliprect.transition().duration(dur).attr("x", 0).attr("width", (d) => d.pxwidth + pad3 + d.labelwidth);
1171
+ scflabel.attr("text-anchor", "start").attr("dominant-baseline", "central").attr("x", (d) => d.pxwidth + pad3).attr("y", proteinheight / 2);
1172
+ nodelabel.attr("fill-opacity", 1);
1173
+ nodelabel2.attr("fill-opacity", 1);
1174
+ nodebar.attr("fill-opacity", 1);
1175
+ scftick.attr("stroke-opacity", 0);
1176
+ scflabel2.attr("fill-opacity", 0);
1177
+ scflabel3.attr("fill-opacity", 0);
1178
+ svg.transition().duration(dur).attr("width", leftpad + this.width + rightpad);
1179
+ drag.transition().duration(dur).attr("x", leftpad + this.width + rightpad - dragwidth);
1180
+ simulation.alpha(0.3).restart();
1181
+ });
1182
+ const dgmlst = [];
1183
+ for (const s of scaffold) {
1184
+ if (s.gm && s.gm.pdomains) {
1185
+ dgmlst.push(s);
1186
+ }
1187
+ }
1188
+ if (dgmlst.length) {
1189
+ let pdmshown = false;
1190
+ buttdiv.append("button").text("Protein domains").on("click", () => {
1191
+ if (!pdmshown) {
1192
+ pdmshown = true;
1193
+ for (const scf of dgmlst) {
1194
+ const d = domaindiv.append("div").style("margin-bottom", "10px").style("padding", "10px");
1195
+ d.append("div").style("margin-bottom", "10px").html(scf.gm.name + " " + scf.gm.isoform).append("div");
1196
+ const lst = getdomaintypes(scf.gm);
1197
+ for (const e of lst) {
1198
+ const d2 = d.append("div");
1199
+ const cbox = d2.append("div").style("display", "inline-block").style("padding", "2px 3px").style("border", "solid 1px " + e.stroke).style("font-family", "Courier").style("margin-right", "10px").style("background-color", e.fill).style("cursor", "default").html("&nbsp;").on("click", (event) => {
1200
+ if (scf.gm.domain_hidden[e.key]) {
1201
+ delete scf.gm.domain_hidden[e.key];
1202
+ } else {
1203
+ scf.gm.domain_hidden[e.key] = 1;
1204
+ }
1205
+ allpdomain.filter((d3) => d3.__scf.clipid == scf.clipid && d3.name + d3.description == e.key).transition().attr("height", () => {
1206
+ if (e.key in scf.gm.domain_hidden) {
1207
+ event.target.innerHTML = "&times;";
1208
+ return 0;
1209
+ }
1210
+ event.target.innerHTML = "&nbsp;";
1211
+ return proteinheight;
1212
+ });
1213
+ });
1214
+ const colorbtn = d2.append("input").attr("type", "color").style("display", "none").property("value", e.fill);
1215
+ d2.append("span").text(e.name).attr("class", "sja_clbtext2").style("margin-right", "5px").property("title", "Click to edit color of this domain").on("click", (event) => {
1216
+ colormenu.clear().showunder(event.target);
1217
+ const input = colormenu.d.append("input").attr("type", "text").property("value", e.fill).style("width", "100px").on("keyup", (event2) => {
1218
+ if (!keyupEnter(event2)) return;
1219
+ const v = event2.target.value.trim();
1220
+ if (!v) return;
1221
+ cbox.style("background", v);
1222
+ allpdomain.filter((d3) => d3.__scf.clipid == scf.clipid && d3.name + d3.description == e.key).transition().attr("fill", v);
1223
+ scf.gm.pdomains.forEach((d3) => {
1224
+ if (d3.name + d3.description == e.key) {
1225
+ d3.color = v;
1226
+ }
1227
+ });
1228
+ }).node();
1229
+ input.focus();
1230
+ input.select();
1231
+ colormenu.d.append("div").style("margin-top", "10px").style("opacity", 0.5).style("font-size", ".8em").html("To change the color of this domain,<br>type in a new color and press ENTER.");
1232
+ });
1233
+ d2.append("span").text(e.description).style("font-size", ".7em").style("color", "#858585");
1234
+ }
1235
+ }
1236
+ }
1237
+ if (domaindiv.style("display") == "none") {
1238
+ appear(domaindiv);
1239
+ } else {
1240
+ disappear(domaindiv);
1241
+ }
1242
+ });
1243
+ }
1244
+ buttdiv.append("button").text("SVG").on("click", () => {
1245
+ const lst = scaffold.map((a) => a.name);
1246
+ const legendG = svg.append("g").style("font-family", "Arial");
1247
+ let legendGrps = [];
1248
+ if (dgmlst.length) {
1249
+ for (const scf of dgmlst) {
1250
+ const grp = {
1251
+ text: scf.gm.name + " " + scf.gm.isoform,
1252
+ items: []
1253
+ };
1254
+ const lst2 = getdomaintypes(scf.gm);
1255
+ for (const e of lst2) {
1256
+ if (!(e.key in scf.gm.domain_hidden)) {
1257
+ const text = [e.name, e.description];
1258
+ if (text[1].length > 80) {
1259
+ text[1] = text[1].substr(0, 77) + "...";
1260
+ }
1261
+ grp.items.push({
1262
+ fill: e.fill,
1263
+ text
1264
+ });
1265
+ }
1266
+ }
1267
+ legendGrps.push(grp);
1268
+ }
1269
+ }
1270
+ const bbs = svg.node().getBBox();
1271
+ const legendRenderer = hm2legend(
1272
+ {
1273
+ legendontop: false,
1274
+ svgw: bbs.width,
1275
+ svgh: bbs.height,
1276
+ legendhangleft: false,
1277
+ titleline: true,
1278
+ legendpadleft: 10,
1279
+ legendfontsize: 12,
1280
+ legendlinesep: true,
1281
+ samplecount4legend: false,
1282
+ h: {
1283
+ legend: legendGrps
1284
+ },
1285
+ handlers: {
1286
+ legend: {
1287
+ mouseover: () => {
1288
+ }
1289
+ }
1290
+ }
1291
+ },
1292
+ (d) => d.fill,
1293
+ (d) => d.text,
1294
+ (d) => "#aaa"
1295
+ );
1296
+ legendRenderer(legendG);
1297
+ const w = +svg.attr("width");
1298
+ const h = +svg.attr("height");
1299
+ const bbl = legendG.node().getBBox();
1300
+ svg.attr("width", w + bbl.width).attr("height", h + bbl.height + 10);
1301
+ drag.style("display", "none");
1302
+ to_svg(svg.node(), lst.join("-"));
1303
+ drag.style("display", "");
1304
+ legendG.remove();
1305
+ svg.attr("width", w).attr("height", h);
1306
+ });
1307
+ buttdiv.append("a").attr("href", "https://docs.google.com/document/d/1LgcMk_p1qyPgFPQChy4sLlU9GDL6oahffP7jJfD8ZwE/edit?usp=sharing").attr("target", "_blank").text("Help").style("padding-left", "10px");
1308
+ }
1309
+ }
1310
+ function nodecheck(n) {
1311
+ if (n.gm) {
1312
+ if (!Number.isFinite(n.position)) {
1313
+ if (!Number.isFinite(n.rnaposition)) {
1314
+ if (!Number.isFinite(n.codon)) return "no position provided genome/rna/codon";
1315
+ n.rnaposition = (n.gm.utr5 ? n.gm.utr5.reduce((i, j) => i + j[1] - j[0], 0) : 0) + n.codon * 3 - 1;
1316
+ }
1317
+ if (!Number.isFinite(n.rnaposition)) return "neither genomic or rna position given for node";
1318
+ n.position = rna2gmcoord(n.rnaposition, n.gm);
1319
+ if (n.position == null) return "cannot map rnaposition " + n.rnaposition + " to " + n.gm.isoform;
1320
+ }
1321
+ const t = genomic2gm(n.position, n.gm, 5);
1322
+ n.exonbp = t.rnapos;
1323
+ if (!Number.isFinite(n.codon)) n.codon = t.aapos;
1324
+ n.atintron = t.atintron;
1325
+ n.exon = t.atexon;
1326
+ n.atutr3 = t.atutr3;
1327
+ n.atutr5 = t.atutr5;
1328
+ n.atupstream = t.atupstream;
1329
+ n.atdownstream = t.atdownstream;
1330
+ } else {
1331
+ if (!n.chr || !n.position) {
1332
+ return "missing genomic position for intergenic breakpoint";
1333
+ }
1334
+ }
1335
+ return false;
1336
+ }
1337
+ function copynode(n, scaffold, data) {
1338
+ const a = {};
1339
+ for (const k in n) {
1340
+ a[k] = n[k];
1341
+ }
1342
+ if (!a.gm) {
1343
+ a.label = a.chr + ":" + a.position;
1344
+ } else if (a.atupstream) {
1345
+ a.label = a.atupstream.off + " bp upstream";
1346
+ } else if (a.atdownstream) {
1347
+ a.label = a.atdownstream.off + " bp downstream";
1348
+ } else if (a.atutr3) {
1349
+ if (a.atintron) {
1350
+ a.label = "intron " + a.atintron + ", 3' UTR";
1351
+ } else {
1352
+ a.label = "3' UTR" + (a.exon ? ", exon " + a.exon : "");
1353
+ }
1354
+ } else if (a.atutr5) {
1355
+ if (a.atintron) {
1356
+ a.label = "intron " + a.atintron + ", 5' UTR";
1357
+ } else {
1358
+ a.label = "5' UTR" + (a.exon ? ", exon " + a.exon : "");
1359
+ }
1360
+ } else if (a.atintron) {
1361
+ a.label = "intron " + a.atintron + (a.codon ? ", " + a.codon + " AA" : "");
1362
+ } else {
1363
+ a.label = (a.exon ? "exon " + a.exon + ", " : "") + (a.codon ? a.codon + " AA" : a.exonbp + " bp");
1364
+ }
1365
+ if (a.strand && a.gm) {
1366
+ if (a.strand != a.gm.strand) {
1367
+ a.antisense = true;
1368
+ }
1369
+ }
1370
+ data.nodes.push(a);
1371
+ scaffold[a.scfid].nodes.push(a);
1372
+ return a;
1373
+ }
1374
+ export {
1375
+ svgraph_default as default
1376
+ };
1377
+ //# sourceMappingURL=svgraph-ZLSFFEAC.js.map