Browse Source

Al exportar gráfic cin_indiv agrupaba por Animal y no Animal+Side.

master
marcelcosta 10 months ago
parent
commit
8539caa993
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      invivos/app.R

+ 3
- 1
invivos/app.R

@ -895,8 +895,10 @@ server <- function(input, output) {
table<-table %>% filter(!Animal %in% deadmice) table<-table %>% filter(!Animal %in% deadmice)
} }
} }
print("Table")
print(head(table))
g<-ggplot(table, aes(as.numeric(as.character(DayPostInoc)), Volume, color=Group, group=Animal))+
g<-ggplot(table, aes(as.numeric(as.character(DayPostInoc)), Volume, color=Group, group=paste0(Animal,Side)))+
scale_x_continuous(expand = expansion(mult = c(0,0.0)), scale_x_continuous(expand = expansion(mult = c(0,0.0)),
breaks=sort(unique(as.numeric(as.character(table$DayPostInoc)))), breaks=sort(unique(as.numeric(as.character(table$DayPostInoc)))),
limits = c(0,max(as.numeric(as.character(table$DayPostInoc)))*1.1))+ limits = c(0,max(as.numeric(as.character(table$DayPostInoc)))*1.1))+

Loading…
Cancel
Save