checkSource {HLAtools}R Documentation

Ensure that Source Values are Valid

Description

Evaluates 'source' values to ensure that only "AA", "cDNA", and "gDNA" are passed to downstream functions. If any other values are entered, a message describing excluded values is generated.

Usage

checkSource(source)

Arguments

source

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

Value

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

Examples

checkSource(c("AA","cDNA","codon")) 


[Package HLAtools version 1.1.1 Index]