Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • danwiththeplan
    Member
    • Sep 2011
    • 72

    #1

    shiny_cuffdiff: On-the-fly interrogation and plotting of gene expression results

    Hi all. I'd like to introduce the community to shiny_cuffdiff



    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 and outputs are created on-the fly.

    shiny_cuffdiff consists of two Shiny apps:

    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.

    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.

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

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


    We are also developing Shiny code to interrogate the outputs of other common gene expression / differential expression workflows (initially starting with DESeq2), which will be published as a separate repository.

    Dan Jones
    School of Biological Sciences
    The University of Auckland

    Please feel free to contact me through SeqAnswers or Github.
    Last edited by danwiththeplan; 01-24-2016, 07:42 PM.
  • Zapages
    Member
    • Oct 2012
    • 98

    #2
    Hi

    I was just testing the program out. This seems to be a great way to help non-Bioinformaticians to visualize their differential expression data.

    There is an extra ")" at the end of the code to run it through shiny in R.

    Have you considered something like this: QuickRNASeq http://sourceforge.net/projects/quickrnaseq/ or Degust: http://vicbioinformatics.com/degust/...?code=example#
    Last edited by Zapages; 01-25-2016, 10:36 AM.

    Comment

    • danwiththeplan
      Member
      • Sep 2011
      • 72

      #3
      Hi, thanks for your reply. I'm not able to replicate this error. If you mean this error:
      Code:
      error in evaluating the argument 'object' in selecting a method for function 'expressionPlot': Error in sqliteSendQuery(con, statement, bind.data) : 
        error in statement: near ")": syntax error
      ..then this occurs when you aren't giving the program a valid cuffdiff directory (not the cuffdiff.db file, the cuffdiff directory), or the gene name or XLOC number does not exist. Note that the plotting isn't instant, if you can see cummeRbund getting the gene information:

      Code:
      Getting gene information:
      	FPKM
      	Differential Expression Data
      	Annotation Data
      	Replicate FPKMs
      	Counts
      .then it's working and the plots will pop up soon.

      This is not so much an error in the code, more an example of error handling that could be more clear and informative. As is noted, this is a program in early development and I do note that error handling is the next thing I'm working on. Additionally, the plots are not that nice, so I will be using ggplot2 to make nicer plots in the very near future.

      I'm aware of Degust and QuickRNAseq. Degust does something very similar but does not handle cuffdiff outputs at all. Valid comparison, but until they add capability to handle cuffdiff, I think this work has a place. Additionally Degust requires that you upload your data (EDIT: you can download the code and run it on your computer, so I'm wrong here)
      Not sure the comparison to QuickRNAseq is valid, since it's an entire workflow that starts right from the FASTQ file (as I understand it).
      Last edited by danwiththeplan; 01-25-2016, 01:01 PM.

      Comment

      • lgoff
        Member
        • Feb 2008
        • 82

        #4
        Really interesting project. Looking forward to contributing to it's development. Thanks for picking up this mantle.

        -Loyal

        Comment

        • Zapages
          Member
          • Oct 2012
          • 98

          #5
          Yes, I agree this work definitely is useful and has a place. As this could be specifically designed for cuffdiff and other R based tool sets.

          Currently, using gplot2 to create heatmaps takes a bit of time with R for DeSeq and EdgeR data.

          I was able to fix the error, by going into the load_packages.R files and fixing up the URL addresses. My R was not accepting the 's' in https://...

          I look forward to future versions of your tool.

          Best Regards.

          Comment

          • danwiththeplan
            Member
            • Sep 2011
            • 72

            #6
            Originally posted by Zapages View Post
            Yes, I agree this work definitely is useful and has a place. As this could be specifically designed for cuffdiff and other R based tool sets.

            Currently, using gplot2 to create heatmaps takes a bit of time with R for DeSeq and EdgeR data.

            I was able to fix the error, by going into the load_packages.R files and fixing up the URL addresses. My R was not accepting the 's' in https://...

            I look forward to future versions of your tool.

            Best Regards.
            Great, thanks, this is now fixed. Prettier plots (using ggplot2) are definitely a plan for the near future. Hoping to get publication-level plots that can be generated on the fly. To avoid spamming Seqanswers, it might be better to keep bug reports as personal messages or in github.

            Questions and clarifications on how to use the software are fine

            Comment

            • Zapages
              Member
              • Oct 2012
              • 98

              #7
              Hi

              I just tested the program out again with all of my RNA-Seq datasets. It works really great. Thank you for creating this application.

              Maybe to help users create publication like graphs/charts, maybe there could be an option to save the images as *.svg files. This could allow the user to edit svg file (with svg editors) and have publication like results.

              Also if I were to use this for publication. How should we cite the application?

              Many thanks in advance.

              -Zain

              Comment

              • danwiththeplan
                Member
                • Sep 2011
                • 72

                #8
                Originally posted by Zapages View Post
                Hi

                I just tested the program out again with all of my RNA-Seq datasets. It works really great. Thank you for creating this application.

                Maybe to help users create publication like graphs/charts, maybe there could be an option to save the images as *.svg files. This could allow the user to edit svg file (with svg editors) and have publication like results.

                Also if I were to use this for publication. How should we cite the application?

                Many thanks in advance.

                -Zain
                Thanks for the feedback! To answer your questions:

                1) For future releases, we will include citation information, but for now, please cite:

                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/

                Remember to also cite the underlying R code (cummeRbund) and the Tuxedo workflow.

                2) Excellent suggestion regarding .svg files. I will add this to the list of features we are implementing. The ability to save graphics in various formats is definitely on the to-do list.

                Following the project on Github is a good idea, as we are actively working on new features and better error handling. For example, we have already implemented better methods of selecting the database file and are working on making the graphics more visually pleasing and customisable. We expect to release version 0.2 early next week, so keep an eye out!

                Again, thanks for the feedback, please Star us on Github!
                Last edited by danwiththeplan; 02-03-2016, 05:39 PM.

                Comment

                • MikhailFokin
                  Member
                  • Mar 2014
                  • 15

                  #9
                  nice a bit scary to have it in a browser...
                  what the "include replicates" option means?

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    New Genomics Technologies Take Aim at Long-Standing Limits
                    by SEQadmin2


                    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                    ...
                    Yesterday, 10:25 AM
                  • SEQadmin2
                    How Immunogenomics Decodes Immunity’s Genetic Blueprint
                    by SEQadmin2




                    The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.

                    This convergence of genetics, immunology, and computation...
                    09-01-2026, 05:41 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, Today, 09:51 AM
                  0 responses
                  7 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 09-25-2026, 09:06 AM
                  0 responses
                  31 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 09-23-2026, 11:05 AM
                  0 responses
                  26 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 09-18-2026, 11:37 AM
                  1 response
                  46 views
                  0 reactions
                  Last Post pekgio
                  by pekgio
                   
                  Working...