snpgdsGEN2GDS(gen.fn, sample.fn, out.fn, chr.code=NULL, call.threshold=0.9, version=c(">=2.0", "<=1.1.5"), snpfirstdim="FALSE," compress.annotation="ZIP_RA.max" ,="" compress.geno="" verbose="TRUE)=1.1.5"),>gen.fn,
indicating chromosomes. It could be either numeric or character-type">=2.0" or "<=1.1.5"< code="">, see details=1.1.5"<>add.gdsnadd.gdsn NOTE : the sample file format (sample.fn) has changed with the
release of SNPTEST v2. Specifically, the way in which covariates and phenotypes
are coded on the second line of the header file has changed. version has
to be specified, and the function uses ">=2.0" by default.
snpgdsBED2GDS, snpgdsVCF2GDS
cat("running snpgdsGEN2GDS ...\n")
## Not run:
# snpgdsGEN2GDS("test.gen", "test.sample", "output.gds", chr.code=1)
# ## End(Not run)
Run the code above in your browser using DataLab