Unconfigured Ad

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

    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

          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM
          • SEQadmin2
            Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by SEQadmin2


            I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

            Here are nine questions we think about, in roughly the order they matter, before...
            06-18-2026, 07:11 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 11:08 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-30-2026, 05:37 AM
          0 responses
          11 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          19 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-17-2026, 06:09 AM
          0 responses
          53 views
          0 reactions
          Last Post SEQadmin2  
          Working...