t-test plot¶
This visualization function can be launched from class DigitalCellSorter at the stage of post-processing.
From submodule VisualizationFunctions:
-
class
VisualizationFunctions
(dataName='dataName', saveDir='', matplotlibMode='Agg', safePlotting=True, verbose=1)[source] Class of visualization functions for DigitalCellSorter
-
makeTtestPlot
(*args, **kwargs)[source]¶ Produce heatmap plot of t-test p-Values calculated gene-pair-wise from the annotated clusters.
- Parameters:
- df: pandas.DataFrame
t-test statistic values
- dfp: pandas.DataFrame
t-test p-Values calculated gene-pair-wise
- label: str, Default None
Lebel to include in the plot
- reorder: boolean, Default True
Reorder values to group similar
- p_value_cutoff: float, Default 0.05
p-Value cutoff
- dpi: int, Default 600
Resolution of the figure image
- extension: str, Default ‘png’
Format of the figure file
- Returns:
None
- Usage:
DCS = DigitalCellSorter.DigitalCellSorter()
DCS.makeTtestPlot(df)
-
Example output: