snapatac2.pl.motif_enrichment#
- snapatac2.pl.motif_enrichment(enrichment, min_log_fc=1, max_fdr=0.01, **kwargs)[source]#
Plot the motif enrichment result.
- Parameters:
enrichment – Motif enrichment result.
min_log_fc – Retain motifs that satisfy: log2-fold-change >=
min_log_fc.max_fdr – Retain motifs that satisfy: FDR <=
max_fdr.kwargs – Additional arguments passed to
render_plotto control the final plot output. Please seerender_plotfor details.
- Returns:
If
show=Falseandout_file=None, anplotly.graph_objects.Figurewill be returned, which can then be further customized using the plotly API.- Return type:
‘plotly.graph_objects.Figure’ | None