pegasus.write_results_to_excel¶
-
pegasus.
write_results_to_excel
(results, output_file, ndigits=3)[source]¶ Write results into Excel workbook.
- Parameters
results (
Dict[str, Dict[str, pd.DataFrame]]
) – DE marker dictionary generated bypg.markers
.output_file (
str
) – File name to which the marker dictionary is written.ndigits (
int
, optional, default:3
) – Round non p-values and q-values tondigits
after decimal point in the excel.
- Return type
None
- Returns
None
Marker information is written to file with name
output_file
.
Examples
>>> pg.write_results_to_excel(marker_dict, "result.de.xlsx")