Seqanswers Leaderboard Ad

Collapse

Announcement

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

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

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


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


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


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


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

            • seqadmin
              Advancing Precision Medicine for Rare Diseases in Children
              by seqadmin




              Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
              12-16-2024, 07:57 AM
            • seqadmin
              Recent Advances in Sequencing Technologies
              by seqadmin



              Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

              Long-Read Sequencing
              Long-read sequencing has seen remarkable advancements,...
              12-02-2024, 01:49 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 12-17-2024, 10:28 AM
            0 responses
            39 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-13-2024, 08:24 AM
            0 responses
            52 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-12-2024, 07:41 AM
            0 responses
            38 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-11-2024, 07:45 AM
            0 responses
            46 views
            0 likes
            Last Post seqadmin  
            Working...
            X