Browse code

added some dataDir parameters as needed

git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/MotifDb@75321 bc3139a8-67e5-0310-9ffc-ced21a209358

p.shannon authored on 04/04/2013 23:54:54
Showing 1 changed files

... ...
@@ -16,7 +16,7 @@ run.tests = function (dataDir=kDataDir)
16 16
   txx3 <<- test.parsePWMfromText (dataDir)
17 17
   x.matrices <<- test.readAndParse (dataDir)
18 18
   x.tbl.md  <<- test.createMetadata (dataDir)
19
-  x.matrices.renamed <<- test.renameMatrices (x.matrices, x.tbl.md)
19
+  x.matrices.renamed <<- test.renameMatrices (dataDir, x.matrices, x.tbl.md)
20 20
 
21 21
 } # run.tests
22 22
 #------------------------------------------------------------------------------------------------------------------------
... ...
@@ -143,7 +143,7 @@ test.getMatrixFilenames = function (dataDir)
143 143
 
144 144
 } # test.getMatrixFilenames
145 145
 #-----------------------------------------------------------------------------------------------------------------------
146
-test.renameMatrices = function (matrices, tbl.md, tbl.anno)
146
+test.renameMatrices = function (dataDir, matrices, tbl.md, tbl.anno)
147 147
 {
148 148
   print ('--- test.renameMatrices')
149 149