Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

  • #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


    • #3
      Hi muthu545

      Thank you, this works great

      Comment


      • #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


        • #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

          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM
          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          59 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          57 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          53 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          56 views
          0 likes
          Last Post seqadmin  
          Working...
          X