mach2databel: converts MACH-imputed files to DatABEL (filevector) format

Description Usage Arguments Value Author(s)

View source: R/mach2databel.R

Description

This function converts mach-imputed files to DatABEL (filevector) format. After conversion, two files (outfile.fvi and outfile.fvd), corresponding to single filevector object, will appear on the disk; 'databel-class' object connected to these files will be returned to R

Usage

1
2
  mach2databel(imputedgenofile, mlinfofile, outfile,
    isprobfile = FALSE, dataOutType = "FLOAT")

Arguments

imputedgenofile

MACH mldose (or mlprob) file name

mlinfofile

MACH mlinfo file name

outfile

output file name

isprobfile

whether imputedgenofile is a prob-file (default is FALSE, that is dose-file assumed)

dataOutType

the output data type, either "FLOAT" or "DOUBLE" (or other DatABEL/filevector type)

Value

databel-class object

Author(s)

Yurii Aulchenko


GenABEL documentation built on May 30, 2017, 3:36 a.m.