Compare commits
2 Commits
43b807cc63
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 560540cf1a | |||
| bd52e8c452 |
+10
-5
@@ -384,7 +384,7 @@ server <- function(input, output) {
|
||||
new.samp.df<-data.frame("NHC"=values[["DF"]]$NHC, "samples"=new.samp) %>% merge(sqlFetch(dta,"OVID"), all.x=T) %>% arrange(samples)
|
||||
samples.exp<-merge(samples %>% slice(0), new.samp.df %>% select(-NHC), all=T) %>% select(colnames(samples)) %>% arrange(samples)
|
||||
if (today==TRUE){
|
||||
samples.exp$IQ_date<-format(Sys.Date(), "%d/%m/%y")
|
||||
samples.exp$Date_extraction<-format(Sys.Date(), "%d/%m/%y")
|
||||
}
|
||||
|
||||
nhc.table<-values[["DF"]]
|
||||
@@ -931,10 +931,15 @@ server <- function(input, output) {
|
||||
g_IC<-g1
|
||||
|
||||
pops<-sqlFetch(dta, "POPULATIONS")
|
||||
|
||||
g_pop<-pops %>% dplyr::filter(samples == input$id) %>% gather(pop,value,-samples) %>%
|
||||
mutate(pop=factor(pop, levels=c("CD45pos_Alive","T_cells","CD8","CD4","DN","NK", "B_cells",
|
||||
"CD45neg_LDneg","EpCAMneg_HLAIneg","EpCAMneg_HLAIpos","EpCAMpos_HLAIpos"))) %>%
|
||||
|
||||
g_pop<-pops %>%
|
||||
dplyr::filter(sample == input$id) %>%
|
||||
gather(pop,value,-sample, -code, -fc_time) %>%
|
||||
# mutate(pop=factor(pop, levels=c("CD45pos_Alive","T_cells","CD8","CD4","DN","NK", "B_cells",
|
||||
# "CD45neg_LDneg","EpCAMneg_HLAIneg","EpCAMneg_HLAIpos","EpCAMpos_HLAIpos"))) %>%
|
||||
# mutate(pop=factor(pop, levels=c("CD45pos_Alive","T_cells","CD8","CD4","DN","NK", "B_cells",
|
||||
# "CD45neg_LDneg","EpCAMneg_HLAIneg","EpCAMneg_HLAIpos","EpCAMpos_HLAIpos"))) %>%
|
||||
mutate(value=as.numeric(gsub(",",".",value))) %>%
|
||||
ggplot(aes(pop, value))+
|
||||
geom_bar(stat="identity", color="black", fill="grey70")+
|
||||
labs(title = input$id, y="% parent", x="")+
|
||||
|
||||
Reference in New Issue
Block a user