get_sample_ids_from_fam_file: Get the sample IDs from a 'fam' file

View source: R/get_sample_ids_from_fam_file.R

get_sample_ids_from_fam_fileR Documentation

Get the sample IDs from a fam file

Description

Get the sample IDs from a .fam file

Usage

get_sample_ids_from_fam_file(fam_filename)

Arguments

fam_filename

name of a PLINK .fam file Use read_plink_fam_file to read a PLINK .fam file.

Value

the sample_ids (see check_sample_ids)

Author(s)

Richèl J.C. Bilderbeek

See Also

use get_sample_ids_from_fam_table to extract the sample_ids from a .fam table that is already loaded in memory

Examples

fam_filename <- get_plinkr_filename("demo_assoc.fam")
get_sample_ids_from_fam_file(fam_filename)

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