diff --git a/invivos/app.R b/invivos/app.R index f43b8a5..6040bfb 100755 --- a/invivos/app.R +++ b/invivos/app.R @@ -1,4 +1,9 @@ library(shiny) +library(ggplot2) +library(reshape2) +library(openxlsx) +library(dplyr) +source("../funcions.R") # Define UI for application ui <- fluidPage( @@ -40,7 +45,7 @@ server <- function(input, output) { template["TS"]<-rep(c("TS-Length", "TS-Width", "TS-Deep"), nrow(template)/3) dtemplate<-dcast(template, Cage+`ID animal`+`ID tumor`+Group+TS~Timepoint) dtemplate[,6:ncol(dtemplate)]<-"" - + print(dtemplate) write.xlsx(dtemplate,file) } )