apparently modifed flu stats for npa: check!

This commit is contained in:
Tanushree Tunstall 2020-10-26 20:15:44 +00:00
parent ae1e663caf
commit f13d1212e9

View file

@ -35,8 +35,12 @@ lf = npa_adults_lf[npa_adults_lf$flustat == 1,]
table(lf$timepoint) table(lf$timepoint)
lf$timepoint = paste0("t", lf$timepoint) lf$timepoint = paste0("t", lf$timepoint)
my_sample_type = "npa" if (table(lf$flustat) == table(npa_adults_lf$flustat)[[2]]){
cat("Analysing Flu positive patients for:", my_sample_type)
}else{
cat("FAIL: problem with subsetting data for:", my_sample_type)
quit()
}
######################################################################## ########################################################################
# Unpaired stats at each timepoint b/w groups: wilcoxon UNpaired analysis # Unpaired stats at each timepoint b/w groups: wilcoxon UNpaired analysis
# with correction # with correction