question about DESeq2: getVarianceStabilizedData
1
0
Entering edit mode
miyouduniu • 0
@miyouduniu-17211
Last seen 5.8 years ago

Hi,

I am using DESeq2 1.18 and had some problem with getVarianceStabilizedData.

The CountDataSet was produced internally 

>cds <- homemade.CountDataSet(project, "gene", feature.ids = "count")

I can check its class:

> class(cds)

[1] "CountDataSet"

attr(,"package")

[1] "DESeq"

It is fine be to used in the following code:
>dds <- DESeqDataSetFromMatrix(countData = counts(cds),
                              colData = ph,
                              design= ~ SAMID)
>dds <- DESeq(dds)

but when I tried to:
>vsdMat <- getVarianceStabilizedData(dds)

an error msg was throw out:

Error: is(cds, "CountDataSet") is not TRUE

It does not make sense since :

> is(cds, "CountDataSet")

[1] TRUE

I tried to search here but it seems be to an old bug in older version of DESeq. But I am using a relative new version. 

thanks and best,

Lily 

deseq2 software error • 881 views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 2 days ago
United States

DESeq2 has its own functions and classes. It looks like you’re trying to mix DESeq the old version with DESeq2. Id recommend to just follow the DESeq2 vignette or workflow.

ADD COMMENT

Login before adding your answer.

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