Esempio n. 1
0
 def test_getColorMapRgb(self):
     """tests for getColorMapRgb"""
     mf = MotifFormatter()
     self.assertEqual(mf.getColorMapRgb(self.motif_results),\
         self.color_map_rgb)
Esempio n. 2
0
 def test_getColorMapS0(self):
     """tests for getColorMapS0"""
     mf = MotifFormatter()
     module_ids = ['1','2','3','4']
     self.assertEqual(mf.getColorMapS0(module_ids),self.color_map)
Esempio n. 3
0
 def test_getColorMapS0(self):
     """tests for getColorMapS0"""
     mf = MotifFormatter()
     module_ids = ['1','2','3','4']
     self.assertEqual(mf.getColorMapS0(module_ids),self.color_map)
Esempio n. 4
0
 def test_getColorMapRgb(self):
     """tests for getColorMapRgb"""
     mf = MotifFormatter()
     self.assertEqual(mf.getColorMapRgb(self.motif_results),\
         self.color_map_rgb)
Esempio n. 5
0
 def test_getColorMapS0(self):
     """tests for getColorMapS0"""
     mf = MotifFormatter()
     module_ids = ["1", "2", "3", "4"]
     self.assertEqual(mf.getColorMapS0(module_ids), self.color_map)