is_snp_selector: Determine if this is a SNP selector

View source: R/is_snp_selector.R

is_snp_selectorR Documentation

Determine if this is a SNP selector

Description

Determine if this is a SNP selector

Usage

is_snp_selector(snp_selector, verbose = FALSE)

Arguments

snp_selector

a SNP selector, a way to select one or more SNPs. See create_snps_selector for all SNP selectors.

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 SNP selector

Author(s)

Richèl J.C. Bilderbeek

See Also

use is_sample_selector to determine if a selector is a sample selector

Examples

is_snp_selector(create_test_random_snps_selector())
is_snp_selector(create_test_single_snp_selector())
is_snp_selector(create_test_snp_range_selector())
is_snp_selector(create_test_snp_window_selector())

is_snp_selector("nonsense")

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