Skip to content

Signature quantification step fails when running pipeline on just one sample #59

@ahwanpandey

Description

@ahwanpandey

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions