filter_random_snps: Create a 'PLINK' dataset that has randomly selected SNPs

View source: R/filter_random_snps.R

filter_random_snpsR Documentation

Create a PLINK dataset that has randomly selected SNPs

Description

Create a PLINK dataset that has randomly selected SNPs.

Usage

filter_random_snps(
  base_input_filename,
  base_output_filename,
  n_snps,
  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

n_snps

the number of SNPs, as can be checked by check_n_snps

verbose

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

Value

the names of the PLINK binary files created, as can be checked by check_plink_bin_filenames

Author(s)

Richèl J.C. Bilderbeek


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