checkAlignType: Ensure that AlignType Values are Valid

View source: R/accessoryFunctions.R

checkAlignTypeR Documentation

Ensure that AlignType Values are Valid

Description

Evaluates 'alignType' values to ensure that only "prot", "nuc", "codon" and "gen" are passed to downstream functions. If any other values are entered, a message describing excluded values is generated. If no valid 'alignType' values are are present, an error is generated, and any calling function is ended.

Usage

checkAlignType(alignType)

Arguments

alignType

A vector of character values specifying sequence alignment types to be used for a function.

Value

A character vector that includes only allowed 'alignType' values.

Examples

checkAlignType(c("nuc","prot","gDNA")) 


HLAtools documentation built on June 8, 2025, 12:24 p.m.