is.substitution: Check a substitutions entry

Description Usage Arguments Details Value

View source: R/acdatabase_dbtest.R

Description

Checks if a proposed substitution follows the correct formatting

Usage

1

Arguments

subs

char: A proposed substitution entry

Details

The following rules are currently checked:

  1. substitution is of character type

  2. starts and ends with valid single letter amino acid code

  3. central characters form a numerb in 1:484

Value

character


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