isNamePresent {SSHAARP} | R Documentation |
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)
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. |
Value
TRUE if name is present. Otherwise, a vector with FALSE and an error message is returned.
Note
For internal SSHAARP use only.
[Package SSHAARP version 2.0.5 Index]