sccloud.write_results_to_excel

sccloud.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 by scc.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 to ndigits after decimal point in the excel.

Return type

None

Returns

  • None

  • Marker information is written to file with name output_file.

Examples

>>> scc.write_results_to_excel(marker_dict, "result.de.xlsx")