R/create_pca_args.R

Defines functions create_pca_args

Documented in create_pca_args

#' Create the CLI arguments to call `PLINK` with the `--pca` flag
#'
#' Create the CLI arguments to call `PLINK` with the `--pca` flag
#' @inheritParams default_params_doc
#' @return the CLI arguments
#' @author Richèl J.C. Bilderbeek
#' @export
create_pca_args <- function(
  bfile,
  base_output_filename
) {
  c(
    "--bfile", bfile,
    "--pca",
    "--make-bed",
    "--out", base_output_filename
  )
}
richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.