check_superpops: Check if the 'superpops' is valid

View source: R/check_superpops.R

check_superpopsR Documentation

Check if the superpops is valid

Description

Check if the superpops is valid. Will stop if not.

Usage

check_superpops(superpops)

Arguments

superpops

path to the superpops file, which contains the labels table and can be read using read_labels_file. This argument is named after the GCAE --superpops CLI flag.

Value

Nothing. Will stop if superpops is invalid.

Author(s)

Richèl J.C. Bilderbeek

See Also

to read the input superpops file, which hold the labels table, use read_labels_file

Examples

check_superpops("HumanOrigins249_tiny")
check_superpops("my_labels.csv")

# For those that do not care about the labels
check_superpops("")

richelbilderbeek/gcaer documentation built on March 25, 2024, 3:08 p.m.