variantTable {HLAtools} | R Documentation |
Builds a Data Frame of Variant Information for Specific Positions in an Alignment
Description
Builds a data frame sequence variants at specific positions in specified alignments in HLAalignments, along with the counts and frequencies for each variant.
Usage
variantTable(alignType, locus, position)
Arguments
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. |
position |
A numeric variant position. |
Value
a data frame of three columns identifying the variants, and the number and frequency of each in the alignment.
Note
For internal HLAtools use.
[Package HLAtools version 1.6.3 Index]