-
Notifications
You must be signed in to change notification settings - Fork 41
Output Plots
S M Ashiqul Islam edited this page Jan 27, 2026
·
1 revision
This page describes the plots output folder generated by SigProfilerMatrixGenerator.
When plot=True is set, SigProfilerMatrixGenerator integrates with SigProfilerPlotting to generate visualizations for all matrix types.
| Plot Type | Description |
|---|---|
| SBS-6 | 6-channel single base substitution barplot |
| SBS-24 | 24-channel SBS with strand bias |
| SBS-96 | Standard 96-channel mutational signature plot |
| SBS-384 | Extended SBS with strand bias |
| DBS-78 | 78-channel double base substitution plot |
| DBS-186 | Extended DBS with strand bias |
| ID-28 | Basic indel classification plot |
| ID-83 | Extended indel classification plot |
| ID-415 | Indel with strand bias plot |
| Plot Type | Description |
|---|---|
| SBS-1536 | Extended context SBS plot |
| Sample portrait | Comprehensive sample summary |
- File format: PDF (multi-page)
- Content: One page per sample
-
Naming:
[project]_[matrix_type].pdf
To generate plots, set plot=True:
from SigProfilerMatrixGenerator.scripts import SigProfilerMatrixGeneratorFunc as matGen
matrices = matGen.SigProfilerMatrixGeneratorFunc(
"my_project",
"GRCh37",
"/path/to/input",
plot=True
)The standard 96-channel plot shows:
- X-axis: 96 trinucleotide contexts grouped by mutation type
- Y-axis: Mutation count or frequency
- Colors: Different colors for each of the 6 mutation types
- C>A (blue)
- C>G (black)
- C>T (red)
- T>A (gray)
- T>C (green)
- T>G (pink)
The indel plot shows:
- 1bp C deletions (orange)
- 1bp T deletions (orange, lighter)
- 1bp C insertions (green)
- 1bp T insertions (green, lighter)
- Long deletions at repeats (pink)
- Long insertions at repeats (light pink)
- Microhomology deletions (brown)
For more advanced plotting options and customization, use SigProfilerPlotting directly:
GitHub: https://github.com/AlexandrovLab/SigProfilerPlotting
Installation:
pip install sigProfilerPlottingFeatures:
- Custom color schemes
- Publication-quality figures
- Additional plot types
- Sample comparison plots
- Signature decomposition visualizations