openbiox / UCSCXenaShiny

📊 An R package for interactively exploring UCSC Xena https://xenabrowser.net/datapages/; Book: https://lishensuo.github.io/UCSCXenaShiny_Book; App online: https://shiny.hiplot.cn/ucsc-xena-shiny/, https://shiny.zhoulab.ac.cn/UCSCXenaShiny
https://openbiox.github.io/UCSCXenaShiny/
GNU General Public License v3.0
94 stars 31 forks source link

PCAWG 生存分析安装后无法正常工作 #209

Closed ShixiangWang closed 3 years ago

ShixiangWang commented 3 years ago

提示找不到 sur_plot,引用写在包内部的函数需要使用 UCSCXenaShiny:::sur_plot().

Shiny 日志:

su: ignore --preserve-environment, it's mutually exclusive to --login.
Run mode: server
Checking depedencies...
Loading required namespace: pacman
Loading required namespace: gganatogram
Loading required namespace: ggradar
Starting...

Listening on http://127.0.0.1:35970
Shiny app run successfully! Enjoy it!

               --  Xena shiny team

Download datasets from server mode.
Setting mirror, use hiplot: FALSE
More info about dataset please run following commands:
  library(UCSCXenaTools)
  XenaGenerate(subset = XenaDatasets == "tophat_star_fpkm_uq.v2_aliquot_gl.sp.log") %>% XenaBrowse()
Warning: Error in sur_plot: could not find function "sur_plot"
  212: eventReactiveValueFunc
  210: valueFunc
  197: func
  195: f
  194: Reduce
  185: do
  184: hybrid_chain
  183: <reactive:eventReactive(input$go)>
  182: .func
  179: contextFunc
  178: env$runWith
  171: ctx$run
  170: self$.updateValue
  168: plot_func
  167: renderPlot
  165: func
  125: drawPlot
  111: <reactive:plotObj>
   95: drawReactive
   82: renderFunc
   81: output$modules_pcawg_sur_plot-surplot
    1: runApp
Warning: Error in sur_plot: could not find function "sur_plot"
  212: eventReactiveValueFunc
  210: valueFunc
  197: func
  195: f
  194: Reduce
  185: do
  184: hybrid_chain
  183: <reactive:eventReactive(input$go)>
  182: .func
  179: contextFunc
  178: env$runWith
  171: ctx$run
  170: self$.updateValue
  168: plot_func
  167: renderPlot
  165: func
  125: drawPlot
  111: <reactive:plotObj>
   95: drawReactive
   82: renderFunc
   81: output$modules_pcawg_sur_plot-surplot
    1: runApp
Try querying data #1
-> Checking if the dataset has probeMap...
-> Done. ProbeMap is found.
More info about dataset please run following commands:
  library(UCSCXenaTools)
  XenaGenerate(subset = XenaDatasets == "tophat_star_fpkm_uq.v2_aliquot_gl.sp.log") %>% XenaBrowse()
Warning: Error in sur_plot: could not find function "sur_plot"
  212: eventReactiveValueFunc
  210: valueFunc
  197: func
  195: f
  194: Reduce
  185: do
  184: hybrid_chain
  183: <reactive:eventReactive(input$go)>
  182: .func
  179: contextFunc
  178: env$runWith
  171: ctx$run
  170: self$.updateValue
  168: plot_func
  167: renderPlot
  165: func
  125: drawPlot
  111: <reactive:plotObj>
   95: drawReactive
   82: renderFunc
   81: output$modules_pcawg_sur_plot-surplot
    1: runApp
Warning: Error in sur_plot: could not find function "sur_plot"
  212: eventReactiveValueFunc
  210: valueFunc
  197: func
  195: f
  194: Reduce
  185: do
  184: hybrid_chain
  183: <reactive:eventReactive(input$go)>
  182: .func
  179: contextFunc
  178: env$runWith
  171: ctx$run
  170: self$.updateValue
  168: plot_func
  167: renderPlot
  165: func
  125: drawPlot
  111: <reactive:plotObj>
   95: drawReactive
   82: renderFunc
   81: output$modules_pcawg_sur_plot-surplot
    1: runApp
Try querying data #1
-> Checking if the dataset has probeMap...
-> Done. No probeMap found or error happened, use old way...
More info about dataset please run following commands:
  library(UCSCXenaTools)
  XenaGenerate(subset = XenaDatasets == "x3t2m1.mature.TMM.mirna.matrix.log") %>% XenaBrowse()
Warning: Error in sur_plot: could not find function "sur_plot"
  212: eventReactiveValueFunc
  210: valueFunc
  197: func
  195: f
  194: Reduce
  185: do
  184: hybrid_chain
  183: <reactive:eventReactive(input$go)>
  182: .func
  179: contextFunc
  178: env$runWith
  171: ctx$run
  170: self$.updateValue
  168: plot_func
  167: renderPlot
  165: func
  125: drawPlot
  111: <reactive:plotObj>
   95: drawReactive
   82: renderFunc
   81: output$modules_pcawg_sur_plot-surplot
    1: runApp
ShixiangWang commented 3 years ago

经检查已解决