View source: R/SearchandBuildAlignments.R
validatePositions | R Documentation |
Returns TRUE when variant positions are present in a specified alignment in HLAalignments. Returns false when any variant position is not present in the specified alignment and generates a message identifying such positions.
validatePositions(alignType, locus, positions)
alignType |
The type of alignment being searched. Allowed values are "prot", codon", "nuc" and "gen". Only one 'alignType' value is allowed. |
locus |
A locus supported by the IPD-IMGT/HLA Database. |
positions |
A vector of variant positions. |
A logical identifying if the position is present in the alignment (TRUE) or, if it is not in the alignment or is not valid (FALSE).
For internal HLAtools use.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.