export.plink: Export GenABEL data in PLINK format

Description Usage Arguments Author(s)

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

1
2
3
  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


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