Skip to content

Commit

Permalink
don't need DT:: anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
jminnier committed Nov 4, 2016
1 parent d6e1340 commit 7477cb1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions server-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ output$downloadData <- downloadHandler(filename = c('all_data.csv'),



output$outdat <- DT::renderDataTable({
output$outdat <- renderDataTable({
tmpdat = AllRNAdatReactive()
tmpdat[,sapply(tmpdat,is.numeric)] <- signif(tmpdat[,sapply(tmpdat,is.numeric)],3)
DT::datatable(tmpdat)
datatable(tmpdat)
})
4 changes: 2 additions & 2 deletions server-dotplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ DataDotplotReactive <- reactive({
return(subdat)
})

output$dat_dotplot <- DT::renderDataTable({
output$dat_dotplot <- renderDataTable({
tmpdat = DataDotplotReactive()
tmpdat[,sapply(tmpdat,is.numeric)] <- signif(tmpdat[,sapply(tmpdat,is.numeric)],3)
DT::datatable(tmpdat)
datatable(tmpdat)
}
)

Expand Down
4 changes: 2 additions & 2 deletions server-heatmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,11 @@ output$numheat <- renderText({
paste("Chosen filters result in ",tmpnum, " genes.")
})

output$heatdat_rna <- DT::renderDataTable({
output$heatdat_rna <- renderDataTable({
if(input$action_heatmaps==0) return()
tmpdat = HeatdatReactive_rna()
tmpdat[,sapply(tmpdat,is.numeric)] <- signif(tmpdat[,sapply(tmpdat,is.numeric)],3)
DT::datatable(tmpdat)
datatable(tmpdat)
},options=list(sDom="ilftpr"))

output$downloadHeatmapData_rna <- downloadHandler(
Expand Down
4 changes: 2 additions & 2 deletions server-inputdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,12 @@ observeEvent(inputDataReactive(),({
})
)

output$analysisoutput <- DT::renderDataTable({
output$analysisoutput <- renderDataTable({
print("output$analysisoutput")
getresults <- analyzeDataReactive()
res = getresults$results
res[,sapply(res,is.numeric)] <- signif(res[,sapply(res,is.numeric)],3)
DT::datatable(res)
datatable(res)
})


Expand Down
2 changes: 1 addition & 1 deletion ui-tab-dotplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ tabPanel("Gene Expression Boxplots",
## ==================================================================================== ##
tabPanel(title="Data Output",
downloadButton('downloadSubsetData', 'Download Data Subset as CSV File'),
DT::dataTableOutput("dat_dotplot")
dataTableOutput("dat_dotplot")
)#tabsetPanel
))#column

Expand Down
2 changes: 1 addition & 1 deletion ui-tab-heatmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ tabPanel("Heatmaps",
tabPanel(title="Data Output",
downloadButton('downloadHeatmapData_rna',
'Download Heatmap Data as CSV File'),
DT::dataTableOutput("heatdat_rna"))
dataTableOutput("heatdat_rna"))
)#tabsetPanel
)#column
)#fluidrow
Expand Down

0 comments on commit 7477cb1

Please sign in to comment.