View source: R/read_pheno_model_file.R
read_pheno_model_file | R Documentation |
GCAE
phenotypic model fileRead a GCAE
phenotypic model file
read_pheno_model_file(pheno_model_filename)
pheno_model_filename |
name of a file that stores
the phenotype prediction |
the pheno_model
as a JSON object
Richèl J.C. Bilderbeek
Use read_model_file to read a model
if (is_gcae_repo_cloned()) {
# A real GCAE file
pheno_model_filename <- get_gcae_pheno_model_filename("p1")
} else {
# An example file
pheno_model_filename <- get_gcaer_filename("p0.json")
}
read_pheno_model_file(pheno_model_filename)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.