Description Usage Arguments Value Examples
Classifies KIR3DL1 and HLA-B into strong/weak/no inhibiting
1 | KIR3DL1_HLA_B_inhibiting(KIR3DL1_assignment, HLA_B_overall, levels = 2)
|
HLA_B_overall |
String vector with HLA-B Bw classification in format "Bw4 - 80T", from |
levels |
Can be set to 2, 3 or 4, default is 2 |
KIRD3L1_assignment |
String vector, KIR3DL1 assignment in fromat "KIR3DL1-H", from |
If levels = 2, string with "Strong inhibiting", "Weak inhibiting/noninhibiting" or "unknown". If levels = 3, split into "Weak inhibiting" and "non-inhibiting". If levels = 4, split "noninhibiting" into "Missing ligand" and "Educated, uninhibiting"
1 2 3 4 | dat <- data.frame(assignment_KIR3DL1 = c("KIR3DL1-L", "KIR3DL1-N", "unknown", "unknown"), HLA_B_group = c("Bw4 - 80T", "Bw4 - 80I", NA, "Bw4 - 80I"), stringsAsFactors = FALSE)
KIR3DL1_HLA_B_inhibiting(dat$assignment_KIR3DL1, dat$HLA_B_group)
KIR3DL1_HLA_B_inhibiting(dat$assignment_KIR3DL1, dat$HLA_B_group, levels = 3)
KIR3DL1_HLA_B_inhibiting(dat$assignment_KIR3DL1, dat$HLA_B_group, levels = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.