Browse code

suppress unnecessary warnings when using AnnotationDbi packge

Shana White authored on 05/09/2017 19:53:57
Showing 1 changed files

... ...
@@ -81,9 +81,9 @@ overlap_info <-
81 81
         return(overlaps)
82 82
     }
83 83
 
84
-    conversion_key <- suppressMessages(
84
+    conversion_key <- suppressWarnings(suppressMessages(
85 85
         AnnotationDbi::select(hgu133a.db::hgu133a.db, 
86
-        AnnotationDbi::keys(hgu133a.db), c("SYMBOL","ENTREZID"), "PROBEID"))
86
+        AnnotationDbi::keys(hgu133a.db), c("SYMBOL","ENTREZID"), "PROBEID")))
87 87
   
88 88
     for (i in 1:nrow(data)){
89 89
         if (data_type == "100_full"){