Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • yangruialex
    Junior Member
    • Sep 2013
    • 2

    Filtering differentially expressed genes with CummeRbund

    Hi,

    I am new to RNA-seq analysis and I am trying to analysis some data by the tuxedo pipeline.

    My samples are control cells and cells with siRNA treatment, each with 4 replicates so 8 samples in total. There are ~40 million reads in each sample. After running these data through cuffdiff, it generates a list of ~9000 genes that are differentially expressed significantly. I went through the list and found that a lot of them have extremely low FPKM value (less than 0.1) and very low fold changes (less than 1.3).

    So I have been filtering these with an arbitrary threshold of FPKM>2 and fold change>1.5. I did that in excel and that got me about 900 genes left. My question is that how can I do that in cummeRbund so that I can plot heatmap and other plots with the filtered results?

    Thank you very much!
  • TiborNagy
    Senior Member
    • Mar 2010
    • 329

    #2
    Code:
    cuff <- readCufflinks()
    gene.diff <- diffData(genes(cuff))
    filtered <- gene.diff[gene.diff$log2_fold_change > 1.5 & gene.diff$value_1 > 2,]
    value_1, value_2 and so on is your samples.

    Comment

    • yangruialex
      Junior Member
      • Sep 2013
      • 2

      #3
      Originally posted by TiborNagy View Post
      Code:
      cuff <- readCufflinks()
      gene.diff <- diffData(genes(cuff))
      filtered <- gene.diff[gene.diff$log2_fold_change > 1.5 & gene.diff$value_1 > 2,]
      value_1, value_2 and so on is your samples.
      That worked! Thank you so much!

      Comment

      • gareth.lim
        Junior Member
        • Feb 2014
        • 3

        #4
        Quick question,
        If I have 6 conditions (C1-C6), with C1 being my control, do i type in "...gene.diff$ C1 > 2 ,3,4,5,6,]?

        Comment

        • sghignone
          Junior Member
          • Nov 2008
          • 9

          #5
          hi!
          this thread is the closest I've found to my issue ...

          I have 2 conditions (a control and a treatment), each with 3 replicates. How can I do if I want to get those genes showing FPKM > 1, for each replicate, for control OR treatment?

          I mean that, for example, a gene must have in control at least fpkm = 1, for all replicates #1, #2 and #3, even if it doesn't happen for the treatment; and vice versa.

          This actually works:

          gene.diff.filtered <- gene.diff[gene.diff$value_1 > 1 & gene.diff$value_2 > 1,]

          but it's not what i want since the fpkm is calculated over the three replica together, and not separately.


          Thanks for any hint!
          Cheers

          stefano
          Last edited by sghignone; 03-13-2015, 08:47 AM. Reason: completeness

          Comment

          • kwoolf
            Junior Member
            • Mar 2017
            • 1

            #6
            I used this to filter my 10,000+ DEGs to a more reasonable number so I could plot heatmaps with the filtered results. Now I can't figure out how to use the filtered results to plot a heatmap. I have tried a few different ways, but none are successful - I cannot use getSig function or get the column of gene_ids from the filtered table into a list to use the getGenes function, so am not sure what other approach to take. I would appreciate if you could share how you did this. Thanks very much!

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
              by SEQadmin2


              Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

              The systematic characterization of the human proteome has
              ...
              07-20-2026, 11:48 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-24-2026, 12:17 PM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-23-2026, 11:41 AM
            0 responses
            18 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-20-2026, 11:10 AM
            0 responses
            23 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-13-2026, 10:26 AM
            0 responses
            37 views
            0 reactions
            Last Post SEQadmin2  
            Working...