-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Hi,
The step DINCALCILAB_SAMURAI:SAMURAI:SOLID_BIOPSY:CIN_SIGNATURE_QUANTIFICATION fails when I run the pipeline on just one sample. I believe it is the "plotSampleByComponent" function:
Starting Signature Extraction...
checkChromosomeFormat: dropping 'chr' prefix
Saving RDS dataset...
Error in stats::heatmap(x = plotData, scale = "col", Colv = NA, ...) :
'x' must have at least 2 rows and 2 columns
Calls: plotSampleByComponent -> <Anonymous>
Execution halted
I have manged to fix this by changing the following line of code:
from:
png(filename="ascat_sc_plot_by_component.png")
plotSampleByComponent(object = cnobj)
dev.off()
to:
png(filename="ascat_sc_plot_by_component.png")
#plotSampleByComponent(object = cnobj)
plotActivities(object = cnobj, type = "threshold")
dev.off()
As you can see, I still need to create the file "ascat_sc_plot_by_component.png" for the pipeline to finish without errors, so I've jun run the plotActivities function again just to create this file.
Hope that makes sense and is an easy change at your end?
Thanks!
Ahwan
Metadata
Metadata
Assignees
Labels
No labels