Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems running GAGE

    Hi!
    Here is my code, my input is from DESeq2 results.

    deseq2.fc=timepointsResults$log2FoldChange;
    names(deseq2.fc)=rownames(timepointsResults);
    exp.fc=deseq2.fc;
    out.suffix="timepointsResultsDESeq2"
    require(gage);
    data(kegg.gs);
    dir.create("/Volumes/timemachine/HTseq_DEseq2/1_Results/GAGE_upregulated_timepointsResults");
    setwd("/Volumes/timemachine/HTseq_DEseq2/1_Results/GAGE_upregulated_timepointsResults");
    fc.kegg.p <- gage(exp.fc, gsets = kegg.gs, ref = NULL, samp = NULL, same.dir = TRUE) ;
    sel <- fc.kegg.p$greater[, "q.val"] > 0.1 & !is.na(fc.kegg.p$greater[, "q.val"]) ;
    path.ids <- rownames(fc.kegg.p$greater)[sel] ;
    path.ids2 <- substr(path.ids, 1, 8) ;
    require(pathview) ;
    pv.out.list <- sapply(path.ids2[1:3], function(pid) pathview(gene.data = exp.fc, pathway.id = pid, species = "hsa", out.suffix=out.suffix))

    I just want to look for the top 3 upregulated pathways, but I only get an "404 not found" error.

    Anyone understand this?

  • #2
    This is just wired..
    I updated from R 3.0.1 to newest and installed a new package "httr" for GAGE.

    And it works.....

    Now I just have to understand how a "significantly upregulated pathway" is calculated as significant...
    Last edited by sindrle; 10-20-2013, 12:33 PM.

    Comment


    • #3
      It is always important to update R/Bioconductor to use the latest features of gage and pathview pacakges. In addition, if you installed the packages under current release versions of R(3.0.2)/ Bioconductor(2.13), you don’t really need to worry about any dependencies like httr.
      I guess you are using the joint workflow described in the vignette “RNA-Seq Data Pathway and Gene-set Analysis Workflows”. Notice that the native GAGE/Pathview workflow may give you more sensitive results. You may check the main vignette “Generally Applicable Gene-set/Pathway Analysis” for more details of gage package:
      GAGE is a published method for gene set (enrichment or GSEA) or pathway analysis. GAGE is generally applicable independent of microarray or RNA-Seq data attributes including sample sizes, experimental designs, assay platforms, and other types of heterogeneity, and consistently achieves superior performance over other frequently used methods. In gage package, we provide functions for basic GAGE analysis, result processing and presentation. We have also built pipeline routines for of multiple GAGE analyses in a batch, comparison between parallel analyses, and combined analysis of heterogeneous data from different sources/studies. In addition, we provide demo microarray data and commonly used gene set data based on KEGG pathways and GO terms. These funtions and data are also useful for gene set analysis using other methods.

      To understand how GAGE tests for significant pathways, check the paper at: http://www.biomedcentral.com/1471-2105/10/161. HTH.

      Comment


      • #4
        Thanks!
        Ill check it out.

        Comment


        • #5
          "Notice that the native GAGE/Pathview workflow may give you more sensitive results"

          How come?

          Comment


          • #6
            The joint workflows are there for users’ convenience. You can do the differential expression analysis (at individual gene level) with well established tools like DESeq2/DESeq, edgeR, Limma and Cufflinks and input the results into GAGE/Pathview workflow for pathway analysis and visualization.

            The reason the native GAGE/Pathview workflow is more sensitive is due to the special design of GAGE method. For two-state comparison, it does pair-wise comparison between experiments vs controls (disease vs normal etc), i.e. conducts gene set or pathway test between each sample pairs and then summarizes the results. The more samples (hence independent experiment-control sample pairs) you have, the more testing power you get this way. In the joint workflow, we can’t really decompose the two groups into experiment-control pairs, and we can only take the log2 fold changes from upstream analysis, which is a summary or average fold change without sample size or experiment design info. Therefore, gene set test on this is single column data is not as powerful as the GAGE default pair-wise comparison scheme. In addition, you can analyze and visualize pathway changes in every single experiment or sample (Figure 2 in vignette).
            To see the difference between the two types of workflows, you can try the native workflow out and compare the results to joint workflows. You may also read the GAGE paper for more details, at http://www.biomedcentral.com/1471-2105/10/161.
            Last edited by bigmw; 10-21-2013, 08:31 AM.

            Comment


            • #7
              Ah, well thanks alot! I will redo my analysis after I have read some more about it.

              Comment

              Latest Articles

              Collapse

              • seqadmin
                Advanced Methods for the Detection of Infectious Disease
                by seqadmin




                The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
                ...
                Yesterday, 01:15 PM
              • seqadmin
                Strategies for Investigating the Microbiome
                by seqadmin




                Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...
                11-09-2023, 07:02 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, Yesterday, 08:12 AM
              0 responses
              14 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 11-22-2023, 09:29 AM
              1 response
              46 views
              0 likes
              Last Post VilliamPast  
              Started by seqadmin, 11-22-2023, 08:53 AM
              0 responses
              30 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 11-21-2023, 08:24 AM
              0 responses
              23 views
              0 likes
              Last Post seqadmin  
              Working...
              X