@sjcrh/proteinpaint-client 2.226.0 → 2.227.1

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 (949) hide show
  1. package/dist/2dmaf-75YAQQ3P.js +1362 -0
  2. package/dist/AggMatrixInput-KYDS23KP.js +402 -0
  3. package/dist/AggregateMatrix-XGGF6KBX.js +37 -0
  4. package/dist/AppHeader-CNY5RTJN.js +826 -0
  5. package/dist/BoxPlot-OQIJJO66.js +1247 -0
  6. package/dist/CorrelationVolcano-QN5D37V7.js +613 -0
  7. package/dist/CorrelationVolcano-QN5D37V7.js.map +7 -0
  8. package/dist/Cuminc-J6DONJTA.js +1217 -0
  9. package/dist/DE-XUBJUUBB.js +85 -0
  10. package/dist/DEinput-DCOPTSWO.js +483 -0
  11. package/dist/DEinput-DCOPTSWO.js.map +7 -0
  12. package/dist/DM-2UUXUJOC.js +86 -0
  13. package/dist/DifferentialAnalysis-U6ZPFHNM.js +236 -0
  14. package/dist/Disco-RR2NN66T.js +3445 -0
  15. package/dist/Disco.UI-MQ7WZQOP.js +239 -0
  16. package/dist/DmrPlot-MKAKFUJR.js +366 -0
  17. package/dist/GB-2X3ZRFXN.js +1388 -0
  18. package/dist/GB-2X3ZRFXN.js.map +7 -0
  19. package/dist/GSEA-DTIA4MNS.js +870 -0
  20. package/dist/GeneExpInput-4GM5MBBX.js +38 -0
  21. package/dist/Geomap-FF6DBN7M.js +80 -0
  22. package/dist/HicApp-LGXNL36X.js +2240 -0
  23. package/dist/IDCViewer-FQABJNUI.js +10810 -0
  24. package/dist/NumBinaryEditor-7NOHUH76.js +274 -0
  25. package/dist/NumBinaryEditor.unit.spec-SVE5SZYB.js +308 -0
  26. package/dist/NumContEditor-MSWCQUKL.js +100 -0
  27. package/dist/NumContEditor.unit.spec-UFPASWBH.js +160 -0
  28. package/dist/NumCustomBinEditor-DF24SO2N.js +29 -0
  29. package/dist/NumCustomBinEditor.unit.spec-N3S3ROBI.js +393 -0
  30. package/dist/NumDiscreteEditor-HL257XGY.js +165 -0
  31. package/dist/NumDiscreteEditor.unit.spec-6PTPX547.js +229 -0
  32. package/dist/NumRegularBinEditor-EWCKTXWY.js +29 -0
  33. package/dist/NumRegularBinEditor.unit.spec-AMGPMY7U.js +274 -0
  34. package/dist/NumSplineEditor-YDNJ2DW2.js +205 -0
  35. package/dist/NumSplineEditor.unit.spec-L4JZ3OND.js +220 -0
  36. package/dist/NumericDensity-SQW67WKL.js +29 -0
  37. package/dist/NumericDensity.unit.spec-KBK3JZZG.js +414 -0
  38. package/dist/NumericHandler-HG7FK4D4.js +30 -0
  39. package/dist/NumericHandler.unit.spec-N7PYAGGF.js +225 -0
  40. package/dist/ProteomeInput-6XGREJFP.js +610 -0
  41. package/dist/Regression-4DDXNQNO.js +1412 -0
  42. package/dist/RunChart2-ARCUC4Z3.js +744 -0
  43. package/dist/SC-AV6COOPI.js +1290 -0
  44. package/dist/Violin-2P5I6NL5.js +1105 -0
  45. package/dist/Volcano-TZQF3HY6.js +2745 -0
  46. package/dist/Volcano-TZQF3HY6.js.map +7 -0
  47. package/dist/Wsi-KN26SIP3.js +650 -0
  48. package/dist/Wsi-KN26SIP3.js.map +7 -0
  49. package/dist/aboutSunburst-V557OK5L.js +93 -0
  50. package/dist/adSandbox-76PMWKTX.js +29 -0
  51. package/dist/animatedBubbleChart-CFRJJDAC.js +542 -0
  52. package/dist/app-2SUVPURX.js +38 -0
  53. package/dist/app-PR42RXHC.js +28 -0
  54. package/dist/app.js +12 -12
  55. package/dist/bam-AYHWKHXL.js +872 -0
  56. package/dist/barchart-S4CLMJO7.js +38 -0
  57. package/dist/barchart2-R2BGA2WO.js +305 -0
  58. package/dist/block-QKO2PO4A.js +6208 -0
  59. package/dist/block-QKO2PO4A.js.map +7 -0
  60. package/dist/block.init-SSWOFFJR.js +29 -0
  61. package/dist/block.mds.expressionrank-GJBLSUUM.js +350 -0
  62. package/dist/block.mds.geneboxplot-SAAU4OH5.js +819 -0
  63. package/dist/block.mds.junction-IIZPRLPH.js +1534 -0
  64. package/dist/block.mds.svcnv-KOG7O25F.js +6325 -0
  65. package/dist/block.svg-5GJ744H3.js +155 -0
  66. package/dist/block.tk.aicheck-CTIJCHIC.js +274 -0
  67. package/dist/block.tk.bam-RTB7C6CW.js +1906 -0
  68. package/dist/block.tk.bigwig.ui-OJVOCOWS.js +202 -0
  69. package/dist/block.tk.hicstraw-GUE6G2DA.js +814 -0
  70. package/dist/block.tk.junction-XILEKNJY.js +2353 -0
  71. package/dist/block.tk.junction.textmatrixui-OF6BW6OY.js +190 -0
  72. package/dist/block.tk.ld-QZVJUGZU.js +90 -0
  73. package/dist/block.tk.menu-B2NV6ZX3.js +1050 -0
  74. package/dist/block.tk.pgv-46OQHX7S.js +934 -0
  75. package/dist/brainImaging-TWTGRSHJ.js +550 -0
  76. package/dist/brainRegions-YTTLJMBU.js +213 -0
  77. package/dist/bubbleHeatmap-OZVG67KF.js +374 -0
  78. package/dist/bubbleHeatmap-OZVG67KF.js.map +7 -0
  79. package/dist/cellTypeBubbleHeatmap-4QFAAED5.js +274 -0
  80. package/dist/cellTypeBubbleHeatmap-4QFAAED5.js.map +7 -0
  81. package/dist/chunk-255OQYGC.js +267 -0
  82. package/dist/chunk-2B3CYHUF.js +30 -0
  83. package/dist/chunk-2BXMWQTJ.js +1339 -0
  84. package/dist/chunk-2E3AJFOA.js +550 -0
  85. package/dist/chunk-2IAELUCN.js +348 -0
  86. package/dist/chunk-2W6U53AG.js +195 -0
  87. package/dist/chunk-3R6VYZYB.js +96 -0
  88. package/dist/chunk-3YAQY5NZ.js +626 -0
  89. package/dist/chunk-52WVSXYC.js +305 -0
  90. package/dist/chunk-6CQ5ADIY.js +56 -0
  91. package/dist/chunk-6UHSGC6G.js +276 -0
  92. package/dist/chunk-6YRM7Z4F.js +4521 -0
  93. package/dist/chunk-6YRM7Z4F.js.map +7 -0
  94. package/dist/chunk-7E37WMAX.js +141 -0
  95. package/dist/chunk-7EP77LOA.js +194 -0
  96. package/dist/chunk-7LJ4LTD6.js +54 -0
  97. package/dist/chunk-7MEBMH77.js +14 -0
  98. package/dist/chunk-7NVFEGCE.js +30 -0
  99. package/dist/chunk-A52K2E32.js +340 -0
  100. package/dist/chunk-A6DDXPLN.js +961 -0
  101. package/dist/chunk-A6DDXPLN.js.map +7 -0
  102. package/dist/chunk-A7UNLPQQ.js +243 -0
  103. package/dist/chunk-BH4KIOUQ.js +480 -0
  104. package/dist/chunk-CFYWQJ7F.js +472 -0
  105. package/dist/chunk-CFYWQJ7F.js.map +7 -0
  106. package/dist/chunk-CG2H6EFQ.js +55 -0
  107. package/dist/chunk-CNDQFKUB.js +468 -0
  108. package/dist/chunk-CVLHDO2O.js +2685 -0
  109. package/dist/chunk-CVRTDBLZ.js +2008 -0
  110. package/dist/chunk-CXCAQOFB.js +26888 -0
  111. package/dist/chunk-CXCAQOFB.js.map +7 -0
  112. package/dist/chunk-DMG4ZMX5.js +830 -0
  113. package/dist/chunk-DMG4ZMX5.js.map +7 -0
  114. package/dist/chunk-DYX6B6RN.js +328 -0
  115. package/dist/chunk-FA2B6PKK.js +42 -0
  116. package/dist/chunk-FA6M7PSZ.js +134 -0
  117. package/dist/chunk-FCQPQD7Z.js +181 -0
  118. package/dist/chunk-FCQPQD7Z.js.map +7 -0
  119. package/dist/chunk-FF4J6QSF.js +240 -0
  120. package/dist/chunk-FYHUHKUC.js +6375 -0
  121. package/dist/chunk-G3CJDTG4.js +48 -0
  122. package/dist/chunk-HRD5MN33.js +1219 -0
  123. package/dist/chunk-HRD5MN33.js.map +7 -0
  124. package/dist/chunk-ILAYJZBC.js +184 -0
  125. package/dist/chunk-IT7EE7LY.js +2334 -0
  126. package/dist/chunk-JG5CF5Q3.js +397 -0
  127. package/dist/chunk-JI632MAR.js +400 -0
  128. package/dist/chunk-JI632MAR.js.map +7 -0
  129. package/dist/chunk-L3ORR2TC.js +2799 -0
  130. package/dist/chunk-L6BT6WZP.js +54 -0
  131. package/dist/chunk-LF2DWEKN.js +255 -0
  132. package/dist/chunk-MJZ66SUG.js +35 -0
  133. package/dist/chunk-N5T7TT5H.js +56 -0
  134. package/dist/chunk-NB4C446B.js +299 -0
  135. package/dist/chunk-NJYYF2LF.js +263 -0
  136. package/dist/chunk-NMVEXITA.js +379 -0
  137. package/dist/chunk-NS2H3C6X.js +182 -0
  138. package/dist/chunk-O7346S3P.js +1253 -0
  139. package/dist/chunk-OV3W5AMN.js +103 -0
  140. package/dist/chunk-PQDYA3ZQ.js +274 -0
  141. package/dist/chunk-QFRR3ZRE.js +466 -0
  142. package/dist/chunk-QLKEA3WE.js +102 -0
  143. package/dist/chunk-QM7CXRSF.js +96 -0
  144. package/dist/chunk-QV6VZLS5.js +2932 -0
  145. package/dist/chunk-RTE32A22.js +123 -0
  146. package/dist/chunk-RUFY5VCS.js +161 -0
  147. package/dist/chunk-RUFY5VCS.js.map +7 -0
  148. package/dist/chunk-SB5DR4NL.js +562 -0
  149. package/dist/chunk-SCATA75L.js +100 -0
  150. package/dist/chunk-SCATA75L.js.map +7 -0
  151. package/dist/chunk-SDUMZTIK.js +2095 -0
  152. package/dist/chunk-TIU2GGWN.js +5258 -0
  153. package/dist/chunk-TIU2GGWN.js.map +7 -0
  154. package/dist/chunk-TYLCIGGN.js +296 -0
  155. package/dist/chunk-UHZDDPUU.js +444 -0
  156. package/dist/chunk-UW6GRHZ4.js +516 -0
  157. package/dist/chunk-UYA5LCAR.js +281 -0
  158. package/dist/chunk-V7CB5D7A.js +50 -0
  159. package/dist/chunk-VBUDRJJG.js +203 -0
  160. package/dist/chunk-VVWZ4BOI.js +2349 -0
  161. package/dist/chunk-W3K3N275.js +418 -0
  162. package/dist/chunk-WENNRY5E.js +170 -0
  163. package/dist/chunk-Z4R7TCTB.js +257 -0
  164. package/dist/chunk-ZFNEHOW4.js +848 -0
  165. package/dist/chunk-ZLEGHQOO.js +217 -0
  166. package/dist/cohort-TLSGXKV5.js +66 -0
  167. package/dist/cohortSunburst-TNMXPHJW.js +402 -0
  168. package/dist/condition-NN7YK7AI.js +323 -0
  169. package/dist/controls-472G34VU.js +30 -0
  170. package/dist/controls.config-2BQ7QYOB.js +30 -0
  171. package/dist/correlation-5UPYEHC6.js +91 -0
  172. package/dist/customdata.inputui-EWYP4MRY.js +280 -0
  173. package/dist/dataDownload-X5UXBEK4.js +326 -0
  174. package/dist/databrowser.ui-PFHJKHIW.js +424 -0
  175. package/dist/dictionary-M2MCNRN2.js +109 -0
  176. package/dist/dnaMethylation-A7AWG2P5.js +29 -0
  177. package/dist/dnaMethylation.integration.spec-JWCMRFAM.js +194 -0
  178. package/dist/dnaMethylation.unit.spec-PIVJBW7Z.js +95 -0
  179. package/dist/dofetch-XID2XEJT.js +49 -0
  180. package/dist/e2pca-VJRNE6BU.js +340 -0
  181. package/dist/ep-BZE65IX2.js +1247 -0
  182. package/dist/expclust.gdc.spec-5BGBANUV.js +298 -0
  183. package/dist/facet-RXUO4LRY.js +556 -0
  184. package/dist/gb-NDRFDS5A.js +77 -0
  185. package/dist/geneExpClustering-ONJGTSGM.js +240 -0
  186. package/dist/geneExpression-NXDXXKEA.js +309 -0
  187. package/dist/geneExpression-PYI42HV6.js +29 -0
  188. package/dist/geneExpression.unit.spec-PTFHHTP7.js +150 -0
  189. package/dist/geneORA-SDR43UOL.js +269 -0
  190. package/dist/geneRanking-QI43IRNV.js +544 -0
  191. package/dist/geneVariant-OT4V554H.js +32 -0
  192. package/dist/geneVariant-V7EKM7RW.js +289 -0
  193. package/dist/geneVariant-V7EKM7RW.js.map +7 -0
  194. package/dist/geneVariant.integration.spec-6OE4HKYB.js +672 -0
  195. package/dist/genefusion.ui-IQDKCZPX.js +299 -0
  196. package/dist/geneset-TLZPZOQP.js +199 -0
  197. package/dist/genomeBrowser.spec-HIOTFKFK.js +272 -0
  198. package/dist/grin2-G2PVFRKR.js +945 -0
  199. package/dist/grin2-RJQZRVFF.js +66 -0
  200. package/dist/hierCluster-C6ICZSOB.js +51 -0
  201. package/dist/hierCluster-MESFVAO7.js +55 -0
  202. package/dist/hierCluster.config-7HROWR2T.js +32 -0
  203. package/dist/hierCluster.integration.spec-CJT22MJI.js +479 -0
  204. package/dist/hierCluster.interactivity-MDX5QSEF.js +45 -0
  205. package/dist/hierCluster.renderers-SU5IYI33.js +18 -0
  206. package/dist/imagePlot-3Y5FNIJL.js +152 -0
  207. package/dist/importPlot-WE5QSSFY.js +8 -0
  208. package/dist/isoformExpression-TMLFOZVK.js +31 -0
  209. package/dist/isoformExpression.unit.spec-MSVTQC3E.js +233 -0
  210. package/dist/junction-YKZV4LEL.js +32 -0
  211. package/dist/junction.unit.spec-3GPBCHXJ.js +224 -0
  212. package/dist/junction.unit.spec-3GPBCHXJ.js.map +7 -0
  213. package/dist/launch.adhoc-DS6UME2S.js +33 -0
  214. package/dist/leftlabel.sample-F6TEFWEW.js +260 -0
  215. package/dist/leftlabel.sample-F6TEFWEW.js.map +7 -0
  216. package/dist/lollipop-ZKDAU3O5.js +162 -0
  217. package/dist/maf-DKOORWGV.js +451 -0
  218. package/dist/maftimeline-EHJ2CWJJ.js +583 -0
  219. package/dist/matrix-7JDLGNU7.js +55 -0
  220. package/dist/matrix-EB7YOLMN.js +50 -0
  221. package/dist/matrix.cells-A5E63KDN.js +25 -0
  222. package/dist/matrix.config-GSW2WJM4.js +33 -0
  223. package/dist/matrix.data-R4FW2PQH.js +22 -0
  224. package/dist/matrix.groups-3UH2KOIY.js +25 -0
  225. package/dist/matrix.integration.spec-R32TIABT.js +3156 -0
  226. package/dist/matrix.interactivity-RDPMBDVK.js +33 -0
  227. package/dist/matrix.layout-FD275D3P.js +35 -0
  228. package/dist/matrix.legend-SE7SQTNN.js +19 -0
  229. package/dist/matrix.renderers-RK2BRCHZ.js +30 -0
  230. package/dist/matrix.serieses-BEZCQDLJ.js +18 -0
  231. package/dist/matrix.sort-KRNS4VPF.js +25 -0
  232. package/dist/matrix.sort.unit.spec-LZG3GOXM.js +464 -0
  233. package/dist/matrix.sorterUi.unit.spec-RR2KK4R5.js +334 -0
  234. package/dist/matrix.unit.spec-3PK6LUNE.js +146 -0
  235. package/dist/mavb-CUPAESFH.js +726 -0
  236. package/dist/mds.samplescatterplot-WGQ7A7UC.js +1545 -0
  237. package/dist/mds.survivalplot-ZEGSEJO2.js +472 -0
  238. package/dist/multivalue-DKUQCROX.js +79 -0
  239. package/dist/numericDictTermCluster-IFIEM3E4.js +62 -0
  240. package/dist/oncomatrix-WSPJAWHW.js +286 -0
  241. package/dist/oncomatrix.spec-LDWTZ7LO.js +439 -0
  242. package/dist/plot.2dvaf-N333YSMC.js +368 -0
  243. package/dist/plot.app-HU5RQS5I.js +32 -0
  244. package/dist/plot.barplot-4T2UEIYX.js +93 -0
  245. package/dist/plot.boxplot-C4OXCRFB.js +142 -0
  246. package/dist/plot.brainImaging-A6FEKFEA.js +51 -0
  247. package/dist/plot.disco-VDL7YKRX.js +100 -0
  248. package/dist/plot.ssgq-OII7PFPG.js +130 -0
  249. package/dist/plot.vaf2cov-RZ5JPWMC.js +249 -0
  250. package/dist/polar2-6KR2KX5D.js +228 -0
  251. package/dist/profileForms-YJDJIBSY.js +937 -0
  252. package/dist/profilePlot-U4U4AYMO.js +45 -0
  253. package/dist/proteinView-F5QEDDWR.js +1346 -0
  254. package/dist/proteinView-F5QEDDWR.js.map +7 -0
  255. package/dist/proteomeCohortCompare-QCXKLAWG.js +866 -0
  256. package/dist/pseudbulk.unit.spec-3A2FWQZI.js +82 -0
  257. package/dist/pseudobulk-WB6NXFJ6.js +31 -0
  258. package/dist/qualitative-CQUBCCGT.js +34 -0
  259. package/dist/qualitative-QQ3CWFVP.js +241 -0
  260. package/dist/radar2-FNC67FNX.js +323 -0
  261. package/dist/radarFacility2-3X77B4WP.js +331 -0
  262. package/dist/render-G5NCZTMW.js +29 -0
  263. package/dist/report-CR645KQ4.js +213 -0
  264. package/dist/sampleView-6PG2HJZL.js +39 -0
  265. package/dist/samplelst-FCQ7YPPQ.js +114 -0
  266. package/dist/samplematrix-GXMN5QTS.js +2188 -0
  267. package/dist/sc-4ZTSQOXC.js +77 -0
  268. package/dist/scatter-2PUQU22I.js +84 -0
  269. package/dist/scatter-ZSZTA37T.js +919 -0
  270. package/dist/selectGenomeWithTklst-XHWBEM2G.js +125 -0
  271. package/dist/singleCellCellType-NP7Y4N6Z.js +29 -0
  272. package/dist/singleCellCellType.unit.spec-5I3FECB4.js +150 -0
  273. package/dist/singleCellGeneExpression-7RWH633E.js +29 -0
  274. package/dist/singleCellGeneExpression.unit.spec-2X2BDTNO.js +144 -0
  275. package/dist/singleCellNumericValue-I6V4ME6T.js +29 -0
  276. package/dist/singleCellNumericValue.unit.spec-4HKAJXB3.js +412 -0
  277. package/dist/singleCellPlot-QRFR3AJH.js +44 -0
  278. package/dist/singlecell-AQEAB445.js +77 -0
  279. package/dist/singlecell-DX4EXNUV.js +1562 -0
  280. package/dist/snp-2URSYPBL.js +29 -0
  281. package/dist/snp.unit.spec-ZV2RCDT4.js +167 -0
  282. package/dist/snplocus-BB4I2QIP.js +200 -0
  283. package/dist/snplst-A5S7CQEM.js +36 -0
  284. package/dist/spliceevent.a53ss.diagram-6C4OQOVF.js +142 -0
  285. package/dist/spliceevent.exonskip.diagram-FKSR3JEL.js +274 -0
  286. package/dist/spliceevent.noeventdiagram-G3JQUZKK.js +451 -0
  287. package/dist/ssGSEA-KLMOSI53.js +29 -0
  288. package/dist/ssGSEA.unit.spec-HBALWLVB.js +79 -0
  289. package/dist/stattable-ZCMPIC3I.js +112 -0
  290. package/dist/studyCatalog-UZ4BSYY6.js +457 -0
  291. package/dist/summarizeCnvGeneexp-Z43GYKZB.js +154 -0
  292. package/dist/summarizeGeneexpSurvival-4OHRMCFV.js +101 -0
  293. package/dist/summarizeMutationCnv-EZXMLADC.js +155 -0
  294. package/dist/summarizeMutationDiagnosis-RPQP4TM5.js +31 -0
  295. package/dist/summarizeMutationSurvival-LX4TRGJZ.js +95 -0
  296. package/dist/summary-FZQVK5KR.js +40 -0
  297. package/dist/summary.integration.spec-46T65LR5.js +405 -0
  298. package/dist/summaryInput-BHU7G5FC.js +238 -0
  299. package/dist/sunburst-A5NS3KJQ.js +274 -0
  300. package/dist/sunburst-R5X2C7FK.js +34 -0
  301. package/dist/survival-MKW5J5ZH.js +1248 -0
  302. package/dist/survival-N2NKMVOV.js +49 -0
  303. package/dist/survival.integration.spec-K5FMOOTF.js +609 -0
  304. package/dist/svgraph-3WRCJA5D.js +1377 -0
  305. package/dist/svmr-TLMT7GE3.js +3574 -0
  306. package/dist/svmr-TLMT7GE3.js.map +7 -0
  307. package/dist/swimmer-XV5KVWEM.js +993 -0
  308. package/dist/table-XUGFZSGV.js +192 -0
  309. package/dist/termCollection-23ZRHZHF.js +247 -0
  310. package/dist/termCollection-NWTAUSSW.js +29 -0
  311. package/dist/termCollection.unit.spec-WE3JMSUI.js +295 -0
  312. package/dist/termCollectionFractionSelection-5FLFLMIY.js +38 -0
  313. package/dist/termCollectionFractionSelection.unit.spec-CCFGGXAA.js +184 -0
  314. package/dist/tk-CTHINOMN.js +1224 -0
  315. package/dist/tk-CTHINOMN.js.map +7 -0
  316. package/dist/tk-F3TSB4IB.js +38 -0
  317. package/dist/tp.ui-4QDX3FGM.js +1453 -0
  318. package/dist/tvs.categorical-24OT3XZI.js +28 -0
  319. package/dist/tvs.condition-X4SXCVGN.js +160 -0
  320. package/dist/tvs.dt-FRBJRSWI.js +34 -0
  321. package/dist/tvs.dtcnv.categorical-4RRSO735.js +31 -0
  322. package/dist/tvs.dtcnv.continuous-HXY2PBUA.js +72 -0
  323. package/dist/tvs.dtfusion-67LXBQA4.js +31 -0
  324. package/dist/tvs.dtitd-MCJZCNV2.js +31 -0
  325. package/dist/tvs.dtsnvindel-K5YIIBQJ.js +31 -0
  326. package/dist/tvs.dtsv-RP7FUB2N.js +31 -0
  327. package/dist/tvs.multivalue-CROMWUCP.js +84 -0
  328. package/dist/tvs.numeric-IYYYV6ZJ.js +32 -0
  329. package/dist/tvs.samplelst-5DXKRFYM.js +95 -0
  330. package/dist/tvs.survival-W5RXODBT.js +110 -0
  331. package/dist/tvs.termCollection-OSJYIWDX.js +118 -0
  332. package/dist/vocabulary-HTRYJUD7.js +32 -0
  333. package/dist/wsi.direct-UHVG525G.js +11600 -0
  334. package/dist/wsi.direct-UHVG525G.js.map +7 -0
  335. package/package.json +3 -3
  336. package/dist/2dmaf-CSBPMYHO.js +0 -1362
  337. package/dist/AggMatrixInput-2HST4LLJ.js +0 -402
  338. package/dist/AggregateMatrix-UPOAX44L.js +0 -37
  339. package/dist/AppHeader-H5QBVKUS.js +0 -826
  340. package/dist/BoxPlot-JTBQA6PL.js +0 -1247
  341. package/dist/CorrelationVolcano-AWBPVDMT.js +0 -613
  342. package/dist/CorrelationVolcano-AWBPVDMT.js.map +0 -7
  343. package/dist/Cuminc-3BXJVWIH.js +0 -1217
  344. package/dist/DE-237VV46D.js +0 -85
  345. package/dist/DEinput-W443UW5T.js +0 -479
  346. package/dist/DEinput-W443UW5T.js.map +0 -7
  347. package/dist/DM-TIW623IR.js +0 -86
  348. package/dist/DifferentialAnalysis-PHUA2GPK.js +0 -236
  349. package/dist/Disco-WHV52SCI.js +0 -3445
  350. package/dist/Disco.UI-UDUXNCZX.js +0 -239
  351. package/dist/DmrPlot-FZCD6FTX.js +0 -366
  352. package/dist/GB-6UW5LOUV.js +0 -1388
  353. package/dist/GB-6UW5LOUV.js.map +0 -7
  354. package/dist/GSEA-3CNHMK6M.js +0 -870
  355. package/dist/GeneExpInput-ZOVP7BFY.js +0 -38
  356. package/dist/Geomap-JREOIESM.js +0 -80
  357. package/dist/HicApp-RKAMIUXQ.js +0 -2240
  358. package/dist/IDCViewer-KXV4FU3V.js +0 -10810
  359. package/dist/NumBinaryEditor-FNVYUK2J.js +0 -274
  360. package/dist/NumBinaryEditor.unit.spec-PWR23U3J.js +0 -308
  361. package/dist/NumContEditor-YLBJW64K.js +0 -100
  362. package/dist/NumContEditor.unit.spec-6JWBCPFY.js +0 -160
  363. package/dist/NumCustomBinEditor-42AFCXRN.js +0 -29
  364. package/dist/NumCustomBinEditor.unit.spec-AFBTF2CL.js +0 -393
  365. package/dist/NumDiscreteEditor-FJIBZTBP.js +0 -165
  366. package/dist/NumDiscreteEditor.unit.spec-MC4INDCB.js +0 -229
  367. package/dist/NumRegularBinEditor-2WRE72TL.js +0 -29
  368. package/dist/NumRegularBinEditor.unit.spec-L3S6NRCM.js +0 -274
  369. package/dist/NumSplineEditor-TVMVAN7I.js +0 -205
  370. package/dist/NumSplineEditor.unit.spec-GEL36GZZ.js +0 -220
  371. package/dist/NumericDensity-BNFAVOFO.js +0 -29
  372. package/dist/NumericDensity.unit.spec-XBYUFBTQ.js +0 -414
  373. package/dist/NumericHandler-4VFFJNX6.js +0 -30
  374. package/dist/NumericHandler.unit.spec-76T2IVRS.js +0 -225
  375. package/dist/ProteomeInput-M5UIO73Q.js +0 -610
  376. package/dist/Regression-5LB5TLA6.js +0 -1412
  377. package/dist/RunChart2-HIFXOEKZ.js +0 -744
  378. package/dist/SC-SMMW5MJG.js +0 -1290
  379. package/dist/Violin-COAFYZOV.js +0 -1105
  380. package/dist/Volcano-62II76B4.js +0 -2748
  381. package/dist/Volcano-62II76B4.js.map +0 -7
  382. package/dist/Wsi-OYW2L7FR.js +0 -637
  383. package/dist/Wsi-OYW2L7FR.js.map +0 -7
  384. package/dist/aboutSunburst-3FYJGR6B.js +0 -93
  385. package/dist/adSandbox-4VHYWBQC.js +0 -29
  386. package/dist/animatedBubbleChart-QCCIC5IT.js +0 -542
  387. package/dist/app-IF7YPCGZ.js +0 -28
  388. package/dist/app-JZ43TSJP.js +0 -38
  389. package/dist/bam-2VPZGSW3.js +0 -872
  390. package/dist/barchart-VYTWYYGG.js +0 -38
  391. package/dist/barchart2-XC7J4VEO.js +0 -305
  392. package/dist/block-YGQFUK5L.js +0 -6203
  393. package/dist/block-YGQFUK5L.js.map +0 -7
  394. package/dist/block.init-BVP3YZHQ.js +0 -29
  395. package/dist/block.mds.expressionrank-RKDDKY4J.js +0 -350
  396. package/dist/block.mds.geneboxplot-3FZ3EZZ6.js +0 -819
  397. package/dist/block.mds.junction-MCOG37RA.js +0 -1534
  398. package/dist/block.mds.svcnv-IEOR5IQZ.js +0 -6325
  399. package/dist/block.svg-3XHRHYCV.js +0 -155
  400. package/dist/block.tk.aicheck-TMDUGNZX.js +0 -274
  401. package/dist/block.tk.bam-73KW4QEJ.js +0 -1906
  402. package/dist/block.tk.bigwig.ui-E5W6R7DQ.js +0 -202
  403. package/dist/block.tk.hicstraw-BNNE6ZMW.js +0 -814
  404. package/dist/block.tk.junction-DMPRZRNY.js +0 -2353
  405. package/dist/block.tk.junction.textmatrixui-XS2E7MQL.js +0 -190
  406. package/dist/block.tk.ld-QD3XDLO4.js +0 -90
  407. package/dist/block.tk.menu-S6XI732E.js +0 -1050
  408. package/dist/block.tk.pgv-KH4TMR3A.js +0 -934
  409. package/dist/brainImaging-NK4JENN3.js +0 -550
  410. package/dist/brainRegions-YUEMTKYH.js +0 -213
  411. package/dist/bubbleHeatmap-LQCVS4WK.js +0 -374
  412. package/dist/bubbleHeatmap-LQCVS4WK.js.map +0 -7
  413. package/dist/cellTypeBubbleHeatmap-DFRSPWAY.js +0 -274
  414. package/dist/cellTypeBubbleHeatmap-DFRSPWAY.js.map +0 -7
  415. package/dist/chunk-37ZEGLVY.js +0 -267
  416. package/dist/chunk-3RPX4ZVV.js +0 -2334
  417. package/dist/chunk-4LK5YFHF.js +0 -102
  418. package/dist/chunk-4WFG5Y3A.js +0 -2095
  419. package/dist/chunk-4WFXCUT4.js +0 -141
  420. package/dist/chunk-5LY2ASQX.js +0 -305
  421. package/dist/chunk-6V7ITU5F.js +0 -2349
  422. package/dist/chunk-7UK7CU4F.js +0 -398
  423. package/dist/chunk-7UK7CU4F.js.map +0 -7
  424. package/dist/chunk-AAQDXVQT.js +0 -134
  425. package/dist/chunk-ADJBQCFM.js +0 -243
  426. package/dist/chunk-ATIITEOR.js +0 -692
  427. package/dist/chunk-ATIITEOR.js.map +0 -7
  428. package/dist/chunk-BWVJAFEQ.js +0 -35
  429. package/dist/chunk-CDCNBN6G.js +0 -50
  430. package/dist/chunk-CGSBIFFO.js +0 -1339
  431. package/dist/chunk-DPWSIN62.js +0 -26787
  432. package/dist/chunk-DPWSIN62.js.map +0 -7
  433. package/dist/chunk-EARMOT6Q.js +0 -176
  434. package/dist/chunk-EARMOT6Q.js.map +0 -7
  435. package/dist/chunk-ECCXTB5S.js +0 -562
  436. package/dist/chunk-ECTOEM7X.js +0 -96
  437. package/dist/chunk-EKIWZUEO.js +0 -54
  438. package/dist/chunk-FALP6GXG.js +0 -96
  439. package/dist/chunk-FRD6LQF7.js +0 -103
  440. package/dist/chunk-FRPYXYYQ.js +0 -263
  441. package/dist/chunk-FV2GLMSI.js +0 -397
  442. package/dist/chunk-G6SP5IQT.js +0 -626
  443. package/dist/chunk-GZL6YFZJ.js +0 -30
  444. package/dist/chunk-H353EVLK.js +0 -240
  445. package/dist/chunk-HKR5R5YR.js +0 -466
  446. package/dist/chunk-HULTLO4D.js +0 -217
  447. package/dist/chunk-IIN4CG67.js +0 -56
  448. package/dist/chunk-ISWFHYEZ.js +0 -123
  449. package/dist/chunk-JBUTLI3V.js +0 -1253
  450. package/dist/chunk-JCNZJKLK.js +0 -55
  451. package/dist/chunk-JEVDRC64.js +0 -56
  452. package/dist/chunk-KBZAB2H2.js +0 -340
  453. package/dist/chunk-KDKJLITX.js +0 -54
  454. package/dist/chunk-KNFJN6CM.js +0 -299
  455. package/dist/chunk-KSYGLBZ4.js +0 -4389
  456. package/dist/chunk-KSYGLBZ4.js.map +0 -7
  457. package/dist/chunk-KUOXZIH4.js +0 -348
  458. package/dist/chunk-KZ54E2FU.js +0 -184
  459. package/dist/chunk-L7FMBWWK.js +0 -6375
  460. package/dist/chunk-LMONIWPI.js +0 -30
  461. package/dist/chunk-LTY7WOAT.js +0 -281
  462. package/dist/chunk-LYDN734A.js +0 -194
  463. package/dist/chunk-LYMYO6TY.js +0 -652
  464. package/dist/chunk-LYMYO6TY.js.map +0 -7
  465. package/dist/chunk-MRZUZDRA.js +0 -444
  466. package/dist/chunk-NGBI4FST.js +0 -195
  467. package/dist/chunk-OKM4ACTA.js +0 -170
  468. package/dist/chunk-OUDHHMZU.js +0 -159
  469. package/dist/chunk-OUDHHMZU.js.map +0 -7
  470. package/dist/chunk-OYXRYWGU.js +0 -2932
  471. package/dist/chunk-P2HMCEMM.js +0 -5254
  472. package/dist/chunk-P2HMCEMM.js.map +0 -7
  473. package/dist/chunk-P5FHYGJK.js +0 -848
  474. package/dist/chunk-P7QDNXSH.js +0 -276
  475. package/dist/chunk-Q7GK35TB.js +0 -257
  476. package/dist/chunk-QXRM5NMW.js +0 -274
  477. package/dist/chunk-RI3GAHQE.js +0 -255
  478. package/dist/chunk-SH7SL4I5.js +0 -1219
  479. package/dist/chunk-SH7SL4I5.js.map +0 -7
  480. package/dist/chunk-SJHWZZ4M.js +0 -70
  481. package/dist/chunk-SJHWZZ4M.js.map +0 -7
  482. package/dist/chunk-T2W4JHWJ.js +0 -472
  483. package/dist/chunk-T2W4JHWJ.js.map +0 -7
  484. package/dist/chunk-TDBS3UFZ.js +0 -379
  485. package/dist/chunk-THHYPA5K.js +0 -48
  486. package/dist/chunk-U2OB3S3M.js +0 -14
  487. package/dist/chunk-UA2ADBTO.js +0 -42
  488. package/dist/chunk-USGUVW5Q.js +0 -182
  489. package/dist/chunk-UWVDD4C2.js +0 -480
  490. package/dist/chunk-W2SBSEKT.js +0 -550
  491. package/dist/chunk-XAHZYGKW.js +0 -468
  492. package/dist/chunk-XKWLP433.js +0 -328
  493. package/dist/chunk-YWB2QHV2.js +0 -2799
  494. package/dist/chunk-Z6M77JDG.js +0 -2008
  495. package/dist/chunk-Z7RFFJXU.js +0 -516
  496. package/dist/chunk-ZG7EBTHK.js +0 -203
  497. package/dist/chunk-ZJLJHQWM.js +0 -418
  498. package/dist/chunk-ZKU6RST3.js +0 -2685
  499. package/dist/chunk-ZLWEUYPT.js +0 -296
  500. package/dist/cohort-X327AG3O.js +0 -66
  501. package/dist/cohortSunburst-GNWIVDNA.js +0 -402
  502. package/dist/condition-3M4L2HIM.js +0 -323
  503. package/dist/controls-OKNHZJOU.js +0 -30
  504. package/dist/controls.config-FUKM5LEP.js +0 -30
  505. package/dist/correlation-PC4MXCFM.js +0 -91
  506. package/dist/customdata.inputui-HCRTX56R.js +0 -280
  507. package/dist/dataDownload-HJO7UW7S.js +0 -326
  508. package/dist/databrowser.ui-EY3H6B4S.js +0 -424
  509. package/dist/dictionary-L6CTMFY7.js +0 -109
  510. package/dist/dnaMethylation-FEB5GGXK.js +0 -29
  511. package/dist/dnaMethylation.integration.spec-4DC6TJNZ.js +0 -194
  512. package/dist/dnaMethylation.unit.spec-REOHQOBC.js +0 -95
  513. package/dist/dofetch-YFGOKCKV.js +0 -49
  514. package/dist/e2pca-QSAVTCPL.js +0 -340
  515. package/dist/ep-LAFLKVSW.js +0 -1247
  516. package/dist/expclust.gdc.spec-OM4J6WBL.js +0 -298
  517. package/dist/facet-WHTV2VIX.js +0 -556
  518. package/dist/gb-DLXWWBB6.js +0 -77
  519. package/dist/geneExpClustering-KB2MB2VM.js +0 -240
  520. package/dist/geneExpression-3D7PDZ2I.js +0 -309
  521. package/dist/geneExpression-3RSRGYGQ.js +0 -29
  522. package/dist/geneExpression.unit.spec-EINAWLPR.js +0 -150
  523. package/dist/geneORA-J4KVSZT3.js +0 -269
  524. package/dist/geneRanking-HKLJ7CN6.js +0 -544
  525. package/dist/geneVariant-3BRGRFPT.js +0 -32
  526. package/dist/geneVariant-VI5DGDAB.js +0 -289
  527. package/dist/geneVariant-VI5DGDAB.js.map +0 -7
  528. package/dist/geneVariant.integration.spec-3IBX4NNE.js +0 -672
  529. package/dist/genefusion.ui-OESQL7TW.js +0 -299
  530. package/dist/geneset-3BMV3KP4.js +0 -199
  531. package/dist/genomeBrowser.spec-I3WKAITC.js +0 -272
  532. package/dist/grin2-4BBCH3H5.js +0 -66
  533. package/dist/grin2-5L2U32LY.js +0 -945
  534. package/dist/hierCluster-KM56NTN6.js +0 -51
  535. package/dist/hierCluster-XCJF5IQ6.js +0 -55
  536. package/dist/hierCluster.config-E2EYOXX6.js +0 -32
  537. package/dist/hierCluster.integration.spec-IIEJ2YEI.js +0 -479
  538. package/dist/hierCluster.interactivity-AJFEJTGX.js +0 -45
  539. package/dist/hierCluster.renderers-XKI344FM.js +0 -18
  540. package/dist/imagePlot-3B3BXI6I.js +0 -152
  541. package/dist/importPlot-JDVH7Q2Z.js +0 -8
  542. package/dist/isoformExpression-UFHY5LB2.js +0 -31
  543. package/dist/isoformExpression.unit.spec-U6GDCNQR.js +0 -233
  544. package/dist/junction-W2STW5WW.js +0 -32
  545. package/dist/junction.unit.spec-R4DIBFLB.js +0 -178
  546. package/dist/junction.unit.spec-R4DIBFLB.js.map +0 -7
  547. package/dist/launch.adhoc-KN7HFHJH.js +0 -33
  548. package/dist/leftlabel.sample-CK2EK7J6.js +0 -254
  549. package/dist/leftlabel.sample-CK2EK7J6.js.map +0 -7
  550. package/dist/lollipop-EKIGAAK6.js +0 -162
  551. package/dist/maf-MK2MM7J4.js +0 -451
  552. package/dist/maftimeline-7RTMXWFA.js +0 -583
  553. package/dist/matrix-UM2EZODJ.js +0 -50
  554. package/dist/matrix-YBL4FZYJ.js +0 -55
  555. package/dist/matrix.cells-45ZFADK5.js +0 -25
  556. package/dist/matrix.config-QTBIRXKU.js +0 -33
  557. package/dist/matrix.data-WAMOLSKW.js +0 -22
  558. package/dist/matrix.groups-RXFXZABD.js +0 -25
  559. package/dist/matrix.integration.spec-JZDZRVOK.js +0 -3156
  560. package/dist/matrix.interactivity-P4VYGTB2.js +0 -33
  561. package/dist/matrix.layout-WWPRXXHX.js +0 -35
  562. package/dist/matrix.legend-4MCMVVKO.js +0 -19
  563. package/dist/matrix.renderers-JQTUODDS.js +0 -30
  564. package/dist/matrix.serieses-3IDRKSGO.js +0 -18
  565. package/dist/matrix.sort-EAWOB56R.js +0 -25
  566. package/dist/matrix.sort.unit.spec-FOWLULHA.js +0 -464
  567. package/dist/matrix.sorterUi.unit.spec-U5CQDTMX.js +0 -334
  568. package/dist/matrix.unit.spec-VTLD4EOZ.js +0 -146
  569. package/dist/mavb-JIIXJHBK.js +0 -726
  570. package/dist/mds.samplescatterplot-PTWA2V6E.js +0 -1545
  571. package/dist/mds.survivalplot-XVZ66GP5.js +0 -472
  572. package/dist/multivalue-2H7QX7MG.js +0 -79
  573. package/dist/numericDictTermCluster-EHCDRT6J.js +0 -62
  574. package/dist/oncomatrix-RZLZUC32.js +0 -286
  575. package/dist/oncomatrix.spec-Z5UQGTW2.js +0 -439
  576. package/dist/plot.2dvaf-IRBZBJ6B.js +0 -368
  577. package/dist/plot.app-I23IAZ3Z.js +0 -32
  578. package/dist/plot.barplot-PYLRAZB7.js +0 -93
  579. package/dist/plot.boxplot-VBWU7DUG.js +0 -142
  580. package/dist/plot.brainImaging-HDJMEMTK.js +0 -51
  581. package/dist/plot.disco-5BVG3WMT.js +0 -100
  582. package/dist/plot.ssgq-S3BKXJMW.js +0 -130
  583. package/dist/plot.vaf2cov-VD7DU2XR.js +0 -249
  584. package/dist/polar2-PYLEVG7E.js +0 -228
  585. package/dist/profileForms-CI2YYD3Y.js +0 -937
  586. package/dist/profilePlot-UCC4ZVHQ.js +0 -45
  587. package/dist/proteinView-FBY6TK3S.js +0 -1346
  588. package/dist/proteinView-FBY6TK3S.js.map +0 -7
  589. package/dist/proteomeCohortCompare-2VUSLC6I.js +0 -866
  590. package/dist/pseudbulk.unit.spec-VPZWNTIA.js +0 -82
  591. package/dist/pseudobulk-RUXGZ7OY.js +0 -31
  592. package/dist/qualitative-3AVR4GRX.js +0 -34
  593. package/dist/qualitative-5QNBKDOZ.js +0 -241
  594. package/dist/radar2-AOYMS54Y.js +0 -323
  595. package/dist/radarFacility2-PP2MAXIP.js +0 -331
  596. package/dist/render-ASLVKYEX.js +0 -29
  597. package/dist/report-UVYKDMQC.js +0 -213
  598. package/dist/sampleView-6UHR7FSR.js +0 -39
  599. package/dist/samplelst-ABC2CCNN.js +0 -114
  600. package/dist/samplematrix-36UCHZLC.js +0 -2188
  601. package/dist/sc-XLSAM725.js +0 -77
  602. package/dist/scatter-ADOBAOW2.js +0 -84
  603. package/dist/scatter-ZNVLI627.js +0 -919
  604. package/dist/selectGenomeWithTklst-DPDBDYTR.js +0 -125
  605. package/dist/singleCellCellType-STVPYZD4.js +0 -29
  606. package/dist/singleCellCellType.unit.spec-ZLY37AXL.js +0 -150
  607. package/dist/singleCellGeneExpression-PCGLU35S.js +0 -29
  608. package/dist/singleCellGeneExpression.unit.spec-PSLKK362.js +0 -144
  609. package/dist/singleCellNumericValue-SR3SJEOB.js +0 -29
  610. package/dist/singleCellNumericValue.unit.spec-PXVXJ4HJ.js +0 -412
  611. package/dist/singleCellPlot-JXB7M6OH.js +0 -44
  612. package/dist/singlecell-EDSX56QO.js +0 -1562
  613. package/dist/singlecell-PH55NFRX.js +0 -77
  614. package/dist/snp-3VEYBTAQ.js +0 -29
  615. package/dist/snp.unit.spec-V7OB44US.js +0 -167
  616. package/dist/snplocus-HX67RBT5.js +0 -200
  617. package/dist/snplst-H5YXCY33.js +0 -36
  618. package/dist/spliceevent.a53ss.diagram-DBDEEHSK.js +0 -142
  619. package/dist/spliceevent.exonskip.diagram-EYEL6BY6.js +0 -274
  620. package/dist/spliceevent.noeventdiagram-64OEXK7U.js +0 -451
  621. package/dist/ssGSEA-3YWQH6KM.js +0 -29
  622. package/dist/ssGSEA.unit.spec-23V2IXP5.js +0 -79
  623. package/dist/stattable-GPSBCNYC.js +0 -112
  624. package/dist/studyCatalog-W5PATRNY.js +0 -457
  625. package/dist/summarizeCnvGeneexp-YGI23QH5.js +0 -154
  626. package/dist/summarizeGeneexpSurvival-KQ6OLWYR.js +0 -101
  627. package/dist/summarizeMutationCnv-XDHBNEPU.js +0 -155
  628. package/dist/summarizeMutationDiagnosis-VKIJRJ2Q.js +0 -31
  629. package/dist/summarizeMutationSurvival-57YKJGLE.js +0 -95
  630. package/dist/summary-4WQOVIUF.js +0 -40
  631. package/dist/summary.integration.spec-FRNWBU7F.js +0 -405
  632. package/dist/summaryInput-X7DS2YA7.js +0 -238
  633. package/dist/sunburst-3OEAQA3O.js +0 -34
  634. package/dist/sunburst-MSGTXYMM.js +0 -274
  635. package/dist/survival-5KC5CNZU.js +0 -1248
  636. package/dist/survival-QXDS6N46.js +0 -49
  637. package/dist/survival.integration.spec-PKENHLTZ.js +0 -609
  638. package/dist/svgraph-VJLB7BBN.js +0 -1377
  639. package/dist/svmr-6BDEZAS6.js +0 -3834
  640. package/dist/svmr-6BDEZAS6.js.map +0 -7
  641. package/dist/swimmer-R3DN7N36.js +0 -993
  642. package/dist/table-YF5VORU6.js +0 -192
  643. package/dist/termCollection-3KGLZFDW.js +0 -29
  644. package/dist/termCollection-KSHVOPS5.js +0 -247
  645. package/dist/termCollection.unit.spec-HTBDG5PL.js +0 -295
  646. package/dist/termCollectionFractionSelection-MK4NKWUX.js +0 -38
  647. package/dist/termCollectionFractionSelection.unit.spec-AMF32FDN.js +0 -184
  648. package/dist/tk-FDHBAKXQ.js +0 -1198
  649. package/dist/tk-FDHBAKXQ.js.map +0 -7
  650. package/dist/tk-Z54DOECH.js +0 -38
  651. package/dist/tp.ui-M4TZVT53.js +0 -1453
  652. package/dist/tvs.categorical-HY3BWCZR.js +0 -28
  653. package/dist/tvs.condition-Y36TRIX4.js +0 -160
  654. package/dist/tvs.dt-XKVJZP7Y.js +0 -34
  655. package/dist/tvs.dtcnv.categorical-OMRZR4Y7.js +0 -31
  656. package/dist/tvs.dtcnv.continuous-AGYOBI5K.js +0 -72
  657. package/dist/tvs.dtfusion-2JX5Y2IH.js +0 -31
  658. package/dist/tvs.dtitd-SDSLBBWC.js +0 -31
  659. package/dist/tvs.dtsnvindel-LI7K464K.js +0 -31
  660. package/dist/tvs.dtsv-VRCLX7QY.js +0 -31
  661. package/dist/tvs.multivalue-4OTY6J2S.js +0 -84
  662. package/dist/tvs.numeric-CDATYOR2.js +0 -32
  663. package/dist/tvs.samplelst-76JOJG2M.js +0 -95
  664. package/dist/tvs.survival-WTFJOKIZ.js +0 -110
  665. package/dist/tvs.termCollection-QQXAS7PE.js +0 -118
  666. package/dist/vocabulary-6ACAEFTL.js +0 -32
  667. package/dist/wsi.direct-OS32TQRM.js +0 -11515
  668. package/dist/wsi.direct-OS32TQRM.js.map +0 -7
  669. /package/dist/{2dmaf-CSBPMYHO.js.map → 2dmaf-75YAQQ3P.js.map} +0 -0
  670. /package/dist/{AggMatrixInput-2HST4LLJ.js.map → AggMatrixInput-KYDS23KP.js.map} +0 -0
  671. /package/dist/{AggregateMatrix-UPOAX44L.js.map → AggregateMatrix-XGGF6KBX.js.map} +0 -0
  672. /package/dist/{AppHeader-H5QBVKUS.js.map → AppHeader-CNY5RTJN.js.map} +0 -0
  673. /package/dist/{BoxPlot-JTBQA6PL.js.map → BoxPlot-OQIJJO66.js.map} +0 -0
  674. /package/dist/{Cuminc-3BXJVWIH.js.map → Cuminc-J6DONJTA.js.map} +0 -0
  675. /package/dist/{DE-237VV46D.js.map → DE-XUBJUUBB.js.map} +0 -0
  676. /package/dist/{DM-TIW623IR.js.map → DM-2UUXUJOC.js.map} +0 -0
  677. /package/dist/{DifferentialAnalysis-PHUA2GPK.js.map → DifferentialAnalysis-U6ZPFHNM.js.map} +0 -0
  678. /package/dist/{Disco-WHV52SCI.js.map → Disco-RR2NN66T.js.map} +0 -0
  679. /package/dist/{Disco.UI-UDUXNCZX.js.map → Disco.UI-MQ7WZQOP.js.map} +0 -0
  680. /package/dist/{DmrPlot-FZCD6FTX.js.map → DmrPlot-MKAKFUJR.js.map} +0 -0
  681. /package/dist/{GSEA-3CNHMK6M.js.map → GSEA-DTIA4MNS.js.map} +0 -0
  682. /package/dist/{GeneExpInput-ZOVP7BFY.js.map → GeneExpInput-4GM5MBBX.js.map} +0 -0
  683. /package/dist/{Geomap-JREOIESM.js.map → Geomap-FF6DBN7M.js.map} +0 -0
  684. /package/dist/{HicApp-RKAMIUXQ.js.map → HicApp-LGXNL36X.js.map} +0 -0
  685. /package/dist/{IDCViewer-KXV4FU3V.js.map → IDCViewer-FQABJNUI.js.map} +0 -0
  686. /package/dist/{NumBinaryEditor-FNVYUK2J.js.map → NumBinaryEditor-7NOHUH76.js.map} +0 -0
  687. /package/dist/{NumBinaryEditor.unit.spec-PWR23U3J.js.map → NumBinaryEditor.unit.spec-SVE5SZYB.js.map} +0 -0
  688. /package/dist/{NumContEditor-YLBJW64K.js.map → NumContEditor-MSWCQUKL.js.map} +0 -0
  689. /package/dist/{NumContEditor.unit.spec-6JWBCPFY.js.map → NumContEditor.unit.spec-UFPASWBH.js.map} +0 -0
  690. /package/dist/{NumCustomBinEditor-42AFCXRN.js.map → NumCustomBinEditor-DF24SO2N.js.map} +0 -0
  691. /package/dist/{NumCustomBinEditor.unit.spec-AFBTF2CL.js.map → NumCustomBinEditor.unit.spec-N3S3ROBI.js.map} +0 -0
  692. /package/dist/{NumDiscreteEditor-FJIBZTBP.js.map → NumDiscreteEditor-HL257XGY.js.map} +0 -0
  693. /package/dist/{NumDiscreteEditor.unit.spec-MC4INDCB.js.map → NumDiscreteEditor.unit.spec-6PTPX547.js.map} +0 -0
  694. /package/dist/{NumRegularBinEditor-2WRE72TL.js.map → NumRegularBinEditor-EWCKTXWY.js.map} +0 -0
  695. /package/dist/{NumRegularBinEditor.unit.spec-L3S6NRCM.js.map → NumRegularBinEditor.unit.spec-AMGPMY7U.js.map} +0 -0
  696. /package/dist/{NumSplineEditor-TVMVAN7I.js.map → NumSplineEditor-YDNJ2DW2.js.map} +0 -0
  697. /package/dist/{NumSplineEditor.unit.spec-GEL36GZZ.js.map → NumSplineEditor.unit.spec-L4JZ3OND.js.map} +0 -0
  698. /package/dist/{NumericDensity-BNFAVOFO.js.map → NumericDensity-SQW67WKL.js.map} +0 -0
  699. /package/dist/{NumericDensity.unit.spec-XBYUFBTQ.js.map → NumericDensity.unit.spec-KBK3JZZG.js.map} +0 -0
  700. /package/dist/{NumericHandler-4VFFJNX6.js.map → NumericHandler-HG7FK4D4.js.map} +0 -0
  701. /package/dist/{NumericHandler.unit.spec-76T2IVRS.js.map → NumericHandler.unit.spec-N7PYAGGF.js.map} +0 -0
  702. /package/dist/{ProteomeInput-M5UIO73Q.js.map → ProteomeInput-6XGREJFP.js.map} +0 -0
  703. /package/dist/{Regression-5LB5TLA6.js.map → Regression-4DDXNQNO.js.map} +0 -0
  704. /package/dist/{RunChart2-HIFXOEKZ.js.map → RunChart2-ARCUC4Z3.js.map} +0 -0
  705. /package/dist/{SC-SMMW5MJG.js.map → SC-AV6COOPI.js.map} +0 -0
  706. /package/dist/{Violin-COAFYZOV.js.map → Violin-2P5I6NL5.js.map} +0 -0
  707. /package/dist/{aboutSunburst-3FYJGR6B.js.map → aboutSunburst-V557OK5L.js.map} +0 -0
  708. /package/dist/{adSandbox-4VHYWBQC.js.map → adSandbox-76PMWKTX.js.map} +0 -0
  709. /package/dist/{animatedBubbleChart-QCCIC5IT.js.map → animatedBubbleChart-CFRJJDAC.js.map} +0 -0
  710. /package/dist/{app-IF7YPCGZ.js.map → app-2SUVPURX.js.map} +0 -0
  711. /package/dist/{app-JZ43TSJP.js.map → app-PR42RXHC.js.map} +0 -0
  712. /package/dist/{bam-2VPZGSW3.js.map → bam-AYHWKHXL.js.map} +0 -0
  713. /package/dist/{barchart-VYTWYYGG.js.map → barchart-S4CLMJO7.js.map} +0 -0
  714. /package/dist/{barchart2-XC7J4VEO.js.map → barchart2-R2BGA2WO.js.map} +0 -0
  715. /package/dist/{block.init-BVP3YZHQ.js.map → block.init-SSWOFFJR.js.map} +0 -0
  716. /package/dist/{block.mds.expressionrank-RKDDKY4J.js.map → block.mds.expressionrank-GJBLSUUM.js.map} +0 -0
  717. /package/dist/{block.mds.geneboxplot-3FZ3EZZ6.js.map → block.mds.geneboxplot-SAAU4OH5.js.map} +0 -0
  718. /package/dist/{block.mds.junction-MCOG37RA.js.map → block.mds.junction-IIZPRLPH.js.map} +0 -0
  719. /package/dist/{block.mds.svcnv-IEOR5IQZ.js.map → block.mds.svcnv-KOG7O25F.js.map} +0 -0
  720. /package/dist/{block.svg-3XHRHYCV.js.map → block.svg-5GJ744H3.js.map} +0 -0
  721. /package/dist/{block.tk.aicheck-TMDUGNZX.js.map → block.tk.aicheck-CTIJCHIC.js.map} +0 -0
  722. /package/dist/{block.tk.bam-73KW4QEJ.js.map → block.tk.bam-RTB7C6CW.js.map} +0 -0
  723. /package/dist/{block.tk.bigwig.ui-E5W6R7DQ.js.map → block.tk.bigwig.ui-OJVOCOWS.js.map} +0 -0
  724. /package/dist/{block.tk.hicstraw-BNNE6ZMW.js.map → block.tk.hicstraw-GUE6G2DA.js.map} +0 -0
  725. /package/dist/{block.tk.junction-DMPRZRNY.js.map → block.tk.junction-XILEKNJY.js.map} +0 -0
  726. /package/dist/{block.tk.junction.textmatrixui-XS2E7MQL.js.map → block.tk.junction.textmatrixui-OF6BW6OY.js.map} +0 -0
  727. /package/dist/{block.tk.ld-QD3XDLO4.js.map → block.tk.ld-QZVJUGZU.js.map} +0 -0
  728. /package/dist/{block.tk.menu-S6XI732E.js.map → block.tk.menu-B2NV6ZX3.js.map} +0 -0
  729. /package/dist/{block.tk.pgv-KH4TMR3A.js.map → block.tk.pgv-46OQHX7S.js.map} +0 -0
  730. /package/dist/{brainImaging-NK4JENN3.js.map → brainImaging-TWTGRSHJ.js.map} +0 -0
  731. /package/dist/{brainRegions-YUEMTKYH.js.map → brainRegions-YTTLJMBU.js.map} +0 -0
  732. /package/dist/{chunk-37ZEGLVY.js.map → chunk-255OQYGC.js.map} +0 -0
  733. /package/dist/{chunk-GZL6YFZJ.js.map → chunk-2B3CYHUF.js.map} +0 -0
  734. /package/dist/{chunk-CGSBIFFO.js.map → chunk-2BXMWQTJ.js.map} +0 -0
  735. /package/dist/{chunk-W2SBSEKT.js.map → chunk-2E3AJFOA.js.map} +0 -0
  736. /package/dist/{chunk-KUOXZIH4.js.map → chunk-2IAELUCN.js.map} +0 -0
  737. /package/dist/{chunk-NGBI4FST.js.map → chunk-2W6U53AG.js.map} +0 -0
  738. /package/dist/{chunk-FALP6GXG.js.map → chunk-3R6VYZYB.js.map} +0 -0
  739. /package/dist/{chunk-G6SP5IQT.js.map → chunk-3YAQY5NZ.js.map} +0 -0
  740. /package/dist/{chunk-5LY2ASQX.js.map → chunk-52WVSXYC.js.map} +0 -0
  741. /package/dist/{chunk-JEVDRC64.js.map → chunk-6CQ5ADIY.js.map} +0 -0
  742. /package/dist/{chunk-P7QDNXSH.js.map → chunk-6UHSGC6G.js.map} +0 -0
  743. /package/dist/{chunk-4WFXCUT4.js.map → chunk-7E37WMAX.js.map} +0 -0
  744. /package/dist/{chunk-LYDN734A.js.map → chunk-7EP77LOA.js.map} +0 -0
  745. /package/dist/{chunk-KDKJLITX.js.map → chunk-7LJ4LTD6.js.map} +0 -0
  746. /package/dist/{chunk-U2OB3S3M.js.map → chunk-7MEBMH77.js.map} +0 -0
  747. /package/dist/{chunk-LMONIWPI.js.map → chunk-7NVFEGCE.js.map} +0 -0
  748. /package/dist/{chunk-KBZAB2H2.js.map → chunk-A52K2E32.js.map} +0 -0
  749. /package/dist/{chunk-ADJBQCFM.js.map → chunk-A7UNLPQQ.js.map} +0 -0
  750. /package/dist/{chunk-UWVDD4C2.js.map → chunk-BH4KIOUQ.js.map} +0 -0
  751. /package/dist/{chunk-JCNZJKLK.js.map → chunk-CG2H6EFQ.js.map} +0 -0
  752. /package/dist/{chunk-XAHZYGKW.js.map → chunk-CNDQFKUB.js.map} +0 -0
  753. /package/dist/{chunk-ZKU6RST3.js.map → chunk-CVLHDO2O.js.map} +0 -0
  754. /package/dist/{chunk-Z6M77JDG.js.map → chunk-CVRTDBLZ.js.map} +0 -0
  755. /package/dist/{chunk-XKWLP433.js.map → chunk-DYX6B6RN.js.map} +0 -0
  756. /package/dist/{chunk-UA2ADBTO.js.map → chunk-FA2B6PKK.js.map} +0 -0
  757. /package/dist/{chunk-AAQDXVQT.js.map → chunk-FA6M7PSZ.js.map} +0 -0
  758. /package/dist/{chunk-H353EVLK.js.map → chunk-FF4J6QSF.js.map} +0 -0
  759. /package/dist/{chunk-L7FMBWWK.js.map → chunk-FYHUHKUC.js.map} +0 -0
  760. /package/dist/{chunk-THHYPA5K.js.map → chunk-G3CJDTG4.js.map} +0 -0
  761. /package/dist/{chunk-KZ54E2FU.js.map → chunk-ILAYJZBC.js.map} +0 -0
  762. /package/dist/{chunk-3RPX4ZVV.js.map → chunk-IT7EE7LY.js.map} +0 -0
  763. /package/dist/{chunk-FV2GLMSI.js.map → chunk-JG5CF5Q3.js.map} +0 -0
  764. /package/dist/{chunk-YWB2QHV2.js.map → chunk-L3ORR2TC.js.map} +0 -0
  765. /package/dist/{chunk-EKIWZUEO.js.map → chunk-L6BT6WZP.js.map} +0 -0
  766. /package/dist/{chunk-RI3GAHQE.js.map → chunk-LF2DWEKN.js.map} +0 -0
  767. /package/dist/{chunk-BWVJAFEQ.js.map → chunk-MJZ66SUG.js.map} +0 -0
  768. /package/dist/{chunk-IIN4CG67.js.map → chunk-N5T7TT5H.js.map} +0 -0
  769. /package/dist/{chunk-KNFJN6CM.js.map → chunk-NB4C446B.js.map} +0 -0
  770. /package/dist/{chunk-FRPYXYYQ.js.map → chunk-NJYYF2LF.js.map} +0 -0
  771. /package/dist/{chunk-TDBS3UFZ.js.map → chunk-NMVEXITA.js.map} +0 -0
  772. /package/dist/{chunk-USGUVW5Q.js.map → chunk-NS2H3C6X.js.map} +0 -0
  773. /package/dist/{chunk-JBUTLI3V.js.map → chunk-O7346S3P.js.map} +0 -0
  774. /package/dist/{chunk-FRD6LQF7.js.map → chunk-OV3W5AMN.js.map} +0 -0
  775. /package/dist/{chunk-QXRM5NMW.js.map → chunk-PQDYA3ZQ.js.map} +0 -0
  776. /package/dist/{chunk-HKR5R5YR.js.map → chunk-QFRR3ZRE.js.map} +0 -0
  777. /package/dist/{chunk-4LK5YFHF.js.map → chunk-QLKEA3WE.js.map} +0 -0
  778. /package/dist/{chunk-ECTOEM7X.js.map → chunk-QM7CXRSF.js.map} +0 -0
  779. /package/dist/{chunk-OYXRYWGU.js.map → chunk-QV6VZLS5.js.map} +0 -0
  780. /package/dist/{chunk-ISWFHYEZ.js.map → chunk-RTE32A22.js.map} +0 -0
  781. /package/dist/{chunk-ECCXTB5S.js.map → chunk-SB5DR4NL.js.map} +0 -0
  782. /package/dist/{chunk-4WFG5Y3A.js.map → chunk-SDUMZTIK.js.map} +0 -0
  783. /package/dist/{chunk-ZLWEUYPT.js.map → chunk-TYLCIGGN.js.map} +0 -0
  784. /package/dist/{chunk-MRZUZDRA.js.map → chunk-UHZDDPUU.js.map} +0 -0
  785. /package/dist/{chunk-Z7RFFJXU.js.map → chunk-UW6GRHZ4.js.map} +0 -0
  786. /package/dist/{chunk-LTY7WOAT.js.map → chunk-UYA5LCAR.js.map} +0 -0
  787. /package/dist/{chunk-CDCNBN6G.js.map → chunk-V7CB5D7A.js.map} +0 -0
  788. /package/dist/{chunk-ZG7EBTHK.js.map → chunk-VBUDRJJG.js.map} +0 -0
  789. /package/dist/{chunk-6V7ITU5F.js.map → chunk-VVWZ4BOI.js.map} +0 -0
  790. /package/dist/{chunk-ZJLJHQWM.js.map → chunk-W3K3N275.js.map} +0 -0
  791. /package/dist/{chunk-OKM4ACTA.js.map → chunk-WENNRY5E.js.map} +0 -0
  792. /package/dist/{chunk-Q7GK35TB.js.map → chunk-Z4R7TCTB.js.map} +0 -0
  793. /package/dist/{chunk-P5FHYGJK.js.map → chunk-ZFNEHOW4.js.map} +0 -0
  794. /package/dist/{chunk-HULTLO4D.js.map → chunk-ZLEGHQOO.js.map} +0 -0
  795. /package/dist/{cohort-X327AG3O.js.map → cohort-TLSGXKV5.js.map} +0 -0
  796. /package/dist/{cohortSunburst-GNWIVDNA.js.map → cohortSunburst-TNMXPHJW.js.map} +0 -0
  797. /package/dist/{condition-3M4L2HIM.js.map → condition-NN7YK7AI.js.map} +0 -0
  798. /package/dist/{controls-OKNHZJOU.js.map → controls-472G34VU.js.map} +0 -0
  799. /package/dist/{controls.config-FUKM5LEP.js.map → controls.config-2BQ7QYOB.js.map} +0 -0
  800. /package/dist/{correlation-PC4MXCFM.js.map → correlation-5UPYEHC6.js.map} +0 -0
  801. /package/dist/{customdata.inputui-HCRTX56R.js.map → customdata.inputui-EWYP4MRY.js.map} +0 -0
  802. /package/dist/{dataDownload-HJO7UW7S.js.map → dataDownload-X5UXBEK4.js.map} +0 -0
  803. /package/dist/{databrowser.ui-EY3H6B4S.js.map → databrowser.ui-PFHJKHIW.js.map} +0 -0
  804. /package/dist/{dictionary-L6CTMFY7.js.map → dictionary-M2MCNRN2.js.map} +0 -0
  805. /package/dist/{dnaMethylation-FEB5GGXK.js.map → dnaMethylation-A7AWG2P5.js.map} +0 -0
  806. /package/dist/{dnaMethylation.integration.spec-4DC6TJNZ.js.map → dnaMethylation.integration.spec-JWCMRFAM.js.map} +0 -0
  807. /package/dist/{dnaMethylation.unit.spec-REOHQOBC.js.map → dnaMethylation.unit.spec-PIVJBW7Z.js.map} +0 -0
  808. /package/dist/{dofetch-YFGOKCKV.js.map → dofetch-XID2XEJT.js.map} +0 -0
  809. /package/dist/{e2pca-QSAVTCPL.js.map → e2pca-VJRNE6BU.js.map} +0 -0
  810. /package/dist/{ep-LAFLKVSW.js.map → ep-BZE65IX2.js.map} +0 -0
  811. /package/dist/{expclust.gdc.spec-OM4J6WBL.js.map → expclust.gdc.spec-5BGBANUV.js.map} +0 -0
  812. /package/dist/{facet-WHTV2VIX.js.map → facet-RXUO4LRY.js.map} +0 -0
  813. /package/dist/{gb-DLXWWBB6.js.map → gb-NDRFDS5A.js.map} +0 -0
  814. /package/dist/{geneExpClustering-KB2MB2VM.js.map → geneExpClustering-ONJGTSGM.js.map} +0 -0
  815. /package/dist/{geneExpression-3D7PDZ2I.js.map → geneExpression-NXDXXKEA.js.map} +0 -0
  816. /package/dist/{geneExpression-3RSRGYGQ.js.map → geneExpression-PYI42HV6.js.map} +0 -0
  817. /package/dist/{geneExpression.unit.spec-EINAWLPR.js.map → geneExpression.unit.spec-PTFHHTP7.js.map} +0 -0
  818. /package/dist/{geneORA-J4KVSZT3.js.map → geneORA-SDR43UOL.js.map} +0 -0
  819. /package/dist/{geneRanking-HKLJ7CN6.js.map → geneRanking-QI43IRNV.js.map} +0 -0
  820. /package/dist/{geneVariant-3BRGRFPT.js.map → geneVariant-OT4V554H.js.map} +0 -0
  821. /package/dist/{geneVariant.integration.spec-3IBX4NNE.js.map → geneVariant.integration.spec-6OE4HKYB.js.map} +0 -0
  822. /package/dist/{genefusion.ui-OESQL7TW.js.map → genefusion.ui-IQDKCZPX.js.map} +0 -0
  823. /package/dist/{geneset-3BMV3KP4.js.map → geneset-TLZPZOQP.js.map} +0 -0
  824. /package/dist/{genomeBrowser.spec-I3WKAITC.js.map → genomeBrowser.spec-HIOTFKFK.js.map} +0 -0
  825. /package/dist/{grin2-5L2U32LY.js.map → grin2-G2PVFRKR.js.map} +0 -0
  826. /package/dist/{grin2-4BBCH3H5.js.map → grin2-RJQZRVFF.js.map} +0 -0
  827. /package/dist/{hierCluster-KM56NTN6.js.map → hierCluster-C6ICZSOB.js.map} +0 -0
  828. /package/dist/{hierCluster-XCJF5IQ6.js.map → hierCluster-MESFVAO7.js.map} +0 -0
  829. /package/dist/{hierCluster.config-E2EYOXX6.js.map → hierCluster.config-7HROWR2T.js.map} +0 -0
  830. /package/dist/{hierCluster.integration.spec-IIEJ2YEI.js.map → hierCluster.integration.spec-CJT22MJI.js.map} +0 -0
  831. /package/dist/{hierCluster.interactivity-AJFEJTGX.js.map → hierCluster.interactivity-MDX5QSEF.js.map} +0 -0
  832. /package/dist/{hierCluster.renderers-XKI344FM.js.map → hierCluster.renderers-SU5IYI33.js.map} +0 -0
  833. /package/dist/{imagePlot-3B3BXI6I.js.map → imagePlot-3Y5FNIJL.js.map} +0 -0
  834. /package/dist/{importPlot-JDVH7Q2Z.js.map → importPlot-WE5QSSFY.js.map} +0 -0
  835. /package/dist/{isoformExpression-UFHY5LB2.js.map → isoformExpression-TMLFOZVK.js.map} +0 -0
  836. /package/dist/{isoformExpression.unit.spec-U6GDCNQR.js.map → isoformExpression.unit.spec-MSVTQC3E.js.map} +0 -0
  837. /package/dist/{junction-W2STW5WW.js.map → junction-YKZV4LEL.js.map} +0 -0
  838. /package/dist/{launch.adhoc-KN7HFHJH.js.map → launch.adhoc-DS6UME2S.js.map} +0 -0
  839. /package/dist/{lollipop-EKIGAAK6.js.map → lollipop-ZKDAU3O5.js.map} +0 -0
  840. /package/dist/{maf-MK2MM7J4.js.map → maf-DKOORWGV.js.map} +0 -0
  841. /package/dist/{maftimeline-7RTMXWFA.js.map → maftimeline-EHJ2CWJJ.js.map} +0 -0
  842. /package/dist/{matrix-UM2EZODJ.js.map → matrix-7JDLGNU7.js.map} +0 -0
  843. /package/dist/{matrix-YBL4FZYJ.js.map → matrix-EB7YOLMN.js.map} +0 -0
  844. /package/dist/{matrix.cells-45ZFADK5.js.map → matrix.cells-A5E63KDN.js.map} +0 -0
  845. /package/dist/{matrix.config-QTBIRXKU.js.map → matrix.config-GSW2WJM4.js.map} +0 -0
  846. /package/dist/{matrix.data-WAMOLSKW.js.map → matrix.data-R4FW2PQH.js.map} +0 -0
  847. /package/dist/{matrix.groups-RXFXZABD.js.map → matrix.groups-3UH2KOIY.js.map} +0 -0
  848. /package/dist/{matrix.integration.spec-JZDZRVOK.js.map → matrix.integration.spec-R32TIABT.js.map} +0 -0
  849. /package/dist/{matrix.interactivity-P4VYGTB2.js.map → matrix.interactivity-RDPMBDVK.js.map} +0 -0
  850. /package/dist/{matrix.layout-WWPRXXHX.js.map → matrix.layout-FD275D3P.js.map} +0 -0
  851. /package/dist/{matrix.legend-4MCMVVKO.js.map → matrix.legend-SE7SQTNN.js.map} +0 -0
  852. /package/dist/{matrix.renderers-JQTUODDS.js.map → matrix.renderers-RK2BRCHZ.js.map} +0 -0
  853. /package/dist/{matrix.serieses-3IDRKSGO.js.map → matrix.serieses-BEZCQDLJ.js.map} +0 -0
  854. /package/dist/{matrix.sort-EAWOB56R.js.map → matrix.sort-KRNS4VPF.js.map} +0 -0
  855. /package/dist/{matrix.sort.unit.spec-FOWLULHA.js.map → matrix.sort.unit.spec-LZG3GOXM.js.map} +0 -0
  856. /package/dist/{matrix.sorterUi.unit.spec-U5CQDTMX.js.map → matrix.sorterUi.unit.spec-RR2KK4R5.js.map} +0 -0
  857. /package/dist/{matrix.unit.spec-VTLD4EOZ.js.map → matrix.unit.spec-3PK6LUNE.js.map} +0 -0
  858. /package/dist/{mavb-JIIXJHBK.js.map → mavb-CUPAESFH.js.map} +0 -0
  859. /package/dist/{mds.samplescatterplot-PTWA2V6E.js.map → mds.samplescatterplot-WGQ7A7UC.js.map} +0 -0
  860. /package/dist/{mds.survivalplot-XVZ66GP5.js.map → mds.survivalplot-ZEGSEJO2.js.map} +0 -0
  861. /package/dist/{multivalue-2H7QX7MG.js.map → multivalue-DKUQCROX.js.map} +0 -0
  862. /package/dist/{numericDictTermCluster-EHCDRT6J.js.map → numericDictTermCluster-IFIEM3E4.js.map} +0 -0
  863. /package/dist/{oncomatrix-RZLZUC32.js.map → oncomatrix-WSPJAWHW.js.map} +0 -0
  864. /package/dist/{oncomatrix.spec-Z5UQGTW2.js.map → oncomatrix.spec-LDWTZ7LO.js.map} +0 -0
  865. /package/dist/{plot.2dvaf-IRBZBJ6B.js.map → plot.2dvaf-N333YSMC.js.map} +0 -0
  866. /package/dist/{plot.app-I23IAZ3Z.js.map → plot.app-HU5RQS5I.js.map} +0 -0
  867. /package/dist/{plot.barplot-PYLRAZB7.js.map → plot.barplot-4T2UEIYX.js.map} +0 -0
  868. /package/dist/{plot.boxplot-VBWU7DUG.js.map → plot.boxplot-C4OXCRFB.js.map} +0 -0
  869. /package/dist/{plot.brainImaging-HDJMEMTK.js.map → plot.brainImaging-A6FEKFEA.js.map} +0 -0
  870. /package/dist/{plot.disco-5BVG3WMT.js.map → plot.disco-VDL7YKRX.js.map} +0 -0
  871. /package/dist/{plot.ssgq-S3BKXJMW.js.map → plot.ssgq-OII7PFPG.js.map} +0 -0
  872. /package/dist/{plot.vaf2cov-VD7DU2XR.js.map → plot.vaf2cov-RZ5JPWMC.js.map} +0 -0
  873. /package/dist/{polar2-PYLEVG7E.js.map → polar2-6KR2KX5D.js.map} +0 -0
  874. /package/dist/{profileForms-CI2YYD3Y.js.map → profileForms-YJDJIBSY.js.map} +0 -0
  875. /package/dist/{profilePlot-UCC4ZVHQ.js.map → profilePlot-U4U4AYMO.js.map} +0 -0
  876. /package/dist/{proteomeCohortCompare-2VUSLC6I.js.map → proteomeCohortCompare-QCXKLAWG.js.map} +0 -0
  877. /package/dist/{pseudbulk.unit.spec-VPZWNTIA.js.map → pseudbulk.unit.spec-3A2FWQZI.js.map} +0 -0
  878. /package/dist/{pseudobulk-RUXGZ7OY.js.map → pseudobulk-WB6NXFJ6.js.map} +0 -0
  879. /package/dist/{qualitative-3AVR4GRX.js.map → qualitative-CQUBCCGT.js.map} +0 -0
  880. /package/dist/{qualitative-5QNBKDOZ.js.map → qualitative-QQ3CWFVP.js.map} +0 -0
  881. /package/dist/{radar2-AOYMS54Y.js.map → radar2-FNC67FNX.js.map} +0 -0
  882. /package/dist/{radarFacility2-PP2MAXIP.js.map → radarFacility2-3X77B4WP.js.map} +0 -0
  883. /package/dist/{render-ASLVKYEX.js.map → render-G5NCZTMW.js.map} +0 -0
  884. /package/dist/{report-UVYKDMQC.js.map → report-CR645KQ4.js.map} +0 -0
  885. /package/dist/{sampleView-6UHR7FSR.js.map → sampleView-6PG2HJZL.js.map} +0 -0
  886. /package/dist/{samplelst-ABC2CCNN.js.map → samplelst-FCQ7YPPQ.js.map} +0 -0
  887. /package/dist/{samplematrix-36UCHZLC.js.map → samplematrix-GXMN5QTS.js.map} +0 -0
  888. /package/dist/{sc-XLSAM725.js.map → sc-4ZTSQOXC.js.map} +0 -0
  889. /package/dist/{scatter-ADOBAOW2.js.map → scatter-2PUQU22I.js.map} +0 -0
  890. /package/dist/{scatter-ZNVLI627.js.map → scatter-ZSZTA37T.js.map} +0 -0
  891. /package/dist/{selectGenomeWithTklst-DPDBDYTR.js.map → selectGenomeWithTklst-XHWBEM2G.js.map} +0 -0
  892. /package/dist/{singleCellCellType-STVPYZD4.js.map → singleCellCellType-NP7Y4N6Z.js.map} +0 -0
  893. /package/dist/{singleCellCellType.unit.spec-ZLY37AXL.js.map → singleCellCellType.unit.spec-5I3FECB4.js.map} +0 -0
  894. /package/dist/{singleCellGeneExpression-PCGLU35S.js.map → singleCellGeneExpression-7RWH633E.js.map} +0 -0
  895. /package/dist/{singleCellGeneExpression.unit.spec-PSLKK362.js.map → singleCellGeneExpression.unit.spec-2X2BDTNO.js.map} +0 -0
  896. /package/dist/{singleCellNumericValue-SR3SJEOB.js.map → singleCellNumericValue-I6V4ME6T.js.map} +0 -0
  897. /package/dist/{singleCellNumericValue.unit.spec-PXVXJ4HJ.js.map → singleCellNumericValue.unit.spec-4HKAJXB3.js.map} +0 -0
  898. /package/dist/{singleCellPlot-JXB7M6OH.js.map → singleCellPlot-QRFR3AJH.js.map} +0 -0
  899. /package/dist/{singlecell-PH55NFRX.js.map → singlecell-AQEAB445.js.map} +0 -0
  900. /package/dist/{singlecell-EDSX56QO.js.map → singlecell-DX4EXNUV.js.map} +0 -0
  901. /package/dist/{snp-3VEYBTAQ.js.map → snp-2URSYPBL.js.map} +0 -0
  902. /package/dist/{snp.unit.spec-V7OB44US.js.map → snp.unit.spec-ZV2RCDT4.js.map} +0 -0
  903. /package/dist/{snplocus-HX67RBT5.js.map → snplocus-BB4I2QIP.js.map} +0 -0
  904. /package/dist/{snplst-H5YXCY33.js.map → snplst-A5S7CQEM.js.map} +0 -0
  905. /package/dist/{spliceevent.a53ss.diagram-DBDEEHSK.js.map → spliceevent.a53ss.diagram-6C4OQOVF.js.map} +0 -0
  906. /package/dist/{spliceevent.exonskip.diagram-EYEL6BY6.js.map → spliceevent.exonskip.diagram-FKSR3JEL.js.map} +0 -0
  907. /package/dist/{spliceevent.noeventdiagram-64OEXK7U.js.map → spliceevent.noeventdiagram-G3JQUZKK.js.map} +0 -0
  908. /package/dist/{ssGSEA-3YWQH6KM.js.map → ssGSEA-KLMOSI53.js.map} +0 -0
  909. /package/dist/{ssGSEA.unit.spec-23V2IXP5.js.map → ssGSEA.unit.spec-HBALWLVB.js.map} +0 -0
  910. /package/dist/{stattable-GPSBCNYC.js.map → stattable-ZCMPIC3I.js.map} +0 -0
  911. /package/dist/{studyCatalog-W5PATRNY.js.map → studyCatalog-UZ4BSYY6.js.map} +0 -0
  912. /package/dist/{summarizeCnvGeneexp-YGI23QH5.js.map → summarizeCnvGeneexp-Z43GYKZB.js.map} +0 -0
  913. /package/dist/{summarizeGeneexpSurvival-KQ6OLWYR.js.map → summarizeGeneexpSurvival-4OHRMCFV.js.map} +0 -0
  914. /package/dist/{summarizeMutationCnv-XDHBNEPU.js.map → summarizeMutationCnv-EZXMLADC.js.map} +0 -0
  915. /package/dist/{summarizeMutationDiagnosis-VKIJRJ2Q.js.map → summarizeMutationDiagnosis-RPQP4TM5.js.map} +0 -0
  916. /package/dist/{summarizeMutationSurvival-57YKJGLE.js.map → summarizeMutationSurvival-LX4TRGJZ.js.map} +0 -0
  917. /package/dist/{summary-4WQOVIUF.js.map → summary-FZQVK5KR.js.map} +0 -0
  918. /package/dist/{summary.integration.spec-FRNWBU7F.js.map → summary.integration.spec-46T65LR5.js.map} +0 -0
  919. /package/dist/{summaryInput-X7DS2YA7.js.map → summaryInput-BHU7G5FC.js.map} +0 -0
  920. /package/dist/{sunburst-MSGTXYMM.js.map → sunburst-A5NS3KJQ.js.map} +0 -0
  921. /package/dist/{sunburst-3OEAQA3O.js.map → sunburst-R5X2C7FK.js.map} +0 -0
  922. /package/dist/{survival-5KC5CNZU.js.map → survival-MKW5J5ZH.js.map} +0 -0
  923. /package/dist/{survival-QXDS6N46.js.map → survival-N2NKMVOV.js.map} +0 -0
  924. /package/dist/{survival.integration.spec-PKENHLTZ.js.map → survival.integration.spec-K5FMOOTF.js.map} +0 -0
  925. /package/dist/{svgraph-VJLB7BBN.js.map → svgraph-3WRCJA5D.js.map} +0 -0
  926. /package/dist/{swimmer-R3DN7N36.js.map → swimmer-XV5KVWEM.js.map} +0 -0
  927. /package/dist/{table-YF5VORU6.js.map → table-XUGFZSGV.js.map} +0 -0
  928. /package/dist/{termCollection-KSHVOPS5.js.map → termCollection-23ZRHZHF.js.map} +0 -0
  929. /package/dist/{termCollection-3KGLZFDW.js.map → termCollection-NWTAUSSW.js.map} +0 -0
  930. /package/dist/{termCollection.unit.spec-HTBDG5PL.js.map → termCollection.unit.spec-WE3JMSUI.js.map} +0 -0
  931. /package/dist/{termCollectionFractionSelection-MK4NKWUX.js.map → termCollectionFractionSelection-5FLFLMIY.js.map} +0 -0
  932. /package/dist/{termCollectionFractionSelection.unit.spec-AMF32FDN.js.map → termCollectionFractionSelection.unit.spec-CCFGGXAA.js.map} +0 -0
  933. /package/dist/{tk-Z54DOECH.js.map → tk-F3TSB4IB.js.map} +0 -0
  934. /package/dist/{tp.ui-M4TZVT53.js.map → tp.ui-4QDX3FGM.js.map} +0 -0
  935. /package/dist/{tvs.categorical-HY3BWCZR.js.map → tvs.categorical-24OT3XZI.js.map} +0 -0
  936. /package/dist/{tvs.condition-Y36TRIX4.js.map → tvs.condition-X4SXCVGN.js.map} +0 -0
  937. /package/dist/{tvs.dt-XKVJZP7Y.js.map → tvs.dt-FRBJRSWI.js.map} +0 -0
  938. /package/dist/{tvs.dtcnv.categorical-OMRZR4Y7.js.map → tvs.dtcnv.categorical-4RRSO735.js.map} +0 -0
  939. /package/dist/{tvs.dtcnv.continuous-AGYOBI5K.js.map → tvs.dtcnv.continuous-HXY2PBUA.js.map} +0 -0
  940. /package/dist/{tvs.dtfusion-2JX5Y2IH.js.map → tvs.dtfusion-67LXBQA4.js.map} +0 -0
  941. /package/dist/{tvs.dtitd-SDSLBBWC.js.map → tvs.dtitd-MCJZCNV2.js.map} +0 -0
  942. /package/dist/{tvs.dtsnvindel-LI7K464K.js.map → tvs.dtsnvindel-K5YIIBQJ.js.map} +0 -0
  943. /package/dist/{tvs.dtsv-VRCLX7QY.js.map → tvs.dtsv-RP7FUB2N.js.map} +0 -0
  944. /package/dist/{tvs.multivalue-4OTY6J2S.js.map → tvs.multivalue-CROMWUCP.js.map} +0 -0
  945. /package/dist/{tvs.numeric-CDATYOR2.js.map → tvs.numeric-IYYYV6ZJ.js.map} +0 -0
  946. /package/dist/{tvs.samplelst-76JOJG2M.js.map → tvs.samplelst-5DXKRFYM.js.map} +0 -0
  947. /package/dist/{tvs.survival-WTFJOKIZ.js.map → tvs.survival-W5RXODBT.js.map} +0 -0
  948. /package/dist/{tvs.termCollection-QQXAS7PE.js.map → tvs.termCollection-OSJYIWDX.js.map} +0 -0
  949. /package/dist/{vocabulary-6ACAEFTL.js.map → vocabulary-HTRYJUD7.js.map} +0 -0
