create_select_single_sample_args: Create the command-line arguments to select a single sample

View source: R/create_select_single_sample_args.R

create_select_single_sample_argsR Documentation

Create the command-line arguments to select a single sample

Description

Create the command-line arguments to select a single sample

Usage

create_select_single_sample_args(
  plink_bin_filenames,
  single_sample_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.

single_sample_selector

a sample selector (see create_samples_selector for all sample selectors) that allows one to select a single sample, as created by create_single_sample_selector and checked by check_single_sample_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.