Plots¶
-
class
pygna.plots.
PygnaFigure
[source]¶ Abstract class that implements a general figure in Pygna. It has a class attribute representing the default height/width ratios for the figures
-
class
pygna.plots.
VolcanoPlot
(df: pandas.core.frame.DataFrame, output_file: str, loc: int = 2, p_col: str = 'empirical_pvalue', id_col: str = 'setname_B', plotting_col: str = 'observed', x_threshold: float = 0.1, y_threshold: float = 0.1, y_label: str = '-log10(pvalue)', x_label: str = 'z-score', annotate: bool = False, size: int = 2)[source]¶ This class represent a Volcano Plot. It saves the value in the dataframe on a file.