Issue with removeNode?
3
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 11.3 years ago
Jonathan Swinton <jonathan-bioconductor at="" swintons.net=""> writes: > An unexpected error when trying to remove nodes from a graphNEL > object: Thanks for the bug report. Your example made it easy to reproduce. I'm working on a fix. + seth
• 713 views
ADD COMMENT
0
Entering edit mode
@jonathan-swinton-1745
Last seen 11.3 years ago
An unexpected error when trying to remove nodes from a graphNEL object: library(graph) # using the example from the removeNode help page V <- LETTERS[1:4] edL2 <- vector("list", length=4) names(edL2) <- V for(i in 1:4) edL2[[i]] <- list(edges=c(2,1,2,1)[i], weights=sqrt(i)) gR2 <- new("graphNEL", nodes=V, edgeL=edL2, edgemode="directed") gX <- removeNode("C", gR2) # works fine and then so does gY <- removeNode(c("A","D"), gX) # but not gZ <- removeNode(c("A","C","D"), gR2) Error in clearNode(node, object) : no such index at level 2 sessionInfo() Version 2.3.0 (2006-04-24) i386-pc-mingw32 attached base packages: [1] "tools" "methods" "stats" "graphics" "grDevices" "utils" [7] "datasets" "base" other attached packages: Rgraphviz graph Ruuid Biobase "1.10.0" "1.10.4" "1.10.0" "1.10.0"
ADD COMMENT
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 11.3 years ago
Hi Jonathan, Jonathan Swinton <jonathan-bioconductor at="" swintons.net=""> writes: > An unexpected error when trying to remove nodes from a graphNEL > object: Thanks again for the bug report. I've committed a fix for this to the devel package and also patched the release (graph_1.10.5). Both should be available in the Bioc package repositories Monday morning Pacific time. Best, + seth
ADD COMMENT
0
Entering edit mode
Seth Falcon ★ 7.4k
@seth-falcon-992
Last seen 11.3 years ago
Seth Falcon <sfalcon at="" fhcrc.org=""> writes: > I've committed a fix for this to the devel package and also patched > the release (graph_1.10.5). Make that graph_1.10.6 [My first fix was not complete, sorry folks.] + seth
ADD COMMENT

Login before adding your answer.

Traffic: 1314 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6