Differentially gene expression analysis
2
0
Entering edit mode
22 months ago
Nai ▴ 50

I have normalized count matrix which have negative values too but no raw count matrix. I would like to find deferentially expressed genes. I am using Deseq2. I am executing the following commands and error below: count_data <- as.matrix(read.csv(file='matrix.csv', header=TRUE, sep=';', row.names = 1)) info <- as.matrix(read.csv(file='sample.csv', header=TRUE, sep=';', row.names = 1)) ddg <- DESeqDataSetFromMatrix(count_data, info, ~condition)

Error in DESeqDataSet(se, design = design, ignoreRank) : some values in assay are negative

Other things I checked: any(count_data < 0 ) True

I need help to resolve this issue. As I did earlier was performed on raw count matrix. Now I took this count matrix from online expression matrix from database.

Limma Deseq R • 1.2k views
ADD COMMENT
0
Entering edit mode
22 months ago
ATpoint 86k

The problem is clear by the error message. If it is published data you can try to get rsw count matrix feom srrvices like BioJupies. Select the study and click through the analysis. In the end you can download tables with raw counts and metadata. It is not guaranteed that the data provided as matrix in GEO that you have are raw counts. Often it is already manipulated and unsuitable for mentioned tools. Alternatively check the recount package which also offers raw counts for a great many of studies.

ADD COMMENT
0
Entering edit mode

May you guide me for recount package?

ADD REPLY
0
Entering edit mode

Whst is unclear after reading the documentation?

ADD REPLY
0
Entering edit mode
22 months ago

If I am not wrong, DESeq2 heavily indicate that you need to use raw counts, not normalized counts.

ADD COMMENT
0
Entering edit mode

I agree. Is it any tool to do so?

ADD REPLY
0
Entering edit mode

You can't use tools that peform differential expression analysis based on negative binomial model (like DESeq2 or EdgeR).

I recommend you Limma (https://bioconductor.org/packages/release/bioc/html/limma.html)

ADD REPLY

Login before adding your answer.

Traffic: 1858 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