agdb.checkgenes: Check an antigen genes entry

Description Usage Arguments Details Value

View source: R/acdatabase_dbtest.R

Description

Checks if a proposed genes entry follows the formatting rules.

Usage

1

Arguments

genes

char: A proposed genes entry

null_permitted

bool: whether NULL should return T or F

Details

The following rules are currently checked:

  1. genes is a list

  2. only permitted fields are present for each gene in genes

  3. all genes are HA or NA

Value

character


acorg/acutilsLite documentation built on Feb. 19, 2021, 4:56 p.m.