variantTable: Builds a Data Frame of Variant Information for Specific...

View source: R/SearchandBuildAlignments.R

variantTableR 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.


HLAtools documentation built on June 8, 2025, 12:24 p.m.