anndict.wrappers.display_html_summary_adata_dict#
- anndict.wrappers.display_html_summary_adata_dict(summary_dict, return_html=False)[source]#
Display separate HTML tables for each metadata category in the summary dictionary, arranging up to three tables in a row before starting a new line.
- Parameters:
- summary_dict
The
dict
containing frequency data for metadata columns.
- Return type:
str
- Returns:
If
return_html
isTrue
, returns the HTML string. Otherwise, returnsNone
.
Notes
Displays the results of
summarize_metadata()
as an HTML table.Examples
import anndict as adt summary_dict = adt.wrappers.summarize_metadata(adata, ['donor', 'tissue', 'donor*tissue']) adt.wrappers.display_html_summary(summary_dict)
See also
summarize_metadata()
To generate the summary data.