R: Export GenABEL data in PLINK format

export.plink {GenABEL} | R Documentation

## Export GenABEL data in PLINK format

### Description

Export GenABEL data in PLINK format. This function is a simple wrapper to the `export.merlin` function with specific arguments + few lines of code to export phenotypes

### Usage

      export.plink(data, filebasename = "plink",
        phenotypes = "all", transpose = TRUE,
        export012na = FALSE, ...)

### Arguments

`data` | GenABEL data object of 'gwaa.data'-class to be exported.
`filebasename` | base file name for exported data, extensions '.ped', '.map' and '.phe' (for phenotype file) are added for specific output files.
`phenotypes` | NULL (no phenotypes exported), "all" (default) for all phenotypes or a vector of character with names of phenotypes to be exported.
`transpose` | if TRUE (default), 'tped' files will be produced, else 'ped' files are produced.
`export012na` | if TRUE, export in numeric (0, 1, 2, NA) format, as opposed to ATGC format (default: FALSE).
`...` | arguments passed to `export.merlin`.

### Author(s)

Yurii Aulchenko

[Package GenABEL version 1.8-0 Index]