Parameters: |
- enriched (pandas.DataFrame) – The enriched terms ( from exp.enrichment(). i.e. if res=exp.enrichment, use res[0] )
must contain columns ‘term’, ‘odif’
- 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 axes to which to plot the figure. None (default) to create a new figure
- lables (tuple of (str, str) or None (optional)) – name for terms enriched in group1 or group2 respectively, or None to not show legend
- colors (tuple of (str, str) or None (optional)) – Colors for terms enriched in group1 or group2 respectively
|