search for: imgene2

Displaying 1 result from an estimated 1 matches for "imgene2".

Did you mean: imagenew
2010 Jul 16
2
a issue about the qutation mark?
...omplete.cases(imge),] # line5 trait<- read.csv(trait.file) # line6 ngenes <- nrow(imge) # line7 nsnp <- nrow(trait) #line 8 for(i in 1:ngenes) { for(j in 1:nsnp) { if(imge$d1[i]==trait$d1[j] & imge$d2[i]==trait$d2[j]) trait$imgene2[j] <- imge$Gene[i] else trait$imgene2[j] <- NA } } return(trait) } hypertension <- funcname("folder/hyper.csv") # last line ###################################### So, as we all know, when using "read.csv", we need to use qutation mark out side the file...