forked from SigProfilerSuite/SigProfilerPlotting
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot_example.py
More file actions
19 lines (14 loc) · 985 Bytes
/
plot_example.py
File metadata and controls
19 lines (14 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import sigProfilerPlotting as sigPlt
import os
matrix_path = "input/examples/samples/"
output_path = "output/examples/"
#matrix_path = ''
#output_path = ''
if not os.path.exists(output_path):
os.makedirs(output_path)
sigPlt.plotSBS(matrix_path + "breast_cancer_samples_example.SBS96.all", output_path,"BRCA_example", "96")
sigPlt.plotSBS(matrix_path + "breast_cancer_samples_example.SBS192.all", output_path, "BRCA_example", "192")
sigPlt.plotCNV(matrix_path + "breast_cancer_samples_example.CNV48.all", output_path, "BRCA_example", "pdf", percentage=False, aggregate=False) #plotting of CNV counts
sigPlt.plotSV(matrix_path + "breast_cancer_samples_example.RS32.all", output_path, "BRCA_example", "pdf", percentage=False, aggregate=False) #plotting of SV counts
#sigPlt.plotDBS(matrix_path + "breast_cancer_samples_example.DBS78.all", output_path, "BRCA_example", "78")
# sigPlt.plotID(matrix_path + "breast_cancer_samples_example.ID94.all", output_path, "BRCA_example", "94")