mach2databel {GenABEL}R Documentation

converts MACH-imputed files to DatABEL (filevector) format

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

  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


[Package GenABEL version 1.8-0 Index]