Hi,
 
I'm getting the following error when trying to run samr:
 
> sam.obj <- samr(d, resp.type="Two class paired", nperms=10)
perm= 1
Error in if (logged2) { : argument is of length zero
 
The same error happens if I run an "unpaired" analysis.

My d is:
> summary(d)
          Length  Class  Mode     
x         1312200 -none- numeric  
y              24 -none- numeric  
geneid      54675 -none- character
genenames   54675 -none- character

Any idea where the error lies?
 
Thanks,
 
Tarun Nayar
Genome Sciences Centre
Vancouver, BC

	[[alternative HTML version deleted]]

