0

I developed a C++ program using boost-graph which stores the output as graphml files.

This uses the compiled part of the boost graph library.

I wanted to include this code in an R package using Rcpp, so I used BH, however the graphml writer is not included in BH. I add that I want to include some easy plotting functionality. The possible solution that I came up with are :

  • Write a graphml writer, and interface it with the graph package on bioconductor for plotting.
  • Write an interface with igraph (no parser to write)
  • Any other solution ?

I think that I will use the second option for commodity purpose, however I wanted to know if somebody encountered this issue/had an input on this question ?

I want to submit this package to bioconductor.

Thanks, Alexis

sehe
  • 374,641
  • 47
  • 450
  • 633
  • Some Boost components require _linking_ with an actual Boost library whereas BH focusses on those parts that are header-only. – Dirk Eddelbuettel Apr 16 '18 at 20:05
  • Thanks, howerver is there any possibility to includes the .graphml parser without requiring the linjking to a boost library which is external to R ? Because I fear that the targeted audience of this package (mainly chemists) won't have the ability to perform the linking. – Alexis Delabriere Apr 17 '18 at 05:52
  • Have you considered adding the necessary parts of boost-graph to your package? – Ralf Stubner Apr 23 '18 at 09:11
  • Actually I did not really consider it, I think that this would greatly reduce the portability of the package because I don't have the knowledge to do this correctly. I finnaly used igraph for plotting+exporting. – Alexis Delabriere Apr 23 '18 at 14:46

0 Answers0