Stacked bar 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
-
makeStackedBarplot
(*args, **kwargs)[source]¶ Produce stacked barplot with cell fractions
- Parameters:
- clusterName: str, Deafult None
Label to include at the bar bottom. If None the self.dataName value will be used
- legendStyle: boolean, Default False
Use one out of two styles of this figure
- includeLowQC: boolean, Default True
Wether to include low quality cells
- 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.makeStackedBarplot(clusterName)
-
Example output: