[BioC] removeEdge: strange error
Seth Falcon
sfalcon at fhcrc.org
Fri Sep 22 01:58:18 CEST 2006
Hi Dan,
"Dan Bebber" <danbebber at forestecology.co.uk> writes:
> I am having problems removing multiple edges from graphs.
> When I try to remove many edges, I get 'Error: subscript out of bounds',
> despite the fact that there are enough edges in the graph.
> An example follows:
Thanks for the reproducible example. I'm investigating. It is a
bug.
A work around for now is to do the edge removals serially:
gr <- g
for (i in 1:20) {
gr <- removeEdge(from=as.character(From[i]),
to=as.character(To[i]), gr)
}
Will try to have a fix available soon.
+ seth
More information about the Bioconductor
mailing list