I am using SomaticSignature package in my study. After decomposition and inferring of signatures, I tried to visualize the signatures as heatmap and as barchart. The hetamap was generated successfully but not the barchart.
I used the following command to construct barchart:
plotSignatures(sigs_pca) + ggtitle("Somatic Signatures: PCA - Barchart")
The pdf file of R plot was generated but the size of the file was zero.
Can someone kindly tell me how to solve this problem?