hlaAlignmentGrantham: Helper function returning alignment for Grantham distance...

View source: R/utils.R

hlaAlignmentGranthamR Documentation

Helper function returning alignment for Grantham distance calculations

Description

Helper function returning alignment for Grantham distance calculations

Usage

hlaAlignmentGrantham(gene, aa_sel = 2:182)

Arguments

gene

Character vector specifying HLA gene.

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.


Genentech/midasHLA documentation built on Feb. 12, 2024, 9:38 a.m.