DESeq plotting problems
1
0
Entering edit mode
yuan.qing ▴ 10
@yuanqing-8002
Last seen 8.8 years ago
United States

I am using the DESeq package to do a DE analysis. I would like to plot the PCA plot and Dispersion estimates plot in r studio. However, I am running into errors.

I tried to construct an DESeq specific object called CountDataSet to hold count and pheno data:

y.DESeq<-newCountDataSet(countdata1, finaldata1$Group) 

y.DESeq.norm <- estimateSizeFactors(y.DESeq)

y.DESeq.norm2<- estimateDispersions(y.DESeq.norm, method="blind")

vsd <- varianceStabilizingTransformation(y.DESeq.norm2)

I got errors like "unable to find an inherited method for function ‘normalizationFactors’ for signature ‘"CountDataSet"’, and the same for plotDispEsts(y.DESeq.norm).

Does anyone know the reason and how do I fix that?

Thanks in advance

deseq deseq2 • 1.7k views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 6 hours ago
United States
If you are just getting started we recommend people switch to DESeq2. The functions are mostly similar, but you should check the vignette to see the example code.
ADD COMMENT
0
Entering edit mode

How is the data input for DESeq2? 

is the same as y.DESeq<-newCountDataSet(countdata1, finaldata1$Group) 

ADD REPLY
0
Entering edit mode

no but there is a similar function. It's easiest for you to check the vignette, all the steps are there in the first few pages:

vignette("DESeq2")

ADD REPLY

Login before adding your answer.

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