Exemple #1
0
 def test_getColorMapRgb(self):
     """tests for getColorMapRgb"""
     mf = MotifFormatter()
     self.assertEqual(mf.getColorMapRgb(self.motif_results),\
         self.color_map_rgb)
Exemple #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)
Exemple #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)
Exemple #4
0
 def test_getColorMapRgb(self):
     """tests for getColorMapRgb"""
     mf = MotifFormatter()
     self.assertEqual(mf.getColorMapRgb(self.motif_results),\
         self.color_map_rgb)
Exemple #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)