View source: R/create_gcae_setup.R
create_gcae_setup | R Documentation |
Create the GCAE setup
create_gcae_setup(
datadir,
data,
superpops,
model_id,
train_opts_id,
data_opts_id,
pheno_model_id,
trainedmodeldir = 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 |
full paths to the created files
Richèl J.C. Bilderbeek
create_gcae_setup(
datadir = "my_datadir/",
data = "HumanOrigins249_tiny",
superpops = "HO_superpopulations",
model_id = "M1",
train_opts_id = "ex3",
data_opts_id = "b_0_4",
pheno_model_id = "p2",
trainedmodeldir = "ae_out/"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.