create_select_random_samples_args: Create the command-line arguments to select random samples

View source: R/create_select_random_samples_args.R

create_select_random_samples_argsR Documentation

Create the command-line arguments to select random samples

Description

Create the command-line arguments to select random samples

Usage

create_select_random_samples_args(
  plink_bin_filenames,
  random_samples_selector,
  sample_ids_filename,
  base_output_filename,
  plink_options = create_plink_options()
)

Arguments

plink_bin_filenames

the binary data files' names for PLINK to work on, as created by create_plink_bin_filenames.

random_samples_selector

a sample selector (see create_samples_selector) that allows one to select one or more random samples, as created by create_random_samples_selector and checked by check_random_samples_selector

sample_ids_filename

name of a file to store sample_ids (see check_sample_ids) to

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

Value

the command-line arguments

Author(s)

Richèl J.C. Bilderbeek


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