create.haploview.info: Prepare a PHASE input file from gwaa data

View source: R/create.Haploview.info.r

create.haploview.infoR 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

create.haploview.info(data, chr, coords, outFile)

Arguments

data

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

chr

chromosome number (name) to be used,

coords

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

outFile

a complete path and name of output file.

Author(s)

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

See Also

gwaa.data-class

Examples

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

## End(Not run)

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