check_phenotype_data: Check if the 'phenotype_data' is valid

View source: R/check_phenotype_data.R

check_phenotype_dataR Documentation

Check if the phenotype_data is valid

Description

Check if the phenotype_data is valid. The phenotype_data can be a filename (phe_filename) or a tibble (phe_table)

Usage

check_phenotype_data(phenotype_data)

Arguments

phenotype_data

phenotype data in the form of either a filename to a phenotype file (phenotype_data_filename) or a list with a phenotype table (phenotype_data_table)

Details

Will stop if the data is not in any of these formats

Author(s)

Richèl J.C. Bilderbeek

Examples

check_phenotype_data(phenotype_data = create_test_phenotype_data_table())
check_phenotype_data(phenotype_data = create_test_phenotype_data_filename())

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