From e1f97df805020994513ab7850593eb08a93d60e2 Mon Sep 17 00:00:00 2001 From: Tanushree Tunstall Date: Thu, 29 Oct 2020 13:20:51 +0000 Subject: [PATCH] ran scripts to check --- flu_stats_unpaired_npa.R | 2 +- flu_stats_unpaired_sam.R | 3 +-- flu_stats_unpaired_serum.R | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/flu_stats_unpaired_npa.R b/flu_stats_unpaired_npa.R index bcc0c81..ff04e8e 100755 --- a/flu_stats_unpaired_npa.R +++ b/flu_stats_unpaired_npa.R @@ -61,7 +61,7 @@ my_adjust_method = "BH" lf_t1 = lf[lf$timepoint == "t1",] sum(is.na(lf_t1$value)) -#foo = lf_t1[which(is.na(lf_t1$value)),] +foo = lf_t1[which(is.na(lf_t1$value)),] #ci = which(is.na(lf_t1$value)) #lf_t1_comp = lf_t1[-ci,] diff --git a/flu_stats_unpaired_sam.R b/flu_stats_unpaired_sam.R index 67be452..a3b9ff1 100755 --- a/flu_stats_unpaired_sam.R +++ b/flu_stats_unpaired_sam.R @@ -42,7 +42,6 @@ rm(pivot_cols) # sanity checks table(lf$timepoint) length(unique(lf$mosaic)) -lf$timepoint = paste0("t", lf$timepoint) if (table(lf$flustat) == table(sam_lf$flustat)[[2]]){ cat("Analysing Flu positive patients for:", my_sample_type) @@ -64,7 +63,7 @@ my_adjust_method = "BH" lf_t1 = lf[lf$timepoint == "t1",] sum(is.na(lf_t1$value)) -#foo = lf_t1[which(is.na(lf_t1$value)),] +foo = lf_t1[which(is.na(lf_t1$value)),] #ci = which(is.na(lf_t1$value)) #lf_t1_comp = lf_t1[-ci,] diff --git a/flu_stats_unpaired_serum.R b/flu_stats_unpaired_serum.R index 42c9687..9fa2033 100755 --- a/flu_stats_unpaired_serum.R +++ b/flu_stats_unpaired_serum.R @@ -39,7 +39,6 @@ rm(pivot_cols) # sanity checks table(lf$timepoint) -lf$timepoint = paste0("t", lf$timepoint) if (table(lf$flustat) == table(serum_lf$flustat)[[2]]){ cat("Analysing Flu positive patients for:", my_sample_type)