Categories
Tag: snsplot
snsplot in Rshiny through images using reticulate
snsplot in Rshiny through images using reticulate 0 Hi, I’m using renderImage to show plots in a webpage based on the user input. But I see the plots are overlapping. output$dist_plot = renderImage({ db <- data() var = input$selected_gene data_gene <- as.numeric(data.frame(db[db$gene == var,-1])) sns$set_style(‘darkgrid’) sns$distplot(data_gene) plt$savefig(“https://www.biostars.org/p/9485849/Dist_plot.png”) list(src=”https://www.biostars.org/p/9485849/Dist_plot.png”) },deleteFile=FALSE) }…