View source: R/create_test_gcae_setup.R
create_test_gcae_setup | R Documentation |
Create a GCAE setup to be used in testing
create_test_gcae_setup(
datadir = get_test_datadir(),
data = get_test_data(),
superpops = gcaer::get_gcaer_filename("gcae_input_files_1_labels.csv"),
model_id = "M0",
train_opts_id = "ex3",
data_opts_id = "b_0_4",
pheno_model_id = "p0",
trainedmodeldir = paste0(get_gcaer_tempfilename(pattern = "ae_out"), "/")
)
datadir |
directory where sample data is stored.
If not absolute: assumed relative to |
data |
file prefix, not including path, of the data files.
The data files must be in EIGENSTRAT
or PLINK binary ( |
superpops |
path to the |
model_id |
model id, corresponding to a file models/model_id.json |
train_opts_id |
train options id, corresponding to a file train_opts/train_opts_id.json |
data_opts_id |
data options id, corresponding to a file data_opts/data_opts_id.json The data options affect how data is input to the model. |
pheno_model_id |
phenotype model ID, as checked by check_pheno_model_id |
trainedmodeldir |
name of the folder to save the trained model to.
A valid |
a GCAE setup
Richèl J.C. Bilderbeek
create_test_gcae_setup()
check_gcae_setup(create_test_gcae_setup())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.