is_single_snp_selector: Determine if this is a single SNP selector

View source: R/is_single_snp_selector.R

is_single_snp_selectorR Documentation

Determine if this is a single SNP selector

Description

Determine if this is a single SNP selector

Usage

is_single_snp_selector(single_snp_selector, verbose = FALSE)

Arguments

single_snp_selector

a SNP selector (see create_snps_selector for all SNP selectors) that allows one to select a single SNP, as created by create_single_snp_selector and checked by check_single_snp_selector

verbose

the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid.

Value

TRUE if this is a single SNP selector

Author(s)

Richèl J.C. Bilderbeek

Examples

is_single_snp_selector(create_test_single_snp_selector())

is_single_snp_selector("nonsense")

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