Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sindrle
    Senior Member
    • Aug 2013
    • 266

    #1

    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?
  • sindrle
    Senior Member
    • Aug 2013
    • 266

    #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

    • bigmw
      Senior Member
      • Aug 2013
      • 124

      #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:
      Generally Applicable Gene-set Enrichment for Pathway Analysis

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

      Comment

      • sindrle
        Senior Member
        • Aug 2013
        • 266

        #4
        Thanks!
        Ill check it out.

        Comment

        • sindrle
          Senior Member
          • Aug 2013
          • 266

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

          How come?

          Comment

          • bigmw
            Senior Member
            • Aug 2013
            • 124

            #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

            • sindrle
              Senior Member
              • Aug 2013
              • 266

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

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM
              • 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
                ...
                09-28-2026, 10:25 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, Yesterday, 11:13 AM
              0 responses
              21 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, Yesterday, 10:48 AM
              0 responses
              18 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              36 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              42 views
              0 reactions
              Last Post SEQadmin2  
              Working...