create_select_snp_window_args: Create the command-line arguments to select SNPs

View source: R/create_select_snp_window_args.R

create_select_snp_window_argsR Documentation

Create the command-line arguments to select SNPs

Description

Create the command-line arguments to select SNPs. This function has been named after the --snp and --window flags

Usage

create_select_snp_window_args(
  plink_bin_filenames,
  snp_window_selector,
  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.

snp_window_selector

a SNP selector (see create_snps_selector), that allows one to select a focal SNP and a range/window of SNPs around it, as created by create_snp_window_selector and checked by check_snp_window_selector

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.