<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi All,<br>
<br>
I am in the process of finishing the first USER usable version of omicabelnomm and would need help converting real data from impute2 to databel.<br>
<br>
The function impute2databel seems ok but I have no idea if it stores in FLOAT or DOUBLE the values.
<br>
<br>
I found this on the mailing list, would it work?<br>
<br>
<pre>><i> owd<- setwd(pth)
</i>><i> fls<- list.files(pattern="^chr")
</i>><i> ufls<- unique(sapply(strsplit(fls, "_"), "[", 1))
</i>><i> for(i in ufls){
</i>><i> of<- strsplit(i, "\\.")[[1]]
</i>><i> of<- paste(of[1], tail(of, 1), sep=".")
</i>><i> impute2databel(genofile = i,
</i>><i> samplefile = paste(i, "info", sep="_"),
</i>><i> outfile = of,
</i>><i> makeprob=TRUE, old=FALSE)
</i>><i> }
</i>><i> setwd(owd)<br><br>Best,<br><br>Alvaro<br></i></pre>
<br>
</div>
</body>
</html>