@@ -1,1339 +0,0 @@
1
- import {
2
- ColorScale,
3
- axisstyle,
4
- drawBoxplot,
5
- first_genetrack_tolist,
6
- makeSsmLink,
7
- sayerror
8
- } from "./chunk-DPWSIN62.js";
9
- import {
10
- Menu
11
- } from "./chunk-CNFTQSNE.js";
12
- import {
13
- axisBottom,
14
- axisTop
15
- } from "./chunk-2N345NXD.js";
16
- import {
17
- linear,
18
- log
19
- } from "./chunk-4OLM3KSB.js";
20
- import {
21
- roundValue
22
- } from "./chunk-TLT4YIG3.js";
23
- import {
24
- rgb_default
25
- } from "./chunk-Q5RDQNIT.js";
26
-
27
- // plots/regression/estimateMsg.ts
28
- var refGrp_NA = "NA";
29
- function getEstimateMsg(arg) {
30
- const {
31
- est,
32
- tw,
33
- tw2,
34
- categoryKey,
35
- categoryKey2,
36
- isIntercept,
37
- isUnivariate,
38
- outcomeTw,
39
- independentTws,
40
- termdbConfig,
41
- getIndependentInput
42
- } = arg;
43
- const regtype = arg.regressionType;
44
- const category = tw?.term?.values && tw.term.values[categoryKey] ? tw.term.values[categoryKey].label : categoryKey;
45
- const category2 = tw2?.term?.values && tw2.term.values[categoryKey2] ? tw2.term.values[categoryKey2].label : categoryKey2;
46
- const refGrp = tw?.term?.values && tw.term.values[tw.refGrp] ? tw.term.values[tw.refGrp].label : tw?.refGrp;
47
- const refGrp2 = tw2?.term?.values && tw2.term.values[tw2.refGrp] ? tw2.term.values[tw2.refGrp].label : tw2?.refGrp;
48
- if (!Number.isFinite(est) || regtype != "linear" && est <= 0) {
49
- return "The estimate of this variable is not available.";
50
- }
51
- let msg;
52
- if (regtype == "linear") {
53
- msg = tw2 ? getInteractionMsg() : `Mean ${styleVariable(outcomeTw)} is`;
54
- if (isIntercept) {
55
- const baselines = getBaselines(independentTws);
56
- return `${msg} ${est} ${unitsOf(outcomeTw)} when ${joinVariables(baselines)}.`;
57
- }
58
- msg += est == 0 ? " no different " : ` ${Math.abs(est)} ${unitsOf(outcomeTw)} ${est < 0 ? "lower" : "higher"} `;
59
- } else if (regtype == "logistic") {
60
- msg = tw2 ? getInteractionMsg() : `Odds of ${styleVariable(outcomeTw, outcomeTw.nonRefGrp)} is`;
61
- if (isIntercept) {
62
- const baselines = getBaselines(independentTws);
63
- return `${msg} ${est} when ${joinVariables(baselines)}.`;
64
- }
65
- msg += getRatioMsg();
66
- } else if (regtype == "cox") {
67
- msg = tw2 ? getInteractionMsg() : `Hazard (instantaneous rate) of ${styleVariable(outcomeTw, outcomeTw.eventLabel)} is`;
68
- msg += getRatioMsg();
69
- } else {
70
- throw "regression type not recognized";
71
- }
72
- const interactions = [];
73
- const interactionsBaselines = [];
74
- if (tw.interactions?.length && !tw2) {
75
- for (const tid of tw.interactions) {
76
- const t = getIndependentInput(tid).term;
77
- if (t.term.snps) {
78
- for (const snp of t.term.snps) interactions.push(snp.snpid);
79
- } else {
80
- interactions.push(tid);
81
- }
82
- }
83
- if (!interactions.length) throw "interactions[] is empty";
84
- const interactingTws = independentTws.filter((t) => interactions.includes(t.$id || t.id));
85
- interactionsBaselines.push(...getBaselines(interactingTws));
86
- }
87
- if (category) {
88
- msg += `in ${joinVariables([styleVariable(tw, category), ...interactionsBaselines])} compared to ${joinVariables([
89
- styleVariable(tw, refGrp),
90
- ...interactionsBaselines
91
- ])}`;
92
- } else if (tw.q.mode == "continuous") {
93
- msg += `for every ${oneUnitOf(tw)} increase of ${styleVariable(tw)}`;
94
- if (interactionsBaselines.length) msg += ` when ${joinVariables(interactionsBaselines)}`;
95
- } else if (tw.q.geneticModel === 0) {
96
- msg += `for every additional ${tw.effectAllele} allele of ${styleVariable(tw)}`;
97
- if (interactionsBaselines.length) msg += ` when ${joinVariables(interactionsBaselines)}`;
98
- } else if (tw.q.geneticModel == 1 || tw.q.geneticModel == 2) {
99
- const gts = Object.keys(tw.gt2count);
100
- const testGts = gts.filter((gt) => {
101
- if (tw.q.geneticModel == 1) {
102
- return gt.includes(tw.effectAllele);
103
- } else {
104
- return gt.replace(/[^a-zA-Z]/g, "").split("").every((c) => c == tw.effectAllele);
105
- }
106
- });
107
- const refGts = gts.filter((gt) => !testGts.includes(gt));
108
- msg += `in ${joinVariables([
109
- styleVariable(tw, testGts.join(", ")),
110
- ...interactionsBaselines
111
- ])} compared to ${joinVariables([styleVariable(tw, refGts.join(", ")), ...interactionsBaselines])}`;
112
- }
113
- const tids = [tw.$id || tw.id];
114
- if (tw.interactions?.length) {
115
- if (tw2) tids.push(tw2.$id || tw2.id);
116
- else tids.push(...interactions);
117
- }
118
- const covariates = independentTws.filter((t) => !tids.includes(t.$id || t.id)).map((t) => styleVariable(t));
119
- if (covariates.length && !isUnivariate) msg += `, adjusting for ${joinVariables(covariates)}`;
120
- msg += ".";
121
- if (regtype == "cox") {
122
- if (outcomeTw.q.timeScale == "age") {
123
- msg += " Time is measured as attained age during follow-up.";
124
- } else {
125
- const unit = termdbConfig?.timeUnit ? ` in ${termdbConfig.timeUnit}` : "";
126
- const start = termdbConfig?.cohortStartTimeMsg ? ` from ${termdbConfig.cohortStartTimeMsg}` : "";
127
- if (unit || start) msg += ` Time is measured${unit}${start}.`;
128
- }
129
- }
130
- return msg;
131
- function oneUnitOf(tw3) {
132
- const u = tw3?.term?.valueConversion?.toUnit;
133
- return u ? `1 ${u}` : "one unit";
134
- }
135
- function unitsOf(tw3) {
136
- const u = tw3?.term?.valueConversion?.toUnit;
137
- return u ? `${u}s` : "units";
138
- }
139
- function getRatioMsg() {
140
- if (est == 1) return " no different ";
141
- return est > 1 ? ` ${est} times higher ` : ` ${roundValue(1 / est, 3)} times lower `;
142
- }
143
- function styleVariable(tw3, category3) {
144
- const spans = [
145
- `<span class="term_name_btn sja_filter_tag_btn" style="padding: 3px 6px; margin: 2.5px 0px; border-radius: ${category3 ? "6px 0px 0px 6px" : "6px"};">${tw3.term.name.length < 40 ? tw3.term.name : tw3.term.name.substring(0, 35) + " ..."}</span>`
146
- ];
147
- if (category3) {
148
- spans.push(
149
- `<span class="ts_summary_btn sja_filter_tag_btn" style="padding: 3px 6px; margin: 2.5px 0px; border-radius: 0px 6px 6px 0px; font-style: italic;">${category3}</span>`
150
- );
151
- }
152
- return `<div style="display: inline; white-space: nowrap; font-size: 0.9em">${spans.join("")}</div>`;
153
- }
154
- function getInteractionMsg() {
155
- let msg2 = regtype == "linear" ? `The difference in mean ${styleVariable(outcomeTw)}` : regtype == "logistic" ? `The difference in odds of ${styleVariable(outcomeTw, outcomeTw.nonRefGrp)}` : `The difference in hazard (instantaneous rate) of ${styleVariable(outcomeTw, outcomeTw.eventLabel)}`;
156
- if (category2) {
157
- msg2 += ` between ${styleVariable(tw2, category2)} and ${styleVariable(tw2, refGrp2)} is`;
158
- } else if (tw2.q.mode == "continuous") {
159
- msg2 += ` for every ${oneUnitOf(tw2)} increase of ${styleVariable(tw2)} is`;
160
- } else if (tw2.q.geneticModel === 0) {
161
- msg2 += ` for every additional ${tw2.effectAllele} allele of ${styleVariable(tw2)} is`;
162
- } else if (tw2.q.geneticModel == 1 || tw2.q.geneticModel == 2) {
163
- const gts = Object.keys(tw2.gt2count);
164
- const testGts = gts.filter((gt) => {
165
- if (tw2.q.geneticModel == 1) {
166
- return gt.includes(tw2.effectAllele);
167
- } else {
168
- return gt.replace(/[^a-zA-Z]/g, "").split("").every((c) => c == tw2.effectAllele);
169
- }
170
- });
171
- const refGts = gts.filter((gt) => !testGts.includes(gt));
172
- msg2 += ` between ${styleVariable(tw2, testGts.join(", "))} and ${styleVariable(tw2, refGts.join(", "))} is`;
173
- }
174
- return msg2;
175
- }
176
- function getBaselines(tws) {
177
- const baselines = tws.map((tw3) => {
178
- if (tw3.q.mode != "spline" && "refGrp" in tw3 && tw3.refGrp != refGrp_NA) {
179
- const refGrp3 = tw3?.term?.values && tw3.term.values[tw3.refGrp] ? tw3.term.values[tw3.refGrp].label : tw3?.refGrp;
180
- return styleVariable(tw3, refGrp3);
181
- } else if (tw3.q.mode == "continuous" || tw3.q.mode == "spline") {
182
- return styleVariable(tw3, "0");
183
- } else if (tw3.q.geneticModel === 0) {
184
- return styleVariable(tw3, `No ${tw3.effectAllele} alleles`);
185
- } else if (tw3.q.geneticModel == 1 || tw3.q.geneticModel == 2) {
186
- const gts = Object.keys(tw3.gt2count);
187
- const refGts = gts.filter((gt) => {
188
- if (tw3.q.geneticModel == 1) {
189
- return !gt.includes(tw3.effectAllele);
190
- } else {
191
- return !gt.replace(/[^a-zA-Z]/g, "").split("").every((c) => c == tw3.effectAllele);
192
- }
193
- });
194
- return styleVariable(tw3, refGts.join(", "));
195
- }
196
- });
197
- return baselines.filter(Boolean);
198
- }
199
- function joinVariables(variables) {
200
- if (!variables.length) return "";
201
- else if (variables.length == 1) return variables[0];
202
- else if (variables.length == 2) return variables.join(" and ");
203
- else return `${variables.slice(0, -1).join(", ")}, and ${variables.slice(-1)}`;
204
- }
205
- }
206
-
207
- // plots/regression/regression.results.ts
208
- var forestcolor = "#126e08";
209
- var boxplotcolor = forestcolor;
210
- var graytextcolor = "#555";
211
- var graytextopacity = 0.75;
212
- var RegressionResults = class {
213
- constructor(opts) {
214
- this.opts = opts;
215
- this.app = opts.app;
216
- this.parent = opts.parent;
217
- this.vocabApi = this.parent.vocabApi;
218
- this.type = "regression";
219
- setRenderers(this);
220
- const holder = this.opts.holder;
221
- holder.append("div").style("margin-top", "10px").style("padding-top", "20px").style("font-size", "1.2em").style("opacity", graytextopacity).html("Results");
222
- this.dom = {
223
- holder,
224
- err_div: holder.append("div"),
225
- snplocusBlockDiv: holder.append("div"),
226
- // is where newDiv() and displayResult_oneset() writes to
227
- oneSetResultDiv: holder.append("div").style("margin", "10px"),
228
- tip: new Menu({ padding: "9px" })
229
- };
230
- }
231
- async main() {
232
- try {
233
- this.config = this.parent.config;
234
- this.state = this.parent.state;
235
- if (!this.state.formIsComplete || this.parent.inputs.hasError || this.config.hasUnsubmittedEdits && !this.hasUnsubmittedEdits_nullify_singleuse) {
236
- delete this.snplocusBlock;
237
- this.dom.snplocusBlockDiv.selectAll("*").remove();
238
- this.dom.holder.style("display", "none");
239
- return;
240
- }
241
- delete this.hasUnsubmittedEdits_nullify_singleuse;
242
- if (this.snplocusBlock) {
243
- this.snplocusBlock.cloakOn();
244
- }
245
- this.parent.inputs.dom.submitBtn.text("Running...");
246
- this.parent.dom.inputs.style("opacity", 0.5).style("pointer-events", "none");
247
- const data = await this.vocabApi.getRegressionData(this.getDataRequestOpts());
248
- if (data.error) throw data.error;
249
- this.dom.err_div.style("display", "none");
250
- this.dom.oneSetResultDiv.selectAll("*").remove();
251
- this.dom.holder.style("display", "block");
252
- await this.displayResult(data);
253
- const results_y = this.dom.holder.node().getBoundingClientRect().top + window.scrollY;
254
- const nav_height = document.querySelector(".sjpp-nav")?.getBoundingClientRect().height;
255
- if (!nav_height || isNaN(nav_height)) throw new Error("cannot get nav height");
256
- window.scroll({ behavior: "smooth", top: results_y - nav_height });
257
- } catch (e) {
258
- this.hasError = true;
259
- this.dom.holder.style("display", "block");
260
- this.dom.err_div.style("display", "block");
261
- sayerror(this.dom.err_div, "Error: " + (e.error || e));
262
- this.parent.inputs.dom.submitBtn.property("disabled", true);
263
- if (e.stack) console.log(e.stack);
264
- console.error(e);
265
- } finally {
266
- this.parent.dom.inputs.style("opacity", 1).style("pointer-events", "auto");
267
- }
268
- }
269
- // creates an opts object for the vocabApi.getRegressionData()
270
- getDataRequestOpts() {
271
- const c = this.config;
272
- const opts = {
273
- regressionType: c.regressionType,
274
- outcome: c.outcome,
275
- independent: c.independent,
276
- includeUnivariate: c.includeUnivariate
277
- };
278
- opts.filter = this.parent.filter;
279
- opts.filter0 = this.state.termfilter.filter0;
280
- return opts;
281
- }
282
- getIndependentInput(tid) {
283
- for (const i of this.parent.inputs.independent.inputLst) {
284
- if (!i.term) continue;
285
- if (i.term.term && i.term.term.snps) {
286
- for (const snp of i.term.term.snps) {
287
- if (snp.snpid == tid) {
288
- const tw = {
289
- id: tid,
290
- q: {
291
- geneticModel: i.term.q.geneticModel
292
- },
293
- term: {
294
- id: tid,
295
- name: tid
296
- },
297
- interactions: i.term.interactions,
298
- effectAllele: i.term.q.snp2effAle[tid],
299
- gt2count: snp.gt2count
300
- };
301
- if (i.term.q.snp2refGrp) {
302
- tw.refGrp = i.term.q.snp2refGrp[tid];
303
- }
304
- if (snp.mlst) {
305
- const m = snp.mlst.find((j) => j.alt == i.term.q.snp2effAle[tid]);
306
- if (m) {
307
- tw.term.name = m.mname;
308
- } else {
309
- tw.term.name = snp.mlst[0].mname;
310
- }
311
- }
312
- return { term: tw };
313
- }
314
- }
315
- }
316
- if (i.term.$id == tid) return i;
317
- }
318
- return {
319
- term: {
320
- id: tid,
321
- q: { mode: "continuous" },
322
- term: { name: tid }
323
- }
324
- };
325
- }
326
- };
327
- function setRenderers(self) {
328
- self.displayResult = async (result) => {
329
- const snplocusInput = self.parent.inputs.independent.inputLst.find((i) => i.term && i.term.term.type == "snplocus");
330
- if (snplocusInput) {
331
- if (!self.snplocusBlock) {
332
- self.dom.snplocusBlockDiv.append("div").style("margin-top", "30px").style("opacity", graytextopacity).text("Click on a variant within the browser to view its regression results");
333
- self.snplocusBlock = await createGenomebrowser(self, snplocusInput, result.resultLst);
334
- } else {
335
- await updateMds3Tk(self, snplocusInput, result.resultLst);
336
- }
337
- return;
338
- }
339
- delete self.snplocusBlock;
340
- self.dom.snplocusBlockDiv.selectAll("*").remove();
341
- if (!result.resultLst[0] || !result.resultLst[0].data) throw "result is not [ {data:{}} ]";
342
- self.displayResult_oneset(result.resultLst[0].data);
343
- };
344
- self.displayResult_oneset = (result) => {
345
- self.dom.oneSetResultDiv.selectAll("*").remove();
346
- self.dom.LDresultDiv = self.dom.oneSetResultDiv.append("div");
347
- self.mayshow_warn(result);
348
- if (result.sampleSize) self.newDiv("Sample size:", result.sampleSize);
349
- if (result.eventCnt) self.newDiv("Number of events:", result.eventCnt);
350
- self.mayshow_headerRow(result);
351
- self.mayshow_splinePlots(result);
352
- self.mayshow_residuals(result);
353
- self.mayshow_coefficients(result);
354
- self.mayshow_coxDisclaimer();
355
- self.mayshow_totalSnpEffect(result);
356
- self.mayshow_type3(result);
357
- self.mayshow_nonlinearity(result);
358
- self.mayshow_tests(result);
359
- self.mayshow_other(result);
360
- self.mayshow_fisher(result);
361
- self.mayshow_wilcoxon(result);
362
- self.mayshow_cuminc(result);
363
- };
364
- self.newDiv = (label, label2, getrow) => {
365
- const div = self.dom.oneSetResultDiv.append("div").style("margin", "20px 0px 10px 0px").attr("name", label);
366
- const row = div.append("div");
367
- row.append("span").style("text-decoration", "underline").text(label);
368
- if (label2) {
369
- row.append("span").html(label2).style("margin-left", "5px");
370
- }
371
- return getrow ? row : div.append("div").style("margin-left", "20px");
372
- };
373
- self.mayshow_warn = (result) => {
374
- if (!result.warnings) return;
375
- const div = self.newDiv("Warnings");
376
- const warnings = new Set(result.warnings);
377
- for (const line of warnings) {
378
- div.append("p").style("margin", "5px").text(line);
379
- }
380
- };
381
- self.mayshow_headerRow = (result) => {
382
- if (!result.headerRow) return;
383
- const k = result.headerRow.k;
384
- const v = result.headerRow.v;
385
- const snplocusInput = self.parent.inputs.independent.inputLst.find((i) => i.term && i.term.term.type == "snplocus");
386
- if (snplocusInput) {
387
- const snp = snplocusInput.term.term.snps.find((snp2) => snp2.snpid == v.snpid);
388
- const m = snp.mlst[0];
389
- m.chr = snp.chr;
390
- const row = self.newDiv(k, null, true);
391
- const snpLabelDom = row.append("span").text(`${m.chr}:${m.pos + 1} ${m.ref && m.alt ? m.ref + ">" + m.alt : ""}`).style("margin-left", "5px");
392
- const urlConfig = self.app.vocabApi.termdbConfig.urlTemplates?.ssm || self.app.vocabApi.termdbConfig.queries?.snvindel?.ssmUrl;
393
- if (urlConfig) {
394
- const separateUrls = makeSsmLink(urlConfig, m, snpLabelDom, self.parent.genomeObj.name);
395
- if (separateUrls?.length) {
396
- row.append("span").style("margin-left", "10px").html(separateUrls.join(" "));
397
- }
398
- }
399
- let labels;
400
- const gt_label = `Genotypes: ${v.gtcounts.join(", ")}`;
401
- if (v.monomorphic) {
402
- labels = [gt_label];
403
- } else {
404
- const effale_label = `Effect allele: ${v.effAle}`;
405
- const af_label = `Allele frequency: ${v.af}`;
406
- labels = [effale_label, af_label, gt_label];
407
- }
408
- row.append("span").html(`&nbsp;&#65372;&nbsp;${labels.join("&nbsp;&#65372;&nbsp;")}`);
409
- } else {
410
- self.newDiv(k, v);
411
- }
412
- };
413
- self.mayshow_splinePlots = (result) => {
414
- if (!result.splinePlots) return;
415
- const div = self.newDiv("Cubic spline plots");
416
- div.style("display", "flex").style("align-items", "center");
417
- result.splinePlots.sort((a, b) => {
418
- if (a.type == "univariate" && b.type == "multivariate") return -1;
419
- if (a.type == "multivariate" && b.type == "univariate") return 1;
420
- return 0;
421
- });
422
- for (const plot of result.splinePlots) {
423
- const plotDiv = div.append("div").style("margin", "0px 50px 5px 0px");
424
- plotDiv.append("img").attr("src", plot.src).attr("width", 670);
425
- }
426
- };
427
- self.mayshow_residuals = (result) => {
428
- if (!result.residuals) return;
429
- const div = self.newDiv(result.residuals.label);
430
- const table = div.append("table").style("border-spacing", "8px").attr("name", "sjpp-residuals-table");
431
- const tr1 = table.append("tr").style("opacity", graytextopacity);
432
- const tr2 = table.append("tr");
433
- for (let i = 0; i < result.residuals.header.length; i++) {
434
- tr1.append("td").text(result.residuals.header[i]);
435
- tr2.append("td").text(result.residuals.rows[i]);
436
- }
437
- };
438
- self.mayshow_cuminc = async (result) => {
439
- if (!result.cuminc) return;
440
- const holder = self.newDiv(
441
- "Cumulative incidence test:"
442
- /*, 'p-value = ' + result.cuminc.pvalue*/
443
- );
444
- const _ = await import("./Cuminc-3BXJVWIH.js");
445
- const plotter = new _.Cuminc({
446
- holder,
447
- config: {
448
- term: self.config.outcome,
449
- term2: {
450
- term: {
451
- name: "Variant",
452
- values: {
453
- 1: { key: 1, label: "Has minor allele" },
454
- 2: { key: 2, label: "No minor allele" }
455
- }
456
- }
457
- }
458
- }
459
- });
460
- if (result.cuminc.ci_data) {
461
- plotter.main(result.cuminc.ci_data);
462
- } else {
463
- holder.append("div").style("margin", "20px").text(result.cuminc.msg);
464
- }
465
- };
466
- self.mayshow_wilcoxon = (result) => {
467
- if (!result.wilcoxon) return;
468
- const div = self.newDiv("Wilcoxon rank sum test:", "p-value = " + result.wilcoxon.pvalue);
469
- if (result.wilcoxon.boxplots) {
470
- const bs = result.wilcoxon.boxplots;
471
- const boxplotHeight = 20, boxplotWidth = 400, leftLabelWidth = 160, axisheight = 40, labpad = 20, vpad = 10;
472
- const scale = linear().domain([bs.minv, bs.maxv]).range([0, boxplotWidth]);
473
- const svg = div.append("svg").style("margin-top", "10px").attr("width", leftLabelWidth + labpad + boxplotWidth + 10).attr("height", vpad * 3 + boxplotHeight * 2 + axisheight);
474
- const g = svg.append("g").attr("transform", `translate(${leftLabelWidth + labpad},${vpad})`);
475
- drawBoxplot({
476
- g: g.append("g"),
477
- bp: bs.hasEff,
478
- scale,
479
- rowheight: boxplotHeight,
480
- color: boxplotcolor,
481
- labpad
482
- });
483
- drawBoxplot({
484
- g: g.append("g").attr("transform", `translate(0,${boxplotHeight + vpad})`),
485
- bp: bs.noEff,
486
- scale,
487
- rowheight: boxplotHeight,
488
- color: boxplotcolor,
489
- labpad
490
- });
491
- {
492
- const axisg = g.append("g").attr("transform", `translate(0,${boxplotHeight * 2 + vpad * 2})`);
493
- const axis = axisBottom(scale);
494
- axisstyle({
495
- axis: axisg.call(axis),
496
- color: boxplotcolor,
497
- showline: true
498
- });
499
- axisg.append("text").text(self.config.outcome.term.name).attr("font-size", 15).attr("x", boxplotWidth / 2).attr("y", axisheight - 5).attr("text-anchor", "middle").attr("fill", boxplotcolor);
500
- }
501
- }
502
- };
503
- self.mayshow_fisher = (result) => {
504
- if (!result.fisher) return;
505
- const div = self.newDiv(
506
- result.fisher.isChi ? "Chi-square test:" : "Fisher's exact test:",
507
- "p-value = " + result.fisher.pvalue
508
- );
509
- const table = div.append("table").style("margin", "20px").style("border-spacing", "5px").style("border-collapse", "separate");
510
- for (const r of result.fisher.rows) {
511
- const tr = table.append("tr");
512
- for (const c of r) {
513
- tr.append("td").text(c);
514
- }
515
- }
516
- };
517
- self.mayshow_coefficients = (result) => {
518
- if (!result.coefficients) {
519
- if (result.coefficients_uni && result.coefficients_multi) {
520
- self.mayshow_coefficients_uniMulti(result);
521
- }
522
- return;
523
- }
524
- const div = self.newDiv(result.coefficients.label);
525
- const table = div.append("table").style("border-spacing", "0px").attr("data-testid", "sjpp-regression-resultCoefficientTable");
526
- const forestPlotter = self.getForestPlotter(result.coefficients.terms, result.coefficients.interactions);
527
- {
528
- const tr = table.append("tr");
529
- const header = result.coefficients.header;
530
- tr.append("td").text(header.shift()).style("padding", "8px");
531
- tr.append("td").text(header.shift()).style("padding", "8px");
532
- if (self.config.regressionType == "cox") {
533
- header.shift();
534
- header.shift();
535
- }
536
- header.splice(1, 2, "95% CI");
537
- self.fillDataHeaders(header, tr, void 0, void 0, forestPlotter);
538
- }
539
- self.independentTws = Object.keys(result.coefficients.terms).map((tid) => self.getIndependentInput(tid).term);
540
- let varcount = 0;
541
- const intercept = result.coefficients.intercept;
542
- if (intercept) {
543
- const tr = table.append("tr").style("background", ++varcount % 2 ? "#eee" : "none");
544
- tr.append("td").text(intercept.shift()).style("padding", "8px");
545
- tr.append("td").text(intercept.shift()).style("padding", "8px");
546
- tr.append("td");
547
- self.fillCoefDataCols({ tr, cols: intercept, isIntercept: true });
548
- }
549
- let rowcolor;
550
- for (const tid in result.coefficients.terms) {
551
- const termdata = result.coefficients.terms[tid];
552
- const tw = self.getIndependentInput(tid).term;
553
- rowcolor = ++varcount % 2 ? "#eee" : "none";
554
- let tr = table.append("tr").style("background", rowcolor);
555
- const termNameTd = tr.append("td").style("padding", "8px");
556
- fillCoefficientTermname(tw, termNameTd);
557
- if (termdata.fields) {
558
- const cols = termdata.fields;
559
- {
560
- const td = tr.append("td").style("padding", "8px");
561
- fillColumn2coefficientsTable(td, tw);
562
- }
563
- if (self.config.regressionType == "cox") {
564
- cols.shift();
565
- cols.shift();
566
- }
567
- forestPlotter(tr.append("td"), cols);
568
- self.fillCoefDataCols({ tr, cols, tw });
569
- } else if (termdata.categories) {
570
- const orderedCategories = [];
571
- const input = self.getIndependentInput(tid);
572
- if (input.orderedLabels) {
573
- for (const k of input.orderedLabels) {
574
- if (termdata.categories[k]) orderedCategories.push(k);
575
- }
576
- }
577
- for (const k in termdata.categories) {
578
- if (!orderedCategories.includes(k)) orderedCategories.push(k);
579
- }
580
- termNameTd.attr("rowspan", orderedCategories.length).style("vertical-align", "top");
581
- let isfirst = true;
582
- for (const k of orderedCategories) {
583
- if (!isfirst) {
584
- tr = table.append("tr").style("background", rowcolor);
585
- }
586
- const cols = termdata.categories[k];
587
- const td = tr.append("td").style("padding", "8px");
588
- fillColumn2coefficientsTable(td, tw, k);
589
- if (self.config.regressionType == "cox") {
590
- if (tw.q.mode == "spline") {
591
- cols.shift();
592
- cols.shift();
593
- } else {
594
- const [samplesize_ref, samplesize_c] = cols.shift().split("/");
595
- const [eventcnt_ref, eventcnt_c] = cols.shift().split("/");
596
- if (isfirst) {
597
- const variableBottomDiv = termNameTd.select(".sjpcb-coef-variable-bottom");
598
- variableBottomDiv.style("align-items", "baseline");
599
- const refGrpDiv = variableBottomDiv.selectAll("div").filter((d, i) => i === 1);
600
- refGrpDiv.append("div").html(`n=${samplesize_ref}<br>events=${eventcnt_ref}`);
601
- }
602
- td.append("div").style("font-size", ".8em").html(`n=${samplesize_c}<br>events=${eventcnt_c}`);
603
- }
604
- }
605
- forestPlotter(tr.append("td"), cols);
606
- self.fillCoefDataCols({ tr, cols, tw, categoryKey: k });
607
- isfirst = false;
608
- }
609
- } else {
610
- tr.append("td").text("ERROR: no .fields[] or .categories{}");
611
- }
612
- }
613
- for (const i of result.coefficients.interactions) {
614
- rowcolor = ++varcount % 2 ? "#eee" : "none";
615
- let tr = table.append("tr").style("background", rowcolor);
616
- const term1 = self.getIndependentInput(i.term1).term;
617
- const term2 = self.getIndependentInput(i.term2).term;
618
- {
619
- const td = tr.append("td").style("padding", "8px");
620
- fillTdName(td.append("div"), term1 ? term1.term.name + " : " : i.term1 + " : ");
621
- fillTdName(td.append("div"), term2 ? term2.term.name : i.term2);
622
- td.attr("rowspan", i.categories.length).style("vertical-align", "top");
623
- }
624
- let isfirst = true;
625
- for (const c of i.categories) {
626
- if (!isfirst) tr = table.append("tr").style("background", rowcolor);
627
- const td = tr.append("td").style("padding", "8px");
628
- fillColumn2coefficientsTable(td.append("div"), term1, c.category1);
629
- fillColumn2coefficientsTable(td.append("div"), term2, c.category2);
630
- const cols = c.lst;
631
- if (self.config.regressionType == "cox") {
632
- cols.shift();
633
- cols.shift();
634
- }
635
- forestPlotter(tr.append("td"), cols);
636
- self.fillCoefDataCols({ tr, cols, tw: term1, tw2: term2, categoryKey: c.category1, categoryKey2: c.category2 });
637
- isfirst = false;
638
- }
639
- }
640
- };
641
- self.mayshow_coefficients_uniMulti = (result) => {
642
- if (!result.coefficients_uni || !result.coefficients_multi) return;
643
- const div = self.newDiv(result.coefficients_uni.label);
644
- div.style("margin-bottom", "200px");
645
- const table = div.append("table").style("border-spacing", "0px").attr("data-testid", "sjpp-regression-resultCoefficientTable");
646
- const forestPlotter_uni = self.getForestPlotter(result.coefficients_uni.terms, result.coefficients_uni.interactions);
647
- const forestPlotter_multi = self.getForestPlotter(
648
- result.coefficients_multi.terms,
649
- result.coefficients_multi.interactions
650
- );
651
- {
652
- const tr_label = table.append("tr").style("opacity", graytextopacity);
653
- const tr = table.append("tr");
654
- const header_uni = result.coefficients_uni.header;
655
- const header_multi = result.coefficients_multi.header;
656
- tr.append("td").text(header_uni.shift()).style("padding", "8px");
657
- tr_label.append("td").style("padding", "8px");
658
- header_multi.shift();
659
- tr.append("td").text(header_uni.shift()).style("padding", "8px");
660
- tr_label.append("td").style("padding", "8px");
661
- header_multi.shift();
662
- if (self.config.regressionType == "cox") {
663
- header_uni.shift();
664
- header_uni.shift();
665
- header_multi.shift();
666
- header_multi.shift();
667
- }
668
- header_uni.splice(1, 2, "95% CI");
669
- header_multi.splice(1, 2, "95% CI");
670
- self.fillDataHeaders(header_uni, tr, tr_label, "Univariate", forestPlotter_uni);
671
- tr.append("td").style("width", "2px");
672
- tr_label.append("td").style("width", "2px");
673
- self.fillDataHeaders(header_multi, tr, tr_label, "Multivariable-adjusted", forestPlotter_multi);
674
- }
675
- self.independentTws = Object.keys(result.coefficients_uni.terms).map((tid) => self.getIndependentInput(tid).term);
676
- let varcount = 0, rowcolor;
677
- for (const tid in result.coefficients_uni.terms) {
678
- const termdata = result.coefficients_uni.terms[tid];
679
- const termdata_multi = result.coefficients_multi.terms[tid];
680
- const tw = self.getIndependentInput(tid).term;
681
- rowcolor = ++varcount % 2 ? "#eee" : "none";
682
- let tr = table.append("tr").style("background", rowcolor);
683
- const termNameTd = tr.append("td").style("padding", "8px");
684
- fillCoefficientTermname(tw, termNameTd);
685
- if (termdata.fields) {
686
- const cols = termdata.fields;
687
- const cols_multi = termdata_multi.fields;
688
- {
689
- const td = tr.append("td").style("padding", "8px");
690
- fillColumn2coefficientsTable(td, tw);
691
- }
692
- if (self.config.regressionType == "cox") {
693
- cols.shift();
694
- cols.shift();
695
- cols_multi.shift();
696
- cols_multi.shift();
697
- }
698
- forestPlotter_uni(tr.append("td"), cols);
699
- self.fillCoefDataCols({ tr, cols, tw, isUnivariate: true });
700
- tr.append("td").style("width", "2px");
701
- forestPlotter_multi(tr.append("td"), cols_multi);
702
- self.fillCoefDataCols({ tr, cols: cols_multi, tw });
703
- } else if (termdata.categories) {
704
- const orderedCategories = [];
705
- const input = self.getIndependentInput(tid);
706
- if (input.orderedLabels) {
707
- for (const k of input.orderedLabels) {
708
- if (termdata.categories[k]) orderedCategories.push(k);
709
- }
710
- }
711
- for (const k in termdata.categories) {
712
- if (!orderedCategories.includes(k)) orderedCategories.push(k);
713
- }
714
- termNameTd.attr("rowspan", orderedCategories.length).style("vertical-align", "top");
715
- let isfirst = true;
716
- for (const k of orderedCategories) {
717
- if (!isfirst) {
718
- tr = table.append("tr").style("background", rowcolor);
719
- }
720
- const cols = termdata.categories[k];
721
- const cols_multi = termdata_multi.categories[k];
722
- const td = tr.append("td").style("padding", "8px");
723
- fillColumn2coefficientsTable(td, tw, k);
724
- if (self.config.regressionType == "cox") {
725
- if (tw.q.mode == "spline") {
726
- cols.shift();
727
- cols.shift();
728
- cols_multi.shift();
729
- cols_multi.shift();
730
- } else {
731
- const [samplesize_ref, samplesize_c] = cols.shift().split("/");
732
- const [eventcnt_ref, eventcnt_c] = cols.shift().split("/");
733
- if (isfirst) {
734
- const variableBottomDiv = termNameTd.select(".sjpcb-coef-variable-bottom");
735
- variableBottomDiv.style("align-items", "baseline");
736
- const refGrpDiv = variableBottomDiv.selectAll("div").filter((d, i) => i === 1);
737
- refGrpDiv.append("div").html(`n=${samplesize_ref}<br>events=${eventcnt_ref}`);
738
- }
739
- td.append("div").style("font-size", ".8em").html(`n=${samplesize_c}<br>events=${eventcnt_c}`);
740
- cols_multi.shift();
741
- cols_multi.shift();
742
- }
743
- }
744
- forestPlotter_uni(tr.append("td"), cols);
745
- self.fillCoefDataCols({ tr, cols, tw, categoryKey: k, isUnivariate: true });
746
- tr.append("td").style("width", "2px");
747
- forestPlotter_multi(tr.append("td"), cols_multi);
748
- self.fillCoefDataCols({ tr, cols: cols_multi, tw, categoryKey: k });
749
- isfirst = false;
750
- }
751
- } else {
752
- tr.append("td").text("ERROR: no .fields[] or .categories{}");
753
- }
754
- }
755
- };
756
- self.fillDataHeaders = (header, tr, tr_label, label, forestPlotter) => {
757
- const startColN = tr.selectAll("td").size();
758
- const forestTd = tr.append("td");
759
- if (forestPlotter) {
760
- forestTd.style("vertical-align", "bottom");
761
- forestPlotter(forestTd);
762
- }
763
- header.forEach((h, i, arr) => {
764
- if (i === 0) {
765
- const est = h;
766
- const estTd = tr.append("td").style("padding", "8px").text(est);
767
- const estInfo = estTd.append("sup").style("cursor", "default").html("&nbsp;&#9432;");
768
- estInfo.on("mouseover", (event) => {
769
- const tip = self.dom.tip.clear();
770
- tip.d.append("div").text("Hover over each value to view explanation of the result");
771
- tip.showunder(event.target);
772
- });
773
- estInfo.on("mouseout", () => self.dom.tip.hide());
774
- } else {
775
- const td = tr.append("td").text(h).style("padding", "8px");
776
- if (i === arr.length - 1) td.style("font-style", "italic");
777
- }
778
- });
779
- if (tr_label) {
780
- const endColN = tr.selectAll("td").size();
781
- tr_label.append("td").attr("colspan", endColN - startColN).style("padding", "0px 8px").style("text-align", "center").append("div").text(label).style("border-bottom", "1px solid").style("padding", "5px");
782
- }
783
- };
784
- self.fillCoefDataCols = (arg) => {
785
- const { tr, cols, tw } = arg;
786
- const est = cols.shift();
787
- const estSpan = tr.append("td").style("padding", "8px").style("cursor", "default").append("span").text(est);
788
- estSpan.on("mouseover", (event) => {
789
- if (tw && tw.q.mode == "spline") return;
790
- const tip = self.dom.tip.clear();
791
- let estimateMsg = self.getEstimateMsg(Object.assign({ est: Number(est) }, arg));
792
- if (tw) {
793
- const pvalue = Number(cols[cols.length - 1]);
794
- estimateMsg += `<br><br><span style="font-style: italic">This association is ${pvalue < 0.05 ? "statistically significant (P < 0.05)" : "not statistically significant (P \u2265 0.05)</span>"}.`;
795
- }
796
- tip.d.append("div").style("max-width", "500px").html(estimateMsg);
797
- tip.showunder(event.target);
798
- });
799
- estSpan.on("mouseout", () => self.dom.tip.hide());
800
- tr.append("td").html(`${cols.shift()} &ndash; ${cols.shift()}`).style("padding", "8px");
801
- for (const v of cols) tr.append("td").text(v).style("padding", "8px");
802
- };
803
- self.getEstimateMsg = (arg) => getEstimateMsg(
804
- Object.assign(
805
- {
806
- regressionType: self.config.regressionType,
807
- outcomeTw: self.config.outcome,
808
- independentTws: self.independentTws,
809
- termdbConfig: self.app.vocabApi.termdbConfig,
810
- getIndependentInput: (tid) => self.getIndependentInput(tid)
811
- },
812
- arg
813
- )
814
- );
815
- self.mayshow_coxDisclaimer = () => {
816
- const disclaimer = self.app.vocabApi.termdbConfig.regression?.settings?.coxDisclaimer;
817
- if (disclaimer && self.config.regressionType == "cox") {
818
- self.dom.oneSetResultDiv.append("div").style("white-space", "wrap").attr("data-testid", "sjpp-regression-result-coxDisclaimer").style("margin", "20px 0px 20px 10px").style("font-size", ".8em").style("text-align", "left").text(disclaimer);
819
- }
820
- };
821
- self.mayshow_totalSnpEffect = (result) => {
822
- if (!result.totalSnpEffect) return;
823
- const div = self.newDiv(result.totalSnpEffect.label);
824
- const table = div.append("table").style("border-spacing", "0px");
825
- {
826
- const tr2 = table.append("tr").style("opacity", graytextopacity);
827
- for (const v of result.totalSnpEffect.header) {
828
- tr2.append("td").text(v).style("padding", "8px");
829
- }
830
- }
831
- const tr = table.append("tr").style("background", "#eee");
832
- for (const v of result.totalSnpEffect.lst) {
833
- tr.append("td").text(v).style("padding", "8px");
834
- }
835
- const snp = self.getIndependentInput(result.totalSnpEffect.snp).term;
836
- const interactions = result.totalSnpEffect.interactions.map((interaction) => {
837
- return {
838
- t1: self.getIndependentInput(interaction.term1).term,
839
- t2: self.getIndependentInput(interaction.term2).term
840
- };
841
- });
842
- const bottomInfo = `Total: total effect of removing the snp (${snp.term.name}) and its interactions (${interactions.map((interaction) => interaction.t1.term.name + " : " + interaction.t2.term.name).join(" ; ")}) from the model`;
843
- div.append("div").style("margin", "20px 0px 20px 10px").style("font-size", ".8em").style("text-align", "left").style("color", graytextcolor).text(bottomInfo);
844
- };
845
- self.mayshow_type3 = (result) => {
846
- if (!result.type3 || self.app.vocabApi.termdbConfig.regression?.settings?.hideType3) return;
847
- const div = self.newDiv(result.type3.label);
848
- const table = div.append("table").style("border-spacing", "0px");
849
- {
850
- const tr = table.append("tr").style("opacity", graytextopacity);
851
- for (const v of result.type3.header) {
852
- tr.append("td").text(v).style("padding", "8px");
853
- }
854
- }
855
- if (self.config.regressionType != "cox") {
856
- const tr = table.append("tr").style("background", "#eee");
857
- for (const v of result.type3.intercept) {
858
- tr.append("td").text(v).style("padding", "8px");
859
- }
860
- }
861
- let rowcount = self.config.regressionType == "cox" ? 1 : 0;
862
- for (const tid in result.type3.terms) {
863
- const termdata = result.type3.terms[tid];
864
- const tw = self.getIndependentInput(tid).term;
865
- const tr = table.append("tr").style("background", rowcount++ % 2 ? "#eee" : "none");
866
- const termNameTd = tr.append("td").style("padding", "8px");
867
- fillTdName(termNameTd, tw.term.name);
868
- for (const v of termdata) {
869
- tr.append("td").text(v).style("padding", "8px");
870
- }
871
- }
872
- for (const row of result.type3.interactions) {
873
- const tr = table.append("tr").style("background", rowcount++ % 2 ? "#eee" : "none");
874
- const t1 = self.getIndependentInput(row.term1).term;
875
- const t2 = self.getIndependentInput(row.term2).term;
876
- const td = tr.append("td").style("padding", "8px");
877
- fillTdName(td.append("div"), t1.term.name + " : ");
878
- fillTdName(td.append("div"), t2.term.name);
879
- for (const v of row.lst) {
880
- tr.append("td").text(v).style("padding", "8px");
881
- }
882
- }
883
- };
884
- self.mayshow_nonlinearity = (result) => {
885
- if (!result.nonlinearity) return;
886
- const div = self.newDiv(result.nonlinearity.label);
887
- const table = div.append("table").style("border-spacing", "0px");
888
- {
889
- const tr = table.append("tr").style("opacity", graytextopacity);
890
- for (const v of result.nonlinearity.header) {
891
- tr.append("td").text(v).style("padding", "8px");
892
- }
893
- }
894
- let rowcount = 0;
895
- for (const tid in result.nonlinearity.terms) {
896
- const tw = self.getIndependentInput(tid).term;
897
- const tr = table.append("tr").style("background", rowcount++ % 2 ? "none" : "#eee");
898
- fillTdName(tr.append("td").style("padding", "8px"), tw.term.name);
899
- for (const v of result.nonlinearity.terms[tid]) {
900
- tr.append("td").text(v).style("padding", "8px");
901
- }
902
- }
903
- div.append("div").style("margin", "10px 0px 0px 0px").style("font-size", ".8em").style("color", graytextcolor).text(
904
- "Comparison of the cubic spline fit against a linear fit of the same variable. A small p-value indicates the effect of the variable departs from linearity."
905
- );
906
- };
907
- self.mayshow_tests = (result) => {
908
- if (!result.tests || self.app.vocabApi.termdbConfig.regression?.settings?.hideTests) return;
909
- const div = self.newDiv(result.tests.label);
910
- const table = div.append("table").style("border-spacing", "0px");
911
- const header = table.append("tr").style("opacity", graytextopacity);
912
- for (const cell of result.tests.header) {
913
- header.append("td").text(cell).style("padding", "8px");
914
- }
915
- let rowcount = 0;
916
- for (const row of result.tests.rows) {
917
- const tr = table.append("tr").style("background", rowcount++ % 2 ? "none" : "#eee");
918
- for (const cell of row) {
919
- tr.append("td").text(cell).style("padding", "8px");
920
- }
921
- }
922
- };
923
- self.mayshow_other = (result) => {
924
- if (!result.other) return;
925
- const div = self.newDiv(result.other.label);
926
- const table = div.append("table").style("border-spacing", "8px");
927
- for (let i = 0; i < result.other.header.length; i++) {
928
- const tr = table.append("tr");
929
- tr.append("td").style("opacity", graytextopacity).text(result.other.header[i]);
930
- tr.append("td").text(result.other.rows[i]);
931
- }
932
- };
933
- self.getForestPlotter = (terms, interactions) => {
934
- let midIdx, CIlow, CIhigh, axislab, baselineValue, capMin, capMax;
935
- if (self.config.regressionType == "linear") {
936
- midIdx = 0;
937
- CIlow = 1;
938
- CIhigh = 2;
939
- axislab = "Beta value";
940
- baselineValue = 0;
941
- capMin = null;
942
- capMax = null;
943
- } else if (self.config.regressionType == "logistic") {
944
- midIdx = 0;
945
- CIlow = 1;
946
- CIhigh = 2;
947
- axislab = "Odds ratio";
948
- baselineValue = 1;
949
- capMin = 0.1;
950
- capMax = 10;
951
- } else if (self.config.regressionType == "cox") {
952
- midIdx = 0;
953
- CIlow = 1;
954
- CIhigh = 2;
955
- axislab = "Hazard ratio";
956
- baselineValue = 1;
957
- capMin = 0.1;
958
- capMax = 10;
959
- } else {
960
- throw "unknown regressionType";
961
- }
962
- const values = [];
963
- for (const tid in terms) {
964
- const d = terms[tid];
965
- if (d.fields) {
966
- numbers2array(d.fields);
967
- } else {
968
- for (const k in d.categories) {
969
- numbers2array(d.categories[k]);
970
- }
971
- }
972
- }
973
- for (const i of interactions) {
974
- for (const k of i.categories) {
975
- numbers2array(k.lst);
976
- }
977
- }
978
- if (values.length == 0) {
979
- return () => {
980
- };
981
- }
982
- values.sort((a, b) => a - b);
983
- if (capMin == null) {
984
- capMin = values[0];
985
- capMax = values[values.length - 1];
986
- }
987
- const width = 180;
988
- const height = 20;
989
- const xleftpad = 10, xrightpad = 10;
990
- const scale = get_scale(values);
991
- return (td, lst) => {
992
- if (!scale) {
993
- return;
994
- }
995
- const fontsize = 12;
996
- const svg = td.append("svg").attr("width", width + xleftpad + xrightpad).attr("height", lst ? height : height + fontsize);
997
- const g = svg.append("g").attr("transform", `translate(${xleftpad},${lst ? 0 : height + fontsize - 1})`);
998
- if (!lst) {
999
- const tickFormat = self.config.regressionType == "logistic" ? ".1r" : void 0;
1000
- const axis = axisTop(scale).ticks(4, tickFormat);
1001
- axisstyle({
1002
- axis: g.call(axis),
1003
- color: forestcolor,
1004
- showline: true
1005
- });
1006
- g.append("text").attr("fill", forestcolor).text(axislab).attr("x", width / 2).attr("y", -height);
1007
- return;
1008
- }
1009
- {
1010
- const x = scale(baselineValue);
1011
- g.append("line").attr("x1", x).attr("y1", 0).attr("x2", x).attr("y2", height).attr("stroke", "#ccc");
1012
- }
1013
- const mid = Number(lst[midIdx]), cilow = Number(lst[CIlow]), cihigh = Number(lst[CIhigh]);
1014
- if (Number.isNaN(mid)) {
1015
- return;
1016
- }
1017
- g.append("circle").attr("cx", scale(Math.min(Math.max(mid, capMin), capMax))).attr("cy", height / 2).attr("r", 3).attr("fill", forestcolor);
1018
- if (Number.isNaN(cilow) || Number.isNaN(cihigh)) {
1019
- return;
1020
- }
1021
- g.append("line").attr("x1", scale(Math.min(Math.max(cilow, capMin), capMax))).attr("y1", height / 2).attr("x2", scale(Math.min(Math.max(cihigh, capMin), capMax))).attr("y2", height / 2).attr("stroke", forestcolor);
1022
- };
1023
- function numbers2array(_lst) {
1024
- const lst = self.config.regressionType == "cox" ? _lst.slice(2) : _lst;
1025
- const m = Number(lst[midIdx]);
1026
- if (!Number.isNaN(m)) values.push(m);
1027
- const l = Number(lst[CIlow]), h = Number(lst[CIhigh]);
1028
- if (!Number.isNaN(l) && !Number.isNaN(h)) {
1029
- values.push(l);
1030
- values.push(h);
1031
- }
1032
- }
1033
- function get_scale(values2) {
1034
- if (self.config.regressionType == "logistic") {
1035
- let i = 0;
1036
- while (values2[i] <= 0) {
1037
- i++;
1038
- }
1039
- if (i >= values2.length || values2[i] <= 0) {
1040
- return;
1041
- }
1042
- const min = values2[i];
1043
- const max = values2[values2.length - 1];
1044
- return log().domain([Math.max(min, capMin), Math.min(max, capMax)]).range([0, width]).nice();
1045
- }
1046
- if (self.config.regressionType == "linear" || self.config.regressionType == "cox") {
1047
- return linear().domain([Math.max(values2[0], capMin), Math.min(values2[values2.length - 1], capMax)]).range([0, width]);
1048
- }
1049
- throw "unknown type";
1050
- }
1051
- };
1052
- }
1053
- function fillTdName(td, name) {
1054
- if (name.length < 40) {
1055
- td.text(name);
1056
- } else {
1057
- td.text(name.substring(0, 35) + " ...").attr("aria-label", name);
1058
- }
1059
- }
1060
- function fillCoefficientTermname(tw, td) {
1061
- fillTdName(td, tw.term.name || tw.term.id || "");
1062
- const hasRefGrp = "refGrp" in tw && tw.refGrp != refGrp_NA && tw.q.mode != "spline";
1063
- if (hasRefGrp || tw.effectAllele) {
1064
- const bottomDiv = td.append("div").attr("class", "sjpcb-coef-variable-bottom").style("display", "flex").style("align-items", "center").style("margin-top", "2px").style("font-size", ".8em");
1065
- let label;
1066
- if (hasRefGrp) {
1067
- label = tw.term.values && tw.term.values[tw.refGrp] ? tw.term.values[tw.refGrp].label : tw.refGrp;
1068
- } else {
1069
- label = tw.effectAllele;
1070
- }
1071
- bottomDiv.append("div").style("padding", "1px 5px").style("border", "1px solid #aaa").style("border-radius", "10px").style("font-size", ".7em").text(hasRefGrp ? "REF" : "EFFECT ALLELE");
1072
- bottomDiv.append("div").style("padding", "1px 3px").text(label);
1073
- }
1074
- const toUnit = tw.term.valueConversion?.toUnit;
1075
- if (toUnit && (tw.q.mode == "continuous" || tw.q.mode == "spline")) {
1076
- td.append("div").style("margin-top", "2px").style("font-size", ".7em").style("opacity", 0.6).text(`per ${toUnit}`);
1077
- }
1078
- }
1079
- function make_mds3_variants(tw, resultLst, regressionType) {
1080
- const mlst = [];
1081
- for (const snp of tw.term.snps) {
1082
- const m = {
1083
- chr: snp.chr,
1084
- pos: snp.pos,
1085
- ssm_id: snp.snpid
1086
- // needed for highlighting dot
1087
- };
1088
- mlst.push(m);
1089
- const effAle = tw.q.snp2effAle[snp.snpid];
1090
- const m2 = snp.mlst.find((i) => i.alt == effAle);
1091
- if (m2) {
1092
- Object.assign(m, m2);
1093
- } else {
1094
- Object.assign(m, snp.mlst[0]);
1095
- }
1096
- m.regressionPvalue = "NA";
1097
- m.mlpv = 0;
1098
- const thisresult = resultLst.find((i) => i.id == snp.snpid);
1099
- if (!thisresult) {
1100
- m.regressionResult = {
1101
- data: {
1102
- err: ["No result for this variant at " + snp.snpid]
1103
- }
1104
- };
1105
- continue;
1106
- }
1107
- m.regressionResult = thisresult;
1108
- const d = thisresult.data;
1109
- if (!d) throw ".data{} missing";
1110
- if (d.type3) {
1111
- const v = getSnpPvalueFromRegressionResults(d, snp.snpid);
1112
- if (v == void 0) {
1113
- } else {
1114
- m.regressionPvalue = v;
1115
- m.mlpv = -Math.log10(v);
1116
- }
1117
- if (!d.coefficients || !d.coefficients.terms) throw ".data.coefficients.terms{} missing";
1118
- const r = d.coefficients.terms[snp.snpid];
1119
- if (!r) throw "snp missing from data.coefficients.terms{}";
1120
- if (Array.isArray(r.fields)) {
1121
- m.regressionEstimate = regressionType == "cox" ? r.fields[2] : r.fields[0];
1122
- } else if (r.categories) {
1123
- const lst = [];
1124
- for (const gt in r.categories) {
1125
- lst.push(`${gt}:${regressionType == "cox" ? r.categories[gt][2] : r.categories[gt][0]}`);
1126
- }
1127
- m.regressionEstimate = " " + lst.join(" ");
1128
- } else {
1129
- throw "unknown way to get snp estimates from coefficients table";
1130
- }
1131
- } else if (d.fisher) {
1132
- m.regressionPvalue = d.fisher.pvalue;
1133
- m.mlpv = -Math.log10(d.fisher.pvalue);
1134
- m.shape = "filledTriangle";
1135
- } else if (d.wilcoxon) {
1136
- m.regressionPvalue = d.wilcoxon.pvalue;
1137
- m.mlpv = -Math.log10(d.wilcoxon.pvalue);
1138
- m.shape = "filledTriangle";
1139
- } else if (d.cuminc) {
1140
- m.regressionPvalue = d.cuminc.pvalue;
1141
- m.mlpv = -Math.log10(d.cuminc.pvalue);
1142
- m.shape = "filledTriangle";
1143
- } else {
1144
- m.shape = "emptyCircle";
1145
- }
1146
- }
1147
- return mlst;
1148
- }
1149
- async function createGenomebrowser(self, input, resultLst) {
1150
- const arg = {
1151
- holder: self.dom.snplocusBlockDiv,
1152
- genome: self.parent.genomeObj,
1153
- chr: input.term.q.chr,
1154
- start: input.term.q.start,
1155
- stop: input.term.q.stop,
1156
- nobox: true,
1157
- tklst: [],
1158
- onCoordinateChange: async (rglst) => {
1159
- for (const t of self.snplocusBlock.tklst) {
1160
- if (t.type == "mds3") delete t.skewer.hlssmid;
1161
- }
1162
- const { chr, start, stop } = rglst[0];
1163
- const overrideTw = {
1164
- term: {
1165
- id: input.term.term.id,
1166
- type: "snplocus"
1167
- },
1168
- q: JSON.parse(JSON.stringify(input.term.q))
1169
- };
1170
- overrideTw.q.chr = chr;
1171
- overrideTw.q.start = start;
1172
- overrideTw.q.stop = stop;
1173
- const _2 = await import("./snplocus-HX67RBT5.js");
1174
- await _2.fillTW(overrideTw, self.vocabApi);
1175
- self.hasUnsubmittedEdits_nullify_singleuse = true;
1176
- input.pill.runCallback(overrideTw);
1177
- }
1178
- };
1179
- arg.tklst.push({
1180
- type: "mds3",
1181
- // tkt.mds3
1182
- name: "Variants",
1183
- skewerModes: [
1184
- {
1185
- type: "numeric",
1186
- byAttribute: "mlpv",
1187
- // corresponds to the "mlpv" attribute in m{}, can be anything
1188
- label: "-log10 p-value",
1189
- inuse: true,
1190
- tooltipPrintValue: (m) => getMtooltipValues(m, self.config.regressionType)
1191
- }
1192
- ],
1193
- custom_variants: make_mds3_variants(input.term, resultLst, self.config.regressionType),
1194
- legend: {
1195
- customShapeLabels: {
1196
- filledCircle: "common variants analyzed by model-fitting",
1197
- filledTriangle: "rare variants analyzed by " + (self.config.regressionType == "linear" ? "Wilcoxon rank sum test" : self.config.regressionType == "logistic" ? "Fisher's exact test" : "Cumulative incidence test"),
1198
- emptyCircle: "monomorphic variants skipped"
1199
- }
1200
- },
1201
- click_snvindel: async (m) => {
1202
- self.displayResult_oneset(structuredClone(m.regressionResult.data));
1203
- await mayCheckLD(m, input, self);
1204
- const result_y = self.dom.oneSetResultDiv.node().getBoundingClientRect().top + window.scrollY;
1205
- const nav_height = document.querySelector(".sjpp-nav")?.getBoundingClientRect().height || 0;
1206
- window.scroll({ behavior: "smooth", top: result_y - nav_height });
1207
- }
1208
- });
1209
- first_genetrack_tolist(self.parent.genomeObj, arg.tklst);
1210
- const _ = await import("./block-YGQFUK5L.js");
1211
- return new _.Block(arg);
1212
- }
1213
- async function updateMds3Tk(self, input, resultLst) {
1214
- const tk = self.snplocusBlock.tklst.find((i) => i.type == "mds3");
1215
- tk.custom_variants = make_mds3_variants(input.term, resultLst, self.config.regressionType);
1216
- const r = self.snplocusBlock.rglst[0];
1217
- if (r.chr == input.term.q.chr && r.start == input.term.q.start && r.stop == input.term.q.stop) {
1218
- tk.load();
1219
- } else {
1220
- await self.snplocusBlock.jump_1basedcoordinate(input.term.q);
1221
- }
1222
- self.snplocusBlock.cloakOff();
1223
- }
1224
- var LDcolor0 = "#2E6594";
1225
- var LDcolor1 = "#ff0000";
1226
- var LDcolorScale = rgb_default(LDcolor0, LDcolor1);
1227
- async function mayCheckLD(m, input, self) {
1228
- if (!input.term.q.restrictAncestry) {
1229
- return;
1230
- }
1231
- const tk = self.snplocusBlock.tklst.find((i) => i.type == "mds3");
1232
- if (!tk || !tk.skewer || !tk.skewer.nmg) return;
1233
- for (const m2 of tk.custom_variants) delete m2.regressionR2;
1234
- const wait = self.dom.LDresultDiv.append("span").text("Loading LD data...");
1235
- try {
1236
- const data = await self.vocabApi.getLDdata(input.term.q.restrictAncestry.name, m);
1237
- if (data.error) throw data.error;
1238
- if (data.nodata || !data.lst || data.lst.length == 0) {
1239
- wait.text("No LD data");
1240
- tk.skewer.nmg.selectAll(".sja_aa_disk_fill").attr("fill", (m2) => m2.shapeCircle ? "none" : tk.color4disc(m2));
1241
- return;
1242
- }
1243
- tk.skewer.nmg.selectAll(".sja_aa_disk_fill").attr("fill", (m2) => {
1244
- if (m2.pos == m.pos && m2.ref == m.ref && m2.alt == m.alt) {
1245
- return LDcolor1;
1246
- }
1247
- for (const i of data.lst) {
1248
- if (i.pos == m2.pos && i.alleles == m2.ref + "." + m2.alt) {
1249
- m2.regressionR2 = i.r2;
1250
- return LDcolorScale(i.r2);
1251
- }
1252
- }
1253
- return LDcolorScale(0);
1254
- });
1255
- wait.html(input.term.q.restrictAncestry.name + " LD r<sup>2</sup>");
1256
- showLDlegend(self.dom.LDresultDiv, LDcolorScale);
1257
- } catch (e) {
1258
- wait.text("Error: " + (e.message || e));
1259
- }
1260
- }
1261
- function showLDlegend(div, colorScale) {
1262
- const colorbardiv = div.append("span").style("margin-left", "10px");
1263
- const colorlst = [];
1264
- for (let i = 0; i <= 1; i += 0.1) {
1265
- colorlst.push(colorScale(i));
1266
- }
1267
- const axisheight = 20;
1268
- const barheight = 15;
1269
- const xpad = 10;
1270
- const axiswidth = 150;
1271
- const domain = colorlst.map((_, i) => i / (colorlst.length - 1));
1272
- new ColorScale({
1273
- holder: colorbardiv,
1274
- domain,
1275
- topTicks: true,
1276
- width: xpad * 2 + axiswidth,
1277
- height: axisheight + barheight,
1278
- barheight,
1279
- barwidth: axiswidth,
1280
- fontSize: 12,
1281
- colors: colorlst,
1282
- position: `${xpad},${axisheight}`,
1283
- tickSize: 6
1284
- });
1285
- }
1286
- function getMtooltipValues(m, regressionType) {
1287
- const lst = [{ k: "p-value", v: m.regressionPvalue }];
1288
- if (m.regressionResult.AFstr) {
1289
- lst.push({ k: "AF", v: m.regressionResult.AFstr });
1290
- }
1291
- if (m.regressionEstimate) {
1292
- if (regressionType == "linear") lst.push({ k: "beta", v: m.regressionEstimate });
1293
- else if (regressionType == "logistic") lst.push({ k: "odds ratio", v: m.regressionEstimate });
1294
- else if (regressionType == "cox") lst.push({ k: "hazard ratio", v: m.regressionEstimate });
1295
- else throw "unknown regression type";
1296
- }
1297
- if (m.regressionR2) {
1298
- lst.push({ k: "LD r2", v: m.regressionR2 });
1299
- }
1300
- return lst;
1301
- }
1302
- function getSnpPvalueFromRegressionResults(d, snpid) {
1303
- let str;
1304
- if (d.totalSnpEffect) {
1305
- str = d.totalSnpEffect.lst[d.totalSnpEffect.lst.length - 1];
1306
- } else {
1307
- if (!d.type3.terms) throw ".data{type3:{terms}} missing";
1308
- if (!d.type3.terms[snpid]) throw snpid + " missing in type3.terms{}";
1309
- if (!Array.isArray(d.type3.terms[snpid])) throw `type3.terms[${snpid}] not array`;
1310
- str = d.type3.terms[snpid][d.type3.terms[snpid].length - 1];
1311
- }
1312
- const v = Number(str);
1313
- if (Number.isFinite(v)) {
1314
- return v;
1315
- }
1316
- return void 0;
1317
- }
1318
- function fillColumn2coefficientsTable(div, tw, categoryKey) {
1319
- if (categoryKey) {
1320
- div.text(tw && tw.term.values && tw.term.values[categoryKey] ? tw.term.values[categoryKey].label : categoryKey);
1321
- return;
1322
- }
1323
- div.style("opacity", graytextopacity);
1324
- if ("geneticModel" in tw.q) {
1325
- const v = tw.q.geneticModel;
1326
- div.text(v == 0 ? "(additive)" : v == 1 ? "(dominant)" : "(recessive)");
1327
- return;
1328
- }
1329
- if (tw.q.mode) {
1330
- div.text("(" + tw.q.mode + ")");
1331
- return;
1332
- }
1333
- }
1334
-
1335
- export {
1336
- RegressionResults,
1337
- showLDlegend
1338
- };
1339
- //# sourceMappingURL=chunk-CGSBIFFO.js.map