Browse code

donot export addAncestorGO now

Ge Tan authored on 22/04/2017 12:40:25
Showing 3 changed files

... ...
@@ -156,7 +156,7 @@ export(
156 156
   plotCNEWidth, plotCNEDistribution,
157 157
   
158 158
   # GO.R
159
-  addAncestorGO,
159
+  ## addAncestorGO,
160 160
   
161 161
   ## AssemblyStats.R
162 162
   N50, N90
... ...
@@ -31,7 +31,9 @@
31 31
 }
32 32
 
33 33
 \examples{
34
-  library(GO.db)
35
-  go <- list(c("GO:0005215", "GO:0006810", "GO:0016020"), "GO:0016579")
36
-  addAncestorGO(go)
34
+  \donttest{
35
+    library(GO.db)
36
+    go <- list(c("GO:0005215", "GO:0006810", "GO:0016020"), "GO:0016579")
37
+    addAncestorGO(go)
38
+  }
37 39
 }
38 40
deleted file mode 100644
... ...
@@ -1,6 +0,0 @@
1
-test_that("test_addAncestorGO", {
2
-  library(GO.db)
3
-  go <- list(c("GO:0005215", "GO:0006810", "GO:0016020"), "GO:0016579")
4
-  newGO <- addAncestorGO(go)
5
-  expect_equal(lengths(newGO), c(8, 17))
6
-})
7 0
\ No newline at end of file