I'm running samr (Two class unpaired), but keep getting the following error:
perm= 1
Error in if (logged2) { : argument is of length zero
<code>
library (impute)
library (samr)
data = list (x=dat, y=y, geneid = matrix(twoUnpaired.data[,1],ncol=1),
genenames = matrix(twoUnpaired.data[,2], ncol=1))
samr.obj <- samr (data, resp.type="Two class unpaired", nperms=100)
</code>
Would someone please shed some light. Thank you.
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.