write.ped: Write ped file plink analysis

Description Usage Arguments Value References

Description

write a ped and a map file suitable for analysis with http://pngu.mgh.harvard.edu/~purcell/plink/

Usage

1
2
write.ped(dat, ilab = NULL, pop = NULL,
        fname = "dat",na.str="0",f.id=NULL,m.id=NULL,loc.pos=NULL,sex=NULL)

Arguments

dat

a hierfstat data frame

ilab

individal labels

pop

population id

fname

filename for ped file

na.str

character string to use for missing values

f.id

father id. default to unknown

m.id

mother id. default to unknown

loc.pos

the loci position default to unknown

sex

the individual sex. default to unknown

Value

a map file containing the loci positions

a ped file containing genotypes etc...

References

Purcell etal (2007) PLINK: A Tool Set for Whole-Genome Association and Population-Based Linkage Analyses 81:559-575



Search within the hierfstat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.