check_allow_no_sex: Check if the 'allow_no_sex' is valid. Check if the...

View source: R/check_allow_no_sex.R

check_allow_no_sexR Documentation

Check if the allow_no_sex is valid. Check if the allow_no_sex is valid, which is when it is either TRUE or FALSE.

Description

Will stop if not

Usage

check_allow_no_sex(allow_no_sex)

Arguments

allow_no_sex

set this to TRUE to retain phenotype values for missing-sex samples. This parameter is named after the PLINK --allow-no-sex flag

Value

Nothing. Will stop if the input is not either TRUE or FALSE.

Author(s)

Richèl J.C. Bilderbeek

Examples

check_allow_no_sex(allow_no_sex = TRUE)
check_allow_no_sex(allow_no_sex = FALSE)

richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.