The ModuleViewer project was originally started to browse [[LeMoNe]] and [[Enigma]] output efficiently on a desktop pc and independently of the rest of both applications that generate the data. We also wanted one common viewer to maintain, that could handle both data generated by Enigma and LeMoNe.
Both applications were slightly altered to generate compatible output.
By separating the graphical libraries and the GUI application with parsers, and by keeping the code as generic as possible, ModuleViewer became a handy tool to generate figures for all kinds of expression matrices and their associated data.
Click [here][presentation] to download a short presentation about ModuleViewer (BEG Lunch Meeting of 25 Oct. 2011.
## File Type ####
Creation of images relies on at least two types of data: the data matrix and the modules file. Optionally, this can be extended with regulator data, a condition tree, and annotation files.
***data matrix**: The expression data. The header contains the name of all experiments (conditions), the first column represents gene names. The rest of the data consists of the expression data.
***gene file**: Either an XML file with modules and genes, possibly grouped together into a tree structure, or a simple list of modules with their genes.
***condition tree**: (optional) XML file with conditions to be displayed per module, possibly grouped together into a tree structure.
***regulator tree**: (optional) XML file with regulator genes or a simple list of regulators assigned to modules.
***annotations**: Most information that should be drawn around the central module matrices, can be described as: "Module number x lists genes or conditions y1, y2, y3, ... as having property z". Optionally each gene or condition can be linked to an extra data point (color, integer, ...). For this purpose, we created the [[MVFFormat]].
Demo data can be downloaded here: [[ModuleViewerDemoData]].
Alternatively, you can clone the code from the repository (master or stable tag), compile it using [maven] and run it from the command line. Maven will take care of downloading the dependencies. The dependency on [ModuleGraphics] is not served from any maven repository (yet), so you first need to clone that code and also maven install it as well.
A GUI will be launched from which you can load your data and browse the output figures.