convert_plink_bin_files_to_plink_text_files: Convert PLINK binary files to PLINK plain-text files

View source: R/convert_plink_bin_files_to_plink_text_files.R

convert_plink_bin_files_to_plink_text_filesR Documentation

Description

Convert PLINK binary files to PLINK plain-text files

Usage

convert_plink_bin_files_to_plink_text_files(
  base_input_filename,
  base_output_filename,
  plink_options = create_plink_v1_9_options(),
  verbose = FALSE
)

Arguments

base_input_filename

the base of the filenames that are used as input for PLINK/PLINK2

base_output_filename

the base of the filenames that are used as output for PLINK/PLINK2

plink_options

options to run PLINK, as created by create_plink_options

verbose

the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid.

Value

the a list with elements:

  • log_filename: the full path to the created log file

  • map_filename: the full path to the created .map file

  • ped_filename: the full path to the created .ped file

Author(s)

Richèl J.C. Bilderbeek

See Also

these are the functions to convert between the PLINK and PLINK2 files:

  • To convert from PLINK1 text files

    • to PLINK1 binary files: use convert_plink_text_files_to_plink_bin_files

    • to PLINK2 binary files, use convert_plink_text_files_to_plink2_bin_files

  • To convert from PLINK1 binary files

    • to PLINK text files, use convert_plink_bin_files_to_plink_text_files

    • to PLINK2 binary files, use convert_plink_bin_files_to_plink2_bin_files

  • To convert from PLINK2 binary files

    • to PLINK text files, use convert_plink2_bin_files_to_plink_text_files

    • to PLINK binary files, use convert_plink2_bin_files_to_plink_bin_files


richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.