agdb.checkalterations: Check an antigen alterations entry

Description Usage Arguments Details Value

View source: R/acdatabase_dbtest.R

Description

Checks if a proposed alterations entry follows the formatting rules.

Usage

1
agdb.checkalterations(alterations)

Arguments

alterations

char: A proposed alterations entry

null_permitted

bool: whether NULL should return T or F

Details

The following rules are currently checked:

  1. alterations is a list

  2. only permitted fields are present for each alteration in alterations

  3. all substitutions are valid

  4. all parent_id's are valid

  5. all .parent's are valid antigens

Value

character


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