|
@ -187,7 +187,7 @@ server <- function(input, output) { |
|
|
if ("Group" %in% colnames(df_def)){ |
|
|
if ("Group" %in% colnames(df_def)){ |
|
|
df_def<-df_def %>% select(-"Group") |
|
|
df_def<-df_def %>% select(-"Group") |
|
|
} |
|
|
} |
|
|
df_def<-merge(dades$taula %>% select(-Group), df_def[,c("ID animal", "group")], all=T) %>% select(c(`ID animal`, `ID tumor`, Volume, Cage, Major, Minor, group)) |
|
|
|
|
|
|
|
|
df_def<-merge(dades$taula %>% select(-Group), df_def[,c("ID animal", "group")] %>% unique, all=T, by="ID animal") %>% select(c(`ID animal`, `ID tumor`, Volume, Cage, Major, Minor, group)) |
|
|
df_def[!paste0(df_def$`ID animal`, df_def$`ID tumor`) %in% paste0(df$`ID animal`, df$`ID tumor`),"group"]<-NA |
|
|
df_def[!paste0(df_def$`ID animal`, df_def$`ID tumor`) %in% paste0(df$`ID animal`, df$`ID tumor`),"group"]<-NA |
|
|
dades$db<-df_def |
|
|
dades$db<-df_def |
|
|
|
|
|
|
|
|