def test_binaryMetaAnalysis(self): #result = None studies = self.model.get_studies_in_current_order() data_location = {'control_noresponse': None, 'effect_size': 16, 'experimental_response': None, 'experimental_noresponse': None, 'variance': 17, 'control_response': None} python_to_R.dataset_to_simple_binary_robj(model=self.model, included_studies=studies, data_location=data_location, covs_to_include=[]) method = "binary.random" params = {'conf.level': 95.0, 'digits': 3, 'fp_col2_str': u'[default]', 'fp_show_col4': True, 'to': 'only0', 'fp_col4_str': u'Ev/Ctrl', 'fp_xticks': '[default]', 'fp_col3_str': u'Ev/Trt', 'fp_show_col3': True, 'fp_show_col2': True, 'fp_show_col1': True, 'fp_plot_lb': '[default]', 'fp_outpath': u'./r_tmp/forest.png', 'rm.method': 'DL', 'adjust': 0.5, 'fp_plot_ub': '[default]', 'fp_col1_str': u'Studies', 'measure': 'OR', 'fp_xlabel': u'[default]', 'fp_show_summary_line': True} result = python_to_R.run_binary_ma(function_name=method, params=params) self.assertIsNotNone(result, "Result is unexpectedly none!")