hla_sort: Sort HLA alleles by field

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Sort HLA alleles based on the numeric values of each successive field. NMDP codes are sorted to the front, alphabetically based on their first letter.

Usage

1
hla_sort(alleles)

Arguments

alleles

A vector of HLA alleles either prefixed (e.g., "HLA-A*01:01:01:02") or without prefix (e.g.: "01:01:01:02").

Value

A sorted vector of HLA alleles.


gschofl/hlatools documentation built on July 2, 2021, 10:59 a.m.