dmpPed: generate the .ped, .fam and .map files of PLINK PED...

View source: R/mega2genabeltst.R

dmpPedR Documentation

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

## Not run: 
dmpPed()
or
dmpPed(mygwaa, "name", "cc")

## End(Not run)

Mega2R documentation built on May 29, 2024, 1:14 a.m.