-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi.
I am able to create circle plots in R console, but for some unknown reason, I am not able to present the circle plot in my Rshiny app. I even tried to reproduce the "shinyedge" function in my app, but the plot does not show up. The app does not through any error, it just does not show the plot.
here is a piece of my code:
UI side:
tabPanel(title="CirclePlot",value="CP",
fluidRow(
column(3,
sliderInput("tension", "Tension", 0.3,min=0,max=1,step = 0.01),
sliderInput("fontsize","Font size",12,min=6,max=24),
sliderInput("width","Width and height",600,min=200,max=1200),
sliderInput("padding","Padding",100,min=0,max=300),
downloadButton("export",label="Download")),
column(9,
uiOutput("circplot")
)))
Server:
output$circplot <- renderUI({
edgebundleOutput("eb", width = input$width, height=input$width)
})
output$eb <- renderEdgebundle({
edgebundle(values$spp,tension=input$tension,cutoff=input$cutoff,
fontsize=input$fontsize,padding=input$padding)
})