is_plink_text_data: Determine if the 'plink_text_data' is indeed 'PLINK' text...

View source: R/is_plink_text_data.R

is_plink_text_dataR Documentation

Description

Determine if the plink_text_data is indeed PLINK text data

Usage

is_plink_text_data(plink_text_data)

Arguments

plink_text_data

the genetic and phenotypic data for PLINK to work on, in PLINK text format, as created by create_plink_text_data.

Value

TRUE if the plink_text_data is indeed PLINK text data

Author(s)

Richèl J.C. Bilderbeek

See Also

plinkr has multiple functions to test if a type of data is valid:

  • PLINK text data: use is_plink_text_data

  • PLINK binary data: use is_plink_bin_data

  • PLINK2 binary data: use is_plink2_bin_data

  • any type of PLINK/PLINK2 data: use is_data

  • associative trait analysis data: use is_assoc_qt_data

Examples

plink_text_data <- create_plink_text_data(
  ped_table = get_test_ped_table(),
  map_table = get_test_map_table()
)
is_plink_text_data(plink_text_data)

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