hlaAlignmentGrantham {midasHLA}R Documentation

Helper function returning alignment for Grantham distance calculations

Description

Helper function returning alignment for Grantham distance calculations

Usage

hlaAlignmentGrantham(gene, resolution, aa_sel = 2:182)

Arguments

gene

Character vector specifying HLA gene.

resolution

Number giving allele resolution.

aa_sel

Numeric vector specifying amino acids that should be extracted.

Value

HLA alignment processed for grantham distance calculation. Processing includes extracting specific amino acids, masking indels, gaps and stop codons.


[Package midasHLA version 1.0.0 Index]