read_pheno_model_file: Read a 'GCAE' phenotypic model file

View source: R/read_pheno_model_file.R

read_pheno_model_fileR Documentation

Read a GCAE phenotypic model file

Description

Read a GCAE phenotypic model file

Usage

read_pheno_model_file(pheno_model_filename)

Arguments

pheno_model_filename

name of a file that stores the phenotype prediction GCAE architecture, as checked by check_pheno_model_filename. Use read_pheno_model_file to read a GCAE pehnotype prediction architecture from that file.

Value

the pheno_model as a JSON object

Author(s)

Richèl J.C. Bilderbeek

See Also

Use read_model_file to read a model

Examples

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)

richelbilderbeek/gcaer documentation built on March 25, 2024, 3:08 p.m.