Coder Social home page Coder Social logo

pathview's People

Contributors

dtenenba avatar hpages avatar link-ny avatar mmoisse avatar sonali-bioc avatar wluo1 avatar

Watchers

 avatar  avatar

Forkers

luffyluffy

pathview's Issues

Expand.node error

Currently getting an error when I try to run expand.node=TRUE on a simple single-sample gene expression dataset, when the data works fine with expand.node=FALSE.

Running from a differential expression results table, where the row names are Entrez IDs. Using the "stat" column which is like a t-statistic but negative for negative log-fold-change.

results <- read.csv("results.csv",header=TRUE,row.names=1,check.names=FALSE)
for_pathview <- results$stat
names(for_pathview) <- rownames(results)
pv.out_no_expand = pathview(gene.data = for_pathview,
    pathway.id="04350",
    species = "hsa",
    out.suffix="test",
    kegg.native=FALSE,
    limit=list(gene=10,cpd=10),
    node.sum="max.abs")
pv.out_no_expand = pathview(gene.data = for_pathview,
    pathway.id="04350",
    species = "hsa",
    out.suffix="test",
    kegg.native=FALSE,
    limit=list(gene=10,cpd=10),
    expand.node=TRUE)

With expand.node=TRUE, I get the following error:

Error in combineKEGGnodes(node.data$component[[gn]], gR1, gn) :
Nodes 24, 25 are not part of the graph!

Any help debugging would be much appreciated. Also let me know what if any data you need.

For reference, I wanted to run with expand.node=TRUE because there were a few labels with very different genes within the same label. For example, label ACVR1 had gene ACVR1 itself highly upregulated, but gene BMPR1B (associated gene) highly downregulated. So any of the usual node.sum approaches didn't really seem to fit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.