pre1.plink2mach.batch: Convert Plink to MaCH input format for all files

Description Usage Arguments Details Author(s) See Also Examples

Description

For all files in dir.in directory that end with ending.ped and contain keyword key.ped, and all files ending with ending.map and contain keyword key.map, runs the converter pre1.plink2mach. This will re-format all the files from Plink format to MaCH input format.

Usage

1
2
pre1.plink2mach.batch(dir.in, dir.out, ending.ped = ".ped", ending.map = ".map", 
key.ped = "", key.map = "")

Arguments

dir.in

The name of directory where all the files with ending.ped, key.ped, ending.map and key.map specifications are located.

dir.out

The name of directory to which output files .ped and .dat should be saved to.

ending.ped

The ending of the filenames that contain pedegree data in Plink format. See format of .ped file in pre1.plink2mach.

ending.map

The ending of the filenames that contain SNP ID information. See format of .map file in pre1.plink2mach.

key.ped

Any keyword in the Plink pedegree file names to uniquely distinguish them from other files in the dir.in directory.

key.map

Any keyword in the .map file names to uniquely distinguish them from other files in the dir.in directory.

Details

The input file formats of .ped and .map files are described in pre1.plink2mach.

Author(s)

Olia Vesselova

See Also

pre1.plink2mach, pre0.dir.create, pre2.remove.genos, pre2.remove.genos.batch

Examples

1
print("See the demo 'gendemo'.")

Example output

[1] "See the demo 'gendemo'."

genMOSSplus documentation built on May 1, 2019, 10:31 p.m.