verifyAlleleANHIG: Verifies the allele entered is present in the IMGT protein...

View source: R/verifyAlleleANHIG.R

verifyAlleleANHIGR Documentation

Verifies the allele entered is present in the IMGT protein alignments

Description

Verifies the allele entered is present in IMGT protein alignments

Usage

verifyAlleleANHIG(allele, filename, alignments)

Arguments

allele

An allele name written in the IPD-IMGT/HLA Database format.

filename

The full file path of the user specified dataset if the user wishes to use their own file, or the pre-bundled Solberg dataset. User provided datasets must be a .dat, .txt, or.csv file, and must conform to the structure and format of the Solberg dataset.

alignments

A list object of sub-lists of data frames of protein alignments for the HLA and HLA-region genes supported in the ANHIG/IMGTHLA GitHub Repository. Alignments will always be the most recent version IPD-IMGT/HLA Database version.

Value

TRUE if allele is present in the IMGTprotalignment object. Otherwise, a vector containing FALSE and an error message is returned.

Note

For internal SSHAARP use only.


SSHAARP documentation built on June 18, 2025, 1:08 a.m.