Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • baySeq

    Hi,
    I would appreciate some help from anyone out there that might be able to assist!

    I am using baySeq to analyse the DGE-tag illumina sequenced data. I have also used DESeq and edgeR. I am trying to identify how similar the results using all three methods are.

    However I would like to know how to modify the PLOTMA in baySeq? In the simulated data example, the PLOTMA is shown as;

    > plotMA.CD(CD, samplesA = 1:5, samplesB = 6:10, col = c(rep("red",
    + 100), rep("black", 900)))

    However, the colours are set as red for the 100 data points which have been simulated to be DE ("The data are simulated such that the first hundred counts show di fferential expression between the first five libraries and the second five libraries.").

    Obviously I don't know which data points in my data sets will be DE- how to I produce the plotMA which colours, say, the top 100 most significantly DE genes? I am able to produce the plotMA graph with no colours.

    thank you in advance for your help,

  • #2
    I have the same problem, help!!!!!

    Comment


    • #3
      The general idea is to sort the p-value/logFC/whatever that you want to color by, select the 100th (or whatever) highest/lowest value from that, and then use ifelse() to do the coloring. The following is some basic R pseudo-code, since I don't use baySeq:

      Code:
      threshold <- sort(abs(logFC),partial=length(logFC)-100, decreasing=T)[length(logFC)-100]
      plotMA.CD(CD, samplesA = 1:5, samplesB = 6:10, col = ifelse(abs(logFC) >= threshold, "red", "black"))

      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, Today, 11:49 AM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 08:47 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      61 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Working...
      X