Skip to content

Error in array(col.rgb[, i], dim(node.rgb)[3:1]) #32

@Asa12138

Description

@Asa12138

An error will be reported when drawing certain pathways, such as map01230, because there is no rectangle of gene, but the hsa01230.png image is still generated under the folder.

data(gse16873.d)
data(demo.paths)
> pv.out <- pathview::pathview(gene.data = gse16873.d[, 1], pathway.id = "01230")
Info: Downloading xml files for hsa01230, 1/1 pathways..
Info: Downloading png files for hsa01230, 1/1 pathways..
'select()' returned 1:1 mapping between keys and columns
Info: Working in directory /Users/asa/Documents/R/MASS_cohort/analysis
Info: Writing image file hsa01230.pathview.png
Info: some node width is different from others, and hence adjusted!
Error in array(col.rgb[, i], dim(node.rgb)[3:1]) : 
  negative length vectors are not allowed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions