Even without that information, it is pretty obvious that there are bugs in
the code. I was a total R newbie at that point. I managed to reproduce the
error with the curto.xml file in the package, and it's now fixed in devel,
version 2.19.1. I didn't realize that reactions could have zero reactants
or zero products. Must be source/sinks in the network.



On Tue, Jul 30, 2013 at 10:06 AM, Dan Tenenbaum <dtenenba@fhcrc.org> wrote:

> On Mon, Jul 29, 2013 at 11:50 AM, Robin Philip <Robin.Philip@agios.com>
> wrote:
> > Hello,
> >
> > I am trying to convert an SBML model to a graph object in R.
> > The following are the commands I use to do so.
> >
> >
> doc<-rsbml_read(system.file('sbml','RAW264_7_v2.xml',package='rsbml'),dom=FALSE)
> > g<-rsbml_graph(doc)
> >
> > I get the following error in the last line
> > Error in gNodes[x$edges] : invalid subscript type 'list'
> >
> > Can someone suggest a remedy?
> >
>
>
> Please send the output of the sessionInfo() command.
> I don't see the file RAW264_7_v2.xml in either the release or devel
> version of rsbml.
>
> Dan
>
>
> > Regards
> > Robin Philip
> >
> > This message contains information which may be confident...{{dropped:11}}
> >
> > _______________________________________________
> > Bioconductor mailing list
> > Bioconductor@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/bioconductor
> > Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>

	[[alternative HTML version deleted]]

