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

          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM
          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            07-08-2026, 05:17 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-13-2026, 10:26 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-09-2026, 10:04 AM
          0 responses
          30 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          18 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          34 views
          0 reactions
          Last Post SEQadmin2  
          Working...