Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rdsqc22
    Junior Member
    • Nov 2013
    • 7

    #1

    Unsure how to use GAGE with biological replicates

    Hello,

    I have some RNAseq data (cuffdiff) that I am trying to run gage/pathview on, to determine which pathways are enriched. However, my data set uses biological replicates (two samples of each cell type), which I have not used before with gage.

    I read the manuals and found a mention of a 'weights' argument for gage here: http://www.bioconductor.org/packages...e/man/gage.pdf
    But it does not describe what the numberic vector to be the weight should contain or how to determine it based on the number of replicates. While there are many other examples of how to use gage/pathview on the Bioconductor website, none of them mention the 'weights' argument or any sort of replicates.

    The command I used without biological replicates is:
    > fc.kegg.p <- gage(exp.fc, gsets = kegg.sets.rn, ref = NULL, samp = NULL)

    Does anyone have any experience with this? How would I go about analyzing these data?
  • bigmw
    Senior Member
    • Aug 2013
    • 124

    #2
    When you expression data are differential expression score like fold changes, no matter with or without replicate (matrix or vector), you can use gage with ref=NULL and samp=NULL. If you data are the original expression levels, you should specify the column numbers of control(s) and experiment(s) in your data matrix with ref and samp. If your column 1-2 are controls, and 3-4 are experiments, the samples are not paired, you can do something like:
    kegg.p <- gage(exp.data, gsets = kegg.sets.rn, ref = 1:2, samp = 3:4, compare = "unpaired")

    check gage function document for details:
    ?gage
    you may also want to check the quick start and basic analysis sections in gage tutorial:

    Comment

    • rdsqc22
      Junior Member
      • Nov 2013
      • 7

      #3
      My data are the cuffdiff output for two samples each of four different cell types. I had already been using the (very helpful) tutorial you linked, which explains how to retrieve the needed data from the gene_exp.diff file of the cuffdiff output. This file, though, will combine the data for biolofigal replicates, making it impossible to do what you describe with multiple columns. This is why I was interested in the 'weights' argument.

      There is a file with the cuffdiff output, 'genes.read_group_tracking', which does list FPKM for each gene for each replicate. Perhaps I should use that.

      I don't see how gage will still be statistically accurate when working with fold changes with biological replicates without specifying them. If there are multiple biological replicates, then a fold change of a certain amount should be more significant than a fold change of the same amount with only one sample of each cell type. Could you elaborate on how that works?

      Comment

      • bigmw
        Senior Member
        • Aug 2013
        • 124

        #4
        GAGE does take sample size into account. 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. You may also read the GAGE paper for more details of the method, at http://www.biomedcentral.com/1471-2105/10/161.
        So to take the advantages of the full testing power of GAGE, it is recommended to follow the native workflow. OR you can use the normalized data from other tools (like the FPKM for each gene for each replicate by cuffdiff), then feed the data into GAGE as mentioned above. The joint workflows are there for users’ convenience. People can do the differential expression analysis (at individual gene level) with well established tools like DESeq, edgeR, Cufflinks etc and input the results into GAGE/Pathview workflow for pathway analysis and visualization. It is convenient, however less sensitive because sample size is not considered this way.
        People asked similar questions previously:
        Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

        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, 10-22-2026, 11:13 AM
        0 responses
        24 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        20 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...