plink1_bed_to_tped: Reformat BED/BIM/FAM to TPED/TFAM

View source: R/plink1_bed_to_tped.R

plink1_bed_to_tpedR Documentation

Reformat BED/BIM/FAM to TPED/TFAM

Description

Uses plink1 to perform reformatting (note plink2 does not have this functionality, as tped/tfam is a very old and obsolete format).

Usage

plink1_bed_to_tped(
  name,
  name_out = name,
  plink1_bin = "plink1",
  verbose = TRUE
)

Arguments

name

The shared name of the input plink BED/BIM/FAM files without extensions.

name_out

The base name of the output TPED/TFAM files without extensions (default same as input name).

plink1_bin

The path to the binary executable. Default assumes plink1 is in the PATH.

verbose

If TRUE (default), prints the command line before it is executed.

Value

Nothing.

See Also

require_files_tped() for requiring that the TPED/TFAM files exist.

delete_files_tped() for deleting TPED/TFAM files.

delete_files_log() for deleting the plink log file.

emmax_kin(), emmax_lmm() for functions that require TPED/TFAM files.

Examples

## Not run: 
plink1_bed_to_tped( name )

## End(Not run)


OchoaLab/genbin documentation built on Nov. 14, 2024, 7:33 p.m.