Monday, July 1, 2013

R you Ready for BioFabRic?

OK, this is going to be a very short post. After a marathon weekend hacking binge, I've created an initial version of BioFabric that is implemented in R.  The code for Version 0.01 is hosted on GitHub at:



At the moment, it's nothing fancy. For example, it only does the default layout, cannot do shadow links,  and so on. Right now, it just takes a graph in the  R igraph format and creates a static plot. I have done no benchmarking on how big you can go before everything starts to fall apart, but it seems to handle node and link counts in the hundreds without too much sweat. Here's an example of a network generated using barbasi.game(100, m=6, directed=FALSE)

Click on image to enlarge
It's very rough at the moment, and is just a couple source files to start. But if you are the adventurous type, download bioFabric.R and then have a look at the TestHarness.R file to see how it can be used. I'll have more blog posts coming soon.

Happy R hacking!

1 comment:

  1. Just a small correction. Today I got the github repository a little more into standard R package format (still learning!), and so dropped the TestHarness.R file. You can get the same info out of the tiny example in the bioFabric.R header.

    ReplyDelete