I'm trying to make a table using renderTable but it's not rendering on the browser. Here's the ss @imgur
Full table's code
This's the renderTable code:
library(shiny)
library(diceR)
output$clustensemble <- renderTable({
#load file
data <- data()
#consensus cluster
cc <- consensus_cluster(data, nk=3, reps=1, algorithms=c("km","hc"), progress=FALSE)
ce <- as.matrix(cc)
tce <- t(ce)
tce })
I've tried using
sanitize.text.function = function(x) x;
but it didn't work, as stated in here
I've also tried using renderUI, but instead it generate another error.
The table consist of number and string, but i think that's not the issue. Still new at this kind of R project, so I didn't know any other solution. What should I do, and what is the cause of this problem? Thanks!
(EDIT)