[GenABEL-dev] impute2databel FLOAT
Frank, Alvaro Jesus
alvaro.frank at rwth-aachen.de
Wed Aug 27 16:37:32 CEST 2014
Hi All,
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.
The function impute2databel seems ok but I have no idea if it stores in FLOAT or DOUBLE the values.
I found this on the mailing list, would it work?
> owd<- setwd(pth)
> fls<- list.files(pattern="^chr")
> ufls<- unique(sapply(strsplit(fls, "_"), "[", 1))
> for(i in ufls){
> of<- strsplit(i, "\\.")[[1]]
> of<- paste(of[1], tail(of, 1), sep=".")
> impute2databel(genofile = i,
> samplefile = paste(i, "info", sep="_"),
> outfile = of,
> makeprob=TRUE, old=FALSE)
> }
> setwd(owd)
Best,
Alvaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20140827/d7eb6e41/attachment.html>
More information about the genabel-devel
mailing list