Entering edit mode
梁芳
▴
10
@-6638
Last seen 10.2 years ago
Hello?everyone,
I?am?working?in?the?Beijing?Institute?of?Genomics,?Chinese?Academy?of?
Science.?I?used?the?DESeq?to?analyze?my?RNA-
seq?data,?following?the?instruction?file?"Di
erential?expression?of?RNA-Seq?data?at?the?gene?level?the?DESeq?packag
e"?step?by?step.?It?didn't?show?any?error?information?until?I?typed?th
e?command?"cds?=?estimateDispersions(?cds?)".?The?error?message?was:
Error?in?if?(nr?=2.")?:
??argument?is?of?length?zero
My?input?file?is?attached.?Could?someone?let?me?know?what?the?problem?
is?
ps. the above error message didn't show up for the test data
"pasilla", so there should be no problem with the software.
Following?is?the?code:
library("DESeq");
CountTable?=?read.table("test.txt",?header=TRUE,?row.names=1);
Design?=?data.frame(row.names?=?colnames(CountTable),?condition?=?c("t
reated",?"treated",?"untreated",?"untreated"));
cds?=?newCountDataSet(CountTable,?Design);
cds?=?estimateSizeFactors(cds);
cds?=?estimateDispersions(cds);
Thanks!
Fang?Liang
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.txt
URL: <https: stat.ethz.ch="" pipermail="" bioconductor="" attachments="" 20140708="" 0975235b="" attachment.txt="">