is_sample_selector: Determine if this is a sample selector

View source: R/is_sample_selector.R

is_sample_selectorR Documentation

Determine if this is a sample selector

Description

Determine if this is a sample selector

Usage

is_sample_selector(sample_selector, verbose = FALSE)

Arguments

sample_selector

a sample/individual selector, a way to select one or more samples/individuals. See create_samples_selector for all sample 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 sample selector

Author(s)

Richèl J.C. Bilderbeek

See Also

use is_snp_selector to determine if a selector is a SNP selector

Examples

is_sample_selector(create_test_random_samples_selector())
is_sample_selector(create_test_single_sample_selector())

is_sample_selector("nonsense")

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