calour.amplicon_experiment.AmpliconExperiment.plot_diff_abundance_enrichment

AmpliconExperiment.plot_diff_abundance_enrichment(max_show=10, max_len=40, ax=None, colors=('green', 'red'), show_legend=True, **kwargs)[source]

Plot the term enrichment of differentially abundant bacteria

Parameters:
  • term_type (str (optional)) – What types of annotations/terms to include in enrichment analysis. Options are: ‘term’ - ontology terms associated with each feature. ‘parentterm’ - ontology terms including parent terms associated with each feature. ‘annotation’ - the full annotation strings associated with each feature ‘combined’ - combine ‘term’ and ‘annotation’
  • max_show (int or (int, int) or None (optional)) – The maximal number of terms to show if None, show all terms if int, show at most the max_show maximal positive and negative terms if (int, int), show at most XXX maximal positive and YYY maximal negative terms
  • ax (matplotlib.axes.Axes or None, optional) – The axis to which to plot the figure None (default) to create a new figure
  • colors (tuple of (str, str) or None (optional)) – Colors for terms enriched in group1 or group2 respectively
  • show_legend (bool (optional)) – True to show the color legend, False to hide it
  • **kwargs (dict, optional) – Additional database specific enrichment parameters (see per-database module documentation for .enrichment() method)
Returns: