Learn R Programming

Mega2R (version 1.0.2)

dmpPed: generate the .ped, .fam and .map files of PLINK PED representation of a gwaa.data-class object

Description

Use provided gwaa.data-class object and create a PLINK .ped file, PLINK .map file and a PLINK .phe (phenotypes) file. By default, srdta (a sample from GenABEL) is used for the gwaa.data-class object. The files are generated with a prefix of srdta unless a pfx argument is provided. NOTE: These PLINK files may be used by the Mega2 executable to produce a database.

Usage

dmpPed(gwaa_ = srdta, pfx, default = "bt")

Arguments

gwaa_

name of gwaa.data-class object used as input

pfx

prefix for PLINK .ped/.map/.phe file names

default

name of phenotype used for the 6th column of .ped file

Value

None

Examples

Run this code
# NOT RUN {
dmpPed()
or
dmpPed(mygwaa, "name", "cc")
# }

Run the code above in your browser using DataLab