eigensoft2plink: Conversion from EIGEN to Plink format

Description Usage Arguments Value Author(s)

View source: R/eigensoft2plink.R

Description

Conversion from EIGEN to Plink format

Usage

1
eigensoft2plink(input, out, mode = 1L, ...)

Arguments

input

Scalar character. Name of the file in EIGEN format without extensions (i.e. eigenstratgeno, .snp, .ind)

out

Scalar character. Name of the output file without extensions. If missing, it will be named like the input.

mode

Integer. Mode 1 converts to Plink binary format (.bed/.bim/.fam; default), while mode = 2 converts to Plink human-readable format (.ped/.map).

...

Could be "geno", "snp", or "ind", indicating the specific (full) names of the Eigensoft files. These arguments stand by the options "genotypename", "snpname", "indivname", respectivelly. Also, "familynames" could specified as "YES" or "NO" (default set to YES; only appliable when mode = 1).

Value

Genotype data in Plink format.

Author(s)

CainĂ£ Max Couto-Silva


cmcouto-silva/gt documentation built on June 6, 2021, 7:14 p.m.