Bug in summary.TestResults (limma)
1
0
Entering edit mode
Marcus Davy ▴ 680
@marcus-davy-374
Last seen 10.7 years ago
Hi, the row names in summary.Testresults currently refers to the object "results" which doesn't necessarily exist. The offending line of code is: tab <- array(0, c(3, ncol(object)), dimnames = list(c("-1", "0", "1"), colnames(results))) which should be tab <- array(0, c(3, ncol(object)), dimnames = list(c("-1", "0", "1"), colnames(object))) e.g. foo <- classifyTestsF(fit, p.value=0.001) summary(foo) foo <- classifyTestsF(fit, p.value=0.001) > summary(foo) Error in colnames(results) : Object "results" not found marcus > packageDescription("limma", field="Version") [1] "1.8.9" > version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 2 minor 0.0 year 2004 month 10 day 04 language R > ______________________________________________________ The contents of this e-mail are privileged and/or confidenti...{{dropped}}
• 818 views
ADD COMMENT
0
Entering edit mode
Marcus Davy ▴ 680
@marcus-davy-374
Last seen 10.7 years ago
I meant the column names, colnames(results)) marcus >>> "Marcus Davy" <mdavy@hortresearch.co.nz> 23/11/2004 1:51:35 PM >>> Hi, the row names in summary.Testresults currently refers to the object "results" which doesn't necessarily exist. The offending line of code is: tab <- array(0, c(3, ncol(object)), dimnames = list(c("-1", "0", "1"), colnames(results))) which should be tab <- array(0, c(3, ncol(object)), dimnames = list(c("-1", "0", "1"), colnames(object))) e.g. foo <- classifyTestsF(fit, p.value=0.001) summary(foo) foo <- classifyTestsF(fit, p.value=0.001) > summary(foo) Error in colnames(results) : Object "results" not found marcus > packageDescription("limma", field="Version") [1] "1.8.9" > version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 2 minor 0.0 year 2004 month 10 day 04 language R > ______________________________________________________ The contents of this e-mail are privileged and/or confidenti...{{dropped}} _______________________________________________ Bioconductor mailing list Bioconductor@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/bioconductor ______________________________________________________ The contents of this e-mail are privileged and/or confidenti...{{dropped}}
ADD COMMENT

Login before adding your answer.

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