checkAlignType {HLAtools} | R 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"))
[Package HLAtools version 1.1.1 Index]