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

Description Usage Arguments Value Examples

View source: R/mega2genabeltst.R

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

1
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

1
2
3
4
5
6
## Not run: 
dmpPed()
or
dmpPed(mygwaa, "name", "cc")

## End(Not run)

Mega2R documentation built on Oct. 23, 2020, 8:19 p.m.