Displaying 1 result from an estimated 1 matches for "tempsnp1".
Did you mean:
tempsnp2
2010 Aug 31
1
any statement equals to 'goto'?
I have the following code:
-----------------------------------------------------------------------------------------------------
result <- matrix(NA, nrow=1, ncol=5)
for(i in 1:(nsnp-1)) {
for(j in (i+1):nsnp){
tempsnp1 <- data.lme[,i]
tempsnp2 <- data.lme[,j]
fm1 <- lme(trait~sex+age+rmtemp.b+fc+tempsnp1+tempsnp2+tempsnp1*tempsnp2,
random=~1|famid, na.action=na.omit)
fm2 <- lme(trait~sex+age+rmtemp.b+fc+tempsnp1+tempsnp2, random=~1|famid,
na.action=na.omit)
result[1,1] <- i
result[1,2] <- j
resu...