
Please dissregard the message sent earlier concerning problems with ebayes. I
was able to track down the problem on my end -- I had inadvertently renamed a
function used by tmixture.vector. 

-----Original Message-----
From: Dustin Potter
Sent: Mon 01/16/2006 17:56
To: bioconductor@stat.math.ethz.ch
Subject: 
 
I keep getting the following error when trying to use the ebayes function in
the limma package:

"Error in tmixture.vector(tstat[, j], stdev.unscaled[, j], df, proportion,  :

	NAs are not allowed in subscripted assignments"

I am running R version 2.2 on a Mac OS X version 4.4. I get the  error even
when I run the example given in the help file for ebayes, e.g.,

> set.seed(2004); invisible(runif(100))
> M <- matrix(rnorm(100*6,sd=0.3),100,6)
> M[1,] <- M[1,] + 1
> fit <- lmFit(M)
> eb <- ebayes(fit)
Error in tmixture.vector(tstat[, j], stdev.unscaled[, j], df, proportion,  : 
	NAs are not allowed in subscripted assignments

Help getting around this problem would be appreciated.

Thank you,
Dustin Potter


	[[alternative HTML version deleted]]

