bsrn.visualization.table.plot_table#

bsrn.visualization.table.plot_table(daily_stats, title=None, output_file=None)[source]#

Plot QC statistics in a table-like heatmap format. 以类似于表格的热图格式绘制 QC 统计数据。

Parameters:
  • daily_stats (pd.DataFrame) – Daily QC statistics calculated by get_daily_stats. 由 get_daily_stats 计算的每日 QC 统计数据。

  • title (str, optional) – Plot title. If None (default), no title is drawn. 图表标题;默认 None 不显示。

  • output_file (str, optional) – Path to save the plot (e.g., ‘table.png’). 保存图表的路径(例如 ‘table.png’)。

Returns:

p – The generated quality audit figure. 生成的质量审计图。

Return type:

ggplot