Learn R Programming

GenABEL (version 1.8-0)

impute2databel: converts IMPUTE-imputed files to DatABEL (filevector) format

Description

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

Usage

impute2databel(genofile, samplefile, outfile, makeprob = TRUE, old = FALSE, dataOutType = "FLOAT")

Arguments

genofile
IMPUTE genotype file name
samplefile
IMPUTE sample file name
outfile
output file name
makeprob
whether probability-files are also to be arranged
old
for developers' use only
dataOutType
the output data type, either "FLOAT" or "DOUBLE" (or another DatABEL/filevector type)

Value

'databel-class' object