checkKirGenesFormat test if the input character follows KIR gene names naming conventions.

checkKirGenesFormat(genes)

Arguments

genes

Character vector with KIR gene names.

Value

Logical vector specifying if genes elements follow KIR genes naming conventions.

Details

KIR genes: "KIR3DL3", "KIR2DS2", "KIR2DL2", "KIR2DL3", "KIR2DP1", "KIR2DL1", "KIR3DP1", "KIR2DL1", "KIR3DP1", "KIR2DL4", "KIR3DL1", "KIR3DS1", "KIR2DL5", "KIR2DS3", "KIR2DS5", "KIR2DS4", "KIR2DS1", "KIR3DL2".

Examples

checkKirGenesFormat(c("KIR3DL3", "KIR2DS2", "KIR2DL2"))
#> [1] TRUE TRUE TRUE