KIR3DL1_3DS1_assignment: Classifies KIR 3DL1 & 3DS1 alleles into KIR3DL1-H, -L, -N

Description Usage Arguments Value See Also Examples

View source: R/kir.R

Description

Uses the categorization from ASSIGN_KIR3DL1

Usage

1
KIR3DL1_3DS1_assignment(KIR3DL1_string, KIR3DS1_string)

Arguments

KIR3DL1_string

KIR3DL1 string vector with first fields only, i.e. "001/095+004". Can contain "NEG" and "POS".

KIR3DS1_string

KIR3DS1 string vector in same format

Value

String vector with "KIR3DL1-H", "KIR3DL1-L", "KIR3DL1-N" or "unknown"

See Also

ASSIGN_KIR3DL1

Examples

1
2
dat <- data.frame(kir_3DL1 = c("001/095+004", "POS", "005"), kir_3DS1 = c("NEG", "NEG", "013/107"), stringsAsFactors = FALSE)
KIR3DL1_3DS1_assignment(dat$kir_3DL1, dat$kir_3DS1)

bosefalk/CTUtools documentation built on Feb. 4, 2022, 4:10 p.m.