View source: R/read_gcae_input_files.R
read_gcae_input_files | R Documentation |
Read the GenoCAE input filenames
read_gcae_input_files(gcae_input_filenames, verbose = TRUE)
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. |
the GCAE data in the form of a list with the following elements:
bed_table
: a .bed
table,
as can be checked by check_bed_table
bim_table
: a .bim
table,
as can be checked by check_bim_table
fam_table
: a .fam
table,
as can be checked by check_fam_table
phe_table
: a .phe
table,
as can be checked by check_phe_table
labels_table
: a .csv
table,
as can be checked by check_labels_table
Richèl J.C. Bilderbeek
if (plinkr::is_plink_installed()) {
# Create the files
gcae_input_filenames <- create_gcae_input_files_1(
base_input_filename = get_gcaer_tempfilename()
)
# Read the files
gcae_input_data <- read_gcae_input_files(gcae_input_filenames)
# Summarise the data
summarise_gcae_input_data(gcae_input_data)
# Clean up
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.