greatpy.pl.scatterplot
- greatpy.pl.scatterplot(great_df, colname_x, colname_y, title='', minus_log10=True, ax=None)
Create a scatterplot from a pandas dataframe between two columns.
A logarithmic scale can be used.
- Parameters:
- great_df : pd.DataFrame
Output of the greatpy.tl.enrichment function
- colname_x : str
Name of the column to be used as x axis
- colname_y : str
Name of the column to be used as y axis
- title : str
Title of the plot. Default is
""- minus_log10 : bool
If True, the logarithmic scale is used
Default is
True- ax : matplotlib.axes or None
Define the position of the plot in a figure
Default is
None
- Returns:
Scatterplot between the two columns passed in args
- Return type:
None