check_pheno_model_id: Check if the 'pheno_model_id' is valid

View source: R/check_pheno_model_id.R

check_pheno_model_idR Documentation

Check if the pheno_model_id is valid

Description

Check if the pheno_model_id is valid Will stop if not.

Usage

check_pheno_model_id(pheno_model_id)

Arguments

pheno_model_id

phenotype model ID, as checked by check_pheno_model_id

Details

A pheno_model_id is valid, when

  • it is an empty string

  • it starts with a p and has at least two characters

Value

Nothing. Will stop if pheno_model_id is invalid.

Author(s)

Richèl J.C. Bilderbeek

See Also

Use check_model_id to check if a model_id is valid

Examples

check_pheno_model_id("p0")
check_pheno_model_id("p1")
check_pheno_model_id("p2")

check_pheno_model_id("") # Use no phenotype prediction

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