DESeq2 : normalized counts
1
1
Entering edit mode
JoannaF ▴ 10
@joannaf-9881
Last seen 3.3 years ago
France

Hi,

I would to have a data frame with normalized counts of my RNA-seq data set. I used DESeq2 to analyse these data.

This is the code I used to generate normalized counts :

ddsHTSeq <- DESeqDataSetFromHTSeqCount(sampleTable = sampleTable, directory = directory, design= ~ condition)

dds <- DESeq(ddsHTSeq)

table_counts_normalized <- counts(dds, normalized=TRUE)

But I see here [DESEQ2] How to access the normalized data of a DESeqDataSet that we can do :

ddsHTSeq <- DESeqDataSetFromHTSeqCount(sampleTable = sampleTable, directory = directory, design= ~ condition)
dds <- estimateSizeFactors(ddsHTSeq)
table_counts_normalized <- counts(dds, normalized=TRUE)

Which is the good solution ?

Thanks a lot for your answer !

Joanna

rnaseq deseq2 normalized counts • 8.2k views
ADD COMMENT
3
Entering edit mode
@mikelove
Last seen 16 hours ago
United States

These give the same output but the second is faster because it skips dispersion estimation and GLM fitting which is not necessary to compute the size factors.

ADD COMMENT
0
Entering edit mode

Thanks a lot !!

Joanna

ADD REPLY

Login before adding your answer.

Traffic: 820 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6