check_gcae_train_files_are_present: Check if the files to run gcae_train are present.

View source: R/check_gcae_train_files_are_present.R

check_gcae_train_files_are_presentR Documentation

Check if the files to run gcae_train are present.

Description

Check if the files to run gcae_train are present. Will stop if not.

Usage

check_gcae_train_files_are_present(gcae_setup, gcae_options)

Arguments

gcae_setup

GCAE model setup, as created by create_gcae_setup, read from file by read_gcae_setup_file, checked by check_gcae_setup, and saved to file by save_gcae_setup.

gcae_options

options to run GCAE, as created by create_gcae_options

Details

These files are:

  • The PLINK (.bed, .bim, .fam) binary files

  • The PLINK (.phe) phenotype file

  • A labels (.csv) file

  • A GCAE architecture setup file, for example, ⁠M[x].json⁠, where ⁠[x]⁠ is a number

  • A GCAE data options setup file, for example, ⁠b_[x]_[y].json⁠, where ⁠[x]⁠ and ⁠[y]⁠ are numbers

  • A GCAE training options setup file, for example, ⁠ex[x].json⁠, where ⁠[x]⁠ is a number

The files will not be checked if their content is valid

Value

nothing

Author(s)

Richèl J.C. Bilderbeek


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