View source: R/check_gcae_input_files.R
check_gcae_input_files | R Documentation |
Check if the GenoCAE input files are valid. Will stop if not
check_gcae_input_files(gcae_input_filenames, verbose = FALSE)
gcae_input_filenames |
the GCAE input filenames, in the form of a list with the following elements:
|
verbose |
the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid. |
Nothing. Will stop if the GenoCAE input files are invalid.
Richèl J.C. Bilderbeek
Use check_gcae_input_data to check the in-memory GCAE input data extensively
Use check_gcae_input_data_data_type to check the data type of the in-memory GCAE input data
Use check_gcae_input_files to check the
files to be used by GCAE as input,
i.e. GCAE
can run these
Use check_gcae_input_filenames to check the filenames (and not the files' content) to be GCAE input files
Use summarise_gcae_input_data to summarise the data
if (plinkr::is_plink_installed()) {
# Create the files
gcae_input_filenames <- create_gcae_input_files_1(
base_input_filename = gcaer::get_gcaer_tempfilename()
)
# Check the files
check_gcae_input_files(gcae_input_filenames)
# Clean up the files
file.remove(as.character(unlist(gcae_input_filenames)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.