splitTyping: Split a HLA allele name into a matrix of fields

Description Usage Arguments Value Author(s) Examples

Description

This function converts a well-formed HLA allele name to a matrix of fields.

Usage

1
splitTyping(aChar)

Arguments

aChar

a character array containing one or more well-formed HLA alleles, see http://hla.alleles.org/nomenclature/naming.html

Value

a matrix of fields with 6 columns and a number of rows corresponding to the length of the aChar array.

Author(s)

Adewunmi Adelaja

Examples

1
2
3
4
5
6
7
8
9
## Split one HLA typing into an array of entries
output <- HLAClustRView:::splitTyping("HLA-DRB1*13:01:01:02")

print(output)

## Split one HLA typing into an array of entries
output <- HLAClustRView:::splitTyping(c("G*01:04:01:02", "DQA1*01:01:01:03"))

print(output)

NCBI-Hackathons/Integrating-HLA-typing-methods-and-RNA-seq documentation built on Nov. 23, 2019, 1:57 a.m.