DESeq without replicate nbinomTest method
1
1
Entering edit mode
8.6 years ago
Bioblazer ▴ 50

I have 6 samples of RNA-seq files without any technical replicates (Saprophyte_30,Saprophyte_37,Healed_30,Healed_37,surgery_30,surgery_37). These are A.flavus (fungus)samples which were grown at 30 and 37 deg C of saprophytic condition and its clinical isolates. I am following "Count-based differential expression analysis of RNA sequencing data using R and Bioconductor" protocol paper for my data analysis.

I got the error when I executed following command in DESeq

cds=estimateDispersions(cds,method="blind")
res=nbinomTest(cds,"Saphrophyte _30","Saphrophyte _37")

Error in if (dispTable(cds)[condA] == "blind" || dispTable(cds)[condB] == : missing value where TRUE/FALSE needed

Can anyone tell me how to solve this?

RNA-Seq • 4.1k views
ADD COMMENT
0
Entering edit mode

Maapu,

Try using GFOLD for samples without replicates. It is better than DESeq.

ADD REPLY
0
Entering edit mode
8.5 years ago
mark.ziemann ★ 1.9k

Try the following:

cds <-estimateDispersions(cds,method="blind",sharingMode="fit-only",fitType="local") res <- nbinomTest( cds, "Saphrophyte _30", "Saphrophyte _37")

ADD COMMENT
0
Entering edit mode

I have the same problem (two treatments, only one replicate each). I use the code that mark.ziemann wrote, however the same error still occurs. I don't understand why it comes up. What is happening in the background and how can i change my dataset to make the nbinomTest function work? Cheers, Anne

ADD REPLY
0
Entering edit mode

Hi Anne, maybe open up a new biostars ticket with some additional info like error messages and we can help better.

ADD REPLY
0
Entering edit mode

Hey Mark! Thank you for replying to my comment.

You can find my problem here: C: error after DESeq function nbinomTest with only one replicate

It is really the same error, even after using your code. But I want to compare two samples without replication.

ADD REPLY

Login before adding your answer.

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