shiny_cuffdiff

Welcome to the shiny_cuffdiff project. Version 0.2 (with improved file import, graphics, and feedback) will be released soon!

This project is at an early phase of development, but is under active development.

Participants (either users, testers, or code developers) are encouraged!

Put simply, this code uses the outputs of the Tuxedo workflow (Tophat2 > Cufflinks > Cuffdiff) which is a cuffdiff SQL database file called cuffdiff.db. Then, using the R package cummeRbund, various plots are created on-the fly.

There are three subdirectories, containing the server.R and ui.R files required for all Shiny apps, and a load_packages.R file to handle loading dependencies.

gene_expression_panel_cuffdiff:

Takes a cuffdiff database (rebuilding if required) and displays information on a single named gene (as defined by the gene short name or the XLOC number). After the gene information is defined, gene expression plots can be restricted by sample.

To use: Open the server.R or ui.R file within RStudio. Click on the "Run App" button, or run from the R console:

shiny::runApp('shiny_cuffdiff/gene_expression_panel_cuffdiff'))

Type the path to the cuffdiff directory
Type the gene short name or XLOC number
Press "Plot"

Gene expression panel example

gene_comparison_panel_cuffdiff:

Takes a cuffdiff database (rebuilding if required) and displays information on a set of named genes (as defined by the gene short name or the XLOC number). Displays a heatmap and a barplot. After the gene information is defined, gene expression plots can be restricted by sample.

To use: Open the server.R or ui.R file within RStudio. Click on the "Run App" button, or run from the R console:

shiny::runApp('shiny_cuffdiff/gene_comparison_panel_cuffdiff'))

Type the path to the cuffdiff directory
Type the gene short names or XLOC numbers
Press "Plot"

Gene comparison panel example

Contributors and Users: Welcome. We intend to use the Git branching model described in this post for development of this code.

http://nvie.com/posts/a-successful-git-branching-model/ (Thanks to Vincent Driessen for the post).

Put simply,
..if you just want to try the code out but don't want to contribute to the code, clone the master branch
..if you want to contribute to the code, clone the develop branch, and please read the above post.

Users: Please note that, while this code is usable and may already be helpful when interrogating your gene expression results, it is a project at an early stage of development and there is a lot of error handling and code optimisation to be done.

Contributors: Welcome and thanks! Please take the time to read the current issues list, and feel free to create new issues or suggestions for improvements.

Requirements (tested on these versions)

R version 3.2.2 (2015-08-14) -- "Fire Safety"
RStudio (open source edition)
R package: Shiny version 0.13.0 (this is installed during the startup process)
R package: cummeRbund version 2.12.0 (this is installed during the startup process)
A valid cuffdiff directory (the cuffdiff.db can be rebuilt, but this is a very, very slow process, so this option is turned off by default)

Please cite shiny_cuffdiff, in the format of your choice, using the following information:

Jones,D., Stuckey, A., and Fan, V. (2016). shiny_cuffdiff (version 0.1): On-the-fly interrogation and plotting of gene expression results. http://nzgl.github.io/shiny_cuffdiff/