Expression Dataset

5 views
Skip to first unread message

sudheshna bodapati

unread,
Nov 10, 2025, 9:47:22 AM (6 days ago) Nov 10
to gsea-help
Hi Anthony,

How are you? I have a question in regards to the gsea analysis for running standard GSEA can I use the TPM matrix  as input I created, it is a normalized expression data or gene_counts from DESEQ analysis but those are not integers, can I manually round these to integers. 

ddsTxi <- DESeqDataSetFromTximport(txi,

                                       colData = colData,

                                       design = ~ Condition)


    print ("Generating TPM matrix ...")

    write.table(exprsn,paste(opt$outpath,opt$condition,'_',opt$treatment,'_vs_',opt$control,'_TPMs.txt',sep = ""),quote = FALSE,sep = "\t")

  }

Anthony Castanza

unread,
Nov 10, 2025, 6:18:31 PM (6 days ago) Nov 10
to gsea-help
Hello,

TPM is suitable for the "single-sample" methods of GSEA which compute over-representation of sets within a sample's individual expression list, but it is not really normalized correctly for between-sample comparisons. For standard GSEA, we would recommend the standard normalized counts matrix. GSEA does not require the values to be integers though, and they should be used as-is from the DESeq2 internal normalization step (usually something like count(dds, normalized=T)

Let me know if you have any additional questions

-Anthony

Anthony S. Castanza, PhD
Curator, Molecular Signatures Database
Mesirov Lab, Department of Medicine
University of California, San Diego

sudheshna bodapati

unread,
Nov 11, 2025, 12:42:23 PM (5 days ago) Nov 11
to gsea...@googlegroups.com
Thank you so much for your response! This helps a lot.

Best
Sudheshna

--
You received this message because you are subscribed to a topic in the Google Groups "gsea-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gsea-help/ytsYceWv5h8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gsea-help+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gsea-help/b36d97ad-bfaa-4afe-9489-94ed2af4a847n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages