Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Enrique Zudaire
    Member
    • Feb 2013
    • 10

    #1

    Problem with cummeRbund diffData()

    Hi all,

    I'm running Tophat/cufflinks/cuffdiff for differential gene expression and analysis with cummeRbund (v 2.0.0). I'm having an issue with diffData(). I have restricted significance results to one pairwise comparison with getSig (). This works great. However, when I try to do the same with getDiff() comparisons between all samples are reported. I have included the code below. Any thoughts on why this does not work?

    Code:
    ...
    
    diffGenesIds<-getSig(cuff,x='B73',y='B74',alpha=0.05,level='genes')
    diffGenes<-getGenes(cuff,diffGenesIds)
    
    names<-featureNames(diffGenes)
    row.names(names)=names$tracking_id
    diffGenesNames<-as.matrix(names)
    diffGenesNames
    diffGenesNames<-diffGenesNames[,-1]
    diffGenesNames
    
    diffGenesData<-diffData(diffGenes,x='B73',y='B74')
    row.names(diffGenesData)=diffGenesData$gene_id
    diffGenesData<-diffGenesData[,-1]
    diffGenesData
    
    ...
    Thank you in advance for the help.
  • muthu545
    Member
    • Jul 2011
    • 32

    #2
    Hi,

    use the following to get the desired output.

    diffGenesData<-diffData(genes(cuff),x='B73',y='B74')
    sig.diffGenesData<-subset(diffGenesData, significant=='yes')
    sig.diffGenesData

    Note: The DiffData works on the initial cuffset object 'cuff' and not on a filtered dataset as in your case.

    Thanks
    Last edited by muthu545; 05-23-2013, 11:04 AM.

    Comment

    • Enrique Zudaire
      Member
      • Feb 2013
      • 10

      #3
      Hi muthu545

      Thank you, this works great

      Comment

      • RemULg
        Junior Member
        • Apr 2016
        • 1

        #4
        Hello to both and others,

        I'm a quite new R user and after using the same Tophat/cufflinks/cuffdiff/cummeRbund, I also face a problem with diffData().

        I can perfectly use the diffData() function but I would like to invert sample_1 and sample2, so that the log_2_fold_change is calculated with value_2 as the reference value instead of value_1

        Any idea of how to proceed?

        Thanks in advance for your help!

        Comment

        • muthu545
          Member
          • Jul 2011
          • 32

          #5
          Hi,

          The best easy solution is to export the results to excel and do an inverse of log2FC column.

          Note: Tweaking cuffdiff object is bit tedious.

          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...