get_sample_ids_from_phe_file: Get the sample IDs from a '.phe' file

View source: R/get_sample_ids_from_phe_file.R

get_sample_ids_from_phe_fileR Documentation

Get the sample IDs from a .phe file

Description

Get the sample IDs from a .phe file

Usage

get_sample_ids_from_phe_file(phe_filename)

Arguments

phe_filename

name of a phenotype (.phe) file, as checked by check_phe_filename. Use read_plink_phe_file to read a raw phenotype file.

Value

the sample_ids (see check_sample_ids)

Author(s)

Richèl J.C. Bilderbeek

See Also

use get_sample_ids_from_phe_table to extract the sample_ids from a .phe table that is already loaded in memory

Examples

phe_filename <- get_plinkr_filename("demo_assoc_qt.phe")
get_sample_ids_from_phe_file(phe_filename)

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