run_gcae: Run GCAE from arguments

View source: R/run_gcae.R

run_gcaeR Documentation

Run GCAE from arguments

Description

Run GCAE from arguments. In some contexts, e.g. gcae_train, the working directory must be the same as the folder the run_gcae.py scipt is in (see https://github.com/kausmees/GenoCAE/issues/10)

Usage

run_gcae(args, gcae_options = create_gcae_options(), verbose = FALSE)

Arguments

args

arguments for the GCAE executable

gcae_options

options to run GCAE, as created by create_gcae_options

verbose

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

Value

the text that GCAE returns

Author(s)

Richèl J.C. Bilderbeek

Examples

if (plinkr::is_on_ci()) {
  if (has_cloned_gcae_repo()) { # is_gcae_installed is too slow
    run_gcae("--help")
  }
}

richelbilderbeek/gcaer documentation built on March 25, 2024, 3:08 p.m.