Hi guys!

I am trying to run an interaction analysis between two SNPs using the
SNPassoc package. I keep getting the following two errors: 

Error: switch
Error: y value must be 0 <=y <= 1

Here is my code:
myData <-setupSNP (data=InterAll, colSNPs=10:11, sep="")
ansCod<-interactionPval(log(ALL)~AGE+MALE,data=myData,
model=c("co","do","re"))
ansCod

What am I doing wrong?

Thanks!
-- 
View this message in context: 
http://n4.nabble.com/SNPassoc-tp1838750p1838750.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org 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.

Reply via email to