Learn R Programming

SSHAARP (version 2.0.8)

isNamePresent: Checks if name portion of entered variant is present

Description

Checks if the name portion of the entered variant is present. Names consist of information following the locus and asterisk of the entered variant.

Usage

isNamePresent(variant, variantType)

Value

TRUE if name is present. Otherwise, a vector with FALSE and an error message is returned.

Arguments

variant

An amino acid motif or allele. Amino acid motifs must be in the following format: Locus*##$~##$~##$, where ## identifies a peptide position, and $ identifies an amino acid residue. Alleles must have 1-4 fields.

variantType

Identifies whether the variant is an allele or motif.