create_single_sample_selector: Create a sample selector to select a single sample

View source: R/create_single_sample_selector.R

create_single_sample_selectorR Documentation

Create a sample selector to select a single sample

Description

Create a sample selector to select a single sample, to be used in, for example, select_samples

Usage

create_single_sample_selector(fid, iid)

Arguments

fid

the family ID, which is called FID in PLINK. Use check_fid to check if a fid is valid.

iid

a within-family ID, as can be checked by check_iid

Author(s)

Richèl J.C. Bilderbeek

See Also

Use create_test_single_sample_selector to create a single-sample selector to be used in testing.

There are multiple sample selectors, see create_samples_selector for an overview

Examples

create_single_sample_selector(
  fid = "adams",
  iid = "3"
)

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