save_plink2_bin_data: Save 'PLINK2' binary data to files.

View source: R/save_plink2_bin_data.R

save_plink2_bin_dataR Documentation

Save PLINK2 binary data to files.

Description

Save PLINK2 binary data to files.

Usage

save_plink2_bin_data(
  plink2_bin_data,
  base_input_filename = get_plinkr_tempfilename(),
  plink_options = create_plink_v2_0_options(),
  verbose = FALSE
)

Arguments

plink2_bin_data

the genetic and phenotypic data for PLINK2 to work on, in PLINK2 binary format, as created by create_plink2_bin_data.

base_input_filename

the base of the filenames that are used as input 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

a plink2_bin_filenames, which is list with the following elements:

  • pgen_filename: full paths to the .pgen created

  • psam_filename: full paths to the .psam created

  • pvar_filename: full paths to the .pvar created

Author(s)

Richèl J.C. Bilderbeek

See Also

to save PLINK/PLINK2 data use:

  • save_plink_text_data: to save PLINK text data

  • save_plink_bin_data: to save PLINK binary data

  • save_plink2_bin_data: to save PLINK2 binary data


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