convertNumbering {shazam}R Documentation

convertNumbering: IMGT-Kabat number conversion

Description

Converts numbering systems like Kabat or IMGT using these conventions: http://www.imgt.org/IMGTScientificChart/Numbering/IMGT-Kabat_part1.html with Gaps (unoccupied positions) shown by "G" and Asterisks (*) shown by "S": arbitrary mappings (multiple possible "to" values) represented with "NA"

Usage

convertNumbering(locus, from, to, calls)

Arguments

locus

string indicating heavy ("IGH") or light chains ("IGK" or "IGL)

from

string indicating numbering system to convert to ("IMGT" or "KABAT")

to

string indicating original numbering system ("IMGT" or "KABAT")

calls

vector of strings representing original numbering

Value

A vector of string indicating the corresponding numbering

Examples

convertNumbering("IGH", "IMGT", "KABAT", c("51", "23", "110"))
convertNumbering("IGH", "KABAT", "IMGT", c("51", "23", "G"))

[Package shazam version 1.2.0 Index]