gwaa.to.phase: Prepare a PHASE input file from gwaa data.

View source: R/gwaa.to.phase.r

gwaa.to.phaseR Documentation

Prepare a PHASE input file from gwaa data.

Description

Function for preparing PHASE and fastPHASE input files from gwaa.data-class object. It can be used on a single entire chromosome or on a specified chromosomal region.

Usage

gwaa.to.phase(data, chr, coords = NULL, outFile)

Arguments

data

a gwaa.data class object as used by gwaa.data-class,

chr

chromosome nubmber (name) to be used,

coords

a vector of coordinates that define the region. If not set, the entire chromosome will be used,

outFile

a complete path and name of the desired output file.

Author(s)

Marcin Kierczak <Marcin.Kierczak@imbim.uu.se>

See Also

gwaa.data-class

Examples

## Not run: 
gwaa2PHASE(data=data.qc2, chr=2, coords=c(3030587,5030587), outFile="~user/test.phase")

## End(Not run)

cgmisc-team/cgmisc documentation built on Jan. 3, 2024, 9:52 p.m.