Browse Source

Primer paso migracion a columna única para ID.Animal.

master
marcelcosta 11 months ago
parent
commit
80362a28db
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      invivos/app.R

+ 4
- 0
invivos/app.R

@ -379,6 +379,7 @@ server <- function(input, output) {
table[i,"Volume"]<-sum(sapply(1:length(long), function(x) (long[x]*wide[x]*wide[x])*(pi/6)))
}
table$Volume<-as.numeric(table$Volume)
table$Animal<-paste0(table$Cage, table$Animal)
## Autocompletado de grupo
table_group<-merge(
@ -435,6 +436,8 @@ server <- function(input, output) {
observeEvent(analysis$taula, {})
table<-analysis$taula
table$Animal<-paste0(table$Cage, table$Animal)
print(table)
animals<-unique(table$Animal)
sides<-unique(table$Side)
groups<-table %>% select(Animal, Group) %>% unique() %>% pull(Group)
@ -512,6 +515,7 @@ server <- function(input, output) {
observeEvent(analysis$taula, {})
table<-analysis$taula
table$Animal<-paste0(table$Cage, table$Animal)
animals<-unique(table$Animal)
sides<-unique(table$Side)
groups<-table %>% select(Animal, Group) %>% unique() %>% pull(Group)

Loading…
Cancel
Save