write.parfile: write a LINKAGE parameter file

Description Usage Arguments Value Author(s) See Also Examples

View source: R/write.parfile.R

Description

Use a snp.matrix object and genetic map to create a LINKAGE parameter file.

Usage

1
write.parfile(snp.data, map, file="out.par")

Arguments

snp.data

a snp.matrix object of genotypes

map

genetic map in centiMorgans

file

file name for the output parameter file

Value

None. The output is the parameter file.

Author(s)

Jinko Graham, Brad McNeney and Annick Nembot-Simo

See Also

write.pedfile

Examples

1
2
3
4
data(exdat)
sdat<-as(exdat$markers,"snp.matrix") #coerce to snp.matrix
write.parfile(sdat,exdat$map,file="test.par")
unlink("test.par")

rJPSGCS documentation built on May 1, 2019, 11:10 p.m.