git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/MotifDb@107905 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -12,7 +12,7 @@ run.tests = function () |
12 | 12 |
test.allMatricesAreNormalized () |
13 | 13 |
test.providerNames () |
14 | 14 |
test.geneSymbols () |
15 |
- #test.geneIdsAndTypes () |
|
15 |
+ test.geneIdsAndTypes () |
|
16 | 16 |
test.proteinIds () |
17 | 17 |
test.sequenceCount () |
18 | 18 |
test.longNames () |
... | ... |
@@ -156,10 +156,10 @@ test.geneIdsAndTypes = function () |
156 | 156 |
geneIdTypes = tbl$geneIdType |
157 | 157 |
typeCounts = as.list (table (geneIdTypes)) |
158 | 158 |
|
159 |
- checkTrue(typeCounts$ENTREZ == 2347) |
|
160 |
- checkTrue(typeCounts$FLYBASE >= 47) |
|
161 |
- checkTrue(typeCounts$SGD >= 629) |
|
162 |
- checkEquals(nrow(subset(tbl, is.na(geneIdType))), 2055) |
|
159 |
+ checkTrue(typeCounts$ENTREZ > 2300) |
|
160 |
+ checkTrue(typeCounts$FLYBASE >= 45) |
|
161 |
+ checkTrue(typeCounts$SGD >= 600) |
|
162 |
+ checkTrue(nrow(subset(tbl, is.na(geneIdType))) > 2000) |
|
163 | 163 |
|
164 | 164 |
empty.count = length (which (geneIds == '')) |
165 | 165 |
checkEquals (empty.count, 0) |