limma ebayes
3
0
Entering edit mode
@kninhmdandersonorg-602
Last seen 10.3 years ago
Hello Limma Developers, I got this error when calling ebayes after lm.series: Error in ebayes(fit) : No residual degrees of freedom in linear model fits I tried both limma 1.3.1 and 1.3.12. I appreciate your help. thanks, Ken Ninh
limma limma • 1.3k views
ADD COMMENT
0
Entering edit mode
Naomi Altman ★ 6.0k
@naomi-altman-380
Last seen 3.7 years ago
United States
Dear Ken, This error message is due to having too many parameters for the number of observations. You need to provide: the experiment design (i.e. how many arrays for each condition and the set of conditions) the design matrix you sent to the program Without this information, no-one can assist you. --Naomi Altman At 10:11 AM 1/16/2004, kninh@mdanderson.org wrote: >Hello Limma Developers, >I got this error when calling ebayes after lm.series: > >Error in ebayes(fit) : No residual degrees of freedom in linear model fits > >I tried both limma 1.3.1 and 1.3.12. I appreciate your help. > >thanks, >Ken Ninh > >_______________________________________________ >Bioconductor mailing list >Bioconductor@stat.math.ethz.ch >https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor Naomi S. Altman 814-865-3791 (voice) Associate Professor Bioinformatics Consulting Center Dept. of Statistics 814-863-7114 (fax) Penn State University 814-865-1348 (Statistics) University Park, PA 16802-2111
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 3 days ago
United States
Actually it is because the release version has a bug when you pass an exprSet to lmFit. The devel version has the fix, or you can hack the line (about line 30 or so) if(is.list(object)){ to read if(is.list(object) & !is(object, "exprSet"){ Best, Jim James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623 >>> Naomi Altman <naomi@stat.psu.edu> 01/16/04 3:06 PM >>> Dear Ken, This error message is due to having too many parameters for the number of observations. You need to provide: the experiment design (i.e. how many arrays for each condition and the set of conditions) the design matrix you sent to the program Without this information, no-one can assist you. --Naomi Altman At 10:11 AM 1/16/2004, kninh@mdanderson.org wrote: >Hello Limma Developers, >I got this error when calling ebayes after lm.series: > >Error in ebayes(fit) : No residual degrees of freedom in linear model fits > >I tried both limma 1.3.1 and 1.3.12. I appreciate your help. > >thanks, >Ken Ninh > >_______________________________________________ >Bioconductor mailing list >Bioconductor@stat.math.ethz.ch >https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor Naomi S. Altman 814-865-3791 (voice) Associate Professor Bioinformatics Consulting Center Dept. of Statistics 814-863-7114 (fax) Penn State University 814-865-1348 (Statistics) University Park, PA 16802-2111 _______________________________________________ Bioconductor mailing list Bioconductor@stat.math.ethz.ch https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
ADD COMMENT
0
Entering edit mode
Sorry, Jim, this isn't the problem here. Kninh has used lm.series, not lmFit. Gordon At 12:00 PM 17/01/2004, James MacDonald wrote: >Actually it is because the release version has a bug when you pass an >exprSet to lmFit. The devel version has the fix, or you can hack the >line (about line 30 or so) > >if(is.list(object)){ > >to read > >if(is.list(object) & !is(object, "exprSet"){ > >Best, > >Jim > > > >James W. MacDonald >Affymetrix and cDNA Microarray Core >University of Michigan Cancer Center >1500 E. Medical Center Drive >7410 CCGC >Ann Arbor MI 48109 >734-647-5623 > >>> Naomi Altman <naomi@stat.psu.edu> 01/16/04 3:06 PM >>> >Dear Ken, >This error message is due to having too many parameters for the number >of >observations. You need to provide: > >the experiment design (i.e. how many arrays for each condition and the >set >of conditions) >the design matrix you sent to the program > >Without this information, no-one can assist you. > >--Naomi Altman > > >At 10:11 AM 1/16/2004, kninh@mdanderson.org wrote: > > > >Hello Limma Developers, > >I got this error when calling ebayes after lm.series: > > > >Error in ebayes(fit) : No residual degrees of freedom in linear model >fits > > > >I tried both limma 1.3.1 and 1.3.12. I appreciate your help. > > > >thanks, > >Ken Ninh
ADD REPLY
0
Entering edit mode
Ken, As Naomi says, you have too many parameters for your data. You need to check your inputs to see if you're actually giving the function any data at all. Try summary(fit$coef) summary(fit$df.residual) summary(fit$sigma) The error message is generated by the fact that all your fit$df.residual entries are zero! This may be caused by a error earlier meaning that you're not passing the data that you think you are. Gordon > >>> Naomi Altman <naomi@stat.psu.edu> 01/16/04 3:06 PM >>> >Dear Ken, >This error message is due to having too many parameters for the number >of >observations. You need to provide: > >the experiment design (i.e. how many arrays for each condition and the >set >of conditions) >the design matrix you sent to the program > >Without this information, no-one can assist you. > >--Naomi Altman > > >At 10:11 AM 1/16/2004, kninh@mdanderson.org wrote: > >Hello Limma Developers, > >I got this error when calling ebayes after lm.series: > > > >Error in ebayes(fit) : No residual degrees of freedom in linear model >fits > > > >I tried both limma 1.3.1 and 1.3.12. I appreciate your help. > > > >thanks, > >Ken Ninh
ADD REPLY
0
Entering edit mode
@james-w-macdonald-5106
Last seen 3 days ago
United States
Hmmm, that would be the old 'didn't quite read the question closely enough but answered anyway'... Thanks for the correction Gordon. Best, Jim James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623 >>> Gordon Smyth <smyth@wehi.edu.au> 01/16/04 8:17 PM >>> Sorry, Jim, this isn't the problem here. Kninh has used lm.series, not lmFit. Gordon At 12:00 PM 17/01/2004, James MacDonald wrote: >Actually it is because the release version has a bug when you pass an >exprSet to lmFit. The devel version has the fix, or you can hack the >line (about line 30 or so) > >if(is.list(object)){ > >to read > >if(is.list(object) & !is(object, "exprSet"){ > >Best, > >Jim > > > >James W. MacDonald >Affymetrix and cDNA Microarray Core >University of Michigan Cancer Center >1500 E. Medical Center Drive >7410 CCGC >Ann Arbor MI 48109 >734-647-5623 > >>> Naomi Altman <naomi@stat.psu.edu> 01/16/04 3:06 PM >>> >Dear Ken, >This error message is due to having too many parameters for the number >of >observations. You need to provide: > >the experiment design (i.e. how many arrays for each condition and the >set >of conditions) >the design matrix you sent to the program > >Without this information, no-one can assist you. > >--Naomi Altman > > >At 10:11 AM 1/16/2004, kninh@mdanderson.org wrote: > > > >Hello Limma Developers, > >I got this error when calling ebayes after lm.series: > > > >Error in ebayes(fit) : No residual degrees of freedom in linear model >fits > > > >I tried both limma 1.3.1 and 1.3.12. I appreciate your help. > > > >thanks, > >Ken Ninh _______________________________________________ Bioconductor mailing list Bioconductor@stat.math.ethz.ch https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
ADD COMMENT

Login before adding your answer.

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