Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zapages
    Member
    • Oct 2012
    • 98

    #1

    Heatmap with replicate/triplicate data sets in R

    Hi Everyone,

    I have Control and Treated data sets that I have gone through HTSeq-counts and did differential expression gene analysis through EdgeR, DESeq, and DESeq2.

    My pipeline is:

    Tophat2 > HTSeq count > EdgeR, DESeq, or DESeq2

    Samples:
    Control: Control_rep1; Control_rep2; Control_rep3
    Treated: Treated_rep1; Treated_rep2; Treated_rep3

    I have generated heatmaps in R, but when the results show up with the key on the bottom showing each of the triplicates for Control and Treated Groups:

    It looks like this:
    Control_rep1 | Control_rep2 | Control_rep3 | Treated_rep1 | Treated_rep2 | Treated_rep3

    I was wondering if there is any method that I should follow to illustrate to combine all the Controls triplicates and Treated triplicates into two respective columns to just show Control and Treated on the bottom of the heatmap.

    I hope to make it look like this in the heatmap:

    Control | Treated

    Many thanks.

    EDIT: I was thinking of the following strategy:

    1) I have the log2change values from all three methods.
    2) Would converting to Z scores work better?

    Reading the literature and comments, my understanding of the z-score:

    1. Convert the count/RPKM values of each gene into log values.

    2. Calculate the mean and standard deviation of X gene log values in 20 lung tissues (suppose i have data for 20 samples).

    3. For first lung tissue sample: (gene X log value - mean of log values of 20 lung tissues)/ standard deviation of log values of 20 lung tissues.

    4. Now. i have the z-score for gene x in first lung tissue sample. Using the above protocol, i can convert all genes log values into z-score.

    The question is the above protocol is correct or not, please advised.

    Should i calculate the z-score using reads count or RPKM values.

    Does these z-score really have meaning. The z-score COSMIC provide:

    ID_SAMPLE SAMPLE_NAME GENE_NAME REGULATION Z_SCORE ID_STUDY
    1337808 TCGA-02-2483-01 SFMBT1 over 2.416 329
    1337808 TCGA-02-2483-01 SGCE normal -0.274 329

    If i calculate the z-score using above approach, should i be able to calculate the z-score and find out whether the gene is over regulated or normal regulated .

    Please advised how to proceed.

    Thankx
    Source: https://www.biostars.org/p/144765/

    Would something like this work?

    Source 2: http://stats.stackexchange.com/quest...used-instead-o
    Last edited by Zapages; 05-01-2016, 05:22 AM.

Latest Articles

Collapse

  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM
  • SEQadmin2
    New Genomics Technologies Take Aim at Long-Standing Limits
    by SEQadmin2


    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
    ...
    09-28-2026, 10:25 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
28 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
20 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
38 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
44 views
0 reactions
Last Post SEQadmin2  
Working